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..df83a9fa6 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -172,6 +172,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -3212,12 +3216,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -3263,98 +3261,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "$ref": "#/components/parameters/enterprise" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-state" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-sort" - }, - { - "$ref": "#/components/parameters/direction" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/pagination-before" - }, - { - "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-validity" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-hide-secret" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/organization-secret-scanning-alert" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/organization-secret-scanning-alert-list" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -3456,6 +3362,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -3857,6 +3773,336 @@ } } }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-simple" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "201": { + "description": "Successfully assigned the enterprise team to the organization.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-simple" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "delete": { + "summary": "Delete an organization assignment", + "description": "Unassign an enterprise team from an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/delete", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from the organization." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, "/enterprises/{enterprise}/teams/{team_slug}": { "get": { "summary": "Get an enterprise team", @@ -3958,6 +4204,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -7306,7 +7562,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -12816,6 +13072,77 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/list-attestation-repositories" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -16474,12 +16801,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -23109,17 +23430,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 +23622,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 +44802,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 +44817,6 @@ }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" } ], "responses": { @@ -61643,7 +61956,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 +75597,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 +75780,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 +76343,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -105754,578 +106075,6 @@ ], "additionalProperties": false }, - "secret-scanning-alert-state": { - "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", - "type": "string", - "enum": [ - "open", - "resolved" - ] - }, - "secret-scanning-alert-resolution": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": [ - "/example/secrets.txt" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "examples": [ - "/example/Home.md" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" - ] - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - ] - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, - "secret-scanning-first-detected-location": { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "$ref": "#/components/schemas/secret-scanning-location-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - } - ] - }, - "organization-secret-scanning-alert": { - "type": "object", - "properties": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/alert-updated-at" - } - ] - }, - "url": { - "$ref": "#/components/schemas/alert-url" - }, - "html_url": { - "$ref": "#/components/schemas/alert-html-url" - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" - }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "$ref": "#/components/schemas/simple-repository" - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment that was optionally added when this alert was closed" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - }, - "first_location_detected": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/secret-scanning-first-detected-location" - } - ] - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - } - } - }, "enterprise-team": { "title": "Enterprise Team", "description": "Group of enterprise owners and/or members", @@ -106411,6 +106160,105 @@ "group_id" ] }, + "organization-simple": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, "actor": { "title": "Actor", "description": "Actor", @@ -110613,324 +110461,225 @@ "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", - null - ], - "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", + null + ], + "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": "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": { @@ -112449,6 +112198,15 @@ "closed" ] }, + "campaign-alert-type": { + "title": "Campaign alert type", + "description": "Indicates the alert type of a campaign", + "type": "string", + "enum": [ + "code_scanning", + "secret_scanning" + ] + }, "team-simple": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -119923,6 +119681,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 +140336,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 +140344,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 +140352,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 +289149,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 +289211,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 +290765,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", @@ -291971,6 +292131,18 @@ ] } }, + "list-attestation-repositories": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + }, "list-attestations": { "value": { "attestations": [ @@ -296857,6 +297029,192 @@ } ] }, + "organization-secret-scanning-alert-list": { + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" + }, + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "active", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true, + "assigned_to": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + } + ] + }, "secret-scanning-pattern-configuration": { "value": { "pattern_config_version": "0ujsswThIGTUYm2K8FjOOfXtY1K", @@ -318019,113 +318377,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 +318395,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 +318548,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.", @@ -318966,6 +319217,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 +319280,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..a982f4c49 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -91,6 +91,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -2302,8 +2304,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -2331,61 +2331,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - "$ref": "#/components/parameters/enterprise" - - "$ref": "#/components/parameters/secret-scanning-alert-state" - - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - - "$ref": "#/components/parameters/secret-scanning-alert-sort" - - "$ref": "#/components/parameters/direction" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/pagination-before" - - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/secret-scanning-alert-validity" - - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" - - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" - - "$ref": "#/components/parameters/secret-scanning-alert-hide-secret" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/organization-secret-scanning-alert" - examples: - default: - "$ref": "#/components/examples/organization-secret-scanning-alert-list" - headers: - Link: - "$ref": "#/components/headers/link" - '404': - "$ref": "#/components/responses/not_found" - '503': - "$ref": "#/components/responses/service_unavailable" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -2459,6 +2404,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -2706,6 +2663,209 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -2781,6 +2941,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -5139,9 +5311,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -9221,6 +9394,53 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories + parameters: + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - "$ref": "#/components/parameters/org" + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + "$ref": "#/components/examples/list-attestation-repositories" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -11974,8 +12194,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 +16910,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 +17034,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 +32555,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 +32565,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 +44847,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 +54673,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 +54793,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 +55169,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -76466,424 +76688,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 +76752,77 @@ components: - created_at - updated_at - group_id + organization-simple: + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + examples: + - github + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github + repos_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/events + hooks_url: + type: string + examples: + - https://api.github.com/orgs/github/hooks + issues_url: + type: string + examples: + - https://api.github.com/orgs/github/issues + members_url: + type: string + examples: + - https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + examples: + - https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + examples: + - https://github.com/images/error/octocat_happy.gif + description: + type: + - string + - 'null' + examples: + - A great organization + required: + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description actor: title: Actor description: Actor @@ -79957,77 +79832,6 @@ components: - reason - url - subscribed - organization-simple: - title: Organization Simple - description: A GitHub organization. - type: object - properties: - login: - type: string - examples: - - github - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github - repos_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/events - hooks_url: - type: string - examples: - - https://api.github.com/orgs/github/hooks - issues_url: - type: string - examples: - - https://api.github.com/orgs/github/issues - members_url: - type: string - examples: - - https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - examples: - - https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - examples: - - https://github.com/images/error/octocat_happy.gif - description: - type: - - string - - 'null' - examples: - - A great organization - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description dependabot-repository-access-details: title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access @@ -80102,19 +79906,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 @@ -81357,6 +81161,13 @@ components: enum: - open - closed + campaign-alert-type: + title: Campaign alert type + description: Indicates the alert type of a campaign + type: string + enum: + - code_scanning + - secret_scanning team-simple: title: Team Simple description: Groups of organization members that gives permissions on specified @@ -86946,6 +86757,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 +101498,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 +212812,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 +212864,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 +214267,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 @@ -215296,6 +215364,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 +219592,181 @@ components: parameters: operator: contains pattern: github + organization-secret-scanning-alert-list: + value: + - number: 2 + created_at: '2020-11-06T18:48:51Z' + url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 + html_url: https://github.com/owner/private-repo/security/secret-scanning/2 + locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations + state: resolved + resolution: false_positive + resolved_at: '2020-11-07T02:47:13Z' + resolved_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + secret_type: adafruit_io_key + secret_type_display_name: Adafruit IO Key + secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + push_protection_bypassed_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + push_protection_bypassed: true + push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_reviewer_comment: Example response + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 + resolution_comment: Example comment + validity: active + publicly_leaked: false + multi_repo: false + is_base64_encoded: false + first_location_detected: + path: "/example/secrets.txt" + start_line: 1 + end_line: 1 + start_column: 1 + end_column: 64 + blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b + commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b + has_more_locations: true + assigned_to: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false secret-scanning-pattern-configuration: value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K @@ -237798,109 +238047,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 +238062,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 +238190,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 @@ -238622,6 +238768,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 +238828,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..df83a9fa6 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -172,6 +172,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -3212,12 +3216,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -3263,98 +3261,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "$ref": "#/components/parameters/enterprise" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-state" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-sort" - }, - { - "$ref": "#/components/parameters/direction" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/pagination-before" - }, - { - "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-validity" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-hide-secret" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/organization-secret-scanning-alert" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/organization-secret-scanning-alert-list" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -3456,6 +3362,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -3857,6 +3773,336 @@ } } }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-simple" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "201": { + "description": "Successfully assigned the enterprise team to the organization.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-simple" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "delete": { + "summary": "Delete an organization assignment", + "description": "Unassign an enterprise team from an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/delete", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from the organization." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, "/enterprises/{enterprise}/teams/{team_slug}": { "get": { "summary": "Get an enterprise team", @@ -3958,6 +4204,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -7306,7 +7562,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -12816,6 +13072,77 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/list-attestation-repositories" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -16474,12 +16801,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -23109,17 +23430,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 +23622,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 +44802,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 +44817,6 @@ }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" } ], "responses": { @@ -61643,7 +61956,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 +75597,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 +75780,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 +76343,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -105754,578 +106075,6 @@ ], "additionalProperties": false }, - "secret-scanning-alert-state": { - "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", - "type": "string", - "enum": [ - "open", - "resolved" - ] - }, - "secret-scanning-alert-resolution": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": [ - "/example/secrets.txt" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "examples": [ - "/example/Home.md" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" - ] - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - ] - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, - "secret-scanning-first-detected-location": { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "$ref": "#/components/schemas/secret-scanning-location-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - } - ] - }, - "organization-secret-scanning-alert": { - "type": "object", - "properties": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/alert-updated-at" - } - ] - }, - "url": { - "$ref": "#/components/schemas/alert-url" - }, - "html_url": { - "$ref": "#/components/schemas/alert-html-url" - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" - }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "$ref": "#/components/schemas/simple-repository" - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment that was optionally added when this alert was closed" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - }, - "first_location_detected": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/secret-scanning-first-detected-location" - } - ] - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - } - } - }, "enterprise-team": { "title": "Enterprise Team", "description": "Group of enterprise owners and/or members", @@ -106411,6 +106160,105 @@ "group_id" ] }, + "organization-simple": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, "actor": { "title": "Actor", "description": "Actor", @@ -110613,324 +110461,225 @@ "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", - null - ], - "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", + null + ], + "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": "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": { @@ -112449,6 +112198,15 @@ "closed" ] }, + "campaign-alert-type": { + "title": "Campaign alert type", + "description": "Indicates the alert type of a campaign", + "type": "string", + "enum": [ + "code_scanning", + "secret_scanning" + ] + }, "team-simple": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -119923,6 +119681,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 +140336,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 +140344,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 +140352,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 +289149,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 +289211,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 +290765,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", @@ -291971,6 +292131,18 @@ ] } }, + "list-attestation-repositories": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + }, "list-attestations": { "value": { "attestations": [ @@ -296857,6 +297029,192 @@ } ] }, + "organization-secret-scanning-alert-list": { + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" + }, + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "active", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true, + "assigned_to": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + } + ] + }, "secret-scanning-pattern-configuration": { "value": { "pattern_config_version": "0ujsswThIGTUYm2K8FjOOfXtY1K", @@ -318019,113 +318377,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 +318395,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 +318548,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.", @@ -318966,6 +319217,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 +319280,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..a982f4c49 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -91,6 +91,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -2302,8 +2304,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -2331,61 +2331,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - "$ref": "#/components/parameters/enterprise" - - "$ref": "#/components/parameters/secret-scanning-alert-state" - - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - - "$ref": "#/components/parameters/secret-scanning-alert-sort" - - "$ref": "#/components/parameters/direction" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/pagination-before" - - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/secret-scanning-alert-validity" - - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" - - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" - - "$ref": "#/components/parameters/secret-scanning-alert-hide-secret" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/organization-secret-scanning-alert" - examples: - default: - "$ref": "#/components/examples/organization-secret-scanning-alert-list" - headers: - Link: - "$ref": "#/components/headers/link" - '404': - "$ref": "#/components/responses/not_found" - '503': - "$ref": "#/components/responses/service_unavailable" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -2459,6 +2404,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -2706,6 +2663,209 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -2781,6 +2941,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -5139,9 +5311,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -9221,6 +9394,53 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories + parameters: + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - "$ref": "#/components/parameters/org" + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + "$ref": "#/components/examples/list-attestation-repositories" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -11974,8 +12194,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 +16910,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 +17034,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 +32555,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 +32565,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 +44847,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 +54673,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 +54793,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 +55169,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -76466,424 +76688,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 +76752,77 @@ components: - created_at - updated_at - group_id + organization-simple: + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + examples: + - github + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github + repos_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/events + hooks_url: + type: string + examples: + - https://api.github.com/orgs/github/hooks + issues_url: + type: string + examples: + - https://api.github.com/orgs/github/issues + members_url: + type: string + examples: + - https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + examples: + - https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + examples: + - https://github.com/images/error/octocat_happy.gif + description: + type: + - string + - 'null' + examples: + - A great organization + required: + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description actor: title: Actor description: Actor @@ -79957,77 +79832,6 @@ components: - reason - url - subscribed - organization-simple: - title: Organization Simple - description: A GitHub organization. - type: object - properties: - login: - type: string - examples: - - github - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github - repos_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/events - hooks_url: - type: string - examples: - - https://api.github.com/orgs/github/hooks - issues_url: - type: string - examples: - - https://api.github.com/orgs/github/issues - members_url: - type: string - examples: - - https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - examples: - - https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - examples: - - https://github.com/images/error/octocat_happy.gif - description: - type: - - string - - 'null' - examples: - - A great organization - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description dependabot-repository-access-details: title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access @@ -80102,19 +79906,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 @@ -81357,6 +81161,13 @@ components: enum: - open - closed + campaign-alert-type: + title: Campaign alert type + description: Indicates the alert type of a campaign + type: string + enum: + - code_scanning + - secret_scanning team-simple: title: Team Simple description: Groups of organization members that gives permissions on specified @@ -86946,6 +86757,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 +101498,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 +212812,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 +212864,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 +214267,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 @@ -215296,6 +215364,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 +219592,181 @@ components: parameters: operator: contains pattern: github + organization-secret-scanning-alert-list: + value: + - number: 2 + created_at: '2020-11-06T18:48:51Z' + url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 + html_url: https://github.com/owner/private-repo/security/secret-scanning/2 + locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations + state: resolved + resolution: false_positive + resolved_at: '2020-11-07T02:47:13Z' + resolved_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + secret_type: adafruit_io_key + secret_type_display_name: Adafruit IO Key + secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + push_protection_bypassed_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + push_protection_bypassed: true + push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_reviewer_comment: Example response + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 + resolution_comment: Example comment + validity: active + publicly_leaked: false + multi_repo: false + is_base64_encoded: false + first_location_detected: + path: "/example/secrets.txt" + start_line: 1 + end_line: 1 + start_column: 1 + end_column: 64 + blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b + commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b + has_more_locations: true + assigned_to: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false secret-scanning-pattern-configuration: value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K @@ -237798,109 +238047,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 +238062,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 +238190,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 @@ -238622,6 +238768,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 +238828,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..7fc4e4305 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -172,6 +172,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -22616,29 +22620,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -24471,2163 +24452,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "in": "query", - "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "resolved" - ] - } - }, - { - "name": "secret_type", - "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "resolution", - "in": "query", - "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "sort", - "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated" - ], - "default": "created" - } - }, - { - "name": "direction", - "description": "The direction to sort the results by.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ], - "default": "desc" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "validity", - "in": "query", - "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "is_publicly_leaked", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "is_multi_repo", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "hide_secret", - "in": "query", - "description": "A boolean value representing whether or not to hide literal secrets in the results.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "number": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - }, - "created_at": { - "type": "string", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "type": "string", - "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - } - ] - }, - "url": { - "type": "string", - "description": "The REST API URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "html_url": { - "type": "string", - "description": "The GitHub URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", - "type": "string", - "enum": [ - "open", - "resolved" - ] - }, - "resolution": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "A unique identifier of the repository.", - "examples": [ - 1296269 - ] - }, - "node_id": { - "type": "string", - "description": "The GraphQL identifier of the repository.", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "type": "string", - "description": "The name of the repository.", - "examples": [ - "Hello-World" - ] - }, - "full_name": { - "type": "string", - "description": "The full, globally unique, name of the repository.", - "examples": [ - "octocat/Hello-World" - ] - }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "description": "The URL to view the repository on GitHub.com.", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The repository description.", - "examples": [ - "This your first repo!" - ] - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "description": "The URL to get more information about the repository from the GitHub API.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "description": "A template for the API URL to download the repository as an archive.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "description": "A template for the API URL to list the available assignees for issues in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "description": "A template for the API URL to get information about branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "description": "A template for the API URL to get information about collaborators of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "description": "A template for the API URL to get information about comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "description": "A template for the API URL to get information about commits on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "description": "A template for the API URL to compare two commits or refs.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "description": "A template for the API URL to get the contents of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "description": "A template for the API URL to list the contributors to the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the deployments of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the downloads on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the events of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the forks of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "description": "A template for the API URL to get information about Git commits of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "description": "A template for the API URL to get information about Git refs of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "description": "A template for the API URL to get information about Git tags of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "issue_comment_url": { - "type": "string", - "description": "A template for the API URL to get information about issue comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "description": "A template for the API URL to get information about issue events on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "description": "A template for the API URL to get information about issues on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "description": "A template for the API URL to get information about deploy keys on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "description": "A template for the API URL to get information about labels of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about the languages of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "description": "The API URL to merge branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "description": "A template for the API URL to get information about milestones of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "description": "A template for the API URL to get information about notifications on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "description": "A template for the API URL to get information about pull requests on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "description": "A template for the API URL to get information about releases on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the stargazers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "description": "A template for the API URL to get information about statuses of a commit.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the subscribers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "description": "The API URL to subscribe to notifications for this repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about tags on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the teams on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the hooks on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/hooks" - ] - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ] - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment that was optionally added when this alert was closed" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - }, - "first_location_detected": { - "anyOf": [ - { - "type": "null" - }, - { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": [ - "/example/secrets.txt" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "examples": [ - "/example/Home.md" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_title_url" - ] - }, - { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_body_url" - ] - }, - { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "issue_comment_url" - ] - }, - { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" - ] - } - }, - "required": [ - "discussion_title_url" - ] - }, - { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": [ - "discussion_body_url" - ] - }, - { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] - } - }, - "required": [ - "discussion_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_title_url" - ] - }, - { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_body_url" - ] - }, - { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - ] - } - }, - "required": [ - "pull_request_review_url" - ] - }, - { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": [ - "pull_request_review_comment_url" - ] - } - ] - } - ] - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - } - } - }, - "examples": { - "default": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true, - "assigned_to": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -26874,6 +24698,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -28376,8 +26210,904 @@ } }, { - "name": "username", - "description": "The handle for the GitHub user account.", + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "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": { @@ -28387,40 +27117,14 @@ ], "responses": { "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "description": "Successfully unassigned the enterprise team from the organization." } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "subcategory": "enterprise-team-organizations" } } }, @@ -28670,6 +27374,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -76364,7 +75078,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -76508,7 +75222,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -76516,7 +75230,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -76524,7 +75238,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -97158,6 +95872,110 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -115170,29 +113988,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -171836,17 +170631,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 +179621,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 +352130,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 +352157,6 @@ "schema": { "type": "string" } - }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } } ], "responses": { @@ -577049,7 +575819,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -739040,17 +737810,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 +746773,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 +775444,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 +775575,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 +775583,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 +775591,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 0aad05175..eaef76d89 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: &282 type: string description: The type of credit the user is receiving. enum: @@ -1038,7 +1040,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &106 + schema: &104 title: Validation Error Simple description: Validation Error Simple type: object @@ -1071,7 +1073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &605 + - &603 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1831,7 +1833,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &105 + schema: &103 title: Validation Error description: Validation Error type: object @@ -2242,7 +2244,7 @@ paths: parameters: - *17 - *19 - - &75 + - &72 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2792,7 +2794,7 @@ paths: suspended_at: suspended_by: headers: - Link: &57 + Link: &52 example: ; rel="next", ; rel="last" schema: @@ -2982,7 +2984,7 @@ paths: - selected repositories: type: array - items: &66 + items: &64 title: Repository description: A repository on GitHub. type: object @@ -3009,7 +3011,7 @@ paths: license: anyOf: - type: 'null' - - &71 + - &69 title: License Simple description: License Simple type: object @@ -5387,7 +5389,7 @@ paths: responses: '202': *37 '422': *7 - '500': &100 + '500': &97 description: Internal Error content: application/json: @@ -7717,7 +7719,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &152 + code_scanning_options: &155 type: - object - 'null' @@ -7915,7 +7917,7 @@ paths: description: Response content: application/json: - schema: &154 + schema: &157 type: array description: A list of default code security configurations items: @@ -7931,7 +7933,7 @@ paths: default configuration: *41 examples: - default: &155 + default: &158 value: - default_for_new_repos: public configuration: @@ -8262,7 +8264,7 @@ paths: - *40 - *43 responses: - '204': &156 + '204': &159 description: A header with no content is returned. '400': *14 '403': *27 @@ -8389,7 +8391,7 @@ paths: default: value: default_for_new_repos: all - configuration: &153 + configuration: &156 value: id: 1325 target_type: organization @@ -8474,7 +8476,7 @@ paths: application/json: schema: type: array - items: &157 + items: &160 type: object description: Repositories associated with a code security configuration and attachment status @@ -8819,7 +8821,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &158 + repository: &161 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8913,7 +8915,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &162 + - &164 name: state in: query description: |- @@ -8922,7 +8924,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &163 + - &165 name: severity in: query description: |- @@ -8931,7 +8933,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &164 + - &166 name: ecosystem in: query description: |- @@ -8940,14 +8942,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &165 + - &167 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 + - &168 name: epss_percentage in: query description: |- @@ -8959,7 +8961,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &458 + - &448 name: has in: query description: |- @@ -8973,7 +8975,7 @@ paths: type: string enum: - patch - - &167 + - &169 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8983,7 +8985,7 @@ paths: enum: - development - runtime - - &168 + - &170 name: sort in: query description: |- @@ -9001,31 +9003,6 @@ paths: - *46 - *38 - *39 - - &169 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &170 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - *17 responses: '200': @@ -9038,7 +9015,7 @@ paths: type: object description: A Dependabot alert. properties: - number: &52 + number: &145 type: integer description: The security alert number. readOnly: true @@ -9104,7 +9081,7 @@ paths: - direct - transitive - - security_advisory: &459 + security_advisory: &449 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9311,29 +9288,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *50 - url: &55 + url: &148 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &56 + html_url: &149 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &53 + created_at: &146 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: &147 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: &151 type: - string - 'null' @@ -9364,7 +9341,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &147 + fixed_at: &150 type: - string - 'null' @@ -9372,7 +9349,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &460 + auto_dismissed_at: &450 type: - string - 'null' @@ -9727,740 +9704,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - *40 - - &280 - name: state - in: query - description: Set to `open` or `resolved` to only list secret scanning alerts - in a specific state. - required: false - schema: - type: string - enum: - - open - - resolved - - &281 - name: secret_type - in: query - description: A comma-separated list of secret types to return. All default - secret patterns are returned. To return generic patterns, pass the token - name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" - for a complete list of secret types. - required: false - schema: - type: string - - &282 - name: resolution - in: query - description: A comma-separated list of resolutions. Only secret scanning alerts - with one of these resolutions are listed. Valid resolutions are `false_positive`, - `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. - required: false - schema: - type: string - - &283 - name: sort - description: The property to sort the results by. `created` means when the - alert was created. `updated` means when the alert was updated or resolved. - in: query - required: false - schema: - type: string - enum: - - created - - updated - default: created - - *46 - - *17 - - *38 - - *39 - - &284 - name: validity - in: query - description: A comma-separated list of validities that, when present, will - return alerts that match the validities in this list. Valid options are - `active`, `inactive`, and `unknown`. - required: false - schema: - type: string - - &285 - name: is_publicly_leaked - in: query - description: A boolean value representing whether or not to filter alerts - by the publicly-leaked tag being present. - required: false - schema: - type: boolean - default: false - - &286 - name: is_multi_repo - in: query - description: A boolean value representing whether or not to filter alerts - by the multi-repo tag being present. - required: false - schema: - type: boolean - default: false - - &287 - name: hide_secret - in: query - description: A boolean value representing whether or not to hide literal secrets - in the results. - required: false - schema: - type: boolean - default: false - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &288 - type: object - properties: - number: *52 - created_at: *53 - updated_at: - anyOf: - - type: 'null' - - *54 - url: *55 - html_url: *56 - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this - alert. - state: &583 - description: Sets the state of the secret scanning alert. You - must provide `resolution` when you set the state to `resolved`. - type: string - enum: - - open - - resolved - resolution: &584 - type: - - string - - 'null' - description: "**Required when the `state` is `resolved`.** The - reason for resolving the alert." - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - - - resolved_at: - type: - - string - - 'null' - format: date-time - description: 'The time that the alert was resolved in ISO 8601 - format: `YYYY-MM-DDTHH:MM:SSZ`.' - resolved_by: - anyOf: - - type: 'null' - - *4 - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: *51 - push_protection_bypassed: - type: - - boolean - - 'null' - description: Whether push protection was bypassed for the detected - secret. - push_protection_bypassed_by: - anyOf: - - type: 'null' - - *4 - push_protection_bypassed_at: - type: - - string - - 'null' - format: date-time - description: 'The time that push protection was bypassed in - ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - push_protection_bypass_request_reviewer: - anyOf: - - type: 'null' - - *4 - push_protection_bypass_request_reviewer_comment: - type: - - string - - 'null' - description: An optional comment when reviewing a push protection - bypass. - push_protection_bypass_request_comment: - type: - - string - - 'null' - description: An optional comment when requesting a push protection - bypass. - push_protection_bypass_request_html_url: - type: - - string - - 'null' - format: uri - description: The URL to a push protection bypass request. - resolution_comment: - type: - - string - - 'null' - description: The comment that was optionally added when this - alert was closed - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: - - boolean - - 'null' - description: Whether the secret was publicly leaked. - multi_repo: - type: - - boolean - - 'null' - description: Whether the detected secret was found in multiple - repositories in the same organization or enterprise. - is_base64_encoded: - type: - - boolean - - 'null' - description: A boolean value representing whether or not alert - is base64 encoded - first_location_detected: - anyOf: - - type: 'null' - - &585 - description: 'Details on the location where the token was - initially detected. This can be a commit, wiki commit, issue, - discussion, pull request. - - ' - oneOf: - - &587 - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts - in the file - end_line: - type: number - description: Line number at which the secret ends in - the file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT - ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob - resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - &588 - description: Represents a 'wiki_commit' secret scanning - location type. This location type shows that a secret - was detected inside a commit to a repository wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts - in the file - end_line: - type: number - description: Line number at which the secret ends in - the file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit - ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - &589 - description: Represents an 'issue_title' secret scanning - location type. This location type shows that a secret - was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - &590 - description: Represents an 'issue_body' secret scanning - location type. This location type shows that a secret - was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - &591 - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret - was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - &592 - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret - was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - &593 - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret - was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - &594 - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret - was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - &595 - description: Represents a 'pull_request_title' secret scanning - location type. This location type shows that a secret - was detected in the title of a pull request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - &596 - description: Represents a 'pull_request_body' secret scanning - location type. This location type shows that a secret - was detected in the body of a pull request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - &597 - description: Represents a 'pull_request_comment' secret - scanning location type. This location type shows that - a secret was detected in a comment on a pull request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - &598 - description: Represents a 'pull_request_review' secret scanning - location type. This location type shows that a secret - was detected in a review on a pull request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - &599 - description: Represents a 'pull_request_review_comment' - secret scanning location type. This location type shows - that a secret was detected in a review comment on a pull - request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - has_more_locations: - type: boolean - description: A boolean value representing whether or not the - token in the alert was detected in more than one location. - assigned_to: - anyOf: - - type: 'null' - - *4 - examples: - default: &289 - value: - - number: 2 - created_at: '2020-11-06T18:48:51Z' - url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 - html_url: https://github.com/owner/private-repo/security/secret-scanning/2 - locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations - state: resolved - resolution: false_positive - resolved_at: '2020-11-07T02:47:13Z' - resolved_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - secret_type: adafruit_io_key - secret_type_display_name: Adafruit IO Key - secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - push_protection_bypassed_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - push_protection_bypassed: true - push_protection_bypassed_at: '2020-11-06T21:48:51Z' - push_protection_bypass_request_reviewer: - login: octocat - id: 3 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/3? - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true - push_protection_bypass_request_reviewer_comment: Example response - push_protection_bypass_request_comment: Example comment - push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 - resolution_comment: Example comment - validity: active - publicly_leaked: false - multi_repo: false - is_base64_encoded: false - first_location_detected: - path: "/example/secrets.txt" - start_line: 1 - end_line: 1 - start_column: 1 - end_column: 64 - blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b - commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b - has_more_locations: true - assigned_to: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - headers: - Link: *57 - '404': *6 - '503': &73 - description: Service unavailable - content: - application/json: - schema: - type: object - properties: - code: - type: string - message: - type: string - documentation_url: - type: string - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -10482,7 +9725,7 @@ paths: application/json: schema: type: array - items: &58 + items: &53 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10547,7 +9790,7 @@ paths: - updated_at - group_id examples: - default: &59 + default: &54 value: - id: 1 name: Justice League @@ -10560,7 +9803,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -10604,6 +9847,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -10623,9 +9878,9 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10643,7 +9898,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *40 - - &60 + - &55 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10662,7 +9917,7 @@ paths: type: array items: *4 examples: - default: &61 + default: &56 value: - login: octocat id: 1 @@ -10683,7 +9938,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10701,7 +9956,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *40 - - *60 + - *55 requestBody: required: true content: @@ -10732,7 +9987,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10750,7 +10005,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *40 - - *60 + - *55 requestBody: required: true content: @@ -10781,7 +10036,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10799,8 +10054,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *40 - - *60 - - &62 + - *55 + - &57 name: username description: The handle for the GitHub user account. in: path @@ -10814,7 +10069,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &63 + exampleKey1: &58 value: login: octocat id: 1 @@ -10850,8 +10105,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *40 - - *60 - - *62 + - *55 + - *57 responses: '201': description: Successfully added team member @@ -10859,7 +10114,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *63 + exampleKey1: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10877,8 +10132,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *40 - - *60 - - *62 + - *55 + - *57 responses: '204': description: Response @@ -10888,6 +10143,303 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - *40 + - *55 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: &59 + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + examples: + - github + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github + repos_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/events + hooks_url: + type: string + examples: + - https://api.github.com/orgs/github/hooks + issues_url: + type: string + examples: + - https://api.github.com/orgs/github/issues + members_url: + type: string + examples: + - https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + examples: + - https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + examples: + - https://github.com/images/error/octocat_happy.gif + description: + type: + - string + - 'null' + examples: + - A great organization + required: + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description + examples: + default: &60 + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - *40 + - *55 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: *59 + examples: + default: &96 + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - *40 + - *55 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - *40 + - *55 + - &61 + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: *59 + examples: + default: *60 + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - *40 + - *55 + - *61 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *59 + examples: + default: *60 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - *40 + - *55 + - *61 + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -10903,7 +10455,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *40 - - &64 + - &62 name: team_slug description: The slug of the team name. in: path @@ -10915,11 +10467,11 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -10937,7 +10489,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *40 - - *64 + - *62 requestBody: required: true content: @@ -10965,6 +10517,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -10983,11 +10547,11 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -11008,7 +10572,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *40 - - *64 + - *62 responses: '204': description: Response @@ -11046,7 +10610,7 @@ paths: application/json: schema: type: array - items: &94 + items: &91 title: Event description: Event type: object @@ -11057,7 +10621,7 @@ paths: type: - string - 'null' - actor: &65 + actor: &63 title: Actor description: Actor type: object @@ -11098,7 +10662,7 @@ paths: - id - name - url - org: *65 + org: *63 payload: oneOf: - title: CreateEvent @@ -11145,7 +10709,7 @@ paths: properties: action: type: string - discussion: &699 + discussion: &696 title: Discussion description: A Discussion in a repository. type: object @@ -11442,7 +11006,7 @@ paths: - id labels: type: array - items: &67 + items: &65 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11525,7 +11089,7 @@ paths: properties: action: type: string - issue: &68 + issue: &66 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -11874,12 +11438,12 @@ paths: - node_id - name - description - repository: *66 + repository: *64 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &69 + author_association: &67 title: author_association type: string description: How the author is associated with the @@ -11895,7 +11459,7 @@ paths: - OWNER examples: - OWNER - reactions: &70 + reactions: &68 title: Reaction Rollup type: object properties: @@ -11931,7 +11495,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &617 + sub_issues_summary: &615 title: Sub-issues Summary type: object properties: @@ -11952,7 +11516,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &618 + issue_dependencies_summary: &616 title: Issue Dependencies Summary type: object properties: @@ -11971,7 +11535,7 @@ paths: - total_blocking issue_field_values: type: array - items: &619 + items: &617 title: Issue Field Value description: A value assigned to an issue field type: object @@ -12071,10 +11635,10 @@ paths: assignees: type: array items: *4 - label: *67 + label: *65 labels: type: array - items: *67 + items: *65 required: - action - issue @@ -12083,8 +11647,8 @@ paths: properties: action: type: string - issue: *68 - comment: &506 + issue: *66 + comment: &496 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12134,12 +11698,12 @@ paths: issue_url: type: string format: uri - author_association: *69 + author_association: *67 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - id - node_id @@ -12318,7 +11882,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 allow_forking: type: boolean is_template: @@ -12409,7 +11973,7 @@ paths: type: string number: type: integer - pull_request: &72 + pull_request: &70 title: Pull Request Minimal type: object properties: @@ -12480,10 +12044,10 @@ paths: assignees: type: array items: *4 - label: *67 + label: *65 labels: type: array - items: *67 + items: *65 required: - action - number @@ -12493,7 +12057,7 @@ paths: properties: action: type: string - pull_request: *72 + pull_request: *70 comment: type: object properties: @@ -12747,7 +12311,7 @@ paths: - pull_request updated_at: type: string - pull_request: *72 + pull_request: *70 required: - action - review @@ -12796,7 +12360,7 @@ paths: updated_at: type: string format: date-time - reactions: *70 + reactions: *68 required: - action - comment @@ -12807,7 +12371,7 @@ paths: type: string release: allOf: - - &558 + - &548 title: Release description: A release. type: object @@ -12889,7 +12453,7 @@ paths: author: *4 assets: type: array - items: &559 + items: &549 title: Release Asset description: Data related to a release. type: object @@ -12964,7 +12528,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *70 + reactions: *68 required: - assets_url - upload_url @@ -13057,7 +12621,19 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *73 + '503': &98 + description: Service unavailable + content: + application/json: + schema: + type: object + properties: + code: + type: string + message: + type: string + documentation_url: + type: string x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -13147,7 +12723,7 @@ paths: _links: type: object properties: - timeline: &74 + timeline: &71 title: Link With Type description: Hypermedia Link with Type type: object @@ -13159,17 +12735,17 @@ paths: required: - href - type - user: *74 - security_advisories: *74 - current_user: *74 - current_user_public: *74 - current_user_actor: *74 - current_user_organization: *74 + user: *71 + security_advisories: *71 + current_user: *71 + current_user_public: *71 + current_user_actor: *71 + current_user_organization: *71 current_user_organizations: type: array - items: *74 - repository_discussions: *74 - repository_discussions_category: *74 + items: *71 + repository_discussions: *71 + repository_discussions_category: *71 required: - timeline - user @@ -13231,7 +12807,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *75 + - *72 - *17 - *19 responses: @@ -13241,7 +12817,7 @@ paths: application/json: schema: type: array - items: &76 + items: &73 title: Base Gist description: Base Gist type: object @@ -13338,7 +12914,7 @@ paths: - created_at - updated_at examples: - default: &77 + default: &74 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13383,7 +12959,7 @@ paths: site_admin: false truncated: false headers: - Link: *57 + Link: *52 '304': *35 '403': *27 x-github: @@ -13462,7 +13038,7 @@ paths: description: Response content: application/json: - schema: &78 + schema: &75 title: Gist Simple description: Gist Simple type: object @@ -13480,7 +13056,7 @@ paths: url: type: string format: uri - user: &631 + user: &629 title: Public User description: Public User type: object @@ -13854,7 +13430,7 @@ paths: truncated: type: boolean examples: - default: &79 + default: &76 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13958,7 +13534,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *75 + - *72 - *17 - *19 responses: @@ -13968,11 +13544,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '403': *27 @@ -13992,7 +13568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *75 + - *72 - *17 - *19 responses: @@ -14002,11 +13578,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '401': *23 '304': *35 '403': *27 @@ -14032,7 +13608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &80 + - &77 name: gist_id description: The unique identifier of the gist. in: path @@ -14044,10 +13620,10 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - default: *79 - '403': &83 + default: *76 + '403': &80 description: Forbidden Gist content: application/json: @@ -14096,7 +13672,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *80 + - *77 requestBody: required: true content: @@ -14160,9 +13736,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - updateGist: *79 + updateGist: *76 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -14320,7 +13896,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14349,7 +13925,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14359,7 +13935,7 @@ paths: application/json: schema: type: array - items: &81 + items: &78 title: Gist Comment description: A comment made to a gist. type: object @@ -14397,7 +13973,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *69 + author_association: *67 required: - url - id @@ -14437,7 +14013,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -14462,7 +14038,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *80 + - *77 requestBody: required: true content: @@ -14488,9 +14064,9 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: &82 + default: &79 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14548,8 +14124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *80 - - &84 + - *77 + - &81 name: comment_id description: The unique identifier of the comment. in: path @@ -14562,12 +14138,12 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: *82 + default: *79 '304': *35 '404': *6 - '403': *83 + '403': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14589,8 +14165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *80 - - *84 + - *77 + - *81 requestBody: required: true content: @@ -14616,9 +14192,9 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: *82 + default: *79 '404': *6 x-github: githubCloudOnly: false @@ -14635,8 +14211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *80 - - *84 + - *77 + - *81 responses: '204': description: Response @@ -14659,7 +14235,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14760,7 +14336,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14770,7 +14346,7 @@ paths: application/json: schema: type: array - items: *78 + items: *75 examples: default: value: @@ -14816,7 +14392,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '404': *6 '304': *35 '403': *27 @@ -14835,13 +14411,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *80 + - *77 responses: '201': description: Response content: application/json: - schema: *76 + schema: *73 examples: default: value: @@ -14912,7 +14488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *80 + - *77 responses: '204': description: Response if gist is starred @@ -14942,7 +14518,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14964,7 +14540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14993,7 +14569,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *80 + - *77 - name: sha in: path required: true @@ -15004,9 +14580,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - default: *79 + default: *76 '422': *15 '404': *6 '403': *27 @@ -15167,7 +14743,7 @@ paths: type: integer repositories: type: array - items: *66 + items: *64 repository_selection: type: string examples: @@ -15291,7 +14867,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '403': *27 '304': *35 '401': *23 @@ -15394,7 +14970,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - name: collab in: query required: false @@ -15424,7 +15000,7 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: default: &203 value: @@ -15671,7 +15247,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '404': *6 @@ -15706,7 +15282,7 @@ paths: application/json: schema: type: array - items: *71 + items: *69 examples: default: value: @@ -16004,7 +15580,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &85 + X-CommonMarker-Version: &82 example: 0.17.4 schema: type: string @@ -16059,7 +15635,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *85 + X-CommonMarker-Version: *82 content: text/html: schema: @@ -16088,7 +15664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &88 + - &85 name: account_id description: account_id parameter in: path @@ -16100,7 +15676,7 @@ paths: description: Response content: application/json: - schema: &87 + schema: &84 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -16134,7 +15710,7 @@ paths: - 'null' id: type: integer - plan: &86 + plan: &83 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -16237,7 +15813,7 @@ paths: - 'null' updated_at: type: string - plan: *86 + plan: *83 required: - url - id @@ -16245,7 +15821,7 @@ paths: - login - marketplace_purchase examples: - default: &89 + default: &86 value: url: https://api.github.com/orgs/github type: Organization @@ -16330,9 +15906,9 @@ paths: application/json: schema: type: array - items: *86 + items: *83 examples: - default: &90 + default: &87 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -16350,7 +15926,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '404': *6 '401': *23 x-github: @@ -16372,14 +15948,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &91 + - &88 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &92 + - &89 name: sort description: The property to sort the results by. in: query @@ -16409,9 +15985,9 @@ paths: application/json: schema: type: array - items: *87 + items: *84 examples: - default: &93 + default: &90 value: - url: https://api.github.com/orgs/github type: Organization @@ -16462,7 +16038,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '404': *6 '422': *15 '401': *23 @@ -16485,15 +16061,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *88 + - *85 responses: '200': description: Response content: application/json: - schema: *87 + schema: *84 examples: - default: *89 + default: *86 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -16525,11 +16101,11 @@ paths: application/json: schema: type: array - items: *86 + items: *83 examples: - default: *90 + default: *87 headers: - Link: *57 + Link: *52 '401': *23 x-github: githubCloudOnly: false @@ -16550,8 +16126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *91 - - *92 + - *88 + - *89 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16571,11 +16147,11 @@ paths: application/json: schema: type: array - items: *87 + items: *84 examples: - default: *93 + default: *90 headers: - Link: *57 + Link: *52 '401': *23 x-github: githubCloudOnly: false @@ -16838,14 +16414,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &314 + - &304 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &315 + - &305 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16862,7 +16438,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -16907,7 +16483,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &323 + '301': &313 description: Moved permanently content: application/json: @@ -16929,7 +16505,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &534 + - &524 name: all description: If `true`, show notifications marked as read. in: query @@ -16937,7 +16513,7 @@ paths: schema: type: boolean default: false - - &535 + - &525 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16946,8 +16522,8 @@ paths: schema: type: boolean default: false - - *75 - - &536 + - *72 + - &526 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -16972,14 +16548,14 @@ paths: application/json: schema: type: array - items: &95 + items: &92 title: Thread description: Thread type: object properties: id: type: string - repository: &131 + repository: &129 title: Minimal Repository description: Minimal Repository type: object @@ -17483,7 +17059,7 @@ paths: - url - subscription_url examples: - default: &537 + default: &527 value: - id: '1' repository: @@ -17565,7 +17141,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -17649,7 +17225,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &96 + - &93 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -17663,7 +17239,7 @@ paths: description: Response content: application/json: - schema: *95 + schema: *92 examples: default: value: @@ -17765,7 +17341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *96 + - *93 responses: '205': description: Reset Content @@ -17787,7 +17363,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *96 + - *93 responses: '204': description: No content @@ -17810,13 +17386,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *96 + - *93 responses: '200': description: Response content: application/json: - schema: &97 + schema: &94 title: Thread Subscription description: Thread Subscription type: object @@ -17860,7 +17436,7 @@ paths: - url - subscribed examples: - default: &98 + default: &95 value: subscribed: true ignored: false @@ -17891,7 +17467,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *96 + - *93 requestBody: required: false content: @@ -17912,9 +17488,9 @@ paths: description: Response content: application/json: - schema: *97 + schema: *94 examples: - default: *98 + default: *95 '304': *35 '403': *27 '401': *23 @@ -17937,7 +17513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *96 + - *93 responses: '204': description: Response @@ -18032,92 +17608,9 @@ paths: application/json: schema: type: array - items: &160 - title: Organization Simple - description: A GitHub organization. - type: object - properties: - login: - type: string - examples: - - github - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github - repos_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/events - hooks_url: - type: string - examples: - - https://api.github.com/orgs/github/hooks - issues_url: - type: string - examples: - - https://api.github.com/orgs/github/issues - members_url: - type: string - examples: - - https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - examples: - - https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - examples: - - https://github.com/images/error/octocat_happy.gif - description: - type: - - string - - 'null' - examples: - - A great organization - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description + items: *59 examples: - default: &647 - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization + default: *96 headers: Link: example: ; rel="next" @@ -18144,13 +17637,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - &99 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string + - *61 - name: page in: query description: The page number of results to fetch. @@ -18301,7 +17788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -18367,7 +17854,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *99 + - *61 requestBody: required: true content: @@ -18404,9 +17891,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -18414,8 +17902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization parameters: - - *99 - - &101 + - *61 + - &99 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -18424,7 +17912,7 @@ paths: required: false schema: type: integer - - &673 + - &670 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -18433,7 +17921,7 @@ paths: required: false schema: type: integer - - &102 + - &100 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -18448,14 +17936,14 @@ paths: required: false schema: type: string - - &674 + - &671 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &675 + - &672 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -18517,19 +18005,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -18571,8 +18059,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18592,9 +18080,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: + - *61 - *99 - - *101 - - &678 + - &675 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -18603,8 +18091,8 @@ paths: required: false schema: type: integer - - *102 - - &679 + - *100 + - &676 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18687,8 +18175,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18714,13 +18202,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &103 + schema: &101 title: Organization Full description: Organization Full type: object @@ -19115,7 +18603,7 @@ paths: - updated_at - archived_at examples: - default-response: &104 + default-response: &102 value: login: github id: 1 @@ -19215,7 +18703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *99 + - *61 requestBody: required: false content: @@ -19432,17 +18920,17 @@ paths: description: Response content: application/json: - schema: *103 + schema: *101 examples: - default: *104 + default: *102 '422': description: Validation failed content: application/json: schema: oneOf: - - *105 - - *106 + - *103 + - *104 '409': *45 x-github: githubCloudOnly: false @@ -19466,7 +18954,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *99 + - *61 responses: '202': *37 '404': *6 @@ -19491,7 +18979,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -19517,7 +19005,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19538,7 +19026,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -19556,7 +19044,7 @@ paths: type: integer repository_cache_usages: type: array - items: &328 + items: &318 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19594,7 +19082,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19614,7 +19102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -19632,7 +19120,7 @@ paths: type: integer runners: type: array - items: &107 + items: &105 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -19689,7 +19177,7 @@ paths: - size_gb - display_name - source - machine_size_details: &110 + machine_size_details: &108 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19794,7 +19282,7 @@ paths: - public_ip_enabled - platform examples: - default: &130 + default: &128 value: total_count: 2 runners: @@ -19836,7 +19324,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 +19342,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: @@ -19921,9 +19409,9 @@ paths: description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: &111 + default: &109 value: id: 5 name: My hosted ubuntu runner @@ -19962,7 +19450,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 +19466,7 @@ paths: type: integer images: type: array - items: &108 + items: &106 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20018,7 +19506,7 @@ paths: - display_name - source examples: - default: &109 + default: &107 value: id: ubuntu-20.04 platform: linux-x64 @@ -20042,7 +19530,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 +19546,9 @@ paths: type: integer images: type: array - items: *108 + items: *106 examples: - default: *109 + default: *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20077,7 +19565,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 +19620,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 +19636,7 @@ paths: type: integer machine_specs: type: array - items: *110 + items: *108 examples: default: value: @@ -20173,7 +19661,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 +19705,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 + - &110 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -20230,11 +19718,11 @@ paths: description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: *111 + default: *109 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20252,8 +19740,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 + - *110 requestBody: required: true content: @@ -20291,9 +19779,9 @@ paths: description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: *111 + default: *109 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20309,16 +19797,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 + - *110 responses: '202': description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: *111 + default: *109 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20338,13 +19826,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: &111 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -20358,7 +19846,7 @@ paths: required: - include_claim_keys examples: - default: &114 + default: &112 value: include_claim_keys: - repo @@ -20380,20 +19868,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: *111 examples: - default: *114 + default: *112 responses: '201': description: Empty response content: application/json: - schema: &140 + schema: &138 title: Empty Object description: An object without any properties. type: object @@ -20423,7 +19911,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 +19920,7 @@ paths: schema: type: object properties: - enabled_repositories: &115 + enabled_repositories: &113 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -20445,7 +19933,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: &114 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -20453,12 +19941,12 @@ paths: - all - local_only - selected - selected_actions_url: &334 + selected_actions_url: &324 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: &115 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -20489,7 +19977,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 +19988,9 @@ paths: schema: type: object properties: - enabled_repositories: *115 - allowed_actions: *116 - sha_pinning_required: *117 + enabled_repositories: *113 + allowed_actions: *114 + sha_pinning_required: *115 required: - enabled_repositories examples: @@ -20530,13 +20018,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: &328 type: object properties: days: @@ -20573,12 +20061,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: &329 type: object properties: days: @@ -20615,13 +20103,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: &116 type: object properties: approval_policy: @@ -20635,7 +20123,7 @@ paths: required: - approval_policy examples: - default: &340 + default: &330 value: approval_policy: first_time_contributors '404': *6 @@ -20656,7 +20144,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 +20154,7 @@ paths: required: true content: application/json: - schema: *118 + schema: *116 examples: default: summary: Set approval policy to first time contributors @@ -20688,13 +20176,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: &331 type: object required: - run_workflows_from_fork_pull_requests @@ -20720,7 +20208,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &119 + default: &117 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -20743,12 +20231,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: &332 type: object required: - run_workflows_from_fork_pull_requests @@ -20771,7 +20259,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *119 + default: *117 responses: '204': description: Empty response for successful settings update @@ -20801,7 +20289,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 +20307,9 @@ paths: type: number repositories: type: array - items: *66 + items: *64 examples: - default: &123 + default: &121 value: total_count: 1 repositories: @@ -20961,7 +20449,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 +20493,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 + - &118 name: repository_id description: The unique identifier of the repository. in: path @@ -21034,8 +20522,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 + - *118 responses: '204': description: Response @@ -21058,13 +20546,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: &119 type: object properties: github_owned_allowed: @@ -21086,7 +20574,7 @@ paths: items: type: string examples: - default: &122 + default: &120 value: github_owned_allowed: true verified_allowed: false @@ -21111,7 +20599,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 +20607,9 @@ paths: required: false content: application/json: - schema: *121 + schema: *119 examples: - selected_actions: *122 + selected_actions: *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21141,7 +20629,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 +20677,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 +20724,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 +20739,9 @@ paths: type: integer repositories: type: array - items: *66 + items: *64 examples: - default: *123 + default: *121 '403': *27 '404': *6 x-github: @@ -21273,7 +20761,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 +20809,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 + - *118 responses: '204': description: No content @@ -21348,8 +20836,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 + - *118 responses: '204': description: No content @@ -21377,23 +20865,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: &333 type: object properties: - default_workflow_permissions: &124 + default_workflow_permissions: &122 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: &123 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -21401,7 +20889,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &126 + default: &124 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -21426,7 +20914,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 +20922,13 @@ paths: required: false content: application/json: - schema: &344 + schema: &334 type: object properties: - default_workflow_permissions: *124 - can_approve_pull_request_reviews: *125 + default_workflow_permissions: *122 + can_approve_pull_request_reviews: *123 examples: - default: *126 + default: *124 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21460,7 +20948,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 +20973,7 @@ paths: type: number runner_groups: type: array - items: &127 + items: &125 type: object properties: id: @@ -21602,7 +21090,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 +21163,9 @@ paths: description: Response content: application/json: - schema: *127 + schema: *125 examples: - default: &129 + default: &127 value: id: 2 name: octo-runner-group @@ -21712,8 +21200,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 + - &126 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -21725,7 +21213,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *125 examples: default: value: @@ -21761,8 +21249,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 + - *126 requestBody: required: true content: @@ -21818,9 +21306,9 @@ paths: description: Response content: application/json: - schema: *127 + schema: *125 examples: - default: *129 + default: *127 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21839,8 +21327,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 + - *126 responses: '204': description: Response @@ -21863,8 +21351,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 + - *126 - *17 - *19 responses: @@ -21882,11 +21370,11 @@ paths: type: number runners: type: array - items: *107 + items: *105 examples: - default: *130 + default: *128 headers: - Link: *57 + Link: *52 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21906,8 +21394,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 + - *126 - *19 - *17 responses: @@ -21925,9 +21413,9 @@ paths: type: number repositories: type: array - items: *131 + items: *129 examples: - default: &634 + default: &632 value: total_count: 1 repositories: @@ -22179,8 +21667,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 + - *126 requestBody: required: true content: @@ -22224,9 +21712,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 + - *126 + - *118 responses: '204': description: Response @@ -22248,9 +21736,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 + - *126 + - *118 responses: '204': description: Response @@ -22273,8 +21761,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 + - *126 - *17 - *19 responses: @@ -22292,7 +21780,7 @@ paths: type: number runners: type: array - items: &133 + items: &131 title: Self hosted runners description: A self hosted runner type: object @@ -22326,7 +21814,7 @@ paths: type: boolean labels: type: array - items: &136 + items: &134 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -22356,7 +21844,7 @@ paths: - busy - labels examples: - default: &134 + default: &132 value: total_count: 2 runners: @@ -22396,7 +21884,7 @@ paths: name: no-gpu type: custom headers: - Link: *57 + Link: *52 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22415,8 +21903,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 + - *126 requestBody: required: true content: @@ -22460,9 +21948,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 + - *126 + - &130 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -22490,9 +21978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *99 - - *128 - - *132 + - *61 + - *126 + - *130 responses: '204': description: Response @@ -22522,7 +22010,7 @@ paths: in: query schema: type: string - - *99 + - *61 - *17 - *19 responses: @@ -22540,11 +22028,11 @@ paths: type: integer runners: type: array - items: *133 + items: *131 examples: - default: *134 + default: *132 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22566,7 +22054,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 +22062,7 @@ paths: application/json: schema: type: array - items: &345 + items: &335 title: Runner Application description: Runner Application type: object @@ -22599,7 +22087,7 @@ paths: - download_url - filename examples: - default: &346 + default: &336 value: - os: osx architecture: x64 @@ -22642,7 +22130,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 +22173,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &347 + '201': &337 description: Response content: application/json: @@ -22695,7 +22183,7 @@ paths: - runner - encoded_jit_config properties: - runner: *133 + runner: *131 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -22752,13 +22240,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: &133 title: Authentication Token description: Authentication Token type: object @@ -22782,7 +22270,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *66 + items: *64 single_file: type: - string @@ -22800,7 +22288,7 @@ paths: - token - expires_at examples: - default: &348 + default: &338 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22831,15 +22319,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: *133 examples: - default: &349 + default: &339 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22864,16 +22352,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 + - *130 responses: '200': description: Response content: application/json: - schema: *133 + schema: *131 examples: - default: &350 + default: &340 value: id: 23 name: MBP @@ -22914,8 +22402,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 + - *130 responses: '204': description: Response @@ -22941,10 +22429,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 + - *130 responses: - '200': &137 + '200': &135 description: Response content: application/json: @@ -22958,7 +22446,7 @@ paths: type: integer labels: type: array - items: *136 + items: *134 examples: default: value: @@ -22997,8 +22485,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 + - *130 requestBody: required: true content: @@ -23022,7 +22510,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -23046,8 +22534,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 + - *130 requestBody: required: true content: @@ -23072,7 +22560,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -23096,10 +22584,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 + - *130 responses: - '200': &351 + '200': &341 description: Response content: application/json: @@ -23113,7 +22601,7 @@ paths: type: integer labels: type: array - items: *136 + items: *134 examples: default: value: @@ -23154,9 +22642,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 + - *130 + - &342 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23164,7 +22652,7 @@ paths: schema: type: string responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -23189,7 +22677,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 +22695,7 @@ paths: type: integer secrets: type: array - items: &138 + items: &136 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23259,7 +22747,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 +22770,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: &354 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23323,7 +22811,7 @@ paths: - key_id - key examples: - default: &365 + default: &355 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23348,8 +22836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *99 - - &139 + - *61 + - &137 name: secret_name description: The name of the secret. in: path @@ -23361,7 +22849,7 @@ paths: description: Response content: application/json: - schema: *138 + schema: *136 examples: default: value: @@ -23391,8 +22879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 requestBody: required: true content: @@ -23449,7 +22937,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -23475,8 +22963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 responses: '204': description: Response @@ -23502,8 +22990,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 + - *137 - *19 - *17 responses: @@ -23521,9 +23009,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: &143 + default: &141 value: total_count: 1 repositories: @@ -23615,8 +23103,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 + - *137 requestBody: required: true content: @@ -23668,8 +23156,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 + - *137 - name: repository_id in: path required: true @@ -23702,8 +23190,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 + - *137 - name: repository_id in: path required: true @@ -23735,8 +23223,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *99 - - &333 + - *61 + - &323 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 +23248,7 @@ paths: type: integer variables: type: array - items: &141 + items: &139 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23829,7 +23317,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 +23338,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 +23386,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -23923,8 +23411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *99 - - &142 + - *61 + - &140 name: name description: The name of the variable. in: path @@ -23936,7 +23424,7 @@ paths: description: Response content: application/json: - schema: *141 + schema: *139 examples: default: value: @@ -23966,8 +23454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *140 requestBody: required: true content: @@ -24029,8 +23517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *140 responses: '204': description: Response @@ -24056,8 +23544,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 + - *140 - *19 - *17 responses: @@ -24075,9 +23563,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: *143 + default: *141 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24103,8 +23591,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 + - *140 requestBody: required: true content: @@ -24153,8 +23641,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 + - *140 - name: repository_id in: path required: true @@ -24188,8 +23676,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 + - *140 - name: repository_id in: path required: true @@ -24220,7 +23708,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 +23850,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 +23936,7 @@ paths: - *17 - *38 - *39 - - *99 + - *61 requestBody: required: true content: @@ -24471,12 +23959,12 @@ paths: required: - subject_digests examples: - default: &662 + default: &659 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &663 + withPredicateType: &660 value: subject_digests: - sha256:abc123 @@ -24535,7 +24023,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &664 + default: &661 value: attestations_subject_digests: - sha256:abc: @@ -24644,7 +24132,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 +24197,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 +24216,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 +24279,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 +24317,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 +24370,7 @@ paths: initiator: type: string examples: - default: &378 + default: &368 value: attestations: - bundle: @@ -24938,7 +24477,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 +24489,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24969,8 +24508,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 +24534,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 +24555,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 +24581,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 +24589,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &144 + schema: &142 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -25076,7 +24615,7 @@ paths: application/json: schema: type: array - items: &145 + items: &143 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -25107,7 +24646,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &161 + items: &163 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -25320,7 +24859,7 @@ paths: - string - 'null' format: date-time - state: *144 + state: *142 contact_link: description: The contact link of the campaign. type: @@ -25416,9 +24955,9 @@ paths: closed_at: state: open headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25442,7 +24981,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -25537,9 +25076,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *143 examples: - default: &146 + default: &144 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -25588,7 +25127,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25610,7 +25149,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 +25161,16 @@ paths: description: Response content: application/json: - schema: *145 + schema: *143 examples: - default: *146 + default: *144 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25652,7 +25191,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 +25241,7 @@ paths: - string - 'null' format: uri - state: *144 + state: *142 examples: default: value: @@ -25712,9 +25251,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *143 examples: - default: *146 + default: *144 '400': description: Bad Request content: @@ -25726,7 +25265,7 @@ paths: content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25747,7 +25286,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 +25297,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25780,18 +25319,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 + - &392 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: &152 type: string description: The name of the tool used to generate the code scanning analysis. - - &403 + - &393 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 +25338,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &150 + schema: &153 type: - string - 'null' @@ -25815,7 +25354,7 @@ paths: be returned. in: query required: false - schema: &405 + schema: &395 type: string description: State of a code scanning alert. enum: @@ -25838,7 +25377,7 @@ paths: be returned. in: query required: false - schema: &406 + schema: &396 type: string description: Severity of a code scanning alert. enum: @@ -25859,18 +25398,18 @@ paths: items: type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: &407 + number: *145 + created_at: *146 + updated_at: *147 + url: *148 + html_url: *149 + instances_url: &397 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &151 + state: &154 type: - string - 'null' @@ -25880,13 +25419,13 @@ paths: - dismissed - fixed - - fixed_at: *147 + fixed_at: *150 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: &408 + dismissed_at: *151 + dismissed_reason: &398 type: - string - 'null' @@ -25897,14 +25436,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &409 + dismissed_comment: &399 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &410 + rule: &400 type: object properties: id: @@ -25965,26 +25504,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &411 + tool: &401 type: object properties: - name: *149 + name: *152 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *150 - most_recent_instance: &412 + guid: *153 + most_recent_instance: &402 type: object properties: - ref: &404 + ref: &394 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &422 + analysis_key: &412 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25995,13 +25534,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: &413 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: *154 commit_sha: type: string message: @@ -26294,9 +25833,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26318,7 +25857,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 +25968,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 +26046,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *152 + code_scanning_options: *155 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -26650,7 +26189,7 @@ paths: application/json: schema: *41 examples: - default: *153 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26672,15 +26211,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: *157 examples: - default: *155 + default: *158 '304': *35 '403': *27 '404': *6 @@ -26706,7 +26245,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 +26271,7 @@ paths: - 32 - 91 responses: - '204': *156 + '204': *159 '400': *14 '403': *27 '404': *6 @@ -26758,7 +26297,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 +26306,7 @@ paths: application/json: schema: *41 examples: - default: *153 + default: *156 '304': *35 '403': *27 '404': *6 @@ -26791,7 +26330,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 +26587,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': *159 '400': *14 '403': *27 '404': *6 @@ -27079,7 +26618,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 +26682,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 +26728,7 @@ paths: default: value: default_for_new_repos: all - configuration: *153 + configuration: *156 '403': *27 '404': *6 x-github: @@ -27213,7 +26752,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 +26781,13 @@ paths: application/json: schema: type: array - items: *157 + items: *160 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *158 + repository: *161 '403': *27 '404': *6 x-github: @@ -27272,7 +26811,7 @@ paths: parameters: - *17 - *19 - - *99 + - *61 responses: '200': description: Response @@ -27319,11 +26858,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *131 + repository: *129 machine: anyOf: - type: 'null' - - &435 + - &425 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -28020,7 +27559,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -28042,7 +27581,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 +27625,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28109,7 +27648,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 +27680,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28164,7 +27703,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 +27734,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28216,7 +27755,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 +27773,7 @@ paths: type: integer secrets: type: array - items: &159 + items: &162 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -28275,7 +27814,7 @@ paths: - updated_at - visibility examples: - default: &436 + default: &426 value: total_count: 2 secrets: @@ -28288,7 +27827,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28307,13 +27846,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: &427 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -28348,7 +27887,7 @@ paths: - key_id - key examples: - default: &438 + default: &428 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28371,23 +27910,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 responses: '200': description: Response content: application/json: - schema: *159 + schema: *162 examples: - default: &440 + default: &430 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 +27946,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 + - *137 requestBody: required: true content: @@ -28463,7 +28002,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -28489,8 +28028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 responses: '204': description: Response @@ -28515,8 +28054,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 + - *137 - *19 - *17 responses: @@ -28534,9 +28073,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: *143 + default: *141 '404': *6 x-github: githubCloudOnly: false @@ -28558,8 +28097,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 + - *137 requestBody: required: true content: @@ -28609,8 +28148,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 + - *137 - name: repository_id in: path required: true @@ -28643,8 +28182,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 + - *137 - name: repository_id in: path required: true @@ -28683,7 +28222,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 +28331,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -28824,7 +28363,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, @@ -28860,13 +28399,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 + - *163 + - *53 type: - 'null' - object @@ -28996,8 +28535,8 @@ paths: type: User site_admin: false headers: - Link: *57 - '500': *100 + Link: *52 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29030,7 +28569,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 +28611,7 @@ paths: default: value: seats_created: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29108,7 +28647,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 +28689,7 @@ paths: default: value: seats_cancelled: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29188,7 +28727,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 +28768,7 @@ paths: default: value: seats_created: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29265,7 +28804,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 +28846,7 @@ paths: default: value: seats_cancelled: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29346,7 +28885,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 +28917,7 @@ paths: application/json: schema: type: array - items: &296 + items: &286 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -29693,7 +29232,7 @@ paths: - date additionalProperties: true examples: - default: &297 + default: &287 value: - date: '2024-06-24' total_active_users: 24 @@ -29792,10 +29331,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *100 + '500': *97 '403': *27 '404': *6 - '422': &298 + '422': &288 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -29822,12 +29361,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *99 - - *162 - - *163 + - *61 - *164 - *165 - *166 + - *167 + - *168 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -29865,13 +29404,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *167 - - *168 + - *169 + - *170 - *46 - *38 - *39 - - *169 - - *170 - *17 responses: '200': @@ -29908,7 +29445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *99 + - *61 - *17 - *19 responses: @@ -29978,7 +29515,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 +29536,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: &453 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -30024,7 +29561,7 @@ paths: - key_id - key examples: - default: &464 + default: &454 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30047,8 +29584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 responses: '200': description: Response @@ -30082,8 +29619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 requestBody: required: true content: @@ -30142,7 +29679,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -30166,8 +29703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 responses: '204': description: Response @@ -30191,8 +29728,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 + - *137 - *19 - *17 responses: @@ -30210,9 +29747,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: *143 + default: *141 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30233,8 +29770,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 + - *137 requestBody: required: true content: @@ -30284,8 +29821,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 + - *137 - name: repository_id in: path required: true @@ -30316,8 +29853,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 + - *137 - name: repository_id in: path required: true @@ -30347,7 +29884,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 @@ -30408,7 +29945,7 @@ paths: repository: anyOf: - type: 'null' - - *131 + - *129 created_at: type: string format: date-time @@ -30504,7 +30041,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 +30051,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: 200-response: value: @@ -30586,7 +30123,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30683,7 +30220,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 +30244,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30817,7 +30354,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -30840,7 +30377,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: @@ -30951,7 +30488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *99 + - *61 - &176 name: hook_id description: The unique identifier of the hook. You can find this value in @@ -30994,7 +30531,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *99 + - *61 - *176 requestBody: required: false @@ -31082,7 +30619,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *99 + - *61 - *176 responses: '204': @@ -31110,7 +30647,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *99 + - *61 - *176 responses: '200': @@ -31141,7 +30678,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *99 + - *61 - *176 requestBody: required: false @@ -31192,7 +30729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *99 + - *61 - *176 - *17 - *177 @@ -31230,7 +30767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *99 + - *61 - *176 - *16 responses: @@ -31265,7 +30802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *99 + - *61 - *176 - *16 responses: @@ -31295,7 +30832,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *99 + - *61 - *176 responses: '204': @@ -31318,7 +30855,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *99 + - *61 - &186 name: actor_type in: path @@ -31441,7 +30978,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *99 + - *61 - *182 - *183 - *19 @@ -31526,7 +31063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *99 + - *61 - *182 - *183 responses: @@ -31570,7 +31107,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *99 + - *61 - &188 name: user_id in: path @@ -31605,7 +31142,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *99 + - *61 - *182 - *183 - *186 @@ -31634,7 +31171,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *99 + - *61 - *182 - *183 - &189 @@ -31702,7 +31239,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *99 + - *61 - *188 - *182 - *183 @@ -31731,7 +31268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *99 + - *61 - *186 - *187 - *182 @@ -31761,7 +31298,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *99 + - *61 - *188 - *182 - *183 @@ -31844,7 +31381,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 +31389,7 @@ paths: application/json: schema: *20 examples: - default: &502 + default: &492 value: id: 1 account: @@ -31921,7 +31458,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 +31528,7 @@ paths: suspended_at: suspended_by: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32010,7 +31547,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 @@ -32075,12 +31612,12 @@ 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: &493 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -32131,7 +31668,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 +31692,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 @@ -32193,7 +31730,7 @@ paths: examples: default: *197 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32214,7 +31751,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: @@ -32322,7 +31859,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *99 + - *61 - &198 name: invitation_id description: The unique identifier of the invitation. @@ -32353,7 +31890,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *99 + - *61 - *198 - *17 - *19 @@ -32364,7 +31901,7 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: &215 value: @@ -32382,7 +31919,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 +31938,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 @@ -32447,7 +31984,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: @@ -32531,7 +32068,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *99 + - *61 - &201 name: issue_type_id description: The unique identifier of the issue type. @@ -32614,7 +32151,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *99 + - *61 - *201 responses: '204': @@ -32648,7 +32185,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 @@ -32697,7 +32234,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -32707,11 +32244,11 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: default: *203 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32731,7 +32268,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 +32306,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -32789,8 +32326,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 +32361,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 +32388,8 @@ paths: parameters: - *17 - *19 - - *99 - - *62 + - *61 + - *57 responses: '200': description: Response @@ -32872,7 +32409,7 @@ paths: examples: default: *205 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -32895,8 +32432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *99 - - *62 + - *61 + - *57 - &206 name: codespace_name in: path @@ -32907,7 +32444,7 @@ paths: responses: '202': *37 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -32930,8 +32467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *99 - - *62 + - *61 + - *57 - *206 responses: '200': @@ -32940,7 +32477,7 @@ paths: application/json: schema: *204 examples: - default: &434 + default: &424 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -33082,7 +32619,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -33113,8 +32650,8 @@ 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. @@ -33164,7 +32701,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -33189,8 +32726,8 @@ 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 @@ -33245,7 +32782,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *160 + organization: *59 user: anyOf: - type: 'null' @@ -33333,8 +32870,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: @@ -33388,8 +32925,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 +32951,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *99 + - *61 - *17 - *19 - name: exclude @@ -33478,7 +33015,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 +33214,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 +33230,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: @@ -33952,7 +33489,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *99 + - *61 - &211 name: migration_id description: The unique identifier of the migration. @@ -34150,7 +33687,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *99 + - *61 - *211 responses: '302': @@ -34172,7 +33709,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *99 + - *61 - *211 responses: '204': @@ -34196,9 +33733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *99 + - *61 - *211 - - &646 + - &644 name: repo_name description: repo_name parameter in: path @@ -34225,7 +33762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *99 + - *61 - *211 - *17 - *19 @@ -34236,7 +33773,7 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: &222 value: @@ -34349,7 +33886,7 @@ paths: secret_scanning_non_provider_patterns: status: disabled headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -34375,7 +33912,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 @@ -34540,8 +34077,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,8 +34103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *99 - - *64 + - *61 + - *62 - &212 name: role_id description: The unique identifier of the role. @@ -34603,8 +34140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *99 - - *64 + - *61 + - *62 - *212 responses: '204': @@ -34630,8 +34167,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,8 +34193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *99 - - *62 + - *61 + - *57 - *212 responses: '204': @@ -34688,8 +34225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *99 - - *62 + - *61 + - *57 - *212 responses: '204': @@ -34718,7 +34255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *99 + - *61 - *212 responses: '200': @@ -34775,7 +34312,7 @@ 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 + - *61 - *212 - *17 - *19 @@ -34890,7 +34427,7 @@ paths: examples: default: *215 headers: - Link: *57 + Link: *52 '404': description: Response if the organization or role does not exist. '422': @@ -34917,7 +34454,7 @@ 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 + - *61 - *212 - *17 - *19 @@ -35064,9 +34601,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 +34625,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 +34652,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35140,8 +34677,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 +34735,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 +34793,8 @@ paths: - docker - nuget - container - - *99 - - &648 + - *61 + - &645 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -35298,7 +34835,7 @@ paths: default: *217 '403': *27 '401': *23 - '400': &650 + '400': &647 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -35345,7 +34882,7 @@ paths: required: true schema: type: string - - *99 + - *61 responses: '200': description: Response @@ -35405,7 +34942,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 responses: '204': description: Response @@ -35439,7 +34976,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 - name: token description: package token schema: @@ -35473,7 +35010,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 - *19 - *17 - name: state @@ -35630,7 +35167,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 - &221 name: package_version_id description: Unique identifier of the package version. @@ -35681,7 +35218,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 - *221 responses: '204': @@ -35716,7 +35253,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 - *221 responses: '204': @@ -35744,7 +35281,7 @@ 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 @@ -35821,7 +35358,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 @@ -35956,7 +35493,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 +35513,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 +35555,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 @@ -36043,7 +35580,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 +35617,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 - '204': *156 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36105,7 +35642,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 +35653,7 @@ paths: - *17 - *19 responses: - '500': *100 + '500': *97 '404': *6 '403': *27 '200': @@ -36125,11 +35662,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36150,7 +35687,7 @@ 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 @@ -36162,7 +35699,7 @@ paths: - *228 - *229 responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 @@ -36291,7 +35828,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 +35848,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 +35883,7 @@ paths: - 1296269 - 1296280 responses: - '500': *100 + '500': *97 '404': *6 '202': *37 '403': *27 @@ -36371,7 +35908,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 +35936,9 @@ paths: value: action: revoke responses: - '500': *100 + '500': *97 '404': *6 - '204': *156 + '204': *159 '403': *27 '422': *15 x-github: @@ -36423,7 +35960,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 +35970,7 @@ paths: - *17 - *19 responses: - '500': *100 + '500': *97 '404': *6 '403': *27 '200': @@ -36442,11 +35979,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36468,7 +36005,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: @@ -36555,7 +36092,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *57 + Link: *52 '400': *14 '404': *6 x-github: @@ -36577,7 +36114,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: @@ -36786,7 +36323,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 +36351,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -36836,8 +36373,8 @@ 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 + - *137 responses: '200': description: The specified private registry configuration for the organization @@ -36866,8 +36403,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 + - *137 requestBody: required: true content: @@ -36963,8 +36500,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 + - *137 responses: '204': description: Response @@ -36989,7 +36526,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 @@ -37143,7 +36680,7 @@ paths: organization_permission: write private: true headers: - Link: *57 + Link: *52 '422': *7 x-github: githubCloudOnly: false @@ -37166,7 +36703,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: @@ -37230,7 +36767,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &320 + '410': &310 description: Gone content: application/json: @@ -37256,7 +36793,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 @@ -37347,7 +36884,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &727 + - &724 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -37515,7 +37052,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37542,7 +37079,7 @@ paths: required: true schema: type: integer - - *99 + - *61 responses: '200': description: Response @@ -37552,7 +37089,7 @@ paths: examples: default: *234 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37573,7 +37110,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - *235 - - *99 + - *61 - *17 - *38 - *39 @@ -37757,7 +37294,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 @@ -37778,14 +37315,14 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *235 - - &667 + - &664 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *99 + - *61 responses: '200': description: Response @@ -37795,7 +37332,7 @@ paths: examples: default: *237 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37817,7 +37354,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - *235 - - *99 + - *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 +37363,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 @@ -38595,7 +38134,7 @@ paths: type: sub_issues_progress value: headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -38615,7 +38154,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *99 + - *61 - *235 requestBody: required: true @@ -38653,7 +38192,7 @@ paths: description: Response content: application/json: - schema: &668 + schema: &665 title: Projects v2 Item description: An item belonging to a project type: object @@ -38666,8 +38205,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *68 - - &447 + - *66 + - &437 title: Pull Request Simple description: Pull Request Simple type: object @@ -38842,7 +38381,7 @@ paths: type: - array - 'null' - items: *161 + items: *163 head: type: object properties: @@ -38850,7 +38389,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: @@ -38870,7 +38409,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: @@ -38911,8 +38450,8 @@ paths: - review_comments - review_comment - self - author_association: *69 - auto_merge: &544 + author_association: *67 + auto_merge: &534 title: Auto merge description: The status of auto merging a pull request. type: @@ -39127,7 +38666,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - *235 - - *99 + - *61 - &244 name: item_id description: The unique identifier of the project item. @@ -39136,17 +38675,19 @@ 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 @@ -39156,7 +38697,7 @@ paths: examples: default: *243 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -39176,7 +38717,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - *235 - - *99 + - *61 - *244 requestBody: required: true @@ -39277,7 +38818,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - *235 - - *99 + - *61 - *244 responses: '204': @@ -39302,7 +38843,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 @@ -39434,7 +38975,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: @@ -39498,7 +39039,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *99 + - *61 - &247 name: custom_property_name description: The custom property name @@ -39547,7 +39088,7 @@ 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 + - *61 - *247 requestBody: required: true @@ -39651,10 +39192,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *99 + - *61 - *247 responses: - '204': *156 + '204': *159 '403': *27 '404': *6 x-github: @@ -39675,7 +39216,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 @@ -39758,7 +39299,7 @@ paths: - property_name: team value: octocat headers: - Link: *57 + Link: *52 '403': *27 '404': *6 x-github: @@ -39786,7 +39327,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: @@ -39847,7 +39388,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 +39400,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39878,8 +39419,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 +39444,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 +39466,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 +39491,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 +39537,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40019,7 +39560,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 +39742,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &312 title: Full Repository description: Full Repository type: object @@ -40547,7 +40088,7 @@ paths: template_repository: anyOf: - type: 'null' - - *66 + - *64 temp_clone_token: type: - string @@ -40647,13 +40188,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 +40207,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &452 + code_of_conduct: &442 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -40780,7 +40321,7 @@ paths: - network_count - subscribers_count examples: - default: &324 + default: &314 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41298,10 +40839,10 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - *17 - *19 - - &567 + - &557 name: targets description: | A comma-separated list of rule targets to filter by. @@ -41587,7 +41128,7 @@ paths: - object rules: type: array - items: &568 + items: &558 title: Repository Rule type: object description: A repository rule. @@ -41649,7 +41190,7 @@ paths: type: string enum: - required_linear_history - - &565 + - &555 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -42273,7 +41814,7 @@ paths: - tool required: - code_scanning_tools - - &566 + - &556 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -42334,7 +41875,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -42350,7 +41891,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 requestBody: description: Request body required: true @@ -42484,7 +42025,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -42498,8 +42039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *99 - - &569 + - *61 + - &559 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 +42055,7 @@ paths: in: query schema: type: string - - &570 + - &560 name: time_period description: |- The time period to filter by. @@ -42530,14 +42071,14 @@ paths: - week - month default: day - - &571 + - &561 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 + - &562 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -42557,7 +42098,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &563 title: Rule Suites description: Response type: array @@ -42613,7 +42154,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &574 + default: &564 value: - id: 21 actor_id: 12 @@ -42637,7 +42178,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42656,8 +42197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *99 - - &575 + - *61 + - &565 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -42673,7 +42214,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &566 title: Rule Suite description: Response type: object @@ -42780,7 +42321,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &577 + default: &567 value: id: 21 actor_id: 12 @@ -42815,7 +42356,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42841,7 +42382,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42857,7 +42398,7 @@ paths: examples: default: *277 '404': *6 - '500': *100 + '500': *97 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -42873,7 +42414,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42947,7 +42488,7 @@ paths: examples: default: *277 '404': *6 - '500': *100 + '500': *97 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -42963,7 +42504,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42974,7 +42515,7 @@ paths: '204': description: Response '404': *6 - '500': *100 + '500': *97 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -42986,7 +42527,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 @@ -43026,7 +42567,7 @@ paths: type: string format: date-time examples: - default: &579 + default: &569 value: - version_id: 3 actor: @@ -43044,7 +42585,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43061,7 +42602,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,7 +42620,7 @@ paths: description: Response content: application/json: - schema: &580 + schema: &570 allOf: - *279 - type: object @@ -43128,7 +42669,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43150,15 +42691,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 + - &571 + 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 + - &572 + 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 + - &573 + 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 + - &574 + 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 + - &575 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 +42747,7 @@ paths: required: false schema: type: string - - &582 + - &576 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 +42757,42 @@ paths: required: false schema: type: string - - *284 - - *285 - - *286 - - *287 + - &577 + 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 + - &578 + 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 + - &579 + 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 + - &580 + 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 +42800,615 @@ paths: application/json: schema: type: array - items: *288 + items: + type: object + properties: + number: *145 + created_at: *146 + updated_at: + anyOf: + - type: 'null' + - *147 + url: *148 + html_url: *149 + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this + alert. + state: &581 + 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: &582 + 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' + - &583 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &585 + 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 + - &586 + 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 + - &587 + 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 + - &588 + 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 + - &589 + 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 + - &590 + 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 + - &591 + 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 + - &592 + 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 + - &593 + 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 + - &594 + 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 + - &595 + 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 + - &596 + 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 + - &597 + description: Represents a 'pull_request_review_comment' + secret scanning location type. This location type shows + that a secret was detected in a review comment on a pull + request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - *4 examples: - default: *289 + default: + value: + - number: 2 + created_at: '2020-11-06T18:48:51Z' + url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 + html_url: https://github.com/owner/private-repo/security/secret-scanning/2 + locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations + state: resolved + resolution: false_positive + resolved_at: '2020-11-07T02:47:13Z' + resolved_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + secret_type: adafruit_io_key + secret_type_display_name: Adafruit IO Key + secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + push_protection_bypassed_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + push_protection_bypassed: true + push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_reviewer_comment: Example response + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 + resolution_comment: Example comment + validity: active + publicly_leaked: false + multi_repo: false + is_base64_encoded: false + first_location_detected: + path: "/example/secrets.txt" + start_line: 1 + end_line: 1 + start_column: 1 + end_column: 64 + blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b + commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b + has_more_locations: true + assigned_to: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43220,7 +43433,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *99 + - *61 responses: '200': description: Response @@ -43232,7 +43445,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &291 + pattern_config_version: &281 type: - string - 'null' @@ -43242,7 +43455,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &290 + items: &280 type: object properties: token_type: @@ -43311,7 +43524,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *290 + items: *280 examples: default: value: @@ -43360,7 +43573,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *99 + - *61 requestBody: required: true content: @@ -43368,7 +43581,7 @@ paths: schema: type: object properties: - pattern_config_version: *291 + pattern_config_version: *281 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -43394,7 +43607,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *291 + custom_pattern_version: *281 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -43448,7 +43661,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 +43705,7 @@ paths: application/json: schema: type: array - items: &603 + items: &601 description: A repository security advisory. type: object properties: @@ -43736,7 +43949,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *282 credits_detailed: type: - array @@ -43747,7 +43960,7 @@ paths: type: object properties: user: *4 - type: *292 + type: *282 state: type: string description: The state of the user's acceptance of the @@ -43773,7 +43986,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *161 + items: *163 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -43811,7 +44024,7 @@ paths: - private_fork additionalProperties: false examples: - default: &604 + default: &602 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44190,7 +44403,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 @@ -44223,8 +44436,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 +44462,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 +44492,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: &666 type: object properties: total_minutes_used: @@ -44355,7 +44568,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &670 + default: &667 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -44385,13 +44598,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: &668 type: object properties: total_gigabytes_bandwidth_used: @@ -44409,7 +44622,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &672 + default: &669 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -44435,13 +44648,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: &673 type: object properties: days_left_in_billing_cycle: @@ -44459,7 +44672,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &677 + default: &674 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -44483,7 +44696,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 +44746,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 +44804,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 +44822,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: *143 + default: *141 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44630,7 +44843,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 +44892,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 + - *118 responses: '204': description: Response @@ -44702,8 +44915,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 + - *118 responses: '204': description: Response @@ -44726,7 +44939,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 +44957,7 @@ paths: type: integer network_configurations: type: array - items: &293 + items: &283 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -44808,7 +45021,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44827,7 +45040,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 +45082,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *283 examples: - default: &294 + default: &284 value: id: 123456789ABCDEF name: My network configuration @@ -44899,8 +45112,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 + - &285 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -44912,11 +45125,11 @@ paths: description: Response content: application/json: - schema: *293 + schema: *283 examples: - default: *294 + default: *284 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44935,8 +45148,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 + - *285 requestBody: required: true content: @@ -44975,9 +45188,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *283 examples: - default: *294 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44996,8 +45209,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 + - *285 responses: '204': description: Response @@ -45020,7 +45233,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 +45292,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 +45322,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 +45355,13 @@ paths: application/json: schema: type: array - items: *296 + items: *286 examples: - default: *297 - '500': *100 + default: *287 + '500': *97 '403': *27 '404': *6 - '422': *298 + '422': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45166,7 +45379,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *99 + - *61 - *17 - *19 responses: @@ -45176,11 +45389,11 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -45200,7 +45413,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 +45485,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &289 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45671,7 +45884,7 @@ paths: - repos_count - organization examples: - default: &300 + default: &290 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45741,16 +45954,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: *289 examples: - default: *300 + default: *290 '404': *6 x-github: githubCloudOnly: false @@ -45771,8 +45984,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 +46048,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '201': description: Response content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '404': *6 '422': *15 '403': *27 @@ -45869,8 +46082,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 +46109,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 +46127,7 @@ paths: application/json: schema: type: array - items: &301 + items: &291 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -46005,7 +46218,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *70 + reactions: *68 required: - author - body @@ -46025,7 +46238,7 @@ paths: - updated_at - url examples: - default: &621 + default: &619 value: - author: login: octocat @@ -46075,7 +46288,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46099,8 +46312,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 +46347,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: &302 + default: &292 value: author: login: octocat @@ -46208,9 +46421,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *99 - - *64 - - &303 + - *61 + - *62 + - &293 name: discussion_number description: The number that identifies the discussion. in: path @@ -46222,9 +46435,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: *302 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46246,9 +46459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *293 requestBody: required: false content: @@ -46271,9 +46484,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: &622 + default: &620 value: author: login: octocat @@ -46343,9 +46556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *293 responses: '204': description: Response @@ -46371,9 +46584,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *293 - *46 - *17 - *19 @@ -46384,7 +46597,7 @@ paths: application/json: schema: type: array - items: &304 + items: &294 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46449,7 +46662,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 +46677,7 @@ paths: - updated_at - url examples: - default: &623 + default: &621 value: - author: login: octocat @@ -46508,7 +46721,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46532,9 +46745,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 + - *293 requestBody: required: true content: @@ -46556,9 +46769,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: &305 + default: &295 value: author: login: octocat @@ -46624,10 +46837,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 + - *293 + - &296 name: comment_number description: The number that identifies the comment. in: path @@ -46639,9 +46852,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: *305 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46663,10 +46876,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 + - *293 + - *296 requestBody: required: true content: @@ -46688,9 +46901,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: &624 + default: &622 value: author: login: octocat @@ -46754,10 +46967,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 + - *293 + - *296 responses: '204': description: Response @@ -46783,10 +46996,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 + - *293 + - *296 - 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 +47025,7 @@ paths: application/json: schema: type: array - items: &307 + items: &297 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46856,7 +47069,7 @@ paths: - content - created_at examples: - default: &309 + default: &299 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46882,7 +47095,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46906,10 +47119,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 + - *293 + - *296 requestBody: required: true content: @@ -46942,9 +47155,9 @@ paths: team discussion comment content: application/json: - schema: *307 + schema: *297 examples: - default: &308 + default: &298 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46973,9 +47186,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46998,11 +47211,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 + - *293 + - *296 + - &300 name: reaction_id description: The unique identifier of the reaction. in: path @@ -47034,9 +47247,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 + - *293 - 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 +47275,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47090,9 +47303,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 + - *293 requestBody: required: true content: @@ -47124,16 +47337,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47156,10 +47369,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 + - *293 + - *300 responses: '204': description: Response @@ -47183,8 +47396,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: @@ -47198,7 +47411,7 @@ paths: examples: default: *197 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47218,8 +47431,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 +47455,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47272,15 +47485,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: &301 title: Team Membership description: Team Membership type: object @@ -47308,7 +47521,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &625 + response-if-user-is-a-team-maintainer: &623 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47344,9 +47557,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 +47584,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *301 examples: - response-if-users-membership-with-team-is-now-pending: &626 + response-if-users-membership-with-team-is-now-pending: &624 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47408,9 +47621,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 +47648,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 +47659,7 @@ paths: application/json: schema: type: array - items: &312 + items: &302 title: Team Project description: A team's access to a project. type: object @@ -47515,7 +47728,7 @@ paths: - updated_at - permissions examples: - default: &627 + default: &625 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47555,7 +47768,7 @@ paths: write: true admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47578,9 +47791,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 + - &303 name: project_id description: The unique identifier of the project. in: path @@ -47592,9 +47805,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *302 examples: - default: &628 + default: &626 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47656,9 +47869,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 + - *303 requestBody: required: false content: @@ -47725,9 +47938,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 + - *303 responses: '204': description: Response @@ -47754,8 +47967,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 +47978,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47796,16 +48009,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 + - *304 + - *305 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &629 + schema: &627 title: Team Repository description: A team's access to a repository. type: object @@ -47831,7 +48044,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 forks: type: integer permissions: @@ -48446,10 +48659,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 + - *304 + - *305 requestBody: required: false content: @@ -48494,10 +48707,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 + - *304 + - *305 responses: '204': description: Response @@ -48521,8 +48734,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 +48745,9 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: - response-if-child-teams-exist: &630 + response-if-child-teams-exist: &628 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48562,7 +48775,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 +48800,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 +48874,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &316 + - &306 name: column_id description: The unique identifier of the column. in: path @@ -48673,7 +48886,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &307 title: Project Column description: Project columns contain cards of work. type: object @@ -48727,7 +48940,7 @@ paths: - created_at - updated_at examples: - default: &318 + default: &308 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48762,7 +48975,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *316 + - *306 requestBody: required: true content: @@ -48787,9 +49000,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *307 examples: - default: *318 + default: *308 '304': *35 '403': *27 '401': *23 @@ -48814,7 +49027,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *316 + - *306 responses: '204': description: Response @@ -48843,7 +49056,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *316 + - *306 requestBody: required: true content: @@ -48904,7 +49117,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *313 + - *303 responses: '200': description: Response @@ -48912,7 +49125,7 @@ paths: application/json: schema: *232 examples: - default: &319 + default: &309 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -48969,7 +49182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *313 + - *303 requestBody: required: false content: @@ -49020,7 +49233,7 @@ paths: application/json: schema: *232 examples: - default: *319 + default: *309 '404': description: Not Found if the authenticated user does not have access to the project @@ -49041,7 +49254,7 @@ paths: items: type: string '401': *23 - '410': *320 + '410': *310 '422': *7 x-github: githubCloudOnly: false @@ -49064,7 +49277,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *313 + - *303 responses: '204': description: Delete Success @@ -49085,7 +49298,7 @@ paths: items: type: string '401': *23 - '410': *320 + '410': *310 '404': *6 x-github: githubCloudOnly: false @@ -49109,7 +49322,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *313 + - *303 - 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 +49349,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 '422': *15 '304': *35 @@ -49166,8 +49379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *313 - - *62 + - *303 + - *57 requestBody: required: false content: @@ -49221,8 +49434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *313 - - *62 + - *303 + - *57 responses: '204': description: Response @@ -49253,8 +49466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *313 - - *62 + - *303 + - *57 responses: '200': description: Response @@ -49324,7 +49537,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *313 + - *303 - *17 - *19 responses: @@ -49334,7 +49547,7 @@ paths: application/json: schema: type: array - items: *317 + items: *307 examples: default: value: @@ -49347,7 +49560,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 +49585,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *313 + - *303 requestBody: required: true content: @@ -49396,7 +49609,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *307 examples: default: value: @@ -49461,7 +49674,7 @@ paths: resources: type: object properties: - core: &321 + core: &311 title: Rate Limit type: object properties: @@ -49478,21 +49691,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: *311 + search: *311 + code_search: *311 + source_import: *311 + integration_manifest: *311 + code_scanning_upload: *311 + actions_runner_registration: *311 + scim: *311 + dependency_snapshots: *311 + dependency_sbom: *311 + code_scanning_autofix: *311 required: - core - search - rate: *321 + rate: *311 required: - rate - resources @@ -49597,14 +49810,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *322 + schema: *312 examples: default-response: summary: Default response @@ -50105,7 +50318,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *323 + '301': *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50123,8 +50336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -50372,10 +50585,10 @@ paths: description: Response content: application/json: - schema: *322 + schema: *312 examples: - default: *324 - '307': &325 + default: *314 + '307': &315 description: Temporary Redirect content: application/json: @@ -50404,8 +50617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -50427,7 +50640,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *325 + '307': *315 '404': *6 '409': *45 x-github: @@ -50451,11 +50664,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 - - &356 + - &346 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50478,7 +50691,7 @@ paths: type: integer artifacts: type: array - items: &326 + items: &316 title: Artifact description: An artifact type: object @@ -50573,7 +50786,7 @@ paths: - expires_at - updated_at examples: - default: &357 + default: &347 value: total_count: 2 artifacts: @@ -50612,7 +50825,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50634,9 +50847,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *314 - - *315 - - &327 + - *304 + - *305 + - &317 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50648,7 +50861,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *316 examples: default: value: @@ -50686,9 +50899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *314 - - *315 - - *327 + - *304 + - *305 + - *317 responses: '204': description: Response @@ -50712,9 +50925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *314 - - *315 - - *327 + - *304 + - *305 + - *317 - name: archive_format in: path required: true @@ -50728,7 +50941,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': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50751,14 +50964,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 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *328 + schema: *318 examples: default: value: @@ -50784,11 +50997,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 - - &329 + - &319 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 +51035,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &320 title: Repository actions caches description: Repository actions caches type: object @@ -50872,7 +51085,7 @@ paths: - total_count - actions_caches examples: - default: &331 + default: &321 value: total_count: 1 actions_caches: @@ -50884,7 +51097,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 +51117,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 + - *304 + - *305 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *329 + - *319 responses: '200': description: Response content: application/json: - schema: *330 + schema: *320 examples: - default: *331 + default: *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50940,8 +51153,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 + - *304 + - *305 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50972,9 +51185,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 + - *304 + - *305 + - &322 name: job_id description: The unique identifier of the job. in: path @@ -50986,7 +51199,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &350 title: Job description: Information of a job execution in a workflow run type: object @@ -51333,9 +51546,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 + - *304 + - *305 + - *322 responses: '302': description: Response @@ -51363,9 +51576,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 + - *304 + - *305 + - *322 requestBody: required: false content: @@ -51387,7 +51600,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -51411,8 +51624,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 + - *304 + - *305 responses: '200': description: Status response @@ -51462,8 +51675,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 + - *304 + - *305 requestBody: required: true content: @@ -51497,7 +51710,7 @@ paths: description: Empty response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -51526,8 +51739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -51545,7 +51758,7 @@ paths: type: integer secrets: type: array - items: &362 + items: &352 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51566,7 +51779,7 @@ paths: - created_at - updated_at examples: - default: &363 + default: &353 value: total_count: 2 secrets: @@ -51577,7 +51790,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 +51812,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *314 - - *315 - - *333 + - *304 + - *305 + - *323 - *19 responses: '200': @@ -51618,7 +51831,7 @@ paths: type: integer variables: type: array - items: &366 + items: &356 title: Actions Variable type: object properties: @@ -51652,7 +51865,7 @@ paths: - created_at - updated_at examples: - default: &367 + default: &357 value: total_count: 2 variables: @@ -51665,7 +51878,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 +51898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -51695,12 +51908,12 @@ paths: schema: type: object properties: - enabled: &335 + enabled: &325 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *116 - selected_actions_url: *334 - sha_pinning_required: *117 + allowed_actions: *114 + selected_actions_url: *324 + sha_pinning_required: *115 required: - enabled examples: @@ -51728,8 +51941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -51740,9 +51953,9 @@ paths: schema: type: object properties: - enabled: *335 - allowed_actions: *116 - sha_pinning_required: *117 + enabled: *325 + allowed_actions: *114 + sha_pinning_required: *115 required: - enabled examples: @@ -51772,14 +51985,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 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: &336 + schema: &326 type: object properties: access_level: @@ -51796,7 +52009,7 @@ paths: required: - access_level examples: - default: &337 + default: &327 value: access_level: organization x-github: @@ -51820,15 +52033,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 + - *304 + - *305 requestBody: required: true content: application/json: - schema: *336 + schema: *326 examples: - default: *337 + default: *327 responses: '204': description: Response @@ -51852,14 +52065,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 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *338 + schema: *328 examples: default: value: @@ -51883,8 +52096,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 + - *304 + - *305 responses: '204': description: Empty response for successful settings update @@ -51894,7 +52107,7 @@ paths: required: true content: application/json: - schema: *339 + schema: *329 examples: default: summary: Set retention days @@ -51918,16 +52131,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 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *118 + schema: *116 examples: - default: *340 + default: *330 '404': *6 x-github: enabledForGitHubApps: true @@ -51946,8 +52159,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 + - *304 + - *305 responses: '204': description: Response @@ -51957,7 +52170,7 @@ paths: required: true content: application/json: - schema: *118 + schema: *116 examples: default: summary: Set approval policy to first time contributors @@ -51981,16 +52194,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 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *341 + schema: *331 examples: - default: *119 + default: *117 '403': *27 '404': *6 x-github: @@ -52010,15 +52223,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 + - *304 + - *305 requestBody: required: true content: application/json: - schema: *342 + schema: *332 examples: - default: *119 + default: *117 responses: '204': description: Empty response for successful settings update @@ -52042,16 +52255,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 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *121 + schema: *119 examples: - default: *122 + default: *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52070,8 +52283,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 + - *304 + - *305 responses: '204': description: Response @@ -52079,9 +52292,9 @@ paths: required: false content: application/json: - schema: *121 + schema: *119 examples: - selected_actions: *122 + selected_actions: *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52103,16 +52316,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *343 + schema: *333 examples: - default: *126 + default: *124 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52133,8 +52346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Success response @@ -52145,9 +52358,9 @@ paths: required: true content: application/json: - schema: *344 + schema: *334 examples: - default: *126 + default: *124 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52174,8 +52387,8 @@ paths: in: query schema: type: string - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -52193,11 +52406,11 @@ paths: type: integer runners: type: array - items: *133 + items: *131 examples: - default: *134 + default: *132 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52219,8 +52432,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 + - *304 + - *305 responses: '200': description: Response @@ -52228,9 +52441,9 @@ paths: application/json: schema: type: array - items: *345 + items: *335 examples: - default: *346 + default: *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52252,8 +52465,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 + - *304 + - *305 requestBody: required: true content: @@ -52296,7 +52509,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *347 + '201': *337 '404': *6 '422': *7 '409': *45 @@ -52327,16 +52540,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 + - *304 + - *305 responses: '201': description: Response content: application/json: - schema: *135 + schema: *133 examples: - default: *348 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52364,16 +52577,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 + - *304 + - *305 responses: '201': description: Response content: application/json: - schema: *135 + schema: *133 examples: - default: *349 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52395,17 +52608,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 + - *304 + - *305 + - *130 responses: '200': description: Response content: application/json: - schema: *133 + schema: *131 examples: - default: *350 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52426,9 +52639,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 + - *304 + - *305 + - *130 responses: '204': description: Response @@ -52454,11 +52667,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 + - *304 + - *305 + - *130 responses: - '200': *137 + '200': *135 '404': *6 x-github: githubCloudOnly: false @@ -52480,9 +52693,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 + - *304 + - *305 + - *130 requestBody: required: true content: @@ -52506,7 +52719,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -52530,9 +52743,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 + - *304 + - *305 + - *130 requestBody: required: true content: @@ -52557,7 +52770,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -52581,11 +52794,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 + - *304 + - *305 + - *130 responses: - '200': *351 + '200': *341 '404': *6 x-github: githubCloudOnly: false @@ -52612,12 +52825,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 + - *304 + - *305 + - *130 + - *342 responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -52643,9 +52856,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 + - *304 + - *305 + - &360 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 +52866,7 @@ paths: required: false schema: type: string - - &371 + - &361 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52661,7 +52874,7 @@ paths: required: false schema: type: string - - &372 + - &362 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 +52883,7 @@ paths: required: false schema: type: string - - &373 + - &363 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 +52910,7 @@ paths: - pending - *17 - *19 - - &374 + - &364 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 +52919,7 @@ paths: schema: type: string format: date-time - - &353 + - &343 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52715,13 +52928,13 @@ paths: schema: type: boolean default: false - - &375 + - &365 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &376 + - &366 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52744,7 +52957,7 @@ paths: type: integer workflow_runs: type: array - items: &354 + items: &344 title: Workflow Run description: An invocation of a workflow type: object @@ -52861,7 +53074,7 @@ paths: type: - array - 'null' - items: *72 + items: *70 created_at: type: string format: date-time @@ -52922,7 +53135,7 @@ paths: head_commit: anyOf: - type: 'null' - - &398 + - &388 title: Simple Commit description: A commit. type: object @@ -52996,8 +53209,8 @@ paths: - timestamp - author - committer - repository: *131 - head_repository: *131 + repository: *129 + head_repository: *129 head_repository_id: type: integer examples: @@ -53037,7 +53250,7 @@ paths: - workflow_url - pull_requests examples: - default: &377 + default: &367 value: total_count: 1 workflow_runs: @@ -53251,7 +53464,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 +53486,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *314 - - *315 - - &355 + - *304 + - *305 + - &345 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *353 + - *343 responses: '200': description: Response content: application/json: - schema: *354 + schema: *344 examples: - default: &358 + default: &348 value: id: 30433642 name: Build @@ -53531,9 +53744,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '204': description: Response @@ -53556,9 +53769,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 + - *304 + - *305 + - *345 responses: '200': description: Response @@ -53686,15 +53899,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 + - *304 + - *305 + - *345 responses: '201': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -53721,12 +53934,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 - *17 - *19 - - *356 + - *346 responses: '200': description: Response @@ -53742,11 +53955,11 @@ paths: type: integer artifacts: type: array - items: *326 + items: *316 examples: - default: *357 + default: *347 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53768,25 +53981,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 + - *304 + - *305 + - *345 + - &349 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *353 + - *343 responses: '200': description: Response content: application/json: - schema: *354 + schema: *344 examples: - default: *358 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53809,10 +54022,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 + - *304 + - *305 + - *345 + - *349 - *17 - *19 responses: @@ -53830,9 +54043,9 @@ paths: type: integer jobs: type: array - items: *360 + items: *350 examples: - default: &361 + default: &351 value: total_count: 1 jobs: @@ -53921,7 +54134,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -53945,10 +54158,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 + - *304 + - *305 + - *345 + - *349 responses: '302': description: Response @@ -53976,15 +54189,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '202': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -54011,9 +54224,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 + - *304 + - *305 + - *345 requestBody: required: true content: @@ -54080,15 +54293,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '202': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -54115,9 +54328,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 + - *304 + - *305 + - *345 - 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 +54360,11 @@ paths: type: integer jobs: type: array - items: *360 + items: *350 examples: - default: *361 + default: *351 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54174,9 +54387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '302': description: Response @@ -54203,14 +54416,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '204': description: Response '403': *27 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54232,9 +54445,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 + - *304 + - *305 + - *345 responses: '200': description: Response @@ -54303,7 +54516,7 @@ paths: items: type: object properties: - type: &472 + type: &462 type: string description: The type of reviewer. enum: @@ -54314,7 +54527,7 @@ paths: reviewer: anyOf: - *4 - - *161 + - *163 required: - environment - wait_timer @@ -54389,9 +54602,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 + - *304 + - *305 + - *345 requestBody: required: true content: @@ -54441,7 +54654,7 @@ paths: application/json: schema: type: array - items: &467 + items: &457 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54553,7 +54766,7 @@ paths: - created_at - updated_at examples: - default: &468 + default: &458 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54609,9 +54822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 requestBody: required: false content: @@ -54633,7 +54846,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -54656,9 +54869,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 + - *304 + - *305 + - *345 requestBody: required: false content: @@ -54680,7 +54893,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -54712,9 +54925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '200': description: Response @@ -54851,8 +55064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -54870,11 +55083,11 @@ paths: type: integer secrets: type: array - items: *362 + items: *352 examples: - default: *363 + default: *353 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54897,16 +55110,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *364 + schema: *354 examples: - default: *365 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54928,17 +55141,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '200': description: Response content: application/json: - schema: *362 + schema: *352 examples: - default: &485 + default: &475 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54964,9 +55177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 requestBody: required: true content: @@ -54997,7 +55210,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -55023,9 +55236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '204': description: Response @@ -55050,9 +55263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *314 - - *315 - - *333 + - *304 + - *305 + - *323 - *19 responses: '200': @@ -55069,11 +55282,11 @@ paths: type: integer variables: type: array - items: *366 + items: *356 examples: - default: *367 + default: *357 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55094,8 +55307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -55122,7 +55335,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -55147,17 +55360,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *304 + - *305 + - *140 responses: '200': description: Response content: application/json: - schema: *366 + schema: *356 examples: - default: &486 + default: &476 value: name: USERNAME value: octocat @@ -55183,9 +55396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *304 + - *305 + - *140 requestBody: required: true content: @@ -55227,9 +55440,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *304 + - *305 + - *140 responses: '204': description: Response @@ -55254,8 +55467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -55273,7 +55486,7 @@ paths: type: integer workflows: type: array - items: &368 + items: &358 title: Workflow description: A GitHub Actions workflow type: object @@ -55368,7 +55581,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 +55604,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *314 - - *315 - - &369 + - *304 + - *305 + - &359 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55408,7 +55621,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *358 examples: default: value: @@ -55441,9 +55654,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *314 - - *315 - - *369 + - *304 + - *305 + - *359 responses: '204': description: Response @@ -55468,9 +55681,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *314 - - *315 - - *369 + - *304 + - *305 + - *359 responses: '204': description: Response @@ -55521,9 +55734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *314 - - *315 - - *369 + - *304 + - *305 + - *359 responses: '204': description: Response @@ -55550,19 +55763,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *314 - - *315 - - *369 - - *370 - - *371 - - *372 - - *373 + - *304 + - *305 + - *359 + - *360 + - *361 + - *362 + - *363 - *17 - *19 - - *374 - - *353 - - *375 - - *376 + - *364 + - *343 + - *365 + - *366 responses: '200': description: Response @@ -55578,11 +55791,11 @@ paths: type: integer workflow_runs: type: array - items: *354 + items: *344 examples: - default: *377 + default: *367 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55612,9 +55825,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *314 - - *315 - - *369 + - *304 + - *305 + - *359 responses: '200': description: Response @@ -55675,8 +55888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *314 - - *315 + - *304 + - *305 - *46 - *17 - *38 @@ -55825,7 +56038,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '422': *7 x-github: githubCloudOnly: false @@ -55844,8 +56057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -55857,9 +56070,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -55882,8 +56095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *314 - - *315 + - *304 + - *305 - name: assignee in: path required: true @@ -55919,8 +56132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -56032,8 +56245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *38 - *39 @@ -56089,7 +56302,7 @@ paths: initiator: type: string examples: - default: *378 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56109,8 +56322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -56118,7 +56331,7 @@ paths: application/json: schema: type: array - items: &379 + items: &369 title: Autolink reference description: An autolink reference. type: object @@ -56177,8 +56390,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -56217,9 +56430,9 @@ paths: description: response content: application/json: - schema: *379 + schema: *369 examples: - default: &380 + default: &370 value: id: 1 key_prefix: TICKET- @@ -56250,9 +56463,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 + - *304 + - *305 + - &371 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56264,9 +56477,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *369 examples: - default: *380 + default: *370 '404': *6 x-github: githubCloudOnly: false @@ -56286,9 +56499,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 + - *304 + - *305 + - *371 responses: '204': description: Response @@ -56312,8 +56525,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 + - *304 + - *305 responses: '200': description: Response if Dependabot is enabled @@ -56363,8 +56576,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -56385,8 +56598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -56406,8 +56619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *314 - - *315 + - *304 + - *305 - 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 +56658,7 @@ paths: - url protected: type: boolean - protection: &383 + protection: &373 title: Branch Protection description: Branch Protection type: object @@ -56488,7 +56701,7 @@ paths: required: - contexts - checks - enforce_admins: &386 + enforce_admins: &376 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56505,7 +56718,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &388 + required_pull_request_reviews: &378 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56527,7 +56740,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *161 + items: *163 apps: description: The list of apps with review dismissal access. @@ -56559,7 +56772,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *161 + items: *163 apps: description: The list of apps allowed to bypass pull request requirements. @@ -56589,7 +56802,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &385 + restrictions: &375 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56652,7 +56865,7 @@ paths: type: string teams: type: array - items: *161 + items: *163 apps: type: array items: @@ -56864,7 +57077,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 +57095,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *314 - - *315 - - &384 + - *304 + - *305 + - &374 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 +57111,14 @@ paths: description: Response content: application/json: - schema: &394 + schema: &384 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &443 + commit: &433 title: Commit description: Commit type: object @@ -56944,7 +57157,7 @@ paths: author: anyOf: - type: 'null' - - &382 + - &372 title: Git User description: Metaproperties for Git author/committer information. @@ -56965,7 +57178,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *372 message: type: string examples: @@ -56989,7 +57202,7 @@ paths: required: - sha - url - verification: &492 + verification: &482 title: Verification type: object properties: @@ -57025,14 +57238,14 @@ paths: author: oneOf: - *4 - - *140 + - *138 type: - 'null' - object committer: oneOf: - *4 - - *140 + - *138 type: - 'null' - object @@ -57069,7 +57282,7 @@ paths: type: integer files: type: array - items: &454 + items: &444 title: Diff Entry description: Diff Entry type: object @@ -57165,7 +57378,7 @@ paths: - self protected: type: boolean - protection: *383 + protection: *373 protection_url: type: string format: uri @@ -57274,7 +57487,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *323 + '301': *313 '404': *6 x-github: githubCloudOnly: false @@ -57296,15 +57509,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *383 + schema: *373 examples: default: value: @@ -57498,9 +57711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -57760,7 +57973,7 @@ paths: url: type: string format: uri - required_status_checks: &391 + required_status_checks: &381 title: Status Check Policy description: Status Check Policy type: object @@ -57841,7 +58054,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *163 apps: type: array items: *5 @@ -57859,7 +58072,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *163 apps: type: array items: *5 @@ -57919,7 +58132,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *385 + restrictions: *375 required_conversation_resolution: type: object properties: @@ -58031,9 +58244,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58058,17 +58271,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *386 + schema: *376 examples: - default: &387 + default: &377 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58090,17 +58303,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *386 + schema: *376 examples: - default: *387 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58119,9 +58332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58146,17 +58359,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *388 + schema: *378 examples: - default: &389 + default: &379 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58252,9 +58465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -58352,9 +58565,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *378 examples: - default: *389 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -58375,9 +58588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58404,17 +58617,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *386 + schema: *376 examples: - default: &390 + default: &380 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58437,17 +58650,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *386 + schema: *376 examples: - default: *390 + default: *380 '404': *6 x-github: githubCloudOnly: false @@ -58467,9 +58680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58494,17 +58707,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *391 + schema: *381 examples: - default: &392 + default: &382 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58530,9 +58743,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -58584,9 +58797,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *381 examples: - default: *392 + default: *382 '404': *6 '422': *15 x-github: @@ -58608,9 +58821,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58634,9 +58847,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response @@ -58670,9 +58883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -58739,9 +58952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -58805,9 +59018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: content: application/json: @@ -58873,15 +59086,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *385 + schema: *375 examples: default: value: @@ -58972,9 +59185,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58997,9 +59210,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 + - *304 + - *305 + - *374 responses: '200': description: Response @@ -59009,7 +59222,7 @@ paths: type: array items: *5 examples: - default: &393 + default: &383 value: - id: 1 slug: octoapp @@ -59066,9 +59279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59102,7 +59315,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *383 '422': *15 x-github: githubCloudOnly: false @@ -59123,9 +59336,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59159,7 +59372,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *383 '422': *15 x-github: githubCloudOnly: false @@ -59180,9 +59393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59216,7 +59429,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *383 '422': *15 x-github: githubCloudOnly: false @@ -59238,9 +59451,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 + - *304 + - *305 + - *374 responses: '200': description: Response @@ -59248,7 +59461,7 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 '404': *6 @@ -59270,9 +59483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -59308,7 +59521,7 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 '422': *15 @@ -59331,9 +59544,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -59369,7 +59582,7 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 '422': *15 @@ -59392,9 +59605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: content: application/json: @@ -59429,7 +59642,7 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 '422': *15 @@ -59453,9 +59666,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 + - *304 + - *305 + - *374 responses: '200': description: Response @@ -59465,7 +59678,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '404': *6 x-github: githubCloudOnly: false @@ -59489,9 +59702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59524,7 +59737,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59549,9 +59762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59584,7 +59797,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59609,9 +59822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59644,7 +59857,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59671,9 +59884,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59695,7 +59908,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *384 examples: default: value: @@ -59811,8 +60024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -60091,7 +60304,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &385 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60226,8 +60439,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *72 - deployment: &688 + items: *70 + deployment: &685 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60514,9 +60727,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *314 - - *315 - - &396 + - *304 + - *305 + - &386 name: check_run_id description: The unique identifier of the check run. in: path @@ -60528,9 +60741,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *385 examples: - default: &397 + default: &387 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60630,9 +60843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *314 - - *315 - - *396 + - *304 + - *305 + - *386 requestBody: required: true content: @@ -60872,9 +61085,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *385 examples: - default: *397 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60894,9 +61107,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *314 - - *315 - - *396 + - *304 + - *305 + - *386 - *17 - *19 responses: @@ -60986,7 +61199,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 +61219,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *314 - - *315 - - *396 + - *304 + - *305 + - *386 responses: '201': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -61052,8 +61265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -61075,7 +61288,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &399 + schema: &389 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61157,12 +61370,12 @@ paths: type: - array - 'null' - items: *72 + items: *70 app: anyOf: - type: 'null' - *5 - repository: *131 + repository: *129 created_at: type: - string @@ -61173,7 +61386,7 @@ paths: - string - 'null' format: date-time - head_commit: *398 + head_commit: *388 latest_check_runs_count: type: integer check_runs_url: @@ -61201,7 +61414,7 @@ paths: - check_runs_url - pull_requests examples: - default: &400 + default: &390 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61492,9 +61705,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *399 + schema: *389 examples: - default: *400 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61513,8 +61726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -61575,7 +61788,7 @@ paths: required: - app_id - setting - repository: *131 + repository: *129 examples: default: value: @@ -61823,9 +62036,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *314 - - *315 - - &401 + - *304 + - *305 + - &391 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61837,9 +62050,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *389 examples: - default: *400 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61862,17 +62075,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 + - *304 + - *305 + - *391 + - &439 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &450 + - &440 name: status description: Returns check runs with the specified `status`. in: query @@ -61911,9 +62124,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *385 examples: - default: &451 + default: &441 value: total_count: 1 check_runs: @@ -61995,7 +62208,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 +62228,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *314 - - *315 - - *401 + - *304 + - *305 + - *391 responses: '201': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -62050,21 +62263,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 + - *304 + - *305 + - *392 + - *393 - *19 - *17 - - &420 + - &410 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: *394 + - &411 name: pr description: The number of the pull request for the results you want to list. in: query @@ -62089,13 +62302,13 @@ paths: be returned. in: query required: false - schema: *405 + schema: *395 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *406 + schema: *396 responses: '200': description: Response @@ -62106,24 +62319,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: *145 + created_at: *146 + updated_at: *147 + url: *148 + html_url: *149 + instances_url: *397 + state: *154 + fixed_at: *150 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: *151 + dismissed_reason: *398 + dismissed_comment: *399 + rule: *400 + tool: *401 + most_recent_instance: *402 dismissal_approved_by: anyOf: - type: 'null' @@ -62246,14 +62459,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &413 + '403': &403 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62273,9 +62486,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 + - *304 + - *305 + - &404 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62283,30 +62496,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *52 + schema: *145 responses: '200': description: Response content: application/json: - schema: &415 + schema: &405 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: *145 + created_at: *146 + updated_at: *147 + url: *148 + html_url: *149 + instances_url: *397 + state: *154 + fixed_at: *150 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_at: *151 + dismissed_reason: *398 + dismissed_comment: *399 rule: type: object properties: @@ -62368,8 +62581,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *411 - most_recent_instance: *412 + tool: *401 + most_recent_instance: *402 dismissal_approved_by: anyOf: - type: 'null' @@ -62465,9 +62678,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62485,9 +62698,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 + - *304 + - *305 + - *404 requestBody: required: true content: @@ -62502,8 +62715,8 @@ paths: enum: - open - dismissed - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_reason: *398 + dismissed_comment: *399 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62522,7 +62735,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *405 examples: default: value: @@ -62598,14 +62811,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &419 + '403': &409 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62625,15 +62838,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 + - *304 + - *305 + - *404 responses: '200': description: Response content: application/json: - schema: &416 + schema: &406 type: object properties: status: @@ -62660,13 +62873,13 @@ paths: - description - started_at examples: - default: &417 + default: &407 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &418 + '400': &408 description: Bad Request content: application/json: @@ -62677,9 +62890,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': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62702,29 +62915,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 + - *304 + - *305 + - *404 responses: '200': description: OK content: application/json: - schema: *416 + schema: *406 examples: - default: *417 + default: *407 '202': description: Accepted content: application/json: - schema: *416 + schema: *406 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *418 + '400': *408 '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 +62947,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62756,9 +62969,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 + - *304 + - *305 + - *404 requestBody: required: false content: @@ -62804,12 +63017,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *418 - '403': *419 + '400': *408 + '403': *409 '404': *6 '422': description: Unprocessable Entity - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62829,13 +63042,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 + - *304 + - *305 + - *404 - *19 - *17 - - *420 - - *421 + - *410 + - *411 responses: '200': description: Response @@ -62843,7 +63056,7 @@ paths: application/json: schema: type: array - items: *412 + items: *402 examples: default: value: @@ -62882,9 +63095,9 @@ paths: end_column: 50 classifications: - source - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62916,25 +63129,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 + - *304 + - *305 + - *392 + - *393 - *19 - *17 - - *421 + - *411 - 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: *394 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &424 + schema: &414 type: string description: An identifier for the upload. examples: @@ -62956,23 +63169,23 @@ paths: application/json: schema: type: array - items: &425 + items: &415 type: object properties: - ref: *404 - commit_sha: &433 + ref: *394 + commit_sha: &423 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: *412 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *423 + category: *413 error: type: string examples: @@ -62997,8 +63210,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *424 - tool: *411 + sarif_id: *414 + tool: *401 deletable: type: boolean warning: @@ -63060,9 +63273,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63096,8 +63309,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 + - *304 + - *305 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63110,7 +63323,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *415 examples: response: summary: application/json response @@ -63164,14 +63377,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *413 + '403': *403 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63251,8 +63464,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 + - *304 + - *305 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63308,9 +63521,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': *409 '404': *6 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63330,8 +63543,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 + - *304 + - *305 responses: '200': description: Response @@ -63339,7 +63552,7 @@ paths: application/json: schema: type: array - items: &426 + items: &416 title: CodeQL Database description: A CodeQL database. type: object @@ -63451,9 +63664,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': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63480,8 +63693,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 + - *304 + - *305 - name: language in: path description: The language of the CodeQL database. @@ -63493,7 +63706,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *416 examples: default: value: @@ -63525,11 +63738,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': &446 description: Found - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63549,8 +63762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *314 - - *315 + - *304 + - *305 - name: language in: path description: The language of the CodeQL database. @@ -63560,9 +63773,9 @@ paths: responses: '204': description: Response - '403': *419 + '403': *409 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63588,8 +63801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -63598,7 +63811,7 @@ paths: type: object additionalProperties: false properties: - language: &427 + language: &417 type: string description: The language targeted by the CodeQL query enum: @@ -63677,7 +63890,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &431 + schema: &421 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63687,7 +63900,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *427 + query_language: *417 query_pack_url: type: string description: The download url for the query pack. @@ -63735,7 +63948,7 @@ paths: items: type: object properties: - repository: &428 + repository: &418 title: Repository Identifier description: Repository Identifier type: object @@ -63777,7 +63990,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &432 + analysis_status: &422 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63809,7 +64022,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: &419 type: object properties: repository_count: @@ -63824,7 +64037,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: *418 required: - repository_count - repositories @@ -63847,8 +64060,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *429 - over_limit_repos: *429 + no_codeql_db_repos: *419 + over_limit_repos: *419 required: - access_mismatch_repos - not_found_repos @@ -63864,7 +64077,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &430 + value: &420 summary: Default response value: id: 1 @@ -64016,17 +64229,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *430 + value: *420 repository_lists: summary: Response for a successful variant analysis submission - value: *430 + value: *420 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64047,8 +64260,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 + - *304 + - *305 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64060,11 +64273,11 @@ paths: description: Response content: application/json: - schema: *431 + schema: *421 examples: - default: *430 + default: *420 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64085,7 +64298,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 + - *304 - name: repo in: path description: The name of the controller repository. @@ -64120,7 +64333,7 @@ paths: type: object properties: repository: *51 - analysis_status: *432 + analysis_status: *422 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64224,7 +64437,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64245,8 +64458,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 + - *304 + - *305 responses: '200': description: Response @@ -64339,9 +64552,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64360,8 +64573,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 + - *304 + - *305 requestBody: required: true content: @@ -64430,7 +64643,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -64455,7 +64668,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *419 + '403': *409 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64469,7 +64682,7 @@ paths: content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64526,8 +64739,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 + - *304 + - *305 requestBody: required: true content: @@ -64535,7 +64748,7 @@ paths: schema: type: object properties: - commit_sha: *433 + commit_sha: *423 ref: type: string description: |- @@ -64595,7 +64808,7 @@ paths: schema: type: object properties: - id: *424 + id: *414 url: type: string description: The REST API URL for checking the status of the upload. @@ -64609,11 +64822,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': *409 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64632,8 +64845,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 + - *304 + - *305 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64681,10 +64894,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': *403 '404': description: Not Found if the sarif id does not match any upload - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64706,8 +64919,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 + - *304 + - *305 responses: '200': description: Response @@ -64763,7 +64976,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': *159 '304': *35 '403': *27 '404': *6 @@ -64788,8 +65001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *314 - - *315 + - *304 + - *305 - 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 +65130,8 @@ paths: parameters: - *17 - *19 - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -65210,7 +65423,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -65232,8 +65445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -65299,7 +65512,7 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -65307,12 +65520,12 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65336,8 +65549,8 @@ paths: parameters: - *17 - *19 - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -65377,7 +65590,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *100 + '500': *97 '400': *14 '401': *23 '403': *27 @@ -65401,8 +65614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65439,9 +65652,9 @@ paths: type: integer machines: type: array - items: *435 + items: *425 examples: - default: &637 + default: &635 value: total_count: 2 machines: @@ -65458,7 +65671,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -65481,8 +65694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *314 - - *315 + - *304 + - *305 - 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 +65782,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 + - *304 + - *305 - 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 +65831,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65639,8 +65852,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -65658,7 +65871,7 @@ paths: type: integer secrets: type: array - items: &439 + items: &429 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65679,9 +65892,9 @@ paths: - created_at - updated_at examples: - default: *436 + default: *426 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65702,16 +65915,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *437 + schema: *427 examples: - default: *438 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65731,17 +65944,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '200': description: Response content: application/json: - schema: *439 + schema: *429 examples: - default: *440 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65761,9 +65974,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 + - *304 + - *305 + - *137 requestBody: required: true content: @@ -65791,7 +66004,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -65815,9 +66028,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '204': description: Response @@ -65845,8 +66058,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *314 - - *315 + - *304 + - *305 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65884,7 +66097,7 @@ paths: application/json: schema: type: array - items: &441 + items: &431 title: Collaborator description: Collaborator type: object @@ -66052,7 +66265,7 @@ paths: admin: false role_name: write headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -66077,9 +66290,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 + - *304 + - *305 + - *57 responses: '204': description: Response if user is a collaborator @@ -66125,9 +66338,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *304 + - *305 + - *57 requestBody: required: false content: @@ -66153,7 +66366,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &505 + schema: &495 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66165,7 +66378,7 @@ paths: format: int64 examples: - 42 - repository: *131 + repository: *129 invitee: anyOf: - type: 'null' @@ -66341,7 +66554,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *105 + schema: *103 '403': *27 x-github: triggersNotification: true @@ -66381,9 +66594,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *304 + - *305 + - *57 responses: '204': description: No Content when collaborator was removed from the repository. @@ -66414,9 +66627,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *314 - - *315 - - *62 + - *304 + - *305 + - *57 responses: '200': description: if user has admin permissions @@ -66436,7 +66649,7 @@ paths: user: anyOf: - type: 'null' - - *441 + - *431 required: - permission - role_name @@ -66490,8 +66703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -66501,7 +66714,7 @@ paths: application/json: schema: type: array - items: &442 + items: &432 title: Commit Comment description: Commit Comment type: object @@ -66542,8 +66755,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 +66772,7 @@ paths: - created_at - updated_at examples: - default: &445 + default: &435 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 +66806,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 +66831,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 responses: '200': description: Response content: application/json: - schema: *442 + schema: *432 examples: - default: &446 + default: &436 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 +66898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -66709,7 +66922,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *432 examples: default: value: @@ -66760,9 +66973,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 responses: '204': description: Response @@ -66783,9 +66996,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *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 +67024,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -66834,9 +67047,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -66868,16 +67081,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Reaction created content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -66899,10 +67112,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *314 - - *315 - - *84 - - *310 + - *304 + - *305 + - *81 + - *300 responses: '204': description: Response @@ -66951,8 +67164,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *314 - - *315 + - *304 + - *305 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67008,9 +67221,9 @@ paths: application/json: schema: type: array - items: *443 + items: *433 examples: - default: &551 + default: &541 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67080,8 +67293,8 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *57 - '500': *100 + Link: *52 + '500': *97 '400': *14 '404': *6 '409': *45 @@ -67104,9 +67317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *314 - - *315 - - &444 + - *304 + - *305 + - &434 name: commit_sha description: The SHA of the commit. in: path @@ -67178,9 +67391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *314 - - *315 - - *444 + - *304 + - *305 + - *434 - *17 - *19 responses: @@ -67190,11 +67403,11 @@ paths: application/json: schema: type: array - items: *442 + items: *432 examples: - default: *445 + default: *435 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67220,9 +67433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *314 - - *315 - - *444 + - *304 + - *305 + - *434 requestBody: required: true content: @@ -67257,9 +67470,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *432 examples: - default: *446 + default: *436 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67287,9 +67500,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 + - *304 + - *305 + - *434 - *17 - *19 responses: @@ -67299,9 +67512,9 @@ paths: application/json: schema: type: array - items: *447 + items: *437 examples: - default: &543 + default: &533 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67780,7 +67993,7 @@ paths: auto_merge: draft: false headers: - Link: *57 + Link: *52 '409': *45 x-github: githubCloudOnly: false @@ -67838,11 +68051,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *314 - - *315 + - *304 + - *305 - *19 - *17 - - &448 + - &438 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 +68070,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *433 examples: - default: &531 + default: &521 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67945,8 +68158,8 @@ paths: ..... '422': *15 '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 '409': *45 x-github: githubCloudOnly: false @@ -67972,11 +68185,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 + - *304 + - *305 + - *438 + - *439 + - *440 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68010,11 +68223,11 @@ paths: type: integer check_runs: type: array - items: *395 + items: *385 examples: - default: *451 + default: *441 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68037,9 +68250,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 + - *304 + - *305 + - *438 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68047,7 +68260,7 @@ paths: schema: type: integer example: 1 - - *449 + - *439 - *17 - *19 responses: @@ -68065,7 +68278,7 @@ paths: type: integer check_suites: type: array - items: *399 + items: *389 examples: default: value: @@ -68240,7 +68453,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 +68478,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 + - *304 + - *305 + - *438 - *17 - *19 responses: @@ -68338,7 +68551,7 @@ paths: type: string total_count: type: integer - repository: *131 + repository: *129 commit_url: type: string format: uri @@ -68469,9 +68682,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *314 - - *315 - - *448 + - *304 + - *305 + - *438 - *17 - *19 responses: @@ -68481,7 +68694,7 @@ paths: application/json: schema: type: array - items: &608 + items: &606 title: Status description: The status of a commit. type: object @@ -68561,8 +68774,8 @@ paths: type: User site_admin: false headers: - Link: *57 - '301': *323 + Link: *52 + '301': *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68590,8 +68803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -68624,11 +68837,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *452 + - *442 code_of_conduct_file: anyOf: - type: 'null' - - &453 + - &443 title: Community Health File type: object properties: @@ -68644,23 +68857,23 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 contributing: anyOf: - type: 'null' - - *453 + - *443 readme: anyOf: - type: 'null' - - *453 + - *443 issue_template: anyOf: - type: 'null' - - *453 + - *443 pull_request_template: anyOf: - type: 'null' - - *453 + - *443 required: - code_of_conduct - code_of_conduct_file @@ -68789,8 +69002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *314 - - *315 + - *304 + - *305 - *19 - *17 - name: basehead @@ -68838,8 +69051,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *443 - merge_base_commit: *443 + base_commit: *433 + merge_base_commit: *433 status: type: string enum: @@ -68863,10 +69076,10 @@ paths: - 6 commits: type: array - items: *443 + items: *433 files: type: array - items: *454 + items: *444 required: - url - html_url @@ -69109,8 +69322,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69152,8 +69365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *314 - - *315 + - *304 + - *305 - name: path description: path parameter in: path @@ -69306,7 +69519,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &455 + response-if-content-is-a-file: &445 summary: Response if content is a file value: type: file @@ -69443,7 +69656,7 @@ paths: - size - type - url - - &556 + - &546 title: Content File description: Content File type: object @@ -69661,7 +69874,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *455 + response-if-content-is-a-file: *445 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69730,7 +69943,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *456 + '302': *446 '304': *35 x-github: githubCloudOnly: false @@ -69753,8 +69966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *314 - - *315 + - *304 + - *305 - name: path description: path parameter in: path @@ -69849,7 +70062,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &447 title: File Commit description: File Commit type: object @@ -70005,7 +70218,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *447 examples: example-for-creating-a-file: value: @@ -70059,7 +70272,7 @@ paths: schema: oneOf: - *3 - - &487 + - &477 description: Repository rule violation was detected type: object properties: @@ -70080,7 +70293,7 @@ paths: items: type: object properties: - placeholder_id: &600 + placeholder_id: &598 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70112,8 +70325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *314 - - *315 + - *304 + - *305 - name: path description: path parameter in: path @@ -70174,7 +70387,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *447 examples: default: value: @@ -70209,7 +70422,7 @@ paths: '422': *15 '404': *6 '409': *45 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70229,8 +70442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *314 - - *315 + - *304 + - *305 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70331,7 +70544,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *57 + Link: *52 '204': description: Response if repository is empty '403': *27 @@ -70354,31 +70567,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 + - *304 + - *305 - *164 - *165 + - *166 + - *167 - 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 + - *448 + - *169 + - *170 - *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 +70594,6 @@ paths: default: 30 - *38 - *39 - - *169 - - *170 responses: '200': description: Response @@ -70398,11 +70601,11 @@ paths: application/json: schema: type: array - items: &461 + items: &451 type: object description: A Dependabot alert. properties: - number: *52 + number: *145 state: type: string description: The state of the Dependabot alert. @@ -70448,13 +70651,13 @@ paths: - direct - transitive - - security_advisory: *459 + security_advisory: *449 security_vulnerability: *50 - url: *55 - html_url: *56 - created_at: *53 - updated_at: *54 - dismissed_at: *148 + url: *148 + html_url: *149 + created_at: *146 + updated_at: *147 + dismissed_at: *151 dismissed_by: anyOf: - type: 'null' @@ -70478,8 +70681,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *147 - auto_dismissed_at: *460 + fixed_at: *150 + auto_dismissed_at: *450 required: - number - state @@ -70709,9 +70912,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *314 - - *315 - - &462 + - *304 + - *305 + - &452 name: alert_number in: path description: |- @@ -70720,13 +70923,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *52 + schema: *145 responses: '200': description: Response content: application/json: - schema: *461 + schema: *451 examples: default: value: @@ -70839,9 +71042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *314 - - *315 - - *462 + - *304 + - *305 + - *452 requestBody: required: true content: @@ -70886,7 +71089,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *451 examples: default: value: @@ -71015,8 +71218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -71034,7 +71237,7 @@ paths: type: integer secrets: type: array - items: &465 + items: &455 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71066,7 +71269,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 +71291,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *463 + schema: *453 examples: - default: *464 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71117,15 +71320,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '200': description: Response content: application/json: - schema: *465 + schema: *455 examples: default: value: @@ -71151,9 +71354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 requestBody: required: true content: @@ -71181,7 +71384,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -71205,9 +71408,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '204': description: Response @@ -71229,8 +71432,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 + - *304 + - *305 - 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 +71583,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 +71607,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 + - *304 + - *305 responses: '200': description: Response @@ -71642,7 +71845,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *57 + Link: *52 '404': *6 '403': *27 x-github: @@ -71665,8 +71868,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 + - *304 + - *305 requestBody: required: true content: @@ -71749,7 +71952,7 @@ paths: - version - url additionalProperties: false - metadata: &466 + metadata: &456 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71788,7 +71991,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *466 + metadata: *456 resolved: type: object description: A collection of resolved package dependencies. @@ -71802,7 +72005,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *466 + metadata: *456 relationship: type: string description: A notation of whether a dependency is requested @@ -71935,8 +72138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *314 - - *315 + - *304 + - *305 - name: sha description: The SHA recorded at creation time. in: query @@ -71977,11 +72180,11 @@ paths: application/json: schema: type: array - items: *467 + items: *457 examples: - default: *468 + default: *458 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72045,8 +72248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -72128,7 +72331,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *457 examples: simple-example: summary: Simple example @@ -72201,9 +72404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *314 - - *315 - - &469 + - *304 + - *305 + - &459 name: deployment_id description: deployment_id parameter in: path @@ -72215,7 +72418,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *457 examples: default: value: @@ -72280,9 +72483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *314 - - *315 - - *469 + - *304 + - *305 + - *459 responses: '204': description: Response @@ -72304,9 +72507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *314 - - *315 - - *469 + - *304 + - *305 + - *459 - *17 - *19 responses: @@ -72316,7 +72519,7 @@ paths: application/json: schema: type: array - items: &470 + items: &460 title: Deployment Status description: The status of a deployment. type: object @@ -72460,7 +72663,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 +72683,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *314 - - *315 - - *469 + - *304 + - *305 + - *459 requestBody: required: true content: @@ -72557,9 +72760,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *460 examples: - default: &471 + default: &461 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72615,9 +72818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *314 - - *315 - - *469 + - *304 + - *305 + - *459 - name: status_id in: path required: true @@ -72628,9 +72831,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *460 examples: - default: *471 + default: *461 '404': *6 x-github: githubCloudOnly: false @@ -72655,8 +72858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -72713,8 +72916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -72732,7 +72935,7 @@ paths: - 5 environments: type: array - items: &473 + items: &463 title: Environment description: Details of a deployment environment type: object @@ -72794,7 +72997,7 @@ paths: type: string examples: - wait_timer - wait_timer: &475 + wait_timer: &465 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -72836,11 +73039,11 @@ paths: items: type: object properties: - type: *472 + type: *462 reviewer: anyOf: - *4 - - *161 + - *163 required: - id - node_id @@ -72863,7 +73066,7 @@ paths: - id - node_id - type - deployment_branch_policy: &476 + deployment_branch_policy: &466 type: - object - 'null' @@ -72980,9 +73183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *314 - - *315 - - &474 + - *304 + - *305 + - &464 name: environment_name in: path required: true @@ -72995,9 +73198,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *463 examples: - default: &477 + default: &467 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73081,9 +73284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 requestBody: required: false content: @@ -73093,7 +73296,7 @@ paths: - object - 'null' properties: - wait_timer: *475 + wait_timer: *465 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -73112,14 +73315,14 @@ paths: items: type: object properties: - type: *472 + type: *462 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: *466 additionalProperties: false examples: default: @@ -73139,9 +73342,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *463 examples: - default: *477 + default: *467 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73165,9 +73368,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 responses: '204': description: Default response @@ -73192,9 +73395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 - *17 - *19 responses: @@ -73213,7 +73416,7 @@ paths: - 2 branch_policies: type: array - items: &478 + items: &468 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73274,9 +73477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 requestBody: required: true content: @@ -73324,9 +73527,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *468 examples: - example-wildcard: &479 + example-wildcard: &469 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73368,10 +73571,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 + - *304 + - *305 + - *464 + - &470 name: branch_policy_id in: path required: true @@ -73383,9 +73586,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *468 examples: - default: *479 + default: *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73404,10 +73607,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 + - *304 + - *305 + - *464 + - *470 requestBody: required: true content: @@ -73436,9 +73639,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *468 examples: - default: *479 + default: *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73457,10 +73660,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 + - *304 + - *305 + - *464 + - *470 responses: '204': description: Response @@ -73485,9 +73688,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 + - *464 + - *305 + - *304 responses: '200': description: List of deployment protection rules @@ -73504,7 +73707,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &481 + items: &471 title: Deployment protection rule description: Deployment protection rule type: object @@ -73526,7 +73729,7 @@ paths: for the environment. examples: - true - app: &482 + app: &472 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73629,9 +73832,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 + - *464 + - *305 + - *304 requestBody: content: application/json: @@ -73652,9 +73855,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *481 + schema: *471 examples: - default: &483 + default: &473 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73689,9 +73892,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 + - *464 + - *305 + - *304 - *19 - *17 responses: @@ -73711,7 +73914,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *482 + items: *472 examples: default: value: @@ -73746,10 +73949,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 + - *304 + - *305 + - *464 + - &474 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73761,9 +73964,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *471 examples: - default: *483 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73784,10 +73987,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: + - *464 + - *305 + - *304 - *474 - - *315 - - *314 - - *484 responses: '204': description: Response @@ -73813,9 +74016,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 - *17 - *19 responses: @@ -73833,11 +74036,11 @@ paths: type: integer secrets: type: array - items: *362 + items: *352 examples: - default: *363 + default: *353 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73860,17 +74063,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 responses: '200': description: Response content: application/json: - schema: *364 + schema: *354 examples: - default: *365 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73892,18 +74095,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *304 + - *305 + - *464 + - *137 responses: '200': description: Response content: application/json: - schema: *362 + schema: *352 examples: - default: *485 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73925,10 +74128,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 + - *304 + - *305 + - *464 + - *137 requestBody: required: true content: @@ -73959,7 +74162,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -73985,10 +74188,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *304 + - *305 + - *464 + - *137 responses: '204': description: Default response @@ -74013,10 +74216,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *314 - - *315 - - *474 - - *333 + - *304 + - *305 + - *464 + - *323 - *19 responses: '200': @@ -74033,11 +74236,11 @@ paths: type: integer variables: type: array - items: *366 + items: *356 examples: - default: *367 + default: *357 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74058,9 +74261,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 requestBody: required: true content: @@ -74087,7 +74290,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -74112,18 +74315,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *314 - - *315 - - *474 - - *142 + - *304 + - *305 + - *464 + - *140 responses: '200': description: Response content: application/json: - schema: *366 + schema: *356 examples: - default: *486 + default: *476 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74144,10 +74347,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *314 - - *315 - - *142 - - *474 + - *304 + - *305 + - *140 + - *464 requestBody: required: true content: @@ -74189,10 +74392,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *314 - - *315 - - *142 - - *474 + - *304 + - *305 + - *140 + - *464 responses: '204': description: Response @@ -74214,8 +74417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -74225,7 +74428,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: 200-response: value: @@ -74283,8 +74486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *314 - - *315 + - *304 + - *305 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74306,7 +74509,7 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: value: @@ -74419,7 +74622,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 +74646,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -74477,9 +74680,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *312 examples: - default: *324 + default: *314 '400': *14 '422': *15 '403': *27 @@ -74500,8 +74703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -74560,8 +74763,8 @@ paths: application/json: schema: oneOf: - - *105 - - *487 + - *103 + - *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74586,8 +74789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *314 - - *315 + - *304 + - *305 - name: file_sha in: path required: true @@ -74687,8 +74890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -74797,7 +75000,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &478 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75024,15 +75227,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *314 - - *315 - - *444 + - *304 + - *305 + - *434 responses: '200': description: Response content: application/json: - schema: *488 + schema: *478 examples: default: value: @@ -75088,9 +75291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *314 - - *315 - - &489 + - *304 + - *305 + - &479 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 +75310,7 @@ paths: application/json: schema: type: array - items: &490 + items: &480 title: Git Reference description: Git references within a repository type: object @@ -75161,7 +75364,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 +75386,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *314 - - *315 - - *489 + - *304 + - *305 + - *479 responses: '200': description: Response content: application/json: - schema: *490 + schema: *480 examples: - default: &491 + default: &481 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75222,8 +75425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -75252,9 +75455,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *480 examples: - default: *491 + default: *481 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75280,9 +75483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *314 - - *315 - - *489 + - *304 + - *305 + - *479 requestBody: required: true content: @@ -75311,9 +75514,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *480 examples: - default: *491 + default: *481 '422': *15 '409': *45 x-github: @@ -75331,9 +75534,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *314 - - *315 - - *489 + - *304 + - *305 + - *479 responses: '204': description: Response @@ -75388,8 +75591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -75456,7 +75659,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &483 title: Git Tag description: Metadata for a Git tag type: object @@ -75512,7 +75715,7 @@ paths: - sha - type - url - verification: *492 + verification: *482 required: - sha - url @@ -75522,7 +75725,7 @@ paths: - tag - message examples: - default: &494 + default: &484 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75595,8 +75798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *314 - - *315 + - *304 + - *305 - name: tag_sha in: path required: true @@ -75607,9 +75810,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *483 examples: - default: *494 + default: *484 '404': *6 '409': *45 x-github: @@ -75633,8 +75836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -75708,7 +75911,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &485 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75810,8 +76013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *314 - - *315 + - *304 + - *305 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75834,7 +76037,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *485 examples: default-response: summary: Default response @@ -75893,8 +76096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -75904,7 +76107,7 @@ paths: application/json: schema: type: array - items: &496 + items: &486 title: Webhook description: Webhooks for repositories. type: object @@ -75967,7 +76170,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &719 + last_response: &716 title: Hook Response type: object properties: @@ -76025,7 +76228,7 @@ paths: status: unused message: headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -76044,8 +76247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -76098,9 +76301,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *486 examples: - default: &497 + default: &487 value: type: Repository id: 12345678 @@ -76148,17 +76351,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 responses: '200': description: Response content: application/json: - schema: *496 + schema: *486 examples: - default: *497 + default: *487 '404': *6 x-github: githubCloudOnly: false @@ -76178,8 +76381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 requestBody: required: true @@ -76225,9 +76428,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *486 examples: - default: *497 + default: *487 '422': *15 '404': *6 x-github: @@ -76248,8 +76451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 responses: '204': @@ -76274,8 +76477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *176 responses: '200': @@ -76303,8 +76506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *176 requestBody: required: false @@ -76349,8 +76552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 - *17 - *177 @@ -76382,8 +76585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 - *16 responses: @@ -76412,8 +76615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 - *16 responses: @@ -76437,8 +76640,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 responses: '204': @@ -76464,8 +76667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 responses: '204': @@ -76489,8 +76692,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 + - *304 + - *305 responses: '200': description: Response if immutable releases are enabled @@ -76538,10 +76741,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *314 - - *315 + - *304 + - *305 responses: - '204': *156 + '204': *159 '409': *45 x-github: githubCloudOnly: false @@ -76559,10 +76762,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *314 - - *315 + - *304 + - *305 responses: - '204': *156 + '204': *159 '409': *45 x-github: githubCloudOnly: false @@ -76617,14 +76820,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: &498 + schema: &488 title: Import description: A repository import from an external source. type: object @@ -76731,7 +76934,7 @@ paths: - html_url - authors_url examples: - default: &501 + default: &491 value: vcs: subversion use_lfs: true @@ -76747,7 +76950,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': &489 description: Unavailable due to service under maintenance. content: application/json: @@ -76776,8 +76979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -76825,7 +77028,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *488 examples: default: value: @@ -76850,7 +77053,7 @@ paths: type: string '422': *15 '404': *6 - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76878,8 +77081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -76931,7 +77134,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *488 examples: example-1: summary: Example 1 @@ -76979,7 +77182,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': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77002,12 +77205,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77033,9 +77236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *314 - - *315 - - &659 + - *304 + - *305 + - &656 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77049,7 +77252,7 @@ paths: application/json: schema: type: array - items: &500 + items: &490 title: Porter Author description: Porter Author type: object @@ -77103,7 +77306,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': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77128,8 +77331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *314 - - *315 + - *304 + - *305 - name: author_id in: path required: true @@ -77159,7 +77362,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *490 examples: default: value: @@ -77172,7 +77375,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77196,8 +77399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -77238,7 +77441,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77266,8 +77469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -77294,11 +77497,11 @@ paths: description: Response content: application/json: - schema: *498 + schema: *488 examples: - default: *501 + default: *491 '422': *15 - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77321,8 +77524,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 + - *304 + - *305 responses: '200': description: Response @@ -77330,8 +77533,8 @@ paths: application/json: schema: *20 examples: - default: *502 - '301': *323 + default: *492 + '301': *313 '404': *6 x-github: githubCloudOnly: false @@ -77351,8 +77554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -77365,7 +77568,7 @@ paths: properties: {} additionalProperties: false examples: - default: &504 + default: &494 value: limit: collaborators_only origin: repository @@ -77390,13 +77593,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: application/json: - schema: *503 + schema: *493 examples: default: summary: Example request body @@ -77410,7 +77613,7 @@ paths: application/json: schema: *194 examples: - default: *504 + default: *494 '409': description: Response x-github: @@ -77432,8 +77635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -77456,8 +77659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -77467,9 +77670,9 @@ paths: application/json: schema: type: array - items: *505 + items: *495 examples: - default: &652 + default: &649 value: - id: 1 repository: @@ -77583,7 +77786,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,8 +77803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *314 - - *315 + - *304 + - *305 - *198 requestBody: required: false @@ -77631,7 +77834,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *495 examples: default: value: @@ -77762,8 +77965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *314 - - *315 + - *304 + - *305 - *198 responses: '204': @@ -77795,8 +77998,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *314 - - *315 + - *304 + - *305 - 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 @@ -77857,7 +78060,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -77867,9 +78070,9 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: &512 + default: &502 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78016,8 +78219,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *57 - '301': *323 + Link: *52 + '301': *313 '422': *15 '404': *6 x-github: @@ -78046,8 +78249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -78137,9 +78340,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: &509 + default: &499 value: id: 1 node_id: MDU6SXNzdWUx @@ -78293,9 +78496,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *73 + '503': *98 '404': *6 - '410': *320 + '410': *310 x-github: triggersNotification: true githubCloudOnly: false @@ -78323,9 +78526,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *314 - - *315 - - *92 + - *304 + - *305 + - *89 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -78335,7 +78538,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -78345,9 +78548,9 @@ paths: application/json: schema: type: array - items: *506 + items: *496 examples: - default: &511 + default: &501 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78378,7 +78581,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 +78608,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 responses: '200': description: Response content: application/json: - schema: *506 + schema: *496 examples: - default: &507 + default: &497 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78469,9 +78672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -78493,9 +78696,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *496 examples: - default: *507 + default: *497 '422': *15 x-github: githubCloudOnly: false @@ -78513,9 +78716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 responses: '204': description: Response @@ -78535,9 +78738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *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 +78766,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -78586,9 +78789,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -78620,16 +78823,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Reaction created content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -78651,10 +78854,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *314 - - *315 - - *84 - - *310 + - *304 + - *305 + - *81 + - *300 responses: '204': description: Response @@ -78674,8 +78877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -78685,7 +78888,7 @@ paths: application/json: schema: type: array - items: &508 + items: &498 title: Issue Event description: Issue Event type: object @@ -78732,7 +78935,7 @@ paths: issue: anyOf: - type: 'null' - - *68 + - *66 label: title: Issue Event Label description: Issue Event Label @@ -78765,7 +78968,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *161 + requested_team: *163 dismissed_review: title: Issue Event Dismissed Review type: object @@ -78832,7 +79035,7 @@ paths: required: - from - to - author_association: *69 + author_association: *67 lock_reason: type: - string @@ -79006,7 +79209,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -79024,8 +79227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *314 - - *315 + - *304 + - *305 - name: event_id in: path required: true @@ -79036,7 +79239,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *498 examples: default: value: @@ -79229,7 +79432,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *320 + '410': *310 '403': *27 x-github: githubCloudOnly: false @@ -79263,9 +79466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *314 - - *315 - - &510 + - *304 + - *305 + - &500 name: issue_number description: The number that identifies the issue. in: path @@ -79277,12 +79480,12 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *499 + '301': *313 '404': *6 - '410': *320 + '410': *310 '304': *35 x-github: githubCloudOnly: false @@ -79307,9 +79510,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: false content: @@ -79428,15 +79631,15 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 '422': *15 - '503': *73 + '503': *98 '403': *27 - '301': *323 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79454,9 +79657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: false content: @@ -79482,9 +79685,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79500,9 +79703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: content: application/json: @@ -79527,9 +79730,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79551,9 +79754,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 + - *304 + - *305 + - *500 - name: assignee in: path required: true @@ -79593,10 +79796,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *314 - - *315 - - *510 - - *75 + - *304 + - *305 + - *500 + - *72 - *17 - *19 responses: @@ -79606,13 +79809,13 @@ paths: application/json: schema: type: array - items: *506 + items: *496 examples: - default: *511 + default: *501 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79641,9 +79844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -79665,16 +79868,16 @@ paths: description: Response content: application/json: - schema: *506 + schema: *496 examples: - default: *507 + default: *497 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *320 + '410': *310 '422': *15 '404': *6 x-github: @@ -79702,9 +79905,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 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -79714,14 +79917,14 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *502 headers: - Link: *57 - '301': *323 + Link: *52 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79749,9 +79952,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 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -79773,17 +79976,17 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *323 + '301': *313 '403': *27 - '410': *320 + '410': *310 '422': *15 '404': *6 x-github: @@ -79814,9 +80017,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 + - *304 + - *305 + - *500 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79828,15 +80031,15 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *499 + '301': *313 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *310 x-github: triggersNotification: true githubCloudOnly: false @@ -79862,9 +80065,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 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -79874,14 +80077,14 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *502 headers: - Link: *57 - '301': *323 + Link: *52 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79898,9 +80101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -79914,7 +80117,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &514 + - &504 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79963,7 +80166,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &505 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80091,7 +80294,7 @@ paths: - performed_via_github_app - assignee - assigner - - &516 + - &506 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80137,7 +80340,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &507 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80183,7 +80386,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &508 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80232,7 +80435,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &509 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -80261,7 +80464,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *161 + requested_team: *163 requested_reviewer: *4 required: - review_requester @@ -80274,7 +80477,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &510 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80303,7 +80506,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *161 + requested_team: *163 requested_reviewer: *4 required: - review_requester @@ -80316,7 +80519,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &511 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80372,7 +80575,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &512 title: Locked Issue Event description: Locked Issue Event type: object @@ -80417,7 +80620,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &513 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80478,7 +80681,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &514 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80539,7 +80742,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &525 + - &515 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80600,7 +80803,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &516 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80692,8 +80895,8 @@ paths: name: label color: red headers: - Link: *57 - '410': *320 + Link: *52 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80710,9 +80913,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -80722,9 +80925,9 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: &513 + default: &503 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80741,10 +80944,10 @@ paths: color: a2eeef default: false headers: - Link: *57 - '301': *323 + Link: *52 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80761,9 +80964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: false content: @@ -80822,12 +81025,12 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 - '301': *323 + default: *503 + '301': *313 '404': *6 - '410': *320 + '410': *310 '422': *15 x-github: githubCloudOnly: false @@ -80844,9 +81047,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: false content: @@ -80906,12 +81109,12 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 - '301': *323 + default: *503 + '301': *313 '404': *6 - '410': *320 + '410': *310 '422': *15 x-github: githubCloudOnly: false @@ -80928,15 +81131,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 responses: '204': description: Response - '301': *323 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80955,9 +81158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - name: name in: path required: true @@ -80970,7 +81173,7 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: default: value: @@ -80981,9 +81184,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *323 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81003,9 +81206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: false content: @@ -81034,7 +81237,7 @@ paths: '204': description: Response '403': *27 - '410': *320 + '410': *310 '404': *6 '422': *15 x-github: @@ -81052,9 +81255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 responses: '204': description: Response @@ -81084,20 +81287,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 responses: '200': description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *499 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81114,9 +81317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - 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 +81345,13 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81166,9 +81369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -81200,16 +81403,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -81231,10 +81434,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *314 - - *315 - - *510 - - *310 + - *304 + - *305 + - *500 + - *300 responses: '204': description: Response @@ -81263,9 +81466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -81287,9 +81490,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81322,9 +81525,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -81334,13 +81537,13 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *502 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81368,9 +81571,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -81397,16 +81600,16 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *320 + '410': *310 '422': *15 '404': *6 x-github: @@ -81426,9 +81629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -81459,13 +81662,13 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 '403': *27 '404': *6 '422': *7 - '503': *73 + '503': *98 x-github: triggersNotification: true githubCloudOnly: false @@ -81483,9 +81686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -81500,19 +81703,19 @@ paths: description: Timeline Event type: object anyOf: + - *504 + - *505 + - *506 + - *507 + - *508 + - *509 + - *510 + - *511 + - *512 + - *513 - *514 - *515 - *516 - - *517 - - *518 - - *519 - - *520 - - *521 - - *522 - - *523 - - *524 - - *525 - - *526 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81560,12 +81763,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 +81799,7 @@ paths: properties: type: type: string - issue: *68 + issue: *66 required: - event - created_at @@ -81818,7 +82021,7 @@ paths: type: string body_text: type: string - author_association: *69 + author_association: *67 required: - event - id @@ -81841,7 +82044,7 @@ paths: type: string comments: type: array - items: &545 + items: &535 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81946,7 +82149,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 +82244,7 @@ paths: enum: - line - file - reactions: *70 + reactions: *68 body_html: type: string examples: @@ -82079,7 +82282,7 @@ paths: type: string comments: type: array - items: *442 + items: *432 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82352,9 +82555,9 @@ paths: type: User site_admin: true headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82371,8 +82574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -82382,7 +82585,7 @@ paths: application/json: schema: type: array - items: &527 + items: &517 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82434,7 +82637,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82450,8 +82653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -82487,9 +82690,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *517 examples: - default: &528 + default: &518 value: id: 1 key: ssh-rsa AAA... @@ -82523,9 +82726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *314 - - *315 - - &529 + - *304 + - *305 + - &519 name: key_id description: The unique identifier of the key. in: path @@ -82537,9 +82740,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *517 examples: - default: *528 + default: *518 '404': *6 x-github: githubCloudOnly: false @@ -82557,9 +82760,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *314 - - *315 - - *529 + - *304 + - *305 + - *519 responses: '204': description: Response @@ -82579,8 +82782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -82590,11 +82793,11 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 + default: *503 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -82613,8 +82816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -82650,9 +82853,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: - default: &530 + default: &520 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82684,8 +82887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *314 - - *315 + - *304 + - *305 - name: name in: path required: true @@ -82696,9 +82899,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: - default: *530 + default: *520 '404': *6 x-github: githubCloudOnly: false @@ -82715,8 +82918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *314 - - *315 + - *304 + - *305 - name: name in: path required: true @@ -82755,7 +82958,7 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: default: value: @@ -82781,8 +82984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *314 - - *315 + - *304 + - *305 - name: name in: path required: true @@ -82808,8 +83011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -82848,9 +83051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *314 - - *315 - - *420 + - *304 + - *305 + - *410 responses: '200': description: Response @@ -82916,7 +83119,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 required: - _links - git_url @@ -82997,8 +83200,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 + - *304 + - *305 requestBody: required: true content: @@ -83063,8 +83266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -83098,9 +83301,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *443 + schema: *433 examples: - default: *531 + default: *521 '204': description: Response when already merged '404': @@ -83125,8 +83328,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *314 - - *315 + - *304 + - *305 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -83206,7 +83409,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 +83426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -83266,7 +83469,7 @@ paths: application/json: schema: *238 examples: - default: &532 + default: &522 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 +83528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *314 - - *315 - - &533 + - *304 + - *305 + - &523 name: milestone_number description: The number that identifies the milestone. in: path @@ -83341,7 +83544,7 @@ paths: application/json: schema: *238 examples: - default: *532 + default: *522 '404': *6 x-github: githubCloudOnly: false @@ -83358,9 +83561,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *314 - - *315 - - *533 + - *304 + - *305 + - *523 requestBody: required: false content: @@ -83400,7 +83603,7 @@ paths: application/json: schema: *238 examples: - default: *532 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83416,9 +83619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *314 - - *315 - - *533 + - *304 + - *305 + - *523 responses: '204': description: Response @@ -83439,9 +83642,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 + - *304 + - *305 + - *523 - *17 - *19 responses: @@ -83451,11 +83654,11 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 + default: *503 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83472,12 +83675,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 + - *304 + - *305 + - *524 + - *525 + - *72 + - *526 - *17 - *19 responses: @@ -83487,11 +83690,11 @@ paths: application/json: schema: type: array - items: *95 + items: *92 examples: - default: *537 + default: *527 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83513,8 +83716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -83572,14 +83775,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: &538 + schema: &528 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83723,7 +83926,7 @@ paths: - custom_404 - public examples: - default: &539 + default: &529 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83764,8 +83967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -83820,9 +84023,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *528 examples: - default: *539 + default: *529 '422': *15 '409': *45 x-github: @@ -83845,8 +84048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -83946,8 +84149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -83973,8 +84176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -83984,7 +84187,7 @@ paths: application/json: schema: type: array - items: &540 + items: &530 title: Page Build description: Page Build type: object @@ -84057,7 +84260,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 +84279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *314 - - *315 + - *304 + - *305 responses: '201': description: Response @@ -84124,16 +84327,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *540 + schema: *530 examples: - default: &541 + default: &531 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -84181,8 +84384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *314 - - *315 + - *304 + - *305 - name: build_id in: path required: true @@ -84193,9 +84396,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *530 examples: - default: *541 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84215,8 +84418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -84324,9 +84527,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 + - *304 + - *305 + - &532 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84384,11 +84587,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *314 - - *315 - - *542 + - *304 + - *305 + - *532 responses: - '204': *156 + '204': *159 '404': *6 x-github: githubCloudOnly: false @@ -84413,8 +84616,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 + - *304 + - *305 responses: '200': description: Response @@ -84682,7 +84885,7 @@ paths: description: Empty response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -84709,8 +84912,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 + - *304 + - *305 responses: '200': description: Private vulnerability reporting status @@ -84747,10 +84950,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: - '204': *156 + '204': *159 '422': *14 x-github: githubCloudOnly: false @@ -84769,10 +84972,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: - '204': *156 + '204': *159 '422': *14 x-github: githubCloudOnly: false @@ -84793,8 +84996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *314 - - *315 + - *304 + - *305 - name: state description: Indicates the state of the projects to return. in: query @@ -84851,11 +85054,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': *310 '422': *7 x-github: githubCloudOnly: false @@ -84878,8 +85081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -84907,11 +85110,11 @@ paths: application/json: schema: *232 examples: - default: *319 + default: *309 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *310 '422': *7 x-github: githubCloudOnly: false @@ -84934,8 +85137,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 + - *304 + - *305 responses: '200': description: Response @@ -84974,8 +85177,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 + - *304 + - *305 requestBody: required: true content: @@ -85037,8 +85240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *314 - - *315 + - *304 + - *305 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85098,11 +85301,11 @@ paths: application/json: schema: type: array - items: *447 + items: *437 examples: - default: *543 + default: *533 headers: - Link: *57 + Link: *52 '304': *35 '422': *15 x-github: @@ -85132,8 +85335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -85200,7 +85403,7 @@ paths: description: Response content: application/json: - schema: &547 + schema: &537 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85392,7 +85595,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: *4 @@ -85409,7 +85612,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: *4 @@ -85439,8 +85642,8 @@ paths: - review_comments - review_comment - self - author_association: *69 - auto_merge: *544 + author_association: *67 + auto_merge: *534 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -85542,7 +85745,7 @@ paths: - merged_by - review_comments examples: - default: &548 + default: &538 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86069,8 +86272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - name: sort in: query required: false @@ -86089,7 +86292,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -86099,9 +86302,9 @@ paths: application/json: schema: type: array - items: *545 + items: *535 examples: - default: &550 + default: &540 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86153,7 +86356,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86178,17 +86381,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 + - *304 + - *305 + - *81 responses: '200': description: Response content: application/json: - schema: *545 + schema: *535 examples: - default: &546 + default: &536 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86263,9 +86466,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 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -86287,9 +86490,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *535 examples: - default: *546 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86305,9 +86508,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 + - *304 + - *305 + - *81 responses: '204': description: Response @@ -86328,9 +86531,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 + - *304 + - *305 + - *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 +86559,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -86379,9 +86582,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 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -86413,16 +86616,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Reaction created content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -86444,10 +86647,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *314 - - *315 - - *84 - - *310 + - *304 + - *305 + - *81 + - *300 responses: '204': description: Response @@ -86490,9 +86693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *314 - - *315 - - &549 + - *304 + - *305 + - &539 name: pull_number description: The number that identifies the pull request. in: path @@ -86505,9 +86708,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *547 + schema: *537 examples: - default: *548 + default: *538 '304': *35 '404': *6 '406': @@ -86515,8 +86718,8 @@ paths: content: application/json: schema: *3 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86542,9 +86745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: false content: @@ -86586,9 +86789,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *537 examples: - default: *548 + default: *538 '422': *15 '403': *27 x-github: @@ -86610,9 +86813,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 + - *304 + - *305 + - *539 requestBody: required: true content: @@ -86675,7 +86878,7 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -86683,11 +86886,11 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86713,10 +86916,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 + - *304 + - *305 + - *539 + - *89 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -86726,7 +86929,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -86736,11 +86939,11 @@ paths: application/json: schema: type: array - items: *545 + items: *535 examples: - default: *550 + default: *540 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86771,9 +86974,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 + - *304 + - *305 + - *539 requestBody: required: true content: @@ -86879,7 +87082,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *535 examples: example-for-a-multi-line-comment: value: @@ -86967,10 +87170,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 + - *304 + - *305 + - *539 + - *81 requestBody: required: true content: @@ -86992,7 +87195,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *535 examples: default: value: @@ -87078,9 +87281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 - *17 - *19 responses: @@ -87090,11 +87293,11 @@ paths: application/json: schema: type: array - items: *443 + items: *433 examples: - default: *551 + default: *541 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87122,9 +87325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 - *17 - *19 responses: @@ -87134,7 +87337,7 @@ paths: application/json: schema: type: array - items: *454 + items: *444 examples: default: value: @@ -87150,10 +87353,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *57 + Link: *52 '422': *15 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87172,9 +87375,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 + - *304 + - *305 + - *539 responses: '204': description: Response if pull request has been merged @@ -87197,9 +87400,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: false content: @@ -87311,9 +87514,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 + - *304 + - *305 + - *539 responses: '200': description: Response @@ -87329,7 +87532,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *163 required: - users - teams @@ -87370,7 +87573,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 +87591,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 + - *304 + - *305 + - *539 requestBody: required: false content: @@ -87427,7 +87630,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *437 examples: default: value: @@ -87963,9 +88166,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 + - *304 + - *305 + - *539 requestBody: required: true content: @@ -87999,7 +88202,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *437 examples: default: value: @@ -88504,9 +88707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 - *17 - *19 responses: @@ -88516,7 +88719,7 @@ paths: application/json: schema: type: array - items: &552 + items: &542 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88590,7 +88793,7 @@ paths: type: string body_text: type: string - author_association: *69 + author_association: *67 required: - id - node_id @@ -88639,7 +88842,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88672,9 +88875,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 + - *304 + - *305 + - *539 requestBody: required: false content: @@ -88764,9 +88967,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *542 examples: - default: &554 + default: &544 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88829,10 +89032,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 + - *304 + - *305 + - *539 + - &543 name: review_id description: The unique identifier of the review. in: path @@ -88844,9 +89047,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *542 examples: - default: &555 + default: &545 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88905,10 +89108,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 + - *304 + - *305 + - *539 + - *543 requestBody: required: true content: @@ -88931,7 +89134,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *542 examples: default: value: @@ -88993,18 +89196,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 + - *304 + - *305 + - *539 + - *543 responses: '200': description: Response content: application/json: - schema: *552 + schema: *542 examples: - default: *554 + default: *544 '422': *7 '404': *6 x-github: @@ -89031,10 +89234,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 + - *304 + - *305 + - *539 + - *543 - *17 - *19 responses: @@ -89128,7 +89331,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: @@ -89143,7 +89346,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 +89466,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 +89495,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 + - *304 + - *305 + - *539 + - *543 requestBody: required: true content: @@ -89324,7 +89527,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *542 examples: default: value: @@ -89387,10 +89590,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 + - *304 + - *305 + - *539 + - *543 requestBody: required: true content: @@ -89425,9 +89628,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *542 examples: - default: *555 + default: *545 '404': *6 '422': *7 '403': *27 @@ -89449,9 +89652,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: false content: @@ -89515,8 +89718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *314 - - *315 + - *304 + - *305 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89529,9 +89732,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *546 examples: - default: &557 + default: &547 value: type: file encoding: base64 @@ -89573,8 +89776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *314 - - *315 + - *304 + - *305 - name: dir description: The alternate path to look for a README file in: path @@ -89594,9 +89797,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *546 examples: - default: *557 + default: *547 '404': *6 '422': *15 x-github: @@ -89618,8 +89821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -89629,7 +89832,7 @@ paths: application/json: schema: type: array - items: *558 + items: *548 examples: default: value: @@ -89703,7 +89906,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -89723,8 +89926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -89800,9 +90003,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *548 examples: - default: &562 + default: &552 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 +90110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *314 - - *315 - - &560 + - *304 + - *305 + - &550 name: asset_id description: The unique identifier of the asset. in: path @@ -89921,9 +90124,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *549 examples: - default: &561 + default: &551 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 +90161,7 @@ paths: type: User site_admin: false '404': *6 - '302': *456 + '302': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89974,9 +90177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *314 - - *315 - - *560 + - *304 + - *305 + - *550 requestBody: required: false content: @@ -90005,9 +90208,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *549 examples: - default: *561 + default: *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90023,9 +90226,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *314 - - *315 - - *560 + - *304 + - *305 + - *550 responses: '204': description: Response @@ -90049,8 +90252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -90136,16 +90339,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *558 + schema: *548 examples: - default: *562 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90162,8 +90365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *314 - - *315 + - *304 + - *305 - name: tag description: tag parameter in: path @@ -90176,9 +90379,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *548 examples: - default: *562 + default: *552 '404': *6 x-github: githubCloudOnly: false @@ -90200,9 +90403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *314 - - *315 - - &563 + - *304 + - *305 + - &553 name: release_id description: The unique identifier of the release. in: path @@ -90216,9 +90419,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: *548 examples: - default: *562 + default: *552 '401': description: Unauthorized x-github: @@ -90236,9 +90439,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 requestBody: required: false content: @@ -90302,9 +90505,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *548 examples: - default: *562 + default: *552 '404': description: Not Found if the discussion category name is invalid content: @@ -90325,9 +90528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 responses: '204': description: Response @@ -90347,9 +90550,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 - *17 - *19 responses: @@ -90359,7 +90562,7 @@ paths: application/json: schema: type: array - items: *559 + items: *549 examples: default: value: @@ -90396,7 +90599,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90440,9 +90643,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 + - *304 + - *305 + - *553 - name: name in: query required: true @@ -90468,7 +90671,7 @@ paths: description: Response for successful upload content: application/json: - schema: *559 + schema: *549 examples: response-for-successful-upload: value: @@ -90523,9 +90726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 - 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 +90752,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -90572,9 +90775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 requestBody: required: true content: @@ -90604,16 +90807,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Reaction created content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -90635,10 +90838,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *314 - - *315 - - *563 - - *310 + - *304 + - *305 + - *553 + - *300 responses: '204': description: Response @@ -90662,9 +90865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 - *17 - *19 responses: @@ -90681,7 +90884,7 @@ paths: oneOf: - allOf: - *256 - - &564 + - &554 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90702,67 +90905,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *257 - - *564 + - *554 - allOf: - *258 - - *564 + - *554 - allOf: - *259 - - *564 + - *554 - allOf: - - *565 - - *564 + - *555 + - *554 - allOf: - *260 - - *564 + - *554 - allOf: - *261 - - *564 + - *554 - allOf: - *262 - - *564 + - *554 - allOf: - *263 - - *564 + - *554 - allOf: - *264 - - *564 + - *554 - allOf: - *265 - - *564 + - *554 - allOf: - *266 - - *564 + - *554 - allOf: - *267 - - *564 + - *554 - allOf: - *268 - - *564 + - *554 - allOf: - *269 - - *564 + - *554 - allOf: - *270 - - *564 + - *554 - allOf: - *271 - - *564 + - *554 - allOf: - *272 - - *564 + - *554 - allOf: - *273 - - *564 + - *554 - allOf: - *274 - - *564 + - *554 - allOf: - *275 - - *564 + - *554 - allOf: - - *566 - - *564 + - *556 + - *554 examples: default: value: @@ -90801,8 +91004,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 - name: includes_parents @@ -90813,7 +91016,7 @@ paths: schema: type: boolean default: true - - *567 + - *557 responses: '200': description: Response @@ -90852,7 +91055,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -90868,8 +91071,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *304 + - *305 requestBody: description: Request body required: true @@ -90898,7 +91101,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *568 + items: *558 required: - name - enforcement @@ -90931,7 +91134,7 @@ paths: application/json: schema: *276 examples: - default: &578 + default: &568 value: id: 42 name: super cool ruleset @@ -90964,7 +91167,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -90978,12 +91181,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *314 - - *315 - - *569 - - *570 - - *571 - - *572 + - *304 + - *305 + - *559 + - *560 + - *561 + - *562 - *17 - *19 responses: @@ -90991,11 +91194,11 @@ paths: description: Response content: application/json: - schema: *573 + schema: *563 examples: - default: *574 + default: *564 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91014,19 +91217,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *314 - - *315 - - *575 + - *304 + - *305 + - *565 responses: '200': description: Response content: application/json: - schema: *576 + schema: *566 examples: - default: *577 + default: *567 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91052,8 +91255,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *304 + - *305 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91075,9 +91278,9 @@ paths: application/json: schema: *276 examples: - default: *578 + default: *568 '404': *6 - '500': *100 + '500': *97 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -91093,8 +91296,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *304 + - *305 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91128,7 +91331,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *568 + items: *558 examples: default: value: @@ -91158,9 +91361,9 @@ paths: application/json: schema: *276 examples: - default: *578 + default: *568 '404': *6 - '500': *100 + '500': *97 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -91176,8 +91379,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *304 + - *305 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91188,7 +91391,7 @@ paths: '204': description: Response '404': *6 - '500': *100 + '500': *97 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -91200,8 +91403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 - name: ruleset_id @@ -91219,9 +91422,9 @@ paths: type: array items: *279 examples: - default: *579 + default: *569 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91238,8 +91441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *314 - - *315 + - *304 + - *305 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91257,7 +91460,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *570 examples: default: value: @@ -91290,7 +91493,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91312,21 +91515,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 + - *304 + - *305 + - *571 + - *572 + - *573 + - *574 - *46 - *19 - *17 - - *581 - - *582 - - *284 - - *285 - - *286 - - *287 + - *575 + - *576 + - *577 + - *578 + - *579 + - *580 responses: '200': description: Response @@ -91334,24 +91537,24 @@ paths: application/json: schema: type: array - items: &586 + items: &584 type: object properties: - number: *52 - created_at: *53 + number: *145 + created_at: *146 updated_at: anyOf: - type: 'null' - - *54 - url: *55 - html_url: *56 + - *147 + url: *148 + html_url: *149 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *583 - resolution: *584 + state: *581 + resolution: *582 resolved_at: type: - string @@ -91445,7 +91648,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *585 + - *583 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -91568,7 +91771,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91590,16 +91793,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 + - *304 + - *305 + - *404 + - *580 responses: '200': description: Response content: application/json: - schema: *586 + schema: *584 examples: default: value: @@ -91630,7 +91833,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91651,9 +91854,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 + - *304 + - *305 + - *404 requestBody: required: true content: @@ -91661,8 +91864,8 @@ paths: schema: type: object properties: - state: *583 - resolution: *584 + state: *581 + resolution: *582 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91681,7 +91884,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *584 examples: default: value: @@ -91734,7 +91937,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91756,9 +91959,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 + - *304 + - *305 + - *404 - *19 - *17 responses: @@ -91769,7 +91972,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &739 + items: &736 type: object properties: type: @@ -91796,6 +91999,8 @@ paths: - commit details: oneOf: + - *585 + - *586 - *587 - *588 - *589 @@ -91807,8 +92012,6 @@ paths: - *595 - *596 - *597 - - *598 - - *599 examples: default: value: @@ -91868,11 +92071,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *57 + Link: *52 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91894,8 +92097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -91903,14 +92106,14 @@ paths: schema: type: object properties: - reason: &601 + reason: &599 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *600 + placeholder_id: *598 required: - reason - placeholder_id @@ -91927,7 +92130,7 @@ paths: schema: type: object properties: - reason: *601 + reason: *599 expire_at: type: - string @@ -91951,7 +92154,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91963,6 +92166,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 +92177,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 + - *304 + - *305 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *73 + '503': *98 '200': description: Response content: @@ -91987,7 +92193,7 @@ paths: properties: incremental_scans: type: array - items: &602 + items: &600 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92015,15 +92221,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *602 + items: *600 backfill_scans: type: array - items: *602 + items: *600 custom_pattern_backfill_scans: type: array items: allOf: - - *602 + - *600 - type: object properties: pattern_name: @@ -92093,8 +92299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *314 - - *315 + - *304 + - *305 - *46 - name: sort description: The property to sort the results by. @@ -92138,9 +92344,9 @@ paths: application/json: schema: type: array - items: *603 + items: *601 examples: - default: *604 + default: *602 '400': *14 '404': *6 x-github: @@ -92163,8 +92369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -92244,7 +92450,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *282 required: - login - type @@ -92334,9 +92540,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *601 examples: - default: &606 + default: &604 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92569,8 +92775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -92683,7 +92889,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *601 examples: default: value: @@ -92830,17 +93036,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 + - *304 + - *305 + - *603 responses: '200': description: Response content: application/json: - schema: *603 + schema: *601 examples: - default: *606 + default: *604 '403': *27 '404': *6 x-github: @@ -92864,9 +93070,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 + - *304 + - *305 + - *603 requestBody: required: true content: @@ -92946,7 +93152,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *282 required: - login - type @@ -93037,17 +93243,17 @@ paths: description: Response content: application/json: - schema: *603 + schema: *601 examples: - default: *606 - add_credit: *606 + default: *604 + add_credit: *604 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *105 + schema: *103 examples: invalid_state_transition: value: @@ -93078,9 +93284,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 + - *304 + - *305 + - *603 responses: '202': *37 '400': *14 @@ -93107,17 +93313,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 + - *304 + - *305 + - *603 responses: '202': description: Response content: application/json: - schema: *322 + schema: *312 examples: - default: *324 + default: *314 '400': *14 '422': *15 '403': *27 @@ -93143,8 +93349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -93218,7 +93424,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -93240,8 +93446,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93250,7 +93456,7 @@ paths: application/json: schema: type: array - items: &607 + items: &605 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93263,7 +93469,7 @@ paths: - 1124 - -435 '202': *37 - '204': *156 + '204': *159 '422': description: Repository contains more than 10,000 commits x-github: @@ -93283,8 +93489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -93335,7 +93541,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *156 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93362,8 +93568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -93435,7 +93641,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *156 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93457,8 +93663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93612,8 +93818,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 + - *304 + - *305 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93623,7 +93829,7 @@ paths: application/json: schema: type: array - items: *607 + items: *605 examples: default: value: @@ -93636,7 +93842,7 @@ paths: - - 0 - 2 - 21 - '204': *156 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93656,8 +93862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *314 - - *315 + - *304 + - *305 - name: sha in: path required: true @@ -93713,7 +93919,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *606 examples: default: value: @@ -93767,8 +93973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -93780,9 +93986,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93800,14 +94006,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &609 + schema: &607 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93880,8 +94086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -93907,7 +94113,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *607 examples: default: value: @@ -93934,8 +94140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -93955,8 +94161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -94015,7 +94221,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 +94244,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 + - *304 + - *305 responses: '200': description: Response @@ -94047,7 +94253,7 @@ paths: application/json: schema: type: array - items: &610 + items: &608 title: Tag protection description: Tag protection type: object @@ -94104,8 +94310,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 + - *304 + - *305 requestBody: required: true content: @@ -94128,7 +94334,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *608 examples: default: value: @@ -94159,8 +94365,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 + - *304 + - *305 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -94197,8 +94403,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *314 - - *315 + - *304 + - *305 - name: ref in: path required: true @@ -94234,8 +94440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -94245,11 +94451,11 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -94267,8 +94473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *314 - - *315 + - *304 + - *305 - *19 - *17 responses: @@ -94276,7 +94482,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &609 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94288,7 +94494,7 @@ paths: required: - names examples: - default: &612 + default: &610 value: names: - octocat @@ -94311,8 +94517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -94343,9 +94549,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *609 examples: - default: *612 + default: *610 '404': *6 '422': *7 x-github: @@ -94366,9 +94572,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *314 - - *315 - - &613 + - *304 + - *305 + - &611 name: per description: The time frame to display results for. in: query @@ -94399,7 +94605,7 @@ paths: - 128 clones: type: array - items: &614 + items: &612 title: Traffic type: object properties: @@ -94486,8 +94692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -94581,8 +94787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -94645,9 +94851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *314 - - *315 - - *613 + - *304 + - *305 + - *611 responses: '200': description: Response @@ -94668,7 +94874,7 @@ paths: - 3782 views: type: array - items: *614 + items: *612 required: - uniques - count @@ -94745,8 +94951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -94782,7 +94988,7 @@ paths: description: Response content: application/json: - schema: *131 + schema: *129 examples: default: value: @@ -95020,8 +95226,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 + - *304 + - *305 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -95044,8 +95250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -95067,8 +95273,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -95094,8 +95300,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *314 - - *315 + - *304 + - *305 - name: ref in: path required: true @@ -95187,9 +95393,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *312 examples: - default: *324 + default: *314 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95230,7 +95436,7 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: value: @@ -95419,7 +95625,7 @@ paths: html_url: type: string format: uri - repository: *131 + repository: *129 score: type: number file_size: @@ -95438,7 +95644,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &615 + text_matches: &613 title: Search Result Text Matches type: array items: @@ -95553,7 +95759,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *73 + '503': *98 '422': *15 '403': *27 x-github: @@ -95601,7 +95807,7 @@ paths: enum: - author-date - committer-date - - &616 + - &614 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 +95876,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *372 comment_count: type: integer message: @@ -95689,7 +95895,7 @@ paths: url: type: string format: uri - verification: *492 + verification: *482 required: - author - committer @@ -95704,7 +95910,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *372 parents: type: array items: @@ -95716,12 +95922,12 @@ paths: type: string sha: type: string - repository: *131 + repository: *129 score: type: number node_id: type: string - text_matches: *615 + text_matches: *613 required: - sha - node_id @@ -95913,7 +96119,7 @@ paths: - interactions - created - updated - - *616 + - *614 - *17 - *19 - name: advanced_search @@ -96010,11 +96216,11 @@ paths: type: - string - 'null' - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: type: string state_reason: @@ -96042,7 +96248,7 @@ paths: - string - 'null' format: date-time - text_matches: *615 + text_matches: *613 pull_request: type: object properties: @@ -96080,10 +96286,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: @@ -96096,7 +96302,7 @@ paths: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - assignee - closed_at @@ -96212,7 +96418,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *73 + '503': *98 '422': *15 '304': *35 '403': *27 @@ -96265,7 +96471,7 @@ paths: enum: - created - updated - - *616 + - *614 - *17 - *19 responses: @@ -96310,7 +96516,7 @@ paths: - 'null' score: type: number - text_matches: *615 + text_matches: *613 required: - id - node_id @@ -96395,7 +96601,7 @@ paths: - forks - help-wanted-issues - updated - - *616 + - *614 - *17 - *19 responses: @@ -96614,7 +96820,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 permissions: type: object properties: @@ -96632,7 +96838,7 @@ paths: - admin - pull - push - text_matches: *615 + text_matches: *613 temp_clone_token: type: string allow_merge_commit: @@ -96835,7 +97041,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *73 + '503': *98 '422': *15 '304': *35 x-github: @@ -96940,7 +97146,7 @@ paths: - string - 'null' format: uri - text_matches: *615 + text_matches: *613 related: type: - array @@ -97133,7 +97339,7 @@ paths: - followers - repositories - joined - - *616 + - *614 - *17 - *19 responses: @@ -97243,7 +97449,7 @@ paths: type: - boolean - 'null' - text_matches: *615 + text_matches: *613 blog: type: - string @@ -97305,7 +97511,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *73 + '503': *98 '422': *15 x-github: githubCloudOnly: false @@ -97325,7 +97531,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &620 + - &618 name: team_id description: The unique identifier of the team. in: path @@ -97337,9 +97543,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '404': *6 x-github: githubCloudOnly: false @@ -97366,7 +97572,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *620 + - *618 requestBody: required: true content: @@ -97430,16 +97636,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '201': description: Response content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '404': *6 '422': *15 '403': *27 @@ -97467,7 +97673,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *620 + - *618 responses: '204': description: Response @@ -97498,7 +97704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *620 + - *618 - *46 - *17 - *19 @@ -97509,11 +97715,11 @@ paths: application/json: schema: type: array - items: *301 + items: *291 examples: - default: *621 + default: *619 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97540,7 +97746,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *620 + - *618 requestBody: required: true content: @@ -97574,9 +97780,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: *302 + default: *292 x-github: triggersNotification: true githubCloudOnly: false @@ -97603,16 +97809,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *620 - - *303 + - *618 + - *293 responses: '200': description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: *302 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97637,8 +97843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *620 - - *303 + - *618 + - *293 requestBody: required: false content: @@ -97661,9 +97867,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: *622 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97688,8 +97894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *620 - - *303 + - *618 + - *293 responses: '204': description: Response @@ -97718,8 +97924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *620 - - *303 + - *618 + - *293 - *46 - *17 - *19 @@ -97730,11 +97936,11 @@ paths: application/json: schema: type: array - items: *304 + items: *294 examples: - default: *623 + default: *621 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97761,8 +97967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *620 - - *303 + - *618 + - *293 requestBody: required: true content: @@ -97784,9 +97990,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: *305 + default: *295 x-github: triggersNotification: true githubCloudOnly: false @@ -97813,17 +98019,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *618 + - *293 + - *296 responses: '200': description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: *305 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97848,9 +98054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *618 + - *293 + - *296 requestBody: required: true content: @@ -97872,9 +98078,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: *624 + default: *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97899,9 +98105,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *618 + - *293 + - *296 responses: '204': description: Response @@ -97930,9 +98136,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 + - *618 + - *293 + - *296 - 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 +98164,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97989,9 +98195,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 + - *618 + - *293 + - *296 requestBody: required: true content: @@ -98023,9 +98229,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98051,8 +98257,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *620 - - *303 + - *618 + - *293 - 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 +98284,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98109,8 +98315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *620 - - *303 + - *618 + - *293 requestBody: required: true content: @@ -98142,9 +98348,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98168,7 +98374,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *620 + - *618 - *17 - *19 responses: @@ -98182,7 +98388,7 @@ paths: examples: default: *197 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98206,7 +98412,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *620 + - *618 - name: role description: Filters members returned by their role in the team. in: query @@ -98229,9 +98435,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98257,8 +98463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *620 - - *62 + - *618 + - *57 responses: '204': description: if user is a member @@ -98294,8 +98500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *620 - - *62 + - *618 + - *57 responses: '204': description: Response @@ -98334,8 +98540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *620 - - *62 + - *618 + - *57 responses: '204': description: Response @@ -98371,16 +98577,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *618 + - *57 responses: '200': description: Response content: application/json: - schema: *311 + schema: *301 examples: - response-if-user-is-a-team-maintainer: *625 + response-if-user-is-a-team-maintainer: *623 '404': *6 x-github: githubCloudOnly: false @@ -98413,8 +98619,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 + - *618 + - *57 requestBody: required: false content: @@ -98439,9 +98645,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *301 examples: - response-if-users-membership-with-team-is-now-pending: *626 + response-if-users-membership-with-team-is-now-pending: *624 '403': description: Forbidden if team synchronization is set up '422': @@ -98475,8 +98681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *618 + - *57 responses: '204': description: Response @@ -98504,7 +98710,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *620 + - *618 - *17 - *19 responses: @@ -98514,11 +98720,11 @@ paths: application/json: schema: type: array - items: *312 + items: *302 examples: - default: *627 + default: *625 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98542,16 +98748,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *620 - - *313 + - *618 + - *303 responses: '200': description: Response content: application/json: - schema: *312 + schema: *302 examples: - default: *628 + default: *626 '404': description: Not Found if project is not managed by this team x-github: @@ -98575,8 +98781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *620 - - *313 + - *618 + - *303 requestBody: required: false content: @@ -98643,8 +98849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *620 - - *313 + - *618 + - *303 responses: '204': description: Response @@ -98671,7 +98877,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *620 + - *618 - *17 - *19 responses: @@ -98681,11 +98887,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98713,15 +98919,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 + - *618 + - *304 + - *305 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *629 + schema: *627 examples: alternative-response-with-extra-repository-information: value: @@ -98872,9 +99078,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 + - *618 + - *304 + - *305 requestBody: required: false content: @@ -98924,9 +99130,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 + - *618 + - *304 + - *305 responses: '204': description: Response @@ -98951,7 +99157,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *620 + - *618 - *17 - *19 responses: @@ -98961,11 +99167,11 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: - response-if-child-teams-exist: *630 + response-if-child-teams-exist: *628 headers: - Link: *57 + Link: *52 '404': *6 '403': *27 '422': *15 @@ -98996,7 +99202,7 @@ paths: application/json: schema: oneOf: - - &632 + - &630 title: Private User description: Private User type: object @@ -99246,7 +99452,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *631 + - *629 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99406,7 +99612,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *630 examples: default: value: @@ -99485,7 +99691,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '304': *35 '404': *6 '403': *27 @@ -99508,7 +99714,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 +99742,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 +99766,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -99613,7 +99819,7 @@ paths: examples: default: *205 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -99752,7 +99958,7 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -99760,11 +99966,11 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99804,7 +100010,7 @@ paths: type: integer secrets: type: array - items: &633 + items: &631 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99846,9 +100052,9 @@ paths: - visibility - selected_repositories_url examples: - default: *436 + default: *426 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99918,13 +100124,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *139 + - *137 responses: '200': description: Response content: application/json: - schema: *633 + schema: *631 examples: default: value: @@ -99954,7 +100160,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 + - *137 requestBody: required: true content: @@ -99999,7 +100205,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -100027,7 +100233,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *139 + - *137 responses: '204': description: Response @@ -100052,7 +100258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *139 + - *137 responses: '200': description: Response @@ -100068,13 +100274,13 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: *634 + default: *632 '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100095,7 +100301,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *139 + - *137 requestBody: required: true content: @@ -100127,7 +100333,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100149,7 +100355,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *139 + - *137 - name: repository_id in: path required: true @@ -100161,7 +100367,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100182,7 +100388,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *139 + - *137 - name: repository_id in: path required: true @@ -100194,7 +100400,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100222,9 +100428,9 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100280,7 +100486,7 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '401': *23 '403': *27 '404': *6 @@ -100306,7 +100512,7 @@ paths: responses: '202': *37 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100337,7 +100543,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &633 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100390,7 +100596,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &636 + default: &634 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100398,7 +100604,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100435,9 +100641,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *633 examples: - default: *636 + default: *634 '404': *6 x-github: githubCloudOnly: false @@ -100474,11 +100680,11 @@ paths: type: integer machines: type: array - items: *435 + items: *425 examples: - default: *637 + default: *635 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100561,11 +100767,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *322 + repository: *312 machine: anyOf: - type: 'null' - - *435 + - *425 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -101370,9 +101576,9 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '304': *35 - '500': *100 + '500': *97 '400': *14 '401': *23 '402': @@ -101410,8 +101616,8 @@ paths: application/json: schema: *204 examples: - default: *434 - '500': *100 + default: *424 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -101442,7 +101648,7 @@ paths: type: array items: *216 examples: - default: &649 + default: &646 value: - id: 197 name: hello_docker @@ -101543,7 +101749,7 @@ paths: application/json: schema: type: array - items: &638 + items: &636 title: Email description: Email type: object @@ -101613,16 +101819,16 @@ paths: application/json: schema: type: array - items: *638 + items: *636 examples: - default: &651 + default: &648 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -101692,7 +101898,7 @@ paths: application/json: schema: type: array - items: *638 + items: *636 examples: default: value: @@ -101804,9 +102010,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -101837,9 +102043,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -101859,7 +102065,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 +102095,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 +102120,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 +102156,7 @@ paths: application/json: schema: type: array - items: &639 + items: &637 title: GPG Key description: A unique encryption key type: object @@ -102095,7 +102301,7 @@ paths: - subkeys - revoked examples: - default: &665 + default: &662 value: - id: 3 name: Octocat's GPG Key @@ -102127,7 +102333,7 @@ paths: revoked: false raw_key: string headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -102180,9 +102386,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *637 examples: - default: &640 + default: &638 value: id: 3 name: Octocat's GPG Key @@ -102239,7 +102445,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 + - &639 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102251,9 +102457,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *637 examples: - default: *640 + default: *638 '404': *6 '304': *35 '403': *27 @@ -102276,7 +102482,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 + - *639 responses: '204': description: Response @@ -102419,7 +102625,7 @@ paths: suspended_at: suspended_by: headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -102465,11 +102671,11 @@ paths: type: string repositories: type: array - items: *66 + items: *64 examples: - default: *123 + default: *121 headers: - Link: *57 + Link: *52 '404': *6 '403': *27 '304': *35 @@ -102492,7 +102698,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *120 + - *118 responses: '204': description: Response @@ -102518,7 +102724,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *120 + - *118 responses: '204': description: Response @@ -102581,7 +102787,7 @@ paths: required: true content: application/json: - schema: *503 + schema: *493 examples: default: value: @@ -102686,7 +102892,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -102696,11 +102902,11 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: default: *203 headers: - Link: *57 + Link: *52 '404': *6 '304': *35 x-github: @@ -102731,7 +102937,7 @@ paths: application/json: schema: type: array - items: &642 + items: &640 title: Key description: Key type: object @@ -102783,7 +102989,7 @@ paths: verified: false read_only: false headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -102834,9 +103040,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *640 examples: - default: &643 + default: &641 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102869,15 +103075,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 + - *519 responses: '200': description: Response content: application/json: - schema: *642 + schema: *640 examples: - default: *643 + default: *641 '404': *6 '304': *35 '403': *27 @@ -102900,7 +103106,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 + - *519 responses: '204': description: Response @@ -102933,7 +103139,7 @@ paths: application/json: schema: type: array - items: &644 + items: &642 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103001,7 +103207,7 @@ paths: - id - type - login - plan: *86 + plan: *83 required: - billing_cycle - next_billing_date @@ -103012,7 +103218,7 @@ paths: - account - plan examples: - default: &645 + default: &643 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103045,7 +103251,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '304': *35 '401': *23 '404': *6 @@ -103074,11 +103280,11 @@ paths: application/json: schema: type: array - items: *644 + items: *642 examples: - default: *645 + default: *643 headers: - Link: *57 + Link: *52 '304': *35 '401': *23 x-github: @@ -103193,7 +103399,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -103218,7 +103424,7 @@ 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 @@ -103282,7 +103488,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: @@ -103528,7 +103734,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 @@ -104080,7 +104286,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *211 - - *646 + - *644 responses: '204': description: Response @@ -104114,11 +104320,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -104151,11 +104357,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 +104401,7 @@ paths: - docker - nuget - container - - *648 + - *645 - *19 - *17 responses: @@ -104207,8 +104413,8 @@ paths: type: array items: *216 examples: - default: *649 - '400': *650 + default: *646 + '400': *647 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104237,7 +104443,7 @@ paths: application/json: schema: *216 examples: - default: &666 + default: &663 value: id: 40201 name: octo-name @@ -104692,11 +104898,11 @@ paths: application/json: schema: type: array - items: *638 + items: *636 examples: - default: *651 + default: *648 headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -104805,9 +105011,9 @@ paths: application/json: schema: type: array - items: *66 + items: *64 examples: - default: &658 + default: &655 summary: Default response value: - id: 1296269 @@ -104928,7 +105134,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '403': *27 @@ -105125,9 +105331,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *312 examples: - default: *324 + default: *314 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105165,11 +105371,11 @@ paths: application/json: schema: type: array - items: *505 + items: *495 examples: - default: *652 + default: *649 headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105246,7 +105452,7 @@ paths: application/json: schema: type: array - items: &653 + items: &650 title: Social account description: Social media account type: object @@ -105263,12 +105469,12 @@ paths: - provider - url examples: - default: &654 + default: &651 value: - provider: twitter url: https://twitter.com/github headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105326,9 +105532,9 @@ paths: application/json: schema: type: array - items: *653 + items: *650 examples: - default: *654 + default: *651 '422': *15 '304': *35 '404': *6 @@ -105416,7 +105622,7 @@ paths: application/json: schema: type: array - items: &655 + items: &652 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105436,7 +105642,7 @@ paths: - title - created_at examples: - default: &680 + default: &677 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105449,7 +105655,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 +105709,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *652 examples: - default: &656 + default: &653 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105536,7 +105742,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 + - &654 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105548,9 +105754,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *652 examples: - default: *656 + default: *653 '404': *6 '304': *35 '403': *27 @@ -105573,7 +105779,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 + - *654 responses: '204': description: Response @@ -105602,7 +105808,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &681 + - &678 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 +105831,13 @@ paths: application/json: schema: type: array - items: *66 + items: *64 examples: - default-response: *658 + default-response: *655 application/vnd.github.v3.star+json: schema: type: array - items: &682 + items: &679 title: Starred Repository description: Starred Repository type: object @@ -105639,7 +105845,7 @@ paths: starred_at: type: string format: date-time - repo: *66 + repo: *64 required: - starred_at - repo @@ -105767,7 +105973,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -105787,8 +105993,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 + - *304 + - *305 responses: '204': description: Response if this repository is starred by you @@ -105816,8 +106022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -105841,8 +106047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -105875,11 +106081,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -105914,7 +106120,7 @@ paths: application/json: schema: type: array - items: *299 + items: *289 examples: default: value: @@ -105965,7 +106171,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105992,7 +106198,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 +106206,10 @@ paths: application/json: schema: oneOf: - - *632 - - *631 + - *630 + - *629 examples: - default-response: &660 + default-response: &657 summary: Default response value: login: octocat @@ -106038,7 +106244,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: &658 summary: Response with GitHub plan information value: login: octocat @@ -106098,7 +106304,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *659 + - *656 - *17 responses: '200': @@ -106109,7 +106315,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: Link: example: ; rel="next" @@ -106139,7 +106345,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 +106353,11 @@ paths: application/json: schema: oneOf: - - *632 - - *631 + - *630 + - *629 examples: - default-response: *660 - response-with-git-hub-plan-information: *661 + default-response: *657 + response-with-git-hub-plan-information: *658 '404': *6 x-github: githubCloudOnly: false @@ -106177,7 +106383,7 @@ paths: - *17 - *38 - *39 - - *62 + - *57 requestBody: required: true content: @@ -106200,8 +106406,8 @@ paths: required: - subject_digests examples: - default: *662 - withPredicateType: *663 + default: *659 + withPredicateType: *660 responses: '200': description: Response @@ -106255,7 +106461,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *664 + default: *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106273,7 +106479,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 +106544,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 +106575,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 +106613,7 @@ paths: - *17 - *38 - *39 - - *62 + - *57 - name: subject_digest description: Subject Digest in: path @@ -106459,12 +106665,12 @@ paths: initiator: type: string examples: - default: *378 + default: *368 '201': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -106490,7 +106696,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 @@ -106500,7 +106706,7 @@ paths: type: array items: *216 examples: - default: *649 + default: *646 '403': *27 '401': *23 x-github: @@ -106523,7 +106729,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 +106739,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106595,8 +106801,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 +106812,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106683,7 +106889,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 +106899,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106751,7 +106957,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 +106969,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106782,7 +106988,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 +107000,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106813,7 +107019,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 +107046,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 +107057,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 +107080,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 +107090,11 @@ paths: application/json: schema: type: array - items: *639 + items: *637 examples: - default: *665 + default: *662 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106910,7 +107116,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 +107188,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 +107196,7 @@ paths: application/json: schema: *20 examples: - default: *502 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107008,7 +107214,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 +107250,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107064,7 +107270,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 +107280,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 +107321,8 @@ paths: - docker - nuget - container - - *648 - - *62 + - *645 + - *57 - *19 - *17 responses: @@ -107128,10 +107334,10 @@ paths: type: array items: *216 examples: - default: *649 + default: *646 '403': *27 '401': *23 - '400': *650 + '400': *647 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107153,7 +107359,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 responses: '200': description: Response @@ -107161,7 +107367,7 @@ paths: application/json: schema: *216 examples: - default: *666 + default: *663 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107184,7 +107390,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 responses: '204': description: Response @@ -107218,7 +107424,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 - name: token description: package token schema: @@ -107252,7 +107458,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 responses: '200': description: Response @@ -107321,7 +107527,7 @@ paths: - *218 - *219 - *221 - - *62 + - *57 responses: '200': description: Response @@ -107364,7 +107570,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 - *221 responses: '204': @@ -107399,7 +107605,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 - *221 responses: '204': @@ -107426,7 +107632,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 @@ -107483,7 +107689,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 +107711,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 @@ -107526,7 +107732,7 @@ paths: examples: default: *234 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107547,7 +107753,7 @@ paths: url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - *235 - - *62 + - *57 responses: '200': description: Response @@ -107557,7 +107763,7 @@ paths: examples: default: *234 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107578,7 +107784,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - *235 - - *62 + - *57 - *17 - *38 - *39 @@ -107593,7 +107799,7 @@ paths: examples: default: *237 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107614,8 +107820,8 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *235 - - *667 - - *62 + - *664 + - *57 responses: '200': description: Response @@ -107625,7 +107831,7 @@ paths: examples: default: *237 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107647,7 +107853,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - *235 - - *62 + - *57 - *38 - *39 - *17 @@ -107659,17 +107865,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 @@ -107681,7 +107889,7 @@ paths: examples: default: *243 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107700,7 +107908,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *62 + - *57 - *235 requestBody: required: true @@ -107738,7 +107946,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *665 examples: issue: *241 pull_request: *241 @@ -107762,20 +107970,22 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *235 - - *62 + - *57 - *244 - 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 @@ -107785,7 +107995,7 @@ paths: examples: default: *243 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107805,7 +108015,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - *235 - - *62 + - *57 - *244 requestBody: required: true @@ -107906,7 +108116,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - *235 - - *62 + - *57 - *244 responses: '204': @@ -107934,7 +108144,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 +108154,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -108009,7 +108219,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 +108229,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -108082,7 +108292,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 +108335,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108151,15 +108361,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: *666 examples: - default: *670 + default: *667 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108181,15 +108391,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: *668 examples: - default: *672 + default: *669 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108198,7 +108408,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 +108419,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user parameters: - - *62 - - *101 - - *673 - - *102 - - *674 - - *675 + - *57 + - *99 + - *670 + - *100 + - *671 + - *672 responses: '200': description: Response when getting a billing premium request usage report @@ -108264,19 +108477,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 +108531,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108341,15 +108554,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: *673 examples: - default: *677 + default: *674 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108369,11 +108582,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *62 - - *101 - - *678 - - *102 - - *679 + - *57 + - *99 + - *675 + - *100 + - *676 responses: '200': description: Response when getting a billing usage report @@ -108443,8 +108656,8 @@ paths: repositoryName: user/example '400': *14 '403': *27 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108462,7 +108675,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 +108685,11 @@ paths: application/json: schema: type: array - items: *653 + items: *650 examples: - default: *654 + default: *651 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108494,7 +108707,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 +108717,11 @@ paths: application/json: schema: type: array - items: *655 + items: *652 examples: - default: *680 + default: *677 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108530,8 +108743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *62 - - *681 + - *57 + - *678 - *46 - *17 - *19 @@ -108543,13 +108756,13 @@ paths: schema: anyOf: - type: array - items: *682 + items: *679 - type: array - items: *66 + items: *64 examples: - default-response: *658 + default-response: *655 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108566,7 +108779,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 +108789,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108707,7 +108920,7 @@ webhooks: type: string enum: - disabled - enterprise: &683 + enterprise: &680 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108776,7 +108989,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &684 + installation: &681 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108797,7 +109010,7 @@ webhooks: required: - id - node_id - organization: &685 + organization: &682 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108870,7 +109083,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &686 + repository: &683 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -108899,7 +109112,7 @@ webhooks: license: anyOf: - type: 'null' - - *71 + - *69 organization: anyOf: - type: 'null' @@ -109783,10 +109996,10 @@ webhooks: type: string enum: - enabled - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -109862,11 +110075,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: &687 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + rule: &684 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 +110302,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: *687 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + rule: *684 sender: *4 required: - action @@ -110281,11 +110494,11 @@ webhooks: - everyone required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: *687 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + rule: *684 sender: *4 required: - action @@ -110369,7 +110582,7 @@ webhooks: type: string enum: - completed - check_run: &689 + check_run: &686 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110434,8 +110647,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *72 - repository: *131 + items: *70 + repository: *129 status: type: string enum: @@ -110479,7 +110692,7 @@ webhooks: - examples: - neutral - deployment: *688 + deployment: *685 details_url: type: string examples: @@ -110539,7 +110752,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *72 + items: *70 started_at: type: string format: date-time @@ -110577,10 +110790,10 @@ webhooks: - output - app - pull_requests - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + installation: *681 + enterprise: *680 + organization: *682 + repository: *683 sender: *4 required: - check_run @@ -110973,11 +111186,11 @@ webhooks: type: string enum: - created - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *686 + installation: *681 + enterprise: *680 + organization: *682 + repository: *683 sender: *4 required: - check_run @@ -111373,11 +111586,11 @@ webhooks: type: string enum: - requested_action - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *686 + installation: *681 + enterprise: *680 + organization: *682 + repository: *683 requested_action: description: The action requested by the user. type: object @@ -111782,11 +111995,11 @@ webhooks: type: string enum: - rerequested - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *686 + installation: *681 + enterprise: *680 + organization: *682 + repository: *683 sender: *4 required: - check_run @@ -112778,10 +112991,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -113466,10 +113679,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -114148,10 +114361,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -114320,7 +114533,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *399 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114472,20 +114685,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &690 + commit_oid: &687 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: *680 + installation: *681 + organization: *682 + ref: &688 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: *683 sender: *4 required: - action @@ -114652,7 +114865,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *399 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114893,12 +115106,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *687 + enterprise: *680 + installation: *681 + organization: *682 + ref: *688 + repository: *683 sender: *4 required: - action @@ -114996,7 +115209,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *399 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 +115394,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *687 + enterprise: *680 + installation: *681 + organization: *682 + ref: *688 + repository: *683 sender: *4 required: - action @@ -115355,7 +115568,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *399 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115532,12 +115745,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *687 + enterprise: *680 + installation: *681 + organization: *682 + ref: *688 + repository: *683 sender: *4 required: - action @@ -115640,7 +115853,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *409 + dismissed_comment: *399 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 +116033,9 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 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 +116043,7 @@ webhooks: type: - string - 'null' - repository: *686 + repository: *683 sender: *4 required: - action @@ -115929,7 +116142,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *399 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 +116289,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *687 + enterprise: *680 + installation: *681 + organization: *682 + ref: *688 + repository: *683 sender: *4 required: - action @@ -116343,10 +116556,10 @@ webhooks: - updated_at - author_association - body - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -116427,18 +116640,18 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *685 - pusher_type: &692 + organization: *682 + pusher_type: &689 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &693 + ref: &690 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116448,7 +116661,7 @@ webhooks: enum: - tag - branch - repository: *686 + repository: *683 sender: *4 required: - ref @@ -116531,9 +116744,9 @@ webhooks: enum: - created definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 sender: *4 required: - action @@ -116618,9 +116831,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 sender: *4 required: - action @@ -116698,9 +116911,9 @@ webhooks: enum: - promote_to_enterprise definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 sender: *4 required: - action @@ -116778,9 +116991,9 @@ webhooks: enum: - updated definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 sender: *4 required: - action @@ -116857,10 +117070,10 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - repository: *686 - organization: *685 + enterprise: *680 + installation: *681 + repository: *683 + organization: *682 sender: *4 new_property_values: type: array @@ -116945,18 +117158,18 @@ webhooks: title: delete event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - pusher_type: *692 - ref: *693 + enterprise: *680 + installation: *681 + organization: *682 + pusher_type: *689 + ref: *690 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *686 + repository: *683 sender: *4 required: - ref @@ -117040,11 +117253,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117128,11 +117341,11 @@ webhooks: type: string enum: - auto_reopened - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117216,11 +117429,11 @@ webhooks: type: string enum: - created - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117302,11 +117515,11 @@ webhooks: type: string enum: - dismissed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117388,11 +117601,11 @@ webhooks: type: string enum: - fixed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117475,11 +117688,11 @@ webhooks: type: string enum: - reintroduced - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117561,11 +117774,11 @@ webhooks: type: string enum: - reopened - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117642,9 +117855,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - key: &694 + enterprise: *680 + installation: *681 + key: &691 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117682,8 +117895,8 @@ webhooks: - verified - created_at - read_only - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -117760,11 +117973,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - key: *694 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + key: *691 + organization: *682 + repository: *683 sender: *4 required: - action @@ -118336,12 +118549,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - workflow: &698 + workflow: &695 title: Workflow type: - object @@ -119079,13 +119292,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *467 + deployment: *457 pull_requests: type: array - items: *547 - repository: *686 - organization: *685 - installation: *684 + items: *537 + repository: *683 + organization: *682 + installation: *681 sender: *4 responses: '200': @@ -119156,7 +119369,7 @@ webhooks: type: string enum: - approved - approver: &695 + approver: &692 type: object properties: avatar_url: @@ -119199,11 +119412,11 @@ webhooks: type: string comment: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - reviewers: &696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + reviewers: &693 type: array items: type: object @@ -119284,7 +119497,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &697 + workflow_job_run: &694 type: object properties: conclusion: @@ -120030,18 +120243,18 @@ webhooks: type: string enum: - rejected - approver: *695 + approver: *692 comment: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - reviewers: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + reviewers: *693 sender: *4 since: type: string - workflow_job_run: *697 + workflow_job_run: *694 workflow_job_runs: type: array items: @@ -120758,13 +120971,13 @@ webhooks: type: string enum: - requested - enterprise: *683 + enterprise: *680 environment: type: string - installation: *684 - organization: *685 - repository: *686 - requestor: &703 + installation: *681 + organization: *682 + repository: *683 + requestor: &700 title: User type: - object @@ -122707,12 +122920,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - workflow: *698 + workflow: *695 workflow_run: title: Deployment Workflow Run type: @@ -123403,7 +123616,7 @@ webhooks: type: string enum: - answered - answer: &701 + answer: &698 type: object properties: author_association: @@ -123563,11 +123776,11 @@ webhooks: - created_at - updated_at - body - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -123694,11 +123907,11 @@ webhooks: - from required: - category - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -123781,11 +123994,11 @@ webhooks: type: string enum: - closed - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -123867,7 +124080,7 @@ webhooks: type: string enum: - created - comment: &700 + comment: &697 type: object properties: author_association: @@ -124027,11 +124240,11 @@ webhooks: - updated_at - body - reactions - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124114,12 +124327,12 @@ webhooks: type: string enum: - deleted - comment: *700 - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + comment: *697 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124214,12 +124427,12 @@ webhooks: - from required: - body - comment: *700 - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + comment: *697 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124303,11 +124516,11 @@ webhooks: type: string enum: - created - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124389,11 +124602,11 @@ webhooks: type: string enum: - deleted - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124493,11 +124706,11 @@ webhooks: type: string required: - from - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124579,10 +124792,10 @@ webhooks: type: string enum: - labeled - discussion: *699 - enterprise: *683 - installation: *684 - label: &702 + discussion: *696 + enterprise: *680 + installation: *681 + label: &699 title: Label type: object properties: @@ -124615,8 +124828,8 @@ webhooks: - color - default - description - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124699,11 +124912,11 @@ webhooks: type: string enum: - locked - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124785,11 +124998,11 @@ webhooks: type: string enum: - pinned - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124871,11 +125084,11 @@ webhooks: type: string enum: - reopened - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124960,16 +125173,16 @@ webhooks: changes: type: object properties: - new_discussion: *699 - new_repository: *686 + new_discussion: *696 + new_repository: *683 required: - new_discussion - new_repository - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -125052,10 +125265,10 @@ webhooks: type: string enum: - unanswered - discussion: *699 - old_answer: *701 - organization: *685 - repository: *686 + discussion: *696 + old_answer: *698 + organization: *682 + repository: *683 sender: *4 required: - action @@ -125137,12 +125350,12 @@ webhooks: type: string enum: - unlabeled - discussion: *699 - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -125225,11 +125438,11 @@ webhooks: type: string enum: - unlocked - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -125311,11 +125524,11 @@ webhooks: type: string enum: - unpinned - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -125388,7 +125601,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *683 + enterprise: *680 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -126066,9 +126279,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *684 - organization: *685 - repository: *686 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - forkee @@ -126214,9 +126427,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pages: description: The pages that were updated. type: array @@ -126254,7 +126467,7 @@ webhooks: - action - sha - html_url - repository: *686 + repository: *683 sender: *4 required: - pages @@ -126330,10 +126543,10 @@ webhooks: type: string enum: - created - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories: &704 + organization: *682 + repositories: &701 description: An array of repository objects that the installation can access. type: array @@ -126359,8 +126572,8 @@ webhooks: - name - full_name - private - repository: *686 - requester: *703 + repository: *683 + requester: *700 sender: *4 required: - action @@ -126435,11 +126648,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *682 + repositories: *701 + repository: *683 requester: type: - 'null' @@ -126516,11 +126729,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *682 + repositories: *701 + repository: *683 requester: type: - 'null' @@ -126597,10 +126810,10 @@ webhooks: type: string enum: - added - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories_added: &705 + organization: *682 + repositories_added: &702 description: An array of repository objects, which were added to the installation. type: array @@ -126646,15 +126859,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *686 - repository_selection: &706 + repository: *683 + repository_selection: &703 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *703 + requester: *700 sender: *4 required: - action @@ -126733,10 +126946,10 @@ webhooks: type: string enum: - removed - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories_added: *705 + organization: *682 + repositories_added: *702 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -126763,9 +126976,9 @@ webhooks: - name - full_name - private - repository: *686 - repository_selection: *706 - requester: *703 + repository: *683 + repository_selection: *703 + requester: *700 sender: *4 required: - action @@ -126844,11 +127057,11 @@ webhooks: type: string enum: - suspend - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *682 + repositories: *701 + repository: *683 requester: type: - 'null' @@ -127030,10 +127243,10 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 target_type: type: string @@ -127112,11 +127325,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *682 + repositories: *701 + repository: *683 requester: type: - 'null' @@ -127364,8 +127577,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128182,8 +128395,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128544,8 +128757,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -128625,7 +128838,7 @@ webhooks: type: string enum: - deleted - comment: &707 + comment: &704 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -128792,8 +129005,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129606,8 +129819,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129970,8 +130183,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -130051,7 +130264,7 @@ webhooks: type: string enum: - edited - changes: &731 + changes: &728 description: The changes to the comment. type: object properties: @@ -130063,9 +130276,9 @@ webhooks: type: string required: - from - comment: *707 - enterprise: *683 - installation: *684 + comment: *704 + enterprise: *680 + installation: *681 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130881,8 +131094,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131243,8 +131456,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -131328,15 +131541,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: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -131424,15 +131637,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: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -131519,15 +131732,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: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -131615,15 +131828,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: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -131708,10 +131921,10 @@ webhooks: type: string enum: - assigned - assignee: *703 - enterprise: *683 - installation: *684 - issue: &710 + assignee: *700 + enterprise: *680 + installation: *681 + issue: &707 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132523,11 +132736,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132647,8 +132860,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -132728,8 +132941,8 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133546,11 +133759,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133813,8 +134026,8 @@ webhooks: required: - state - closed_at - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -133893,8 +134106,8 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134702,11 +134915,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134825,8 +135038,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -134905,8 +135118,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135737,11 +135950,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135839,7 +136052,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &708 + milestone: &705 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135982,8 +136195,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -136082,8 +136295,8 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136895,11 +137108,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137019,9 +137232,9 @@ webhooks: - active_lock_reason - body - reactions - label: *702 - organization: *685 - repository: *686 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -137101,8 +137314,8 @@ webhooks: type: string enum: - labeled - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137913,11 +138126,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138037,9 +138250,9 @@ webhooks: - active_lock_reason - body - reactions - label: *702 - organization: *685 - repository: *686 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -138119,8 +138332,8 @@ webhooks: type: string enum: - locked - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138956,11 +139169,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139057,8 +139270,8 @@ webhooks: format: uri user_view_type: type: string - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -139137,8 +139350,8 @@ webhooks: type: string enum: - milestoned - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139968,11 +140181,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140069,9 +140282,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *708 - organization: *685 - repository: *686 + milestone: *705 + organization: *682 + repository: *683 sender: *4 required: - action @@ -140963,11 +141176,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141544,8 +141757,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142357,11 +142570,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142480,8 +142693,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -142561,9 +142774,9 @@ webhooks: type: string enum: - pinned - enterprise: *683 - installation: *684 - issue: &709 + enterprise: *680 + installation: *681 + issue: &706 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143369,11 +143582,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143492,8 +143705,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -143572,8 +143785,8 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144407,11 +144620,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144509,8 +144722,8 @@ webhooks: user_view_type: type: string type: *199 - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -145399,11 +145612,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146002,11 +146215,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *683 - installation: *684 - issue: *709 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + issue: *706 + organization: *682 + repository: *683 sender: *4 required: - action @@ -146086,12 +146299,12 @@ webhooks: type: string enum: - typed - enterprise: *683 - installation: *684 - issue: *710 + enterprise: *680 + installation: *681 + issue: *707 type: *199 - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -146172,7 +146385,7 @@ webhooks: type: string enum: - unassigned - assignee: &734 + assignee: &731 title: User type: - object @@ -146244,11 +146457,11 @@ webhooks: required: - login - id - enterprise: *683 - installation: *684 - issue: *710 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + issue: *707 + organization: *682 + repository: *683 sender: *4 required: - action @@ -146327,12 +146540,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *683 - installation: *684 - issue: *710 - label: *702 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + issue: *707 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -146412,8 +146625,8 @@ webhooks: type: string enum: - unlocked - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147247,11 +147460,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147348,8 +147561,8 @@ webhooks: format: uri user_view_type: type: string - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147429,11 +147642,11 @@ webhooks: type: string enum: - unpinned - enterprise: *683 - installation: *684 - issue: *709 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + issue: *706 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147512,12 +147725,12 @@ webhooks: type: string enum: - untyped - enterprise: *683 - installation: *684 - issue: *710 + enterprise: *680 + installation: *681 + issue: *707 type: *199 - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147597,11 +147810,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147679,11 +147892,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147793,11 +148006,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147879,9 +148092,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: &711 + enterprise: *680 + installation: *681 + marketplace_purchase: &708 title: Marketplace Purchase type: object required: @@ -147969,8 +148182,8 @@ webhooks: type: integer unit_count: type: integer - organization: *685 - previous_marketplace_purchase: &712 + organization: *682 + previous_marketplace_purchase: &709 title: Marketplace Purchase type: object properties: @@ -148054,7 +148267,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *683 sender: *4 required: - action @@ -148134,10 +148347,10 @@ webhooks: - changed effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 + enterprise: *680 + installation: *681 + marketplace_purchase: *708 + organization: *682 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148225,7 +148438,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *683 sender: *4 required: - action @@ -148307,10 +148520,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 + enterprise: *680 + installation: *681 + marketplace_purchase: *708 + organization: *682 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148396,7 +148609,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *683 sender: *4 required: - action @@ -148477,8 +148690,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 marketplace_purchase: title: Marketplace Purchase type: object @@ -148564,9 +148777,9 @@ webhooks: type: integer unit_count: type: integer - organization: *685 - previous_marketplace_purchase: *712 - repository: *686 + organization: *682 + previous_marketplace_purchase: *709 + repository: *683 sender: *4 required: - action @@ -148646,12 +148859,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 - previous_marketplace_purchase: *712 - repository: *686 + enterprise: *680 + installation: *681 + marketplace_purchase: *708 + organization: *682 + previous_marketplace_purchase: *709 + repository: *683 sender: *4 required: - action @@ -148753,11 +148966,11 @@ webhooks: type: string required: - to - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + member: *700 + organization: *682 + repository: *683 sender: *4 required: - action @@ -148859,11 +149072,11 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + member: *700 + organization: *682 + repository: *683 sender: *4 required: - action @@ -148942,11 +149155,11 @@ webhooks: type: string enum: - removed - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + member: *700 + organization: *682 + repository: *683 sender: *4 required: - action @@ -149024,11 +149237,11 @@ webhooks: type: string enum: - added - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + member: *700 + organization: *682 + repository: *683 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149106,7 +149319,7 @@ webhooks: required: - login - id - team: &713 + team: &710 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149336,11 +149549,11 @@ webhooks: type: string enum: - removed - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + member: *700 + organization: *682 + repository: *683 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149419,7 +149632,7 @@ webhooks: required: - login - id - team: *713 + team: *710 required: - action - scope @@ -149501,8 +149714,8 @@ webhooks: type: string enum: - checks_requested - installation: *684 - merge_group: &714 + installation: *681 + merge_group: &711 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149521,15 +149734,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *398 + head_commit: *388 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -149615,10 +149828,10 @@ webhooks: - merged - invalidated - dequeued - installation: *684 - merge_group: *714 - organization: *685 - repository: *686 + installation: *681 + merge_group: *711 + organization: *682 + repository: *683 sender: *4 required: - action @@ -149691,7 +149904,7 @@ webhooks: type: string enum: - deleted - enterprise: *683 + enterprise: *680 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -149800,12 +150013,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *684 - organization: *685 + installation: *681 + organization: *682 repository: anyOf: - type: 'null' - - *686 + - *683 sender: *4 required: - action @@ -149885,11 +150098,11 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + milestone: *705 + organization: *682 + repository: *683 sender: *4 required: - action @@ -149968,9 +150181,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - milestone: &715 + enterprise: *680 + installation: *681 + milestone: &712 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150112,8 +150325,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150192,11 +150405,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + milestone: *705 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150306,11 +150519,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + milestone: *705 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150390,11 +150603,11 @@ webhooks: type: string enum: - opened - enterprise: *683 - installation: *684 - milestone: *715 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + milestone: *712 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150473,11 +150686,11 @@ webhooks: type: string enum: - blocked - blocked_user: *703 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + blocked_user: *700 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150556,11 +150769,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *703 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + blocked_user: *700 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150639,9 +150852,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - membership: &716 + enterprise: *680 + installation: *681 + membership: &713 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150751,8 +150964,8 @@ webhooks: - role - organization_url - user - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150830,11 +151043,11 @@ webhooks: type: string enum: - member_added - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + membership: *713 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150913,8 +151126,8 @@ webhooks: type: string enum: - member_invited - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -151036,10 +151249,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 - user: *703 + user: *700 required: - action - invitation @@ -151117,11 +151330,11 @@ webhooks: type: string enum: - member_removed - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + membership: *713 + organization: *682 + repository: *683 sender: *4 required: - action @@ -151208,11 +151421,11 @@ webhooks: properties: from: type: string - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + membership: *713 + organization: *682 + repository: *683 sender: *4 required: - action @@ -151288,9 +151501,9 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 package: description: Information about the package. type: object @@ -151813,7 +152026,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &717 + items: &714 title: Ruby Gems metadata type: object properties: @@ -151910,7 +152123,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *683 sender: *4 required: - action @@ -151986,9 +152199,9 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 package: description: Information about the package. type: object @@ -152350,7 +152563,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *717 + items: *714 source_url: type: string format: uri @@ -152421,7 +152634,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *683 sender: *4 required: - action @@ -152602,12 +152815,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *683 + enterprise: *680 id: type: integer - installation: *684 - organization: *685 - repository: *686 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - id @@ -152684,7 +152897,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &718 + personal_access_token_request: &715 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -152834,10 +153047,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *683 - organization: *685 + enterprise: *680 + organization: *682 sender: *4 - installation: *684 + installation: *681 required: - action - personal_access_token_request @@ -152914,11 +153127,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *718 - enterprise: *683 - organization: *685 + personal_access_token_request: *715 + enterprise: *680 + organization: *682 sender: *4 - installation: *684 + installation: *681 required: - action - personal_access_token_request @@ -152994,11 +153207,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *718 - enterprise: *683 - organization: *685 + personal_access_token_request: *715 + enterprise: *680 + organization: *682 sender: *4 - installation: *684 + installation: *681 required: - action - personal_access_token_request @@ -153073,11 +153286,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *718 - organization: *685 - enterprise: *683 + personal_access_token_request: *715 + organization: *682 + enterprise: *680 sender: *4 - installation: *684 + installation: *681 required: - action - personal_access_token_request @@ -153182,7 +153395,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *719 + last_response: *716 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153214,8 +153427,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 zen: description: Random string of GitHub zen. @@ -153460,10 +153673,10 @@ webhooks: - from required: - note - enterprise: *683 - installation: *684 - organization: *685 - project_card: &720 + enterprise: *680 + installation: *681 + organization: *682 + project_card: &717 title: Project Card type: object properties: @@ -153586,7 +153799,7 @@ webhooks: - creator - created_at - updated_at - repository: *686 + repository: *683 sender: *4 required: - action @@ -153667,11 +153880,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project_card: *720 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project_card: *717 + repository: *683 sender: *4 required: - action @@ -153751,9 +153964,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 project_card: title: Project Card type: object @@ -153883,7 +154096,7 @@ webhooks: repository: anyOf: - type: 'null' - - *686 + - *683 sender: *4 required: - action @@ -153977,11 +154190,11 @@ webhooks: - from required: - note - enterprise: *683 - installation: *684 - organization: *685 - project_card: *720 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project_card: *717 + repository: *683 sender: *4 required: - action @@ -154075,9 +154288,9 @@ webhooks: - from required: - column_id - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 project_card: allOf: - title: Project Card @@ -154274,7 +154487,7 @@ webhooks: type: string required: - after_id - repository: *686 + repository: *683 sender: *4 required: - action @@ -154354,10 +154567,10 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - organization: *685 - project: &722 + enterprise: *680 + installation: *681 + organization: *682 + project: &719 title: Project type: object properties: @@ -154484,7 +154697,7 @@ webhooks: - creator - created_at - updated_at - repository: *686 + repository: *683 sender: *4 required: - action @@ -154564,10 +154777,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project_column: &721 + enterprise: *680 + installation: *681 + organization: *682 + project_column: &718 title: Project Column type: object properties: @@ -154607,7 +154820,7 @@ webhooks: - name - created_at - updated_at - repository: *686 + repository: *683 sender: *4 required: - action @@ -154686,14 +154899,14 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 + enterprise: *680 + installation: *681 + organization: *682 + project_column: *718 repository: anyOf: - type: 'null' - - *686 + - *683 sender: *4 required: - action @@ -154782,11 +154995,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project_column: *718 + repository: *683 sender: *4 required: - action @@ -154866,11 +155079,11 @@ webhooks: type: string enum: - moved - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project_column: *718 + repository: *683 sender: *4 required: - action @@ -154950,11 +155163,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project: *719 + repository: *683 sender: *4 required: - action @@ -155034,14 +155247,14 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - project: *722 + enterprise: *680 + installation: *681 + organization: *682 + project: *719 repository: anyOf: - type: 'null' - - *686 + - *683 sender: *4 required: - action @@ -155142,11 +155355,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project: *719 + repository: *683 sender: *4 required: - action @@ -155225,11 +155438,11 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project: *719 + repository: *683 sender: *4 required: - action @@ -155310,8 +155523,8 @@ webhooks: type: string enum: - closed - installation: *684 - organization: *685 + installation: *681 + organization: *682 projects_v2: *233 sender: *4 required: @@ -155393,8 +155606,8 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 + installation: *681 + organization: *682 projects_v2: *233 sender: *4 required: @@ -155476,8 +155689,8 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 + installation: *681 + organization: *682 projects_v2: *233 sender: *4 required: @@ -155599,8 +155812,8 @@ webhooks: type: string to: type: string - installation: *684 - organization: *685 + installation: *681 + organization: *682 projects_v2: *233 sender: *4 required: @@ -155684,7 +155897,7 @@ webhooks: type: string enum: - archived - changes: &726 + changes: &723 type: object properties: archived_at: @@ -155700,9 +155913,9 @@ webhooks: - string - 'null' format: date-time - installation: *684 - organization: *685 - projects_v2_item: &723 + installation: *681 + organization: *682 + projects_v2_item: &720 title: Projects v2 Item description: An item belonging to a project type: object @@ -155842,9 +156055,9 @@ webhooks: - 'null' to: type: string - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -155926,9 +156139,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -156009,9 +156222,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -156116,7 +156329,7 @@ webhooks: oneOf: - type: string - type: integer - - &724 + - &721 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156140,7 +156353,7 @@ webhooks: required: - id - name - - &725 + - &722 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156180,8 +156393,8 @@ webhooks: oneOf: - type: string - type: integer - - *724 - - *725 + - *721 + - *722 type: - 'null' - string @@ -156204,9 +156417,9 @@ webhooks: - 'null' required: - body - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -156303,9 +156516,9 @@ webhooks: type: - string - 'null' - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -156388,10 +156601,10 @@ webhooks: type: string enum: - restored - changes: *726 - installation: *684 - organization: *685 - projects_v2_item: *723 + changes: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -156473,8 +156686,8 @@ webhooks: type: string enum: - reopened - installation: *684 - organization: *685 + installation: *681 + organization: *682 projects_v2: *233 sender: *4 required: @@ -156556,9 +156769,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *681 + organization: *682 + projects_v2_status_update: *724 sender: *4 required: - action @@ -156639,9 +156852,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *681 + organization: *682 + projects_v2_status_update: *724 sender: *4 required: - action @@ -156787,9 +157000,9 @@ webhooks: - string - 'null' format: date - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *681 + organization: *682 + projects_v2_status_update: *724 sender: *4 required: - action @@ -156860,10 +157073,10 @@ webhooks: title: public event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - repository @@ -156940,13 +157153,13 @@ webhooks: type: string enum: - assigned - assignee: *703 - enterprise: *683 - installation: *684 - number: &728 + assignee: *700 + enterprise: *680 + installation: *681 + number: &725 description: The pull request number. type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -159295,7 +159508,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -159377,11 +159590,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -161723,7 +161936,7 @@ webhooks: - draft reason: type: string - repository: *686 + repository: *683 sender: *4 required: - action @@ -161805,11 +162018,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -164151,7 +164364,7 @@ webhooks: - draft reason: type: string - repository: *686 + repository: *683 sender: *4 required: - action @@ -164233,13 +164446,13 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: &729 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: &726 allOf: - - *547 + - *537 - type: object properties: allow_auto_merge: @@ -164301,7 +164514,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *686 + repository: *683 sender: *4 required: - action @@ -164382,12 +164595,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: *726 + repository: *683 sender: *4 required: - action @@ -164467,11 +164680,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *683 + enterprise: *680 milestone: *238 - number: *728 - organization: *685 - pull_request: &730 + number: *725 + organization: *682 + pull_request: &727 title: Pull Request type: object properties: @@ -166798,7 +167011,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -166877,11 +167090,11 @@ webhooks: type: string enum: - dequeued - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -169227,7 +169440,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *686 + repository: *683 sender: *4 required: - action @@ -169351,12 +169564,12 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: *726 + repository: *683 sender: *4 required: - action @@ -169436,11 +169649,11 @@ webhooks: type: string enum: - enqueued - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -171771,7 +171984,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -171851,11 +172064,11 @@ webhooks: type: string enum: - labeled - enterprise: *683 - installation: *684 - label: *702 - number: *728 - organization: *685 + enterprise: *680 + installation: *681 + label: *699 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -174203,7 +174416,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -174284,10 +174497,10 @@ webhooks: type: string enum: - locked - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -176633,7 +176846,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -176713,12 +176926,12 @@ webhooks: type: string enum: - milestoned - enterprise: *683 + enterprise: *680 milestone: *238 - number: *728 - organization: *685 - pull_request: *730 - repository: *686 + number: *725 + organization: *682 + pull_request: *727 + repository: *683 sender: *4 required: - action @@ -176797,12 +177010,12 @@ webhooks: type: string enum: - opened - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: *726 + repository: *683 sender: *4 required: - action @@ -176883,12 +177096,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: *726 + repository: *683 sender: *4 required: - action @@ -176968,12 +177181,12 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: *726 + repository: *683 sender: *4 required: - action @@ -177348,9 +177561,9 @@ webhooks: - start_side - side - reactions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: type: object properties: @@ -179580,7 +179793,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *683 sender: *4 required: - action @@ -179660,7 +179873,7 @@ webhooks: type: string enum: - deleted - comment: &732 + comment: &729 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 +180166,9 @@ webhooks: - start_side - side - reactions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: type: object properties: @@ -182173,7 +182386,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *683 sender: *4 required: - action @@ -182253,11 +182466,11 @@ webhooks: type: string enum: - edited - changes: *731 - comment: *732 - enterprise: *683 - installation: *684 - organization: *685 + changes: *728 + comment: *729 + enterprise: *680 + installation: *681 + organization: *682 pull_request: type: object properties: @@ -184478,7 +184691,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *683 sender: *4 required: - action @@ -184559,9 +184772,9 @@ webhooks: type: string enum: - dismissed - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: title: Simple Pull Request type: object @@ -186794,7 +187007,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *683 review: description: The review that was affected. type: object @@ -187045,9 +187258,9 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: title: Simple Pull Request type: object @@ -189161,8 +189374,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 - review: &733 + repository: *683 + review: &730 description: The review that was affected. type: object properties: @@ -189400,12 +189613,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: description: The pull request number. type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -191752,7 +191965,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 requested_reviewer: title: User type: @@ -191838,12 +192051,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: description: The pull request number. type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -194197,7 +194410,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194392,12 +194605,12 @@ webhooks: type: string enum: - review_requested - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: description: The pull request number. type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -196746,7 +196959,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 requested_reviewer: title: User type: @@ -196833,12 +197046,12 @@ webhooks: type: string enum: - review_requested - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: description: The pull request number. type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -199178,7 +199391,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199362,9 +199575,9 @@ webhooks: type: string enum: - submitted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: title: Simple Pull Request type: object @@ -201600,8 +201813,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 - review: *733 + repository: *683 + review: *730 sender: *4 required: - action @@ -201681,9 +201894,9 @@ webhooks: type: string enum: - resolved - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: title: Simple Pull Request type: object @@ -203814,7 +204027,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *683 sender: *4 thread: type: object @@ -204211,9 +204424,9 @@ webhooks: type: string enum: - unresolved - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: title: Simple Pull Request type: object @@ -206327,7 +206540,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *683 sender: *4 thread: type: object @@ -206726,10 +206939,10 @@ webhooks: type: string before: type: string - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -209064,7 +209277,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -209146,11 +209359,11 @@ webhooks: type: string enum: - unassigned - assignee: *734 - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + assignee: *731 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -211500,7 +211713,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -211579,11 +211792,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *683 - installation: *684 - label: *702 - number: *728 - organization: *685 + enterprise: *680 + installation: *681 + label: *699 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -213922,7 +214135,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -214003,10 +214216,10 @@ webhooks: type: string enum: - unlocked - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -216335,7 +216548,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -216538,7 +216751,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *683 + enterprise: *680 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216633,8 +216846,8 @@ webhooks: - url - author - committer - installation: *684 - organization: *685 + installation: *681 + organization: *682 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217222,9 +217435,9 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 registry_package: type: object properties: @@ -217701,7 +217914,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *717 + items: *714 summary: type: string tag_name: @@ -217757,7 +217970,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *683 sender: *4 required: - action @@ -217835,9 +218048,9 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 registry_package: type: object properties: @@ -218149,7 +218362,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *717 + items: *714 summary: type: string tag_name: @@ -218199,7 +218412,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *683 sender: *4 required: - action @@ -218276,10 +218489,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - release: &735 + enterprise: *680 + installation: *681 + organization: *682 + release: &732 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218610,7 +218823,7 @@ webhooks: - updated_at - zipball_url - body - repository: *686 + repository: *683 sender: *4 required: - action @@ -218687,11 +218900,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + release: *732 + repository: *683 sender: *4 required: - action @@ -218808,11 +219021,11 @@ webhooks: type: boolean required: - to - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + release: *732 + repository: *683 sender: *4 required: - action @@ -218890,9 +219103,9 @@ webhooks: type: string enum: - prereleased - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -219228,7 +219441,7 @@ webhooks: - string - 'null' format: uri - repository: *686 + repository: *683 sender: *4 required: - action @@ -219304,10 +219517,10 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - release: &736 + enterprise: *680 + installation: *681 + organization: *682 + release: &733 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219640,7 +219853,7 @@ webhooks: - string - 'null' format: uri - repository: *686 + repository: *683 sender: *4 required: - action @@ -219716,11 +219929,11 @@ webhooks: type: string enum: - released - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + release: *732 + repository: *683 sender: *4 required: - action @@ -219796,11 +220009,11 @@ webhooks: type: string enum: - unpublished - enterprise: *683 - installation: *684 - organization: *685 - release: *736 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + release: *733 + repository: *683 sender: *4 required: - action @@ -219876,11 +220089,11 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_advisory: *603 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + repository_advisory: *601 sender: *4 required: - action @@ -219956,11 +220169,11 @@ webhooks: type: string enum: - reported - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_advisory: *603 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + repository_advisory: *601 sender: *4 required: - action @@ -220036,10 +220249,10 @@ webhooks: type: string enum: - archived - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220116,10 +220329,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220197,10 +220410,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220285,10 +220498,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: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220403,10 +220616,10 @@ webhooks: - 'null' items: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220478,10 +220691,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 status: type: string @@ -220562,10 +220775,10 @@ webhooks: type: string enum: - privatized - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220642,10 +220855,10 @@ webhooks: type: string enum: - publicized - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220739,10 +220952,10 @@ webhooks: - name required: - repository - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220822,10 +221035,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 repository_ruleset: *276 sender: *4 required: @@ -220904,10 +221117,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 repository_ruleset: *276 sender: *4 required: @@ -220986,10 +221199,10 @@ webhooks: type: string enum: - edited - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 repository_ruleset: *276 changes: type: object @@ -221051,16 +221264,16 @@ webhooks: properties: added: type: array - items: *568 + items: *558 deleted: type: array - items: *568 + items: *558 updated: type: array items: type: object properties: - rule: *568 + rule: *558 changes: type: object properties: @@ -221297,10 +221510,10 @@ webhooks: - from required: - owner - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -221378,10 +221591,10 @@ webhooks: type: string enum: - unarchived - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -221459,7 +221672,7 @@ webhooks: type: string enum: - create - alert: &737 + alert: &734 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221583,10 +221796,10 @@ webhooks: type: string enum: - open - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -221796,10 +222009,10 @@ webhooks: type: string enum: - dismissed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -221877,11 +222090,11 @@ webhooks: type: string enum: - reopen - alert: *737 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *734 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222083,10 +222296,10 @@ webhooks: enum: - fixed - open - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222164,17 +222377,17 @@ webhooks: type: string enum: - created - alert: &738 + alert: &735 type: object properties: - number: *52 - created_at: *53 + number: *145 + created_at: *146 updated_at: anyOf: - type: 'null' - - *54 - url: *55 - html_url: *56 + - *147 + url: *148 + html_url: *149 locations_url: type: string format: uri @@ -222278,10 +222491,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222362,11 +222575,11 @@ webhooks: type: string enum: - created - alert: *738 - installation: *684 - location: *739 - organization: *685 - repository: *686 + alert: *735 + installation: *681 + location: *736 + organization: *682 + repository: *683 sender: *4 required: - location @@ -222604,11 +222817,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *735 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222686,11 +222899,11 @@ webhooks: type: string enum: - reopened - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *735 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222768,11 +222981,11 @@ webhooks: type: string enum: - resolved - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *735 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222850,11 +223063,11 @@ webhooks: type: string enum: - validated - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *735 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222984,10 +223197,10 @@ webhooks: - organization - enterprise - - repository: *686 - enterprise: *683 - installation: *684 - organization: *685 + repository: *683 + enterprise: *680 + installation: *681 + organization: *682 sender: *4 required: - action @@ -223065,11 +223278,11 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - security_advisory: &740 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + security_advisory: &737 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223255,11 +223468,11 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - security_advisory: *740 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + security_advisory: *737 sender: *4 required: - action @@ -223332,10 +223545,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223522,10 +223735,10 @@ webhooks: type: object properties: security_and_analysis: *250 - enterprise: *683 - installation: *684 - organization: *685 - repository: *322 + enterprise: *680 + installation: *681 + organization: *682 + repository: *312 sender: *4 required: - changes @@ -223603,12 +223816,12 @@ webhooks: type: string enum: - cancelled - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: &741 + sponsorship: &738 type: object properties: created_at: @@ -223913,12 +224126,12 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: *741 + sponsorship: *738 required: - action - sponsorship @@ -224006,12 +224219,12 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: *741 + sponsorship: *738 required: - action - changes @@ -224088,17 +224301,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &742 + effective_date: &739 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: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: *741 + sponsorship: *738 required: - action - sponsorship @@ -224172,7 +224385,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &743 + changes: &740 type: object properties: tier: @@ -224216,13 +224429,13 @@ webhooks: - from required: - tier - effective_date: *742 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + effective_date: *739 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: *741 + sponsorship: *738 required: - action - changes @@ -224299,13 +224512,13 @@ webhooks: type: string enum: - tier_changed - changes: *743 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + changes: *740 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: *741 + sponsorship: *738 required: - action - changes @@ -224379,10 +224592,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224466,10 +224679,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224903,15 +225116,15 @@ webhooks: type: - string - 'null' - enterprise: *683 + enterprise: *680 id: description: The unique identifier of the status. type: integer - installation: *684 + installation: *681 name: type: string - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 sha: description: The Commit SHA. @@ -225021,15 +225234,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: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -225113,15 +225326,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: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -225205,15 +225418,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: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -225297,15 +225510,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: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -225382,12 +225595,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - team: &744 + team: &741 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225617,9 +225830,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 repository: title: Repository description: A git repository @@ -226089,7 +226302,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *741 required: - action - team @@ -226165,9 +226378,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 repository: title: Repository description: A git repository @@ -226637,7 +226850,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *741 required: - action - team @@ -226714,9 +226927,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 repository: title: Repository description: A git repository @@ -227186,7 +227399,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *741 required: - action - team @@ -227330,9 +227543,9 @@ webhooks: - from required: - permissions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 repository: title: Repository description: A git repository @@ -227802,7 +228015,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *741 required: - action - changes @@ -227880,9 +228093,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 repository: title: Repository description: A git repository @@ -228352,7 +228565,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *741 required: - action - team @@ -228428,10 +228641,10 @@ webhooks: type: string enum: - started - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -228504,17 +228717,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *683 + enterprise: *680 inputs: type: - object - 'null' additionalProperties: true - installation: *684 - organization: *685 + installation: *681 + organization: *682 ref: type: string - repository: *686 + repository: *683 sender: *4 workflow: type: string @@ -228596,10 +228809,10 @@ webhooks: type: string enum: - completed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 workflow_job: allOf: @@ -228855,7 +229068,7 @@ webhooks: type: string required: - conclusion - deployment: *467 + deployment: *457 required: - action - repository @@ -228934,10 +229147,10 @@ webhooks: type: string enum: - in_progress - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 workflow_job: allOf: @@ -229219,7 +229432,7 @@ webhooks: required: - status - steps - deployment: *467 + deployment: *457 required: - action - repository @@ -229298,10 +229511,10 @@ webhooks: type: string enum: - queued - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 workflow_job: type: object @@ -229447,7 +229660,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *457 required: - action - repository @@ -229526,10 +229739,10 @@ webhooks: type: string enum: - waiting - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 workflow_job: type: object @@ -229676,7 +229889,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *457 required: - action - repository @@ -229756,12 +229969,12 @@ webhooks: type: string enum: - completed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - workflow: *698 + workflow: *695 workflow_run: title: Workflow Run type: object @@ -230780,12 +230993,12 @@ webhooks: type: string enum: - in_progress - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - workflow: *698 + workflow: *695 workflow_run: title: Workflow Run type: object @@ -231789,12 +232002,12 @@ webhooks: type: string enum: - requested - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - workflow: *698 + workflow: *695 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..7fc4e4305 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -172,6 +172,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -22616,29 +22620,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -24471,2163 +24452,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "in": "query", - "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "resolved" - ] - } - }, - { - "name": "secret_type", - "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "resolution", - "in": "query", - "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "sort", - "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated" - ], - "default": "created" - } - }, - { - "name": "direction", - "description": "The direction to sort the results by.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ], - "default": "desc" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "validity", - "in": "query", - "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "is_publicly_leaked", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "is_multi_repo", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "hide_secret", - "in": "query", - "description": "A boolean value representing whether or not to hide literal secrets in the results.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "number": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - }, - "created_at": { - "type": "string", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "type": "string", - "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - } - ] - }, - "url": { - "type": "string", - "description": "The REST API URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "html_url": { - "type": "string", - "description": "The GitHub URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", - "type": "string", - "enum": [ - "open", - "resolved" - ] - }, - "resolution": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "A unique identifier of the repository.", - "examples": [ - 1296269 - ] - }, - "node_id": { - "type": "string", - "description": "The GraphQL identifier of the repository.", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "type": "string", - "description": "The name of the repository.", - "examples": [ - "Hello-World" - ] - }, - "full_name": { - "type": "string", - "description": "The full, globally unique, name of the repository.", - "examples": [ - "octocat/Hello-World" - ] - }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "description": "The URL to view the repository on GitHub.com.", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The repository description.", - "examples": [ - "This your first repo!" - ] - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "description": "The URL to get more information about the repository from the GitHub API.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "description": "A template for the API URL to download the repository as an archive.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "description": "A template for the API URL to list the available assignees for issues in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "description": "A template for the API URL to get information about branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "description": "A template for the API URL to get information about collaborators of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "description": "A template for the API URL to get information about comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "description": "A template for the API URL to get information about commits on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "description": "A template for the API URL to compare two commits or refs.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "description": "A template for the API URL to get the contents of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "description": "A template for the API URL to list the contributors to the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the deployments of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the downloads on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the events of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the forks of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "description": "A template for the API URL to get information about Git commits of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "description": "A template for the API URL to get information about Git refs of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "description": "A template for the API URL to get information about Git tags of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "issue_comment_url": { - "type": "string", - "description": "A template for the API URL to get information about issue comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "description": "A template for the API URL to get information about issue events on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "description": "A template for the API URL to get information about issues on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "description": "A template for the API URL to get information about deploy keys on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "description": "A template for the API URL to get information about labels of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about the languages of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "description": "The API URL to merge branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "description": "A template for the API URL to get information about milestones of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "description": "A template for the API URL to get information about notifications on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "description": "A template for the API URL to get information about pull requests on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "description": "A template for the API URL to get information about releases on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the stargazers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "description": "A template for the API URL to get information about statuses of a commit.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the subscribers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "description": "The API URL to subscribe to notifications for this repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about tags on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the teams on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the hooks on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/hooks" - ] - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ] - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment that was optionally added when this alert was closed" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - }, - "first_location_detected": { - "anyOf": [ - { - "type": "null" - }, - { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": [ - "/example/secrets.txt" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "examples": [ - "/example/Home.md" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_title_url" - ] - }, - { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_body_url" - ] - }, - { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "issue_comment_url" - ] - }, - { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" - ] - } - }, - "required": [ - "discussion_title_url" - ] - }, - { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": [ - "discussion_body_url" - ] - }, - { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] - } - }, - "required": [ - "discussion_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_title_url" - ] - }, - { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_body_url" - ] - }, - { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - ] - } - }, - "required": [ - "pull_request_review_url" - ] - }, - { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": [ - "pull_request_review_comment_url" - ] - } - ] - } - ] - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - } - } - }, - "examples": { - "default": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true, - "assigned_to": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -26874,6 +24698,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -28376,8 +26210,904 @@ } }, { - "name": "username", - "description": "The handle for the GitHub user account.", + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "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": { @@ -28387,40 +27117,14 @@ ], "responses": { "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "description": "Successfully unassigned the enterprise team from the organization." } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "subcategory": "enterprise-team-organizations" } } }, @@ -28670,6 +27374,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -76364,7 +75078,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -76508,7 +75222,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -76516,7 +75230,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -76524,7 +75238,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -97158,6 +95872,110 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -115170,29 +113988,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -171836,17 +170631,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 +179621,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 +352130,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 +352157,6 @@ "schema": { "type": "string" } - }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } } ], "responses": { @@ -577049,7 +575819,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -739040,17 +737810,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 +746773,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 +775444,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 +775575,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 +775583,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 +775591,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 0aad05175..eaef76d89 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: &282 type: string description: The type of credit the user is receiving. enum: @@ -1038,7 +1040,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &106 + schema: &104 title: Validation Error Simple description: Validation Error Simple type: object @@ -1071,7 +1073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &605 + - &603 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1831,7 +1833,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &105 + schema: &103 title: Validation Error description: Validation Error type: object @@ -2242,7 +2244,7 @@ paths: parameters: - *17 - *19 - - &75 + - &72 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2792,7 +2794,7 @@ paths: suspended_at: suspended_by: headers: - Link: &57 + Link: &52 example: ; rel="next", ; rel="last" schema: @@ -2982,7 +2984,7 @@ paths: - selected repositories: type: array - items: &66 + items: &64 title: Repository description: A repository on GitHub. type: object @@ -3009,7 +3011,7 @@ paths: license: anyOf: - type: 'null' - - &71 + - &69 title: License Simple description: License Simple type: object @@ -5387,7 +5389,7 @@ paths: responses: '202': *37 '422': *7 - '500': &100 + '500': &97 description: Internal Error content: application/json: @@ -7717,7 +7719,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &152 + code_scanning_options: &155 type: - object - 'null' @@ -7915,7 +7917,7 @@ paths: description: Response content: application/json: - schema: &154 + schema: &157 type: array description: A list of default code security configurations items: @@ -7931,7 +7933,7 @@ paths: default configuration: *41 examples: - default: &155 + default: &158 value: - default_for_new_repos: public configuration: @@ -8262,7 +8264,7 @@ paths: - *40 - *43 responses: - '204': &156 + '204': &159 description: A header with no content is returned. '400': *14 '403': *27 @@ -8389,7 +8391,7 @@ paths: default: value: default_for_new_repos: all - configuration: &153 + configuration: &156 value: id: 1325 target_type: organization @@ -8474,7 +8476,7 @@ paths: application/json: schema: type: array - items: &157 + items: &160 type: object description: Repositories associated with a code security configuration and attachment status @@ -8819,7 +8821,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &158 + repository: &161 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8913,7 +8915,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &162 + - &164 name: state in: query description: |- @@ -8922,7 +8924,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &163 + - &165 name: severity in: query description: |- @@ -8931,7 +8933,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &164 + - &166 name: ecosystem in: query description: |- @@ -8940,14 +8942,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &165 + - &167 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 + - &168 name: epss_percentage in: query description: |- @@ -8959,7 +8961,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &458 + - &448 name: has in: query description: |- @@ -8973,7 +8975,7 @@ paths: type: string enum: - patch - - &167 + - &169 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8983,7 +8985,7 @@ paths: enum: - development - runtime - - &168 + - &170 name: sort in: query description: |- @@ -9001,31 +9003,6 @@ paths: - *46 - *38 - *39 - - &169 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &170 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - *17 responses: '200': @@ -9038,7 +9015,7 @@ paths: type: object description: A Dependabot alert. properties: - number: &52 + number: &145 type: integer description: The security alert number. readOnly: true @@ -9104,7 +9081,7 @@ paths: - direct - transitive - - security_advisory: &459 + security_advisory: &449 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9311,29 +9288,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *50 - url: &55 + url: &148 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &56 + html_url: &149 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &53 + created_at: &146 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: &147 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: &151 type: - string - 'null' @@ -9364,7 +9341,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &147 + fixed_at: &150 type: - string - 'null' @@ -9372,7 +9349,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &460 + auto_dismissed_at: &450 type: - string - 'null' @@ -9727,740 +9704,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - *40 - - &280 - name: state - in: query - description: Set to `open` or `resolved` to only list secret scanning alerts - in a specific state. - required: false - schema: - type: string - enum: - - open - - resolved - - &281 - name: secret_type - in: query - description: A comma-separated list of secret types to return. All default - secret patterns are returned. To return generic patterns, pass the token - name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" - for a complete list of secret types. - required: false - schema: - type: string - - &282 - name: resolution - in: query - description: A comma-separated list of resolutions. Only secret scanning alerts - with one of these resolutions are listed. Valid resolutions are `false_positive`, - `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. - required: false - schema: - type: string - - &283 - name: sort - description: The property to sort the results by. `created` means when the - alert was created. `updated` means when the alert was updated or resolved. - in: query - required: false - schema: - type: string - enum: - - created - - updated - default: created - - *46 - - *17 - - *38 - - *39 - - &284 - name: validity - in: query - description: A comma-separated list of validities that, when present, will - return alerts that match the validities in this list. Valid options are - `active`, `inactive`, and `unknown`. - required: false - schema: - type: string - - &285 - name: is_publicly_leaked - in: query - description: A boolean value representing whether or not to filter alerts - by the publicly-leaked tag being present. - required: false - schema: - type: boolean - default: false - - &286 - name: is_multi_repo - in: query - description: A boolean value representing whether or not to filter alerts - by the multi-repo tag being present. - required: false - schema: - type: boolean - default: false - - &287 - name: hide_secret - in: query - description: A boolean value representing whether or not to hide literal secrets - in the results. - required: false - schema: - type: boolean - default: false - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &288 - type: object - properties: - number: *52 - created_at: *53 - updated_at: - anyOf: - - type: 'null' - - *54 - url: *55 - html_url: *56 - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this - alert. - state: &583 - description: Sets the state of the secret scanning alert. You - must provide `resolution` when you set the state to `resolved`. - type: string - enum: - - open - - resolved - resolution: &584 - type: - - string - - 'null' - description: "**Required when the `state` is `resolved`.** The - reason for resolving the alert." - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - - - resolved_at: - type: - - string - - 'null' - format: date-time - description: 'The time that the alert was resolved in ISO 8601 - format: `YYYY-MM-DDTHH:MM:SSZ`.' - resolved_by: - anyOf: - - type: 'null' - - *4 - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: *51 - push_protection_bypassed: - type: - - boolean - - 'null' - description: Whether push protection was bypassed for the detected - secret. - push_protection_bypassed_by: - anyOf: - - type: 'null' - - *4 - push_protection_bypassed_at: - type: - - string - - 'null' - format: date-time - description: 'The time that push protection was bypassed in - ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - push_protection_bypass_request_reviewer: - anyOf: - - type: 'null' - - *4 - push_protection_bypass_request_reviewer_comment: - type: - - string - - 'null' - description: An optional comment when reviewing a push protection - bypass. - push_protection_bypass_request_comment: - type: - - string - - 'null' - description: An optional comment when requesting a push protection - bypass. - push_protection_bypass_request_html_url: - type: - - string - - 'null' - format: uri - description: The URL to a push protection bypass request. - resolution_comment: - type: - - string - - 'null' - description: The comment that was optionally added when this - alert was closed - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: - - boolean - - 'null' - description: Whether the secret was publicly leaked. - multi_repo: - type: - - boolean - - 'null' - description: Whether the detected secret was found in multiple - repositories in the same organization or enterprise. - is_base64_encoded: - type: - - boolean - - 'null' - description: A boolean value representing whether or not alert - is base64 encoded - first_location_detected: - anyOf: - - type: 'null' - - &585 - description: 'Details on the location where the token was - initially detected. This can be a commit, wiki commit, issue, - discussion, pull request. - - ' - oneOf: - - &587 - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts - in the file - end_line: - type: number - description: Line number at which the secret ends in - the file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT - ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob - resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - &588 - description: Represents a 'wiki_commit' secret scanning - location type. This location type shows that a secret - was detected inside a commit to a repository wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts - in the file - end_line: - type: number - description: Line number at which the secret ends in - the file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit - ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - &589 - description: Represents an 'issue_title' secret scanning - location type. This location type shows that a secret - was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - &590 - description: Represents an 'issue_body' secret scanning - location type. This location type shows that a secret - was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - &591 - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret - was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - &592 - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret - was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - &593 - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret - was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - &594 - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret - was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - &595 - description: Represents a 'pull_request_title' secret scanning - location type. This location type shows that a secret - was detected in the title of a pull request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - &596 - description: Represents a 'pull_request_body' secret scanning - location type. This location type shows that a secret - was detected in the body of a pull request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - &597 - description: Represents a 'pull_request_comment' secret - scanning location type. This location type shows that - a secret was detected in a comment on a pull request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - &598 - description: Represents a 'pull_request_review' secret scanning - location type. This location type shows that a secret - was detected in a review on a pull request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - &599 - description: Represents a 'pull_request_review_comment' - secret scanning location type. This location type shows - that a secret was detected in a review comment on a pull - request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - has_more_locations: - type: boolean - description: A boolean value representing whether or not the - token in the alert was detected in more than one location. - assigned_to: - anyOf: - - type: 'null' - - *4 - examples: - default: &289 - value: - - number: 2 - created_at: '2020-11-06T18:48:51Z' - url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 - html_url: https://github.com/owner/private-repo/security/secret-scanning/2 - locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations - state: resolved - resolution: false_positive - resolved_at: '2020-11-07T02:47:13Z' - resolved_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - secret_type: adafruit_io_key - secret_type_display_name: Adafruit IO Key - secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - push_protection_bypassed_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - push_protection_bypassed: true - push_protection_bypassed_at: '2020-11-06T21:48:51Z' - push_protection_bypass_request_reviewer: - login: octocat - id: 3 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/3? - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true - push_protection_bypass_request_reviewer_comment: Example response - push_protection_bypass_request_comment: Example comment - push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 - resolution_comment: Example comment - validity: active - publicly_leaked: false - multi_repo: false - is_base64_encoded: false - first_location_detected: - path: "/example/secrets.txt" - start_line: 1 - end_line: 1 - start_column: 1 - end_column: 64 - blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b - commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b - has_more_locations: true - assigned_to: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - headers: - Link: *57 - '404': *6 - '503': &73 - description: Service unavailable - content: - application/json: - schema: - type: object - properties: - code: - type: string - message: - type: string - documentation_url: - type: string - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -10482,7 +9725,7 @@ paths: application/json: schema: type: array - items: &58 + items: &53 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10547,7 +9790,7 @@ paths: - updated_at - group_id examples: - default: &59 + default: &54 value: - id: 1 name: Justice League @@ -10560,7 +9803,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -10604,6 +9847,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -10623,9 +9878,9 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10643,7 +9898,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *40 - - &60 + - &55 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10662,7 +9917,7 @@ paths: type: array items: *4 examples: - default: &61 + default: &56 value: - login: octocat id: 1 @@ -10683,7 +9938,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10701,7 +9956,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *40 - - *60 + - *55 requestBody: required: true content: @@ -10732,7 +9987,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10750,7 +10005,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *40 - - *60 + - *55 requestBody: required: true content: @@ -10781,7 +10036,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10799,8 +10054,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *40 - - *60 - - &62 + - *55 + - &57 name: username description: The handle for the GitHub user account. in: path @@ -10814,7 +10069,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &63 + exampleKey1: &58 value: login: octocat id: 1 @@ -10850,8 +10105,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *40 - - *60 - - *62 + - *55 + - *57 responses: '201': description: Successfully added team member @@ -10859,7 +10114,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *63 + exampleKey1: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10877,8 +10132,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *40 - - *60 - - *62 + - *55 + - *57 responses: '204': description: Response @@ -10888,6 +10143,303 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - *40 + - *55 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: &59 + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + examples: + - github + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github + repos_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/events + hooks_url: + type: string + examples: + - https://api.github.com/orgs/github/hooks + issues_url: + type: string + examples: + - https://api.github.com/orgs/github/issues + members_url: + type: string + examples: + - https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + examples: + - https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + examples: + - https://github.com/images/error/octocat_happy.gif + description: + type: + - string + - 'null' + examples: + - A great organization + required: + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description + examples: + default: &60 + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - *40 + - *55 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: *59 + examples: + default: &96 + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - *40 + - *55 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - *40 + - *55 + - &61 + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: *59 + examples: + default: *60 + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - *40 + - *55 + - *61 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *59 + examples: + default: *60 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - *40 + - *55 + - *61 + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -10903,7 +10455,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *40 - - &64 + - &62 name: team_slug description: The slug of the team name. in: path @@ -10915,11 +10467,11 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -10937,7 +10489,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *40 - - *64 + - *62 requestBody: required: true content: @@ -10965,6 +10517,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -10983,11 +10547,11 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -11008,7 +10572,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *40 - - *64 + - *62 responses: '204': description: Response @@ -11046,7 +10610,7 @@ paths: application/json: schema: type: array - items: &94 + items: &91 title: Event description: Event type: object @@ -11057,7 +10621,7 @@ paths: type: - string - 'null' - actor: &65 + actor: &63 title: Actor description: Actor type: object @@ -11098,7 +10662,7 @@ paths: - id - name - url - org: *65 + org: *63 payload: oneOf: - title: CreateEvent @@ -11145,7 +10709,7 @@ paths: properties: action: type: string - discussion: &699 + discussion: &696 title: Discussion description: A Discussion in a repository. type: object @@ -11442,7 +11006,7 @@ paths: - id labels: type: array - items: &67 + items: &65 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11525,7 +11089,7 @@ paths: properties: action: type: string - issue: &68 + issue: &66 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -11874,12 +11438,12 @@ paths: - node_id - name - description - repository: *66 + repository: *64 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &69 + author_association: &67 title: author_association type: string description: How the author is associated with the @@ -11895,7 +11459,7 @@ paths: - OWNER examples: - OWNER - reactions: &70 + reactions: &68 title: Reaction Rollup type: object properties: @@ -11931,7 +11495,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &617 + sub_issues_summary: &615 title: Sub-issues Summary type: object properties: @@ -11952,7 +11516,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &618 + issue_dependencies_summary: &616 title: Issue Dependencies Summary type: object properties: @@ -11971,7 +11535,7 @@ paths: - total_blocking issue_field_values: type: array - items: &619 + items: &617 title: Issue Field Value description: A value assigned to an issue field type: object @@ -12071,10 +11635,10 @@ paths: assignees: type: array items: *4 - label: *67 + label: *65 labels: type: array - items: *67 + items: *65 required: - action - issue @@ -12083,8 +11647,8 @@ paths: properties: action: type: string - issue: *68 - comment: &506 + issue: *66 + comment: &496 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12134,12 +11698,12 @@ paths: issue_url: type: string format: uri - author_association: *69 + author_association: *67 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - id - node_id @@ -12318,7 +11882,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 allow_forking: type: boolean is_template: @@ -12409,7 +11973,7 @@ paths: type: string number: type: integer - pull_request: &72 + pull_request: &70 title: Pull Request Minimal type: object properties: @@ -12480,10 +12044,10 @@ paths: assignees: type: array items: *4 - label: *67 + label: *65 labels: type: array - items: *67 + items: *65 required: - action - number @@ -12493,7 +12057,7 @@ paths: properties: action: type: string - pull_request: *72 + pull_request: *70 comment: type: object properties: @@ -12747,7 +12311,7 @@ paths: - pull_request updated_at: type: string - pull_request: *72 + pull_request: *70 required: - action - review @@ -12796,7 +12360,7 @@ paths: updated_at: type: string format: date-time - reactions: *70 + reactions: *68 required: - action - comment @@ -12807,7 +12371,7 @@ paths: type: string release: allOf: - - &558 + - &548 title: Release description: A release. type: object @@ -12889,7 +12453,7 @@ paths: author: *4 assets: type: array - items: &559 + items: &549 title: Release Asset description: Data related to a release. type: object @@ -12964,7 +12528,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *70 + reactions: *68 required: - assets_url - upload_url @@ -13057,7 +12621,19 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *73 + '503': &98 + description: Service unavailable + content: + application/json: + schema: + type: object + properties: + code: + type: string + message: + type: string + documentation_url: + type: string x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -13147,7 +12723,7 @@ paths: _links: type: object properties: - timeline: &74 + timeline: &71 title: Link With Type description: Hypermedia Link with Type type: object @@ -13159,17 +12735,17 @@ paths: required: - href - type - user: *74 - security_advisories: *74 - current_user: *74 - current_user_public: *74 - current_user_actor: *74 - current_user_organization: *74 + user: *71 + security_advisories: *71 + current_user: *71 + current_user_public: *71 + current_user_actor: *71 + current_user_organization: *71 current_user_organizations: type: array - items: *74 - repository_discussions: *74 - repository_discussions_category: *74 + items: *71 + repository_discussions: *71 + repository_discussions_category: *71 required: - timeline - user @@ -13231,7 +12807,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *75 + - *72 - *17 - *19 responses: @@ -13241,7 +12817,7 @@ paths: application/json: schema: type: array - items: &76 + items: &73 title: Base Gist description: Base Gist type: object @@ -13338,7 +12914,7 @@ paths: - created_at - updated_at examples: - default: &77 + default: &74 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13383,7 +12959,7 @@ paths: site_admin: false truncated: false headers: - Link: *57 + Link: *52 '304': *35 '403': *27 x-github: @@ -13462,7 +13038,7 @@ paths: description: Response content: application/json: - schema: &78 + schema: &75 title: Gist Simple description: Gist Simple type: object @@ -13480,7 +13056,7 @@ paths: url: type: string format: uri - user: &631 + user: &629 title: Public User description: Public User type: object @@ -13854,7 +13430,7 @@ paths: truncated: type: boolean examples: - default: &79 + default: &76 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13958,7 +13534,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *75 + - *72 - *17 - *19 responses: @@ -13968,11 +13544,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '403': *27 @@ -13992,7 +13568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *75 + - *72 - *17 - *19 responses: @@ -14002,11 +13578,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '401': *23 '304': *35 '403': *27 @@ -14032,7 +13608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &80 + - &77 name: gist_id description: The unique identifier of the gist. in: path @@ -14044,10 +13620,10 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - default: *79 - '403': &83 + default: *76 + '403': &80 description: Forbidden Gist content: application/json: @@ -14096,7 +13672,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *80 + - *77 requestBody: required: true content: @@ -14160,9 +13736,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - updateGist: *79 + updateGist: *76 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -14320,7 +13896,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14349,7 +13925,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14359,7 +13935,7 @@ paths: application/json: schema: type: array - items: &81 + items: &78 title: Gist Comment description: A comment made to a gist. type: object @@ -14397,7 +13973,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *69 + author_association: *67 required: - url - id @@ -14437,7 +14013,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -14462,7 +14038,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *80 + - *77 requestBody: required: true content: @@ -14488,9 +14064,9 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: &82 + default: &79 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14548,8 +14124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *80 - - &84 + - *77 + - &81 name: comment_id description: The unique identifier of the comment. in: path @@ -14562,12 +14138,12 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: *82 + default: *79 '304': *35 '404': *6 - '403': *83 + '403': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14589,8 +14165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *80 - - *84 + - *77 + - *81 requestBody: required: true content: @@ -14616,9 +14192,9 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: *82 + default: *79 '404': *6 x-github: githubCloudOnly: false @@ -14635,8 +14211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *80 - - *84 + - *77 + - *81 responses: '204': description: Response @@ -14659,7 +14235,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14760,7 +14336,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14770,7 +14346,7 @@ paths: application/json: schema: type: array - items: *78 + items: *75 examples: default: value: @@ -14816,7 +14392,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '404': *6 '304': *35 '403': *27 @@ -14835,13 +14411,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *80 + - *77 responses: '201': description: Response content: application/json: - schema: *76 + schema: *73 examples: default: value: @@ -14912,7 +14488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *80 + - *77 responses: '204': description: Response if gist is starred @@ -14942,7 +14518,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14964,7 +14540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14993,7 +14569,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *80 + - *77 - name: sha in: path required: true @@ -15004,9 +14580,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - default: *79 + default: *76 '422': *15 '404': *6 '403': *27 @@ -15167,7 +14743,7 @@ paths: type: integer repositories: type: array - items: *66 + items: *64 repository_selection: type: string examples: @@ -15291,7 +14867,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '403': *27 '304': *35 '401': *23 @@ -15394,7 +14970,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - name: collab in: query required: false @@ -15424,7 +15000,7 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: default: &203 value: @@ -15671,7 +15247,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '404': *6 @@ -15706,7 +15282,7 @@ paths: application/json: schema: type: array - items: *71 + items: *69 examples: default: value: @@ -16004,7 +15580,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &85 + X-CommonMarker-Version: &82 example: 0.17.4 schema: type: string @@ -16059,7 +15635,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *85 + X-CommonMarker-Version: *82 content: text/html: schema: @@ -16088,7 +15664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &88 + - &85 name: account_id description: account_id parameter in: path @@ -16100,7 +15676,7 @@ paths: description: Response content: application/json: - schema: &87 + schema: &84 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -16134,7 +15710,7 @@ paths: - 'null' id: type: integer - plan: &86 + plan: &83 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -16237,7 +15813,7 @@ paths: - 'null' updated_at: type: string - plan: *86 + plan: *83 required: - url - id @@ -16245,7 +15821,7 @@ paths: - login - marketplace_purchase examples: - default: &89 + default: &86 value: url: https://api.github.com/orgs/github type: Organization @@ -16330,9 +15906,9 @@ paths: application/json: schema: type: array - items: *86 + items: *83 examples: - default: &90 + default: &87 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -16350,7 +15926,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '404': *6 '401': *23 x-github: @@ -16372,14 +15948,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &91 + - &88 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &92 + - &89 name: sort description: The property to sort the results by. in: query @@ -16409,9 +15985,9 @@ paths: application/json: schema: type: array - items: *87 + items: *84 examples: - default: &93 + default: &90 value: - url: https://api.github.com/orgs/github type: Organization @@ -16462,7 +16038,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '404': *6 '422': *15 '401': *23 @@ -16485,15 +16061,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *88 + - *85 responses: '200': description: Response content: application/json: - schema: *87 + schema: *84 examples: - default: *89 + default: *86 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -16525,11 +16101,11 @@ paths: application/json: schema: type: array - items: *86 + items: *83 examples: - default: *90 + default: *87 headers: - Link: *57 + Link: *52 '401': *23 x-github: githubCloudOnly: false @@ -16550,8 +16126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *91 - - *92 + - *88 + - *89 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16571,11 +16147,11 @@ paths: application/json: schema: type: array - items: *87 + items: *84 examples: - default: *93 + default: *90 headers: - Link: *57 + Link: *52 '401': *23 x-github: githubCloudOnly: false @@ -16838,14 +16414,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &314 + - &304 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &315 + - &305 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16862,7 +16438,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -16907,7 +16483,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &323 + '301': &313 description: Moved permanently content: application/json: @@ -16929,7 +16505,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &534 + - &524 name: all description: If `true`, show notifications marked as read. in: query @@ -16937,7 +16513,7 @@ paths: schema: type: boolean default: false - - &535 + - &525 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16946,8 +16522,8 @@ paths: schema: type: boolean default: false - - *75 - - &536 + - *72 + - &526 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -16972,14 +16548,14 @@ paths: application/json: schema: type: array - items: &95 + items: &92 title: Thread description: Thread type: object properties: id: type: string - repository: &131 + repository: &129 title: Minimal Repository description: Minimal Repository type: object @@ -17483,7 +17059,7 @@ paths: - url - subscription_url examples: - default: &537 + default: &527 value: - id: '1' repository: @@ -17565,7 +17141,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -17649,7 +17225,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &96 + - &93 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -17663,7 +17239,7 @@ paths: description: Response content: application/json: - schema: *95 + schema: *92 examples: default: value: @@ -17765,7 +17341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *96 + - *93 responses: '205': description: Reset Content @@ -17787,7 +17363,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *96 + - *93 responses: '204': description: No content @@ -17810,13 +17386,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *96 + - *93 responses: '200': description: Response content: application/json: - schema: &97 + schema: &94 title: Thread Subscription description: Thread Subscription type: object @@ -17860,7 +17436,7 @@ paths: - url - subscribed examples: - default: &98 + default: &95 value: subscribed: true ignored: false @@ -17891,7 +17467,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *96 + - *93 requestBody: required: false content: @@ -17912,9 +17488,9 @@ paths: description: Response content: application/json: - schema: *97 + schema: *94 examples: - default: *98 + default: *95 '304': *35 '403': *27 '401': *23 @@ -17937,7 +17513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *96 + - *93 responses: '204': description: Response @@ -18032,92 +17608,9 @@ paths: application/json: schema: type: array - items: &160 - title: Organization Simple - description: A GitHub organization. - type: object - properties: - login: - type: string - examples: - - github - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github - repos_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/events - hooks_url: - type: string - examples: - - https://api.github.com/orgs/github/hooks - issues_url: - type: string - examples: - - https://api.github.com/orgs/github/issues - members_url: - type: string - examples: - - https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - examples: - - https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - examples: - - https://github.com/images/error/octocat_happy.gif - description: - type: - - string - - 'null' - examples: - - A great organization - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description + items: *59 examples: - default: &647 - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization + default: *96 headers: Link: example: ; rel="next" @@ -18144,13 +17637,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - &99 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string + - *61 - name: page in: query description: The page number of results to fetch. @@ -18301,7 +17788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -18367,7 +17854,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *99 + - *61 requestBody: required: true content: @@ -18404,9 +17891,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -18414,8 +17902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization parameters: - - *99 - - &101 + - *61 + - &99 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -18424,7 +17912,7 @@ paths: required: false schema: type: integer - - &673 + - &670 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -18433,7 +17921,7 @@ paths: required: false schema: type: integer - - &102 + - &100 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -18448,14 +17936,14 @@ paths: required: false schema: type: string - - &674 + - &671 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &675 + - &672 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -18517,19 +18005,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -18571,8 +18059,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18592,9 +18080,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: + - *61 - *99 - - *101 - - &678 + - &675 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -18603,8 +18091,8 @@ paths: required: false schema: type: integer - - *102 - - &679 + - *100 + - &676 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18687,8 +18175,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18714,13 +18202,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &103 + schema: &101 title: Organization Full description: Organization Full type: object @@ -19115,7 +18603,7 @@ paths: - updated_at - archived_at examples: - default-response: &104 + default-response: &102 value: login: github id: 1 @@ -19215,7 +18703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *99 + - *61 requestBody: required: false content: @@ -19432,17 +18920,17 @@ paths: description: Response content: application/json: - schema: *103 + schema: *101 examples: - default: *104 + default: *102 '422': description: Validation failed content: application/json: schema: oneOf: - - *105 - - *106 + - *103 + - *104 '409': *45 x-github: githubCloudOnly: false @@ -19466,7 +18954,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *99 + - *61 responses: '202': *37 '404': *6 @@ -19491,7 +18979,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -19517,7 +19005,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19538,7 +19026,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -19556,7 +19044,7 @@ paths: type: integer repository_cache_usages: type: array - items: &328 + items: &318 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19594,7 +19082,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19614,7 +19102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -19632,7 +19120,7 @@ paths: type: integer runners: type: array - items: &107 + items: &105 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -19689,7 +19177,7 @@ paths: - size_gb - display_name - source - machine_size_details: &110 + machine_size_details: &108 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19794,7 +19282,7 @@ paths: - public_ip_enabled - platform examples: - default: &130 + default: &128 value: total_count: 2 runners: @@ -19836,7 +19324,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 +19342,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: @@ -19921,9 +19409,9 @@ paths: description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: &111 + default: &109 value: id: 5 name: My hosted ubuntu runner @@ -19962,7 +19450,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 +19466,7 @@ paths: type: integer images: type: array - items: &108 + items: &106 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20018,7 +19506,7 @@ paths: - display_name - source examples: - default: &109 + default: &107 value: id: ubuntu-20.04 platform: linux-x64 @@ -20042,7 +19530,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 +19546,9 @@ paths: type: integer images: type: array - items: *108 + items: *106 examples: - default: *109 + default: *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20077,7 +19565,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 +19620,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 +19636,7 @@ paths: type: integer machine_specs: type: array - items: *110 + items: *108 examples: default: value: @@ -20173,7 +19661,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 +19705,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 + - &110 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -20230,11 +19718,11 @@ paths: description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: *111 + default: *109 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20252,8 +19740,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 + - *110 requestBody: required: true content: @@ -20291,9 +19779,9 @@ paths: description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: *111 + default: *109 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20309,16 +19797,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 + - *110 responses: '202': description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: *111 + default: *109 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20338,13 +19826,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: &111 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -20358,7 +19846,7 @@ paths: required: - include_claim_keys examples: - default: &114 + default: &112 value: include_claim_keys: - repo @@ -20380,20 +19868,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: *111 examples: - default: *114 + default: *112 responses: '201': description: Empty response content: application/json: - schema: &140 + schema: &138 title: Empty Object description: An object without any properties. type: object @@ -20423,7 +19911,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 +19920,7 @@ paths: schema: type: object properties: - enabled_repositories: &115 + enabled_repositories: &113 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -20445,7 +19933,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: &114 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -20453,12 +19941,12 @@ paths: - all - local_only - selected - selected_actions_url: &334 + selected_actions_url: &324 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: &115 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -20489,7 +19977,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 +19988,9 @@ paths: schema: type: object properties: - enabled_repositories: *115 - allowed_actions: *116 - sha_pinning_required: *117 + enabled_repositories: *113 + allowed_actions: *114 + sha_pinning_required: *115 required: - enabled_repositories examples: @@ -20530,13 +20018,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: &328 type: object properties: days: @@ -20573,12 +20061,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: &329 type: object properties: days: @@ -20615,13 +20103,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: &116 type: object properties: approval_policy: @@ -20635,7 +20123,7 @@ paths: required: - approval_policy examples: - default: &340 + default: &330 value: approval_policy: first_time_contributors '404': *6 @@ -20656,7 +20144,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 +20154,7 @@ paths: required: true content: application/json: - schema: *118 + schema: *116 examples: default: summary: Set approval policy to first time contributors @@ -20688,13 +20176,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: &331 type: object required: - run_workflows_from_fork_pull_requests @@ -20720,7 +20208,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &119 + default: &117 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -20743,12 +20231,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: &332 type: object required: - run_workflows_from_fork_pull_requests @@ -20771,7 +20259,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *119 + default: *117 responses: '204': description: Empty response for successful settings update @@ -20801,7 +20289,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 +20307,9 @@ paths: type: number repositories: type: array - items: *66 + items: *64 examples: - default: &123 + default: &121 value: total_count: 1 repositories: @@ -20961,7 +20449,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 +20493,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 + - &118 name: repository_id description: The unique identifier of the repository. in: path @@ -21034,8 +20522,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 + - *118 responses: '204': description: Response @@ -21058,13 +20546,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: &119 type: object properties: github_owned_allowed: @@ -21086,7 +20574,7 @@ paths: items: type: string examples: - default: &122 + default: &120 value: github_owned_allowed: true verified_allowed: false @@ -21111,7 +20599,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 +20607,9 @@ paths: required: false content: application/json: - schema: *121 + schema: *119 examples: - selected_actions: *122 + selected_actions: *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21141,7 +20629,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 +20677,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 +20724,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 +20739,9 @@ paths: type: integer repositories: type: array - items: *66 + items: *64 examples: - default: *123 + default: *121 '403': *27 '404': *6 x-github: @@ -21273,7 +20761,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 +20809,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 + - *118 responses: '204': description: No content @@ -21348,8 +20836,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 + - *118 responses: '204': description: No content @@ -21377,23 +20865,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: &333 type: object properties: - default_workflow_permissions: &124 + default_workflow_permissions: &122 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: &123 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -21401,7 +20889,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &126 + default: &124 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -21426,7 +20914,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 +20922,13 @@ paths: required: false content: application/json: - schema: &344 + schema: &334 type: object properties: - default_workflow_permissions: *124 - can_approve_pull_request_reviews: *125 + default_workflow_permissions: *122 + can_approve_pull_request_reviews: *123 examples: - default: *126 + default: *124 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21460,7 +20948,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 +20973,7 @@ paths: type: number runner_groups: type: array - items: &127 + items: &125 type: object properties: id: @@ -21602,7 +21090,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 +21163,9 @@ paths: description: Response content: application/json: - schema: *127 + schema: *125 examples: - default: &129 + default: &127 value: id: 2 name: octo-runner-group @@ -21712,8 +21200,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 + - &126 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -21725,7 +21213,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *125 examples: default: value: @@ -21761,8 +21249,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 + - *126 requestBody: required: true content: @@ -21818,9 +21306,9 @@ paths: description: Response content: application/json: - schema: *127 + schema: *125 examples: - default: *129 + default: *127 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21839,8 +21327,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 + - *126 responses: '204': description: Response @@ -21863,8 +21351,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 + - *126 - *17 - *19 responses: @@ -21882,11 +21370,11 @@ paths: type: number runners: type: array - items: *107 + items: *105 examples: - default: *130 + default: *128 headers: - Link: *57 + Link: *52 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21906,8 +21394,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 + - *126 - *19 - *17 responses: @@ -21925,9 +21413,9 @@ paths: type: number repositories: type: array - items: *131 + items: *129 examples: - default: &634 + default: &632 value: total_count: 1 repositories: @@ -22179,8 +21667,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 + - *126 requestBody: required: true content: @@ -22224,9 +21712,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 + - *126 + - *118 responses: '204': description: Response @@ -22248,9 +21736,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 + - *126 + - *118 responses: '204': description: Response @@ -22273,8 +21761,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 + - *126 - *17 - *19 responses: @@ -22292,7 +21780,7 @@ paths: type: number runners: type: array - items: &133 + items: &131 title: Self hosted runners description: A self hosted runner type: object @@ -22326,7 +21814,7 @@ paths: type: boolean labels: type: array - items: &136 + items: &134 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -22356,7 +21844,7 @@ paths: - busy - labels examples: - default: &134 + default: &132 value: total_count: 2 runners: @@ -22396,7 +21884,7 @@ paths: name: no-gpu type: custom headers: - Link: *57 + Link: *52 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22415,8 +21903,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 + - *126 requestBody: required: true content: @@ -22460,9 +21948,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 + - *126 + - &130 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -22490,9 +21978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *99 - - *128 - - *132 + - *61 + - *126 + - *130 responses: '204': description: Response @@ -22522,7 +22010,7 @@ paths: in: query schema: type: string - - *99 + - *61 - *17 - *19 responses: @@ -22540,11 +22028,11 @@ paths: type: integer runners: type: array - items: *133 + items: *131 examples: - default: *134 + default: *132 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22566,7 +22054,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 +22062,7 @@ paths: application/json: schema: type: array - items: &345 + items: &335 title: Runner Application description: Runner Application type: object @@ -22599,7 +22087,7 @@ paths: - download_url - filename examples: - default: &346 + default: &336 value: - os: osx architecture: x64 @@ -22642,7 +22130,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 +22173,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &347 + '201': &337 description: Response content: application/json: @@ -22695,7 +22183,7 @@ paths: - runner - encoded_jit_config properties: - runner: *133 + runner: *131 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -22752,13 +22240,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: &133 title: Authentication Token description: Authentication Token type: object @@ -22782,7 +22270,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *66 + items: *64 single_file: type: - string @@ -22800,7 +22288,7 @@ paths: - token - expires_at examples: - default: &348 + default: &338 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22831,15 +22319,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: *133 examples: - default: &349 + default: &339 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22864,16 +22352,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 + - *130 responses: '200': description: Response content: application/json: - schema: *133 + schema: *131 examples: - default: &350 + default: &340 value: id: 23 name: MBP @@ -22914,8 +22402,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 + - *130 responses: '204': description: Response @@ -22941,10 +22429,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 + - *130 responses: - '200': &137 + '200': &135 description: Response content: application/json: @@ -22958,7 +22446,7 @@ paths: type: integer labels: type: array - items: *136 + items: *134 examples: default: value: @@ -22997,8 +22485,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 + - *130 requestBody: required: true content: @@ -23022,7 +22510,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -23046,8 +22534,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 + - *130 requestBody: required: true content: @@ -23072,7 +22560,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -23096,10 +22584,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 + - *130 responses: - '200': &351 + '200': &341 description: Response content: application/json: @@ -23113,7 +22601,7 @@ paths: type: integer labels: type: array - items: *136 + items: *134 examples: default: value: @@ -23154,9 +22642,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 + - *130 + - &342 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23164,7 +22652,7 @@ paths: schema: type: string responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -23189,7 +22677,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 +22695,7 @@ paths: type: integer secrets: type: array - items: &138 + items: &136 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23259,7 +22747,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 +22770,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: &354 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23323,7 +22811,7 @@ paths: - key_id - key examples: - default: &365 + default: &355 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23348,8 +22836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *99 - - &139 + - *61 + - &137 name: secret_name description: The name of the secret. in: path @@ -23361,7 +22849,7 @@ paths: description: Response content: application/json: - schema: *138 + schema: *136 examples: default: value: @@ -23391,8 +22879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 requestBody: required: true content: @@ -23449,7 +22937,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -23475,8 +22963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 responses: '204': description: Response @@ -23502,8 +22990,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 + - *137 - *19 - *17 responses: @@ -23521,9 +23009,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: &143 + default: &141 value: total_count: 1 repositories: @@ -23615,8 +23103,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 + - *137 requestBody: required: true content: @@ -23668,8 +23156,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 + - *137 - name: repository_id in: path required: true @@ -23702,8 +23190,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 + - *137 - name: repository_id in: path required: true @@ -23735,8 +23223,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *99 - - &333 + - *61 + - &323 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 +23248,7 @@ paths: type: integer variables: type: array - items: &141 + items: &139 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23829,7 +23317,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 +23338,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 +23386,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -23923,8 +23411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *99 - - &142 + - *61 + - &140 name: name description: The name of the variable. in: path @@ -23936,7 +23424,7 @@ paths: description: Response content: application/json: - schema: *141 + schema: *139 examples: default: value: @@ -23966,8 +23454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *140 requestBody: required: true content: @@ -24029,8 +23517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *140 responses: '204': description: Response @@ -24056,8 +23544,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 + - *140 - *19 - *17 responses: @@ -24075,9 +23563,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: *143 + default: *141 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24103,8 +23591,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 + - *140 requestBody: required: true content: @@ -24153,8 +23641,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 + - *140 - name: repository_id in: path required: true @@ -24188,8 +23676,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 + - *140 - name: repository_id in: path required: true @@ -24220,7 +23708,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 +23850,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 +23936,7 @@ paths: - *17 - *38 - *39 - - *99 + - *61 requestBody: required: true content: @@ -24471,12 +23959,12 @@ paths: required: - subject_digests examples: - default: &662 + default: &659 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &663 + withPredicateType: &660 value: subject_digests: - sha256:abc123 @@ -24535,7 +24023,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &664 + default: &661 value: attestations_subject_digests: - sha256:abc: @@ -24644,7 +24132,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 +24197,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 +24216,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 +24279,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 +24317,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 +24370,7 @@ paths: initiator: type: string examples: - default: &378 + default: &368 value: attestations: - bundle: @@ -24938,7 +24477,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 +24489,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24969,8 +24508,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 +24534,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 +24555,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 +24581,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 +24589,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &144 + schema: &142 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -25076,7 +24615,7 @@ paths: application/json: schema: type: array - items: &145 + items: &143 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -25107,7 +24646,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &161 + items: &163 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -25320,7 +24859,7 @@ paths: - string - 'null' format: date-time - state: *144 + state: *142 contact_link: description: The contact link of the campaign. type: @@ -25416,9 +24955,9 @@ paths: closed_at: state: open headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25442,7 +24981,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -25537,9 +25076,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *143 examples: - default: &146 + default: &144 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -25588,7 +25127,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25610,7 +25149,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 +25161,16 @@ paths: description: Response content: application/json: - schema: *145 + schema: *143 examples: - default: *146 + default: *144 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25652,7 +25191,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 +25241,7 @@ paths: - string - 'null' format: uri - state: *144 + state: *142 examples: default: value: @@ -25712,9 +25251,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *143 examples: - default: *146 + default: *144 '400': description: Bad Request content: @@ -25726,7 +25265,7 @@ paths: content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25747,7 +25286,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 +25297,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25780,18 +25319,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 + - &392 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: &152 type: string description: The name of the tool used to generate the code scanning analysis. - - &403 + - &393 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 +25338,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &150 + schema: &153 type: - string - 'null' @@ -25815,7 +25354,7 @@ paths: be returned. in: query required: false - schema: &405 + schema: &395 type: string description: State of a code scanning alert. enum: @@ -25838,7 +25377,7 @@ paths: be returned. in: query required: false - schema: &406 + schema: &396 type: string description: Severity of a code scanning alert. enum: @@ -25859,18 +25398,18 @@ paths: items: type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: &407 + number: *145 + created_at: *146 + updated_at: *147 + url: *148 + html_url: *149 + instances_url: &397 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &151 + state: &154 type: - string - 'null' @@ -25880,13 +25419,13 @@ paths: - dismissed - fixed - - fixed_at: *147 + fixed_at: *150 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: &408 + dismissed_at: *151 + dismissed_reason: &398 type: - string - 'null' @@ -25897,14 +25436,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &409 + dismissed_comment: &399 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &410 + rule: &400 type: object properties: id: @@ -25965,26 +25504,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &411 + tool: &401 type: object properties: - name: *149 + name: *152 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *150 - most_recent_instance: &412 + guid: *153 + most_recent_instance: &402 type: object properties: - ref: &404 + ref: &394 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &422 + analysis_key: &412 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25995,13 +25534,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: &413 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: *154 commit_sha: type: string message: @@ -26294,9 +25833,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26318,7 +25857,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 +25968,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 +26046,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *152 + code_scanning_options: *155 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -26650,7 +26189,7 @@ paths: application/json: schema: *41 examples: - default: *153 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26672,15 +26211,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: *157 examples: - default: *155 + default: *158 '304': *35 '403': *27 '404': *6 @@ -26706,7 +26245,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 +26271,7 @@ paths: - 32 - 91 responses: - '204': *156 + '204': *159 '400': *14 '403': *27 '404': *6 @@ -26758,7 +26297,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 +26306,7 @@ paths: application/json: schema: *41 examples: - default: *153 + default: *156 '304': *35 '403': *27 '404': *6 @@ -26791,7 +26330,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 +26587,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': *159 '400': *14 '403': *27 '404': *6 @@ -27079,7 +26618,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 +26682,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 +26728,7 @@ paths: default: value: default_for_new_repos: all - configuration: *153 + configuration: *156 '403': *27 '404': *6 x-github: @@ -27213,7 +26752,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 +26781,13 @@ paths: application/json: schema: type: array - items: *157 + items: *160 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *158 + repository: *161 '403': *27 '404': *6 x-github: @@ -27272,7 +26811,7 @@ paths: parameters: - *17 - *19 - - *99 + - *61 responses: '200': description: Response @@ -27319,11 +26858,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *131 + repository: *129 machine: anyOf: - type: 'null' - - &435 + - &425 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -28020,7 +27559,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -28042,7 +27581,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 +27625,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28109,7 +27648,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 +27680,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28164,7 +27703,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 +27734,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28216,7 +27755,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 +27773,7 @@ paths: type: integer secrets: type: array - items: &159 + items: &162 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -28275,7 +27814,7 @@ paths: - updated_at - visibility examples: - default: &436 + default: &426 value: total_count: 2 secrets: @@ -28288,7 +27827,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28307,13 +27846,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: &427 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -28348,7 +27887,7 @@ paths: - key_id - key examples: - default: &438 + default: &428 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28371,23 +27910,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 responses: '200': description: Response content: application/json: - schema: *159 + schema: *162 examples: - default: &440 + default: &430 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 +27946,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 + - *137 requestBody: required: true content: @@ -28463,7 +28002,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -28489,8 +28028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 responses: '204': description: Response @@ -28515,8 +28054,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 + - *137 - *19 - *17 responses: @@ -28534,9 +28073,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: *143 + default: *141 '404': *6 x-github: githubCloudOnly: false @@ -28558,8 +28097,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 + - *137 requestBody: required: true content: @@ -28609,8 +28148,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 + - *137 - name: repository_id in: path required: true @@ -28643,8 +28182,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 + - *137 - name: repository_id in: path required: true @@ -28683,7 +28222,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 +28331,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -28824,7 +28363,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, @@ -28860,13 +28399,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 + - *163 + - *53 type: - 'null' - object @@ -28996,8 +28535,8 @@ paths: type: User site_admin: false headers: - Link: *57 - '500': *100 + Link: *52 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29030,7 +28569,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 +28611,7 @@ paths: default: value: seats_created: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29108,7 +28647,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 +28689,7 @@ paths: default: value: seats_cancelled: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29188,7 +28727,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 +28768,7 @@ paths: default: value: seats_created: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29265,7 +28804,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 +28846,7 @@ paths: default: value: seats_cancelled: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29346,7 +28885,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 +28917,7 @@ paths: application/json: schema: type: array - items: &296 + items: &286 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -29693,7 +29232,7 @@ paths: - date additionalProperties: true examples: - default: &297 + default: &287 value: - date: '2024-06-24' total_active_users: 24 @@ -29792,10 +29331,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *100 + '500': *97 '403': *27 '404': *6 - '422': &298 + '422': &288 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -29822,12 +29361,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *99 - - *162 - - *163 + - *61 - *164 - *165 - *166 + - *167 + - *168 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -29865,13 +29404,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *167 - - *168 + - *169 + - *170 - *46 - *38 - *39 - - *169 - - *170 - *17 responses: '200': @@ -29908,7 +29445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *99 + - *61 - *17 - *19 responses: @@ -29978,7 +29515,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 +29536,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: &453 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -30024,7 +29561,7 @@ paths: - key_id - key examples: - default: &464 + default: &454 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30047,8 +29584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 responses: '200': description: Response @@ -30082,8 +29619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 requestBody: required: true content: @@ -30142,7 +29679,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -30166,8 +29703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 responses: '204': description: Response @@ -30191,8 +29728,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 + - *137 - *19 - *17 responses: @@ -30210,9 +29747,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: *143 + default: *141 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30233,8 +29770,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 + - *137 requestBody: required: true content: @@ -30284,8 +29821,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 + - *137 - name: repository_id in: path required: true @@ -30316,8 +29853,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 + - *137 - name: repository_id in: path required: true @@ -30347,7 +29884,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 @@ -30408,7 +29945,7 @@ paths: repository: anyOf: - type: 'null' - - *131 + - *129 created_at: type: string format: date-time @@ -30504,7 +30041,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 +30051,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: 200-response: value: @@ -30586,7 +30123,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30683,7 +30220,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 +30244,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30817,7 +30354,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -30840,7 +30377,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: @@ -30951,7 +30488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *99 + - *61 - &176 name: hook_id description: The unique identifier of the hook. You can find this value in @@ -30994,7 +30531,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *99 + - *61 - *176 requestBody: required: false @@ -31082,7 +30619,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *99 + - *61 - *176 responses: '204': @@ -31110,7 +30647,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *99 + - *61 - *176 responses: '200': @@ -31141,7 +30678,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *99 + - *61 - *176 requestBody: required: false @@ -31192,7 +30729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *99 + - *61 - *176 - *17 - *177 @@ -31230,7 +30767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *99 + - *61 - *176 - *16 responses: @@ -31265,7 +30802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *99 + - *61 - *176 - *16 responses: @@ -31295,7 +30832,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *99 + - *61 - *176 responses: '204': @@ -31318,7 +30855,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *99 + - *61 - &186 name: actor_type in: path @@ -31441,7 +30978,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *99 + - *61 - *182 - *183 - *19 @@ -31526,7 +31063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *99 + - *61 - *182 - *183 responses: @@ -31570,7 +31107,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *99 + - *61 - &188 name: user_id in: path @@ -31605,7 +31142,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *99 + - *61 - *182 - *183 - *186 @@ -31634,7 +31171,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *99 + - *61 - *182 - *183 - &189 @@ -31702,7 +31239,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *99 + - *61 - *188 - *182 - *183 @@ -31731,7 +31268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *99 + - *61 - *186 - *187 - *182 @@ -31761,7 +31298,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *99 + - *61 - *188 - *182 - *183 @@ -31844,7 +31381,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 +31389,7 @@ paths: application/json: schema: *20 examples: - default: &502 + default: &492 value: id: 1 account: @@ -31921,7 +31458,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 +31528,7 @@ paths: suspended_at: suspended_by: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32010,7 +31547,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 @@ -32075,12 +31612,12 @@ 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: &493 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -32131,7 +31668,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 +31692,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 @@ -32193,7 +31730,7 @@ paths: examples: default: *197 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32214,7 +31751,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: @@ -32322,7 +31859,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *99 + - *61 - &198 name: invitation_id description: The unique identifier of the invitation. @@ -32353,7 +31890,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *99 + - *61 - *198 - *17 - *19 @@ -32364,7 +31901,7 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: &215 value: @@ -32382,7 +31919,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 +31938,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 @@ -32447,7 +31984,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: @@ -32531,7 +32068,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *99 + - *61 - &201 name: issue_type_id description: The unique identifier of the issue type. @@ -32614,7 +32151,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *99 + - *61 - *201 responses: '204': @@ -32648,7 +32185,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 @@ -32697,7 +32234,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -32707,11 +32244,11 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: default: *203 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32731,7 +32268,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 +32306,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -32789,8 +32326,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 +32361,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 +32388,8 @@ paths: parameters: - *17 - *19 - - *99 - - *62 + - *61 + - *57 responses: '200': description: Response @@ -32872,7 +32409,7 @@ paths: examples: default: *205 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -32895,8 +32432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *99 - - *62 + - *61 + - *57 - &206 name: codespace_name in: path @@ -32907,7 +32444,7 @@ paths: responses: '202': *37 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -32930,8 +32467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *99 - - *62 + - *61 + - *57 - *206 responses: '200': @@ -32940,7 +32477,7 @@ paths: application/json: schema: *204 examples: - default: &434 + default: &424 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -33082,7 +32619,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -33113,8 +32650,8 @@ 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. @@ -33164,7 +32701,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -33189,8 +32726,8 @@ 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 @@ -33245,7 +32782,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *160 + organization: *59 user: anyOf: - type: 'null' @@ -33333,8 +32870,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: @@ -33388,8 +32925,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 +32951,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *99 + - *61 - *17 - *19 - name: exclude @@ -33478,7 +33015,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 +33214,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 +33230,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: @@ -33952,7 +33489,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *99 + - *61 - &211 name: migration_id description: The unique identifier of the migration. @@ -34150,7 +33687,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *99 + - *61 - *211 responses: '302': @@ -34172,7 +33709,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *99 + - *61 - *211 responses: '204': @@ -34196,9 +33733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *99 + - *61 - *211 - - &646 + - &644 name: repo_name description: repo_name parameter in: path @@ -34225,7 +33762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *99 + - *61 - *211 - *17 - *19 @@ -34236,7 +33773,7 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: &222 value: @@ -34349,7 +33886,7 @@ paths: secret_scanning_non_provider_patterns: status: disabled headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -34375,7 +33912,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 @@ -34540,8 +34077,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,8 +34103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *99 - - *64 + - *61 + - *62 - &212 name: role_id description: The unique identifier of the role. @@ -34603,8 +34140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *99 - - *64 + - *61 + - *62 - *212 responses: '204': @@ -34630,8 +34167,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,8 +34193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *99 - - *62 + - *61 + - *57 - *212 responses: '204': @@ -34688,8 +34225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *99 - - *62 + - *61 + - *57 - *212 responses: '204': @@ -34718,7 +34255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *99 + - *61 - *212 responses: '200': @@ -34775,7 +34312,7 @@ 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 + - *61 - *212 - *17 - *19 @@ -34890,7 +34427,7 @@ paths: examples: default: *215 headers: - Link: *57 + Link: *52 '404': description: Response if the organization or role does not exist. '422': @@ -34917,7 +34454,7 @@ 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 + - *61 - *212 - *17 - *19 @@ -35064,9 +34601,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 +34625,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 +34652,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35140,8 +34677,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 +34735,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 +34793,8 @@ paths: - docker - nuget - container - - *99 - - &648 + - *61 + - &645 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -35298,7 +34835,7 @@ paths: default: *217 '403': *27 '401': *23 - '400': &650 + '400': &647 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -35345,7 +34882,7 @@ paths: required: true schema: type: string - - *99 + - *61 responses: '200': description: Response @@ -35405,7 +34942,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 responses: '204': description: Response @@ -35439,7 +34976,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 - name: token description: package token schema: @@ -35473,7 +35010,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 - *19 - *17 - name: state @@ -35630,7 +35167,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 - &221 name: package_version_id description: Unique identifier of the package version. @@ -35681,7 +35218,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 - *221 responses: '204': @@ -35716,7 +35253,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 - *221 responses: '204': @@ -35744,7 +35281,7 @@ 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 @@ -35821,7 +35358,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 @@ -35956,7 +35493,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 +35513,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 +35555,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 @@ -36043,7 +35580,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 +35617,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 - '204': *156 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36105,7 +35642,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 +35653,7 @@ paths: - *17 - *19 responses: - '500': *100 + '500': *97 '404': *6 '403': *27 '200': @@ -36125,11 +35662,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36150,7 +35687,7 @@ 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 @@ -36162,7 +35699,7 @@ paths: - *228 - *229 responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 @@ -36291,7 +35828,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 +35848,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 +35883,7 @@ paths: - 1296269 - 1296280 responses: - '500': *100 + '500': *97 '404': *6 '202': *37 '403': *27 @@ -36371,7 +35908,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 +35936,9 @@ paths: value: action: revoke responses: - '500': *100 + '500': *97 '404': *6 - '204': *156 + '204': *159 '403': *27 '422': *15 x-github: @@ -36423,7 +35960,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 +35970,7 @@ paths: - *17 - *19 responses: - '500': *100 + '500': *97 '404': *6 '403': *27 '200': @@ -36442,11 +35979,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36468,7 +36005,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: @@ -36555,7 +36092,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *57 + Link: *52 '400': *14 '404': *6 x-github: @@ -36577,7 +36114,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: @@ -36786,7 +36323,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 +36351,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -36836,8 +36373,8 @@ 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 + - *137 responses: '200': description: The specified private registry configuration for the organization @@ -36866,8 +36403,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 + - *137 requestBody: required: true content: @@ -36963,8 +36500,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 + - *137 responses: '204': description: Response @@ -36989,7 +36526,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 @@ -37143,7 +36680,7 @@ paths: organization_permission: write private: true headers: - Link: *57 + Link: *52 '422': *7 x-github: githubCloudOnly: false @@ -37166,7 +36703,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: @@ -37230,7 +36767,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &320 + '410': &310 description: Gone content: application/json: @@ -37256,7 +36793,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 @@ -37347,7 +36884,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &727 + - &724 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -37515,7 +37052,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37542,7 +37079,7 @@ paths: required: true schema: type: integer - - *99 + - *61 responses: '200': description: Response @@ -37552,7 +37089,7 @@ paths: examples: default: *234 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37573,7 +37110,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - *235 - - *99 + - *61 - *17 - *38 - *39 @@ -37757,7 +37294,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 @@ -37778,14 +37315,14 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *235 - - &667 + - &664 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *99 + - *61 responses: '200': description: Response @@ -37795,7 +37332,7 @@ paths: examples: default: *237 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37817,7 +37354,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - *235 - - *99 + - *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 +37363,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 @@ -38595,7 +38134,7 @@ paths: type: sub_issues_progress value: headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -38615,7 +38154,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *99 + - *61 - *235 requestBody: required: true @@ -38653,7 +38192,7 @@ paths: description: Response content: application/json: - schema: &668 + schema: &665 title: Projects v2 Item description: An item belonging to a project type: object @@ -38666,8 +38205,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *68 - - &447 + - *66 + - &437 title: Pull Request Simple description: Pull Request Simple type: object @@ -38842,7 +38381,7 @@ paths: type: - array - 'null' - items: *161 + items: *163 head: type: object properties: @@ -38850,7 +38389,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: @@ -38870,7 +38409,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: @@ -38911,8 +38450,8 @@ paths: - review_comments - review_comment - self - author_association: *69 - auto_merge: &544 + author_association: *67 + auto_merge: &534 title: Auto merge description: The status of auto merging a pull request. type: @@ -39127,7 +38666,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - *235 - - *99 + - *61 - &244 name: item_id description: The unique identifier of the project item. @@ -39136,17 +38675,19 @@ 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 @@ -39156,7 +38697,7 @@ paths: examples: default: *243 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -39176,7 +38717,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - *235 - - *99 + - *61 - *244 requestBody: required: true @@ -39277,7 +38818,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - *235 - - *99 + - *61 - *244 responses: '204': @@ -39302,7 +38843,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 @@ -39434,7 +38975,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: @@ -39498,7 +39039,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *99 + - *61 - &247 name: custom_property_name description: The custom property name @@ -39547,7 +39088,7 @@ 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 + - *61 - *247 requestBody: required: true @@ -39651,10 +39192,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *99 + - *61 - *247 responses: - '204': *156 + '204': *159 '403': *27 '404': *6 x-github: @@ -39675,7 +39216,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 @@ -39758,7 +39299,7 @@ paths: - property_name: team value: octocat headers: - Link: *57 + Link: *52 '403': *27 '404': *6 x-github: @@ -39786,7 +39327,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: @@ -39847,7 +39388,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 +39400,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39878,8 +39419,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 +39444,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 +39466,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 +39491,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 +39537,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40019,7 +39560,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 +39742,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &312 title: Full Repository description: Full Repository type: object @@ -40547,7 +40088,7 @@ paths: template_repository: anyOf: - type: 'null' - - *66 + - *64 temp_clone_token: type: - string @@ -40647,13 +40188,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 +40207,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &452 + code_of_conduct: &442 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -40780,7 +40321,7 @@ paths: - network_count - subscribers_count examples: - default: &324 + default: &314 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41298,10 +40839,10 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - *17 - *19 - - &567 + - &557 name: targets description: | A comma-separated list of rule targets to filter by. @@ -41587,7 +41128,7 @@ paths: - object rules: type: array - items: &568 + items: &558 title: Repository Rule type: object description: A repository rule. @@ -41649,7 +41190,7 @@ paths: type: string enum: - required_linear_history - - &565 + - &555 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -42273,7 +41814,7 @@ paths: - tool required: - code_scanning_tools - - &566 + - &556 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -42334,7 +41875,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -42350,7 +41891,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 requestBody: description: Request body required: true @@ -42484,7 +42025,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -42498,8 +42039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *99 - - &569 + - *61 + - &559 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 +42055,7 @@ paths: in: query schema: type: string - - &570 + - &560 name: time_period description: |- The time period to filter by. @@ -42530,14 +42071,14 @@ paths: - week - month default: day - - &571 + - &561 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 + - &562 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -42557,7 +42098,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &563 title: Rule Suites description: Response type: array @@ -42613,7 +42154,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &574 + default: &564 value: - id: 21 actor_id: 12 @@ -42637,7 +42178,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42656,8 +42197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *99 - - &575 + - *61 + - &565 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -42673,7 +42214,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &566 title: Rule Suite description: Response type: object @@ -42780,7 +42321,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &577 + default: &567 value: id: 21 actor_id: 12 @@ -42815,7 +42356,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42841,7 +42382,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42857,7 +42398,7 @@ paths: examples: default: *277 '404': *6 - '500': *100 + '500': *97 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -42873,7 +42414,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42947,7 +42488,7 @@ paths: examples: default: *277 '404': *6 - '500': *100 + '500': *97 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -42963,7 +42504,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42974,7 +42515,7 @@ paths: '204': description: Response '404': *6 - '500': *100 + '500': *97 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -42986,7 +42527,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 @@ -43026,7 +42567,7 @@ paths: type: string format: date-time examples: - default: &579 + default: &569 value: - version_id: 3 actor: @@ -43044,7 +42585,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43061,7 +42602,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,7 +42620,7 @@ paths: description: Response content: application/json: - schema: &580 + schema: &570 allOf: - *279 - type: object @@ -43128,7 +42669,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43150,15 +42691,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 + - &571 + 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 + - &572 + 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 + - &573 + 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 + - &574 + 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 + - &575 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 +42747,7 @@ paths: required: false schema: type: string - - &582 + - &576 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 +42757,42 @@ paths: required: false schema: type: string - - *284 - - *285 - - *286 - - *287 + - &577 + 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 + - &578 + 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 + - &579 + 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 + - &580 + 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 +42800,615 @@ paths: application/json: schema: type: array - items: *288 + items: + type: object + properties: + number: *145 + created_at: *146 + updated_at: + anyOf: + - type: 'null' + - *147 + url: *148 + html_url: *149 + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this + alert. + state: &581 + 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: &582 + 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' + - &583 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &585 + 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 + - &586 + 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 + - &587 + 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 + - &588 + 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 + - &589 + 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 + - &590 + 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 + - &591 + 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 + - &592 + 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 + - &593 + 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 + - &594 + 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 + - &595 + 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 + - &596 + 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 + - &597 + description: Represents a 'pull_request_review_comment' + secret scanning location type. This location type shows + that a secret was detected in a review comment on a pull + request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - *4 examples: - default: *289 + default: + value: + - number: 2 + created_at: '2020-11-06T18:48:51Z' + url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 + html_url: https://github.com/owner/private-repo/security/secret-scanning/2 + locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations + state: resolved + resolution: false_positive + resolved_at: '2020-11-07T02:47:13Z' + resolved_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + secret_type: adafruit_io_key + secret_type_display_name: Adafruit IO Key + secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + push_protection_bypassed_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + push_protection_bypassed: true + push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_reviewer_comment: Example response + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 + resolution_comment: Example comment + validity: active + publicly_leaked: false + multi_repo: false + is_base64_encoded: false + first_location_detected: + path: "/example/secrets.txt" + start_line: 1 + end_line: 1 + start_column: 1 + end_column: 64 + blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b + commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b + has_more_locations: true + assigned_to: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43220,7 +43433,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *99 + - *61 responses: '200': description: Response @@ -43232,7 +43445,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &291 + pattern_config_version: &281 type: - string - 'null' @@ -43242,7 +43455,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &290 + items: &280 type: object properties: token_type: @@ -43311,7 +43524,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *290 + items: *280 examples: default: value: @@ -43360,7 +43573,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *99 + - *61 requestBody: required: true content: @@ -43368,7 +43581,7 @@ paths: schema: type: object properties: - pattern_config_version: *291 + pattern_config_version: *281 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -43394,7 +43607,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *291 + custom_pattern_version: *281 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -43448,7 +43661,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 +43705,7 @@ paths: application/json: schema: type: array - items: &603 + items: &601 description: A repository security advisory. type: object properties: @@ -43736,7 +43949,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *282 credits_detailed: type: - array @@ -43747,7 +43960,7 @@ paths: type: object properties: user: *4 - type: *292 + type: *282 state: type: string description: The state of the user's acceptance of the @@ -43773,7 +43986,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *161 + items: *163 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -43811,7 +44024,7 @@ paths: - private_fork additionalProperties: false examples: - default: &604 + default: &602 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44190,7 +44403,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 @@ -44223,8 +44436,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 +44462,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 +44492,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: &666 type: object properties: total_minutes_used: @@ -44355,7 +44568,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &670 + default: &667 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -44385,13 +44598,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: &668 type: object properties: total_gigabytes_bandwidth_used: @@ -44409,7 +44622,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &672 + default: &669 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -44435,13 +44648,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: &673 type: object properties: days_left_in_billing_cycle: @@ -44459,7 +44672,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &677 + default: &674 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -44483,7 +44696,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 +44746,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 +44804,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 +44822,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: *143 + default: *141 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44630,7 +44843,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 +44892,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 + - *118 responses: '204': description: Response @@ -44702,8 +44915,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 + - *118 responses: '204': description: Response @@ -44726,7 +44939,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 +44957,7 @@ paths: type: integer network_configurations: type: array - items: &293 + items: &283 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -44808,7 +45021,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44827,7 +45040,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 +45082,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *283 examples: - default: &294 + default: &284 value: id: 123456789ABCDEF name: My network configuration @@ -44899,8 +45112,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 + - &285 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -44912,11 +45125,11 @@ paths: description: Response content: application/json: - schema: *293 + schema: *283 examples: - default: *294 + default: *284 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44935,8 +45148,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 + - *285 requestBody: required: true content: @@ -44975,9 +45188,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *283 examples: - default: *294 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44996,8 +45209,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 + - *285 responses: '204': description: Response @@ -45020,7 +45233,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 +45292,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 +45322,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 +45355,13 @@ paths: application/json: schema: type: array - items: *296 + items: *286 examples: - default: *297 - '500': *100 + default: *287 + '500': *97 '403': *27 '404': *6 - '422': *298 + '422': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45166,7 +45379,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *99 + - *61 - *17 - *19 responses: @@ -45176,11 +45389,11 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -45200,7 +45413,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 +45485,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &289 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45671,7 +45884,7 @@ paths: - repos_count - organization examples: - default: &300 + default: &290 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45741,16 +45954,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: *289 examples: - default: *300 + default: *290 '404': *6 x-github: githubCloudOnly: false @@ -45771,8 +45984,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 +46048,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '201': description: Response content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '404': *6 '422': *15 '403': *27 @@ -45869,8 +46082,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 +46109,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 +46127,7 @@ paths: application/json: schema: type: array - items: &301 + items: &291 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -46005,7 +46218,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *70 + reactions: *68 required: - author - body @@ -46025,7 +46238,7 @@ paths: - updated_at - url examples: - default: &621 + default: &619 value: - author: login: octocat @@ -46075,7 +46288,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46099,8 +46312,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 +46347,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: &302 + default: &292 value: author: login: octocat @@ -46208,9 +46421,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *99 - - *64 - - &303 + - *61 + - *62 + - &293 name: discussion_number description: The number that identifies the discussion. in: path @@ -46222,9 +46435,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: *302 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46246,9 +46459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *293 requestBody: required: false content: @@ -46271,9 +46484,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: &622 + default: &620 value: author: login: octocat @@ -46343,9 +46556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *293 responses: '204': description: Response @@ -46371,9 +46584,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *293 - *46 - *17 - *19 @@ -46384,7 +46597,7 @@ paths: application/json: schema: type: array - items: &304 + items: &294 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46449,7 +46662,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 +46677,7 @@ paths: - updated_at - url examples: - default: &623 + default: &621 value: - author: login: octocat @@ -46508,7 +46721,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46532,9 +46745,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 + - *293 requestBody: required: true content: @@ -46556,9 +46769,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: &305 + default: &295 value: author: login: octocat @@ -46624,10 +46837,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 + - *293 + - &296 name: comment_number description: The number that identifies the comment. in: path @@ -46639,9 +46852,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: *305 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46663,10 +46876,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 + - *293 + - *296 requestBody: required: true content: @@ -46688,9 +46901,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: &624 + default: &622 value: author: login: octocat @@ -46754,10 +46967,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 + - *293 + - *296 responses: '204': description: Response @@ -46783,10 +46996,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 + - *293 + - *296 - 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 +47025,7 @@ paths: application/json: schema: type: array - items: &307 + items: &297 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46856,7 +47069,7 @@ paths: - content - created_at examples: - default: &309 + default: &299 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46882,7 +47095,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46906,10 +47119,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 + - *293 + - *296 requestBody: required: true content: @@ -46942,9 +47155,9 @@ paths: team discussion comment content: application/json: - schema: *307 + schema: *297 examples: - default: &308 + default: &298 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46973,9 +47186,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46998,11 +47211,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 + - *293 + - *296 + - &300 name: reaction_id description: The unique identifier of the reaction. in: path @@ -47034,9 +47247,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 + - *293 - 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 +47275,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47090,9 +47303,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 + - *293 requestBody: required: true content: @@ -47124,16 +47337,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47156,10 +47369,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 + - *293 + - *300 responses: '204': description: Response @@ -47183,8 +47396,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: @@ -47198,7 +47411,7 @@ paths: examples: default: *197 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47218,8 +47431,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 +47455,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47272,15 +47485,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: &301 title: Team Membership description: Team Membership type: object @@ -47308,7 +47521,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &625 + response-if-user-is-a-team-maintainer: &623 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47344,9 +47557,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 +47584,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *301 examples: - response-if-users-membership-with-team-is-now-pending: &626 + response-if-users-membership-with-team-is-now-pending: &624 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47408,9 +47621,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 +47648,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 +47659,7 @@ paths: application/json: schema: type: array - items: &312 + items: &302 title: Team Project description: A team's access to a project. type: object @@ -47515,7 +47728,7 @@ paths: - updated_at - permissions examples: - default: &627 + default: &625 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47555,7 +47768,7 @@ paths: write: true admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47578,9 +47791,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 + - &303 name: project_id description: The unique identifier of the project. in: path @@ -47592,9 +47805,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *302 examples: - default: &628 + default: &626 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47656,9 +47869,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 + - *303 requestBody: required: false content: @@ -47725,9 +47938,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 + - *303 responses: '204': description: Response @@ -47754,8 +47967,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 +47978,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47796,16 +48009,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 + - *304 + - *305 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &629 + schema: &627 title: Team Repository description: A team's access to a repository. type: object @@ -47831,7 +48044,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 forks: type: integer permissions: @@ -48446,10 +48659,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 + - *304 + - *305 requestBody: required: false content: @@ -48494,10 +48707,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 + - *304 + - *305 responses: '204': description: Response @@ -48521,8 +48734,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 +48745,9 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: - response-if-child-teams-exist: &630 + response-if-child-teams-exist: &628 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48562,7 +48775,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 +48800,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 +48874,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &316 + - &306 name: column_id description: The unique identifier of the column. in: path @@ -48673,7 +48886,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &307 title: Project Column description: Project columns contain cards of work. type: object @@ -48727,7 +48940,7 @@ paths: - created_at - updated_at examples: - default: &318 + default: &308 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48762,7 +48975,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *316 + - *306 requestBody: required: true content: @@ -48787,9 +49000,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *307 examples: - default: *318 + default: *308 '304': *35 '403': *27 '401': *23 @@ -48814,7 +49027,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *316 + - *306 responses: '204': description: Response @@ -48843,7 +49056,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *316 + - *306 requestBody: required: true content: @@ -48904,7 +49117,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *313 + - *303 responses: '200': description: Response @@ -48912,7 +49125,7 @@ paths: application/json: schema: *232 examples: - default: &319 + default: &309 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -48969,7 +49182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *313 + - *303 requestBody: required: false content: @@ -49020,7 +49233,7 @@ paths: application/json: schema: *232 examples: - default: *319 + default: *309 '404': description: Not Found if the authenticated user does not have access to the project @@ -49041,7 +49254,7 @@ paths: items: type: string '401': *23 - '410': *320 + '410': *310 '422': *7 x-github: githubCloudOnly: false @@ -49064,7 +49277,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *313 + - *303 responses: '204': description: Delete Success @@ -49085,7 +49298,7 @@ paths: items: type: string '401': *23 - '410': *320 + '410': *310 '404': *6 x-github: githubCloudOnly: false @@ -49109,7 +49322,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *313 + - *303 - 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 +49349,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 '422': *15 '304': *35 @@ -49166,8 +49379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *313 - - *62 + - *303 + - *57 requestBody: required: false content: @@ -49221,8 +49434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *313 - - *62 + - *303 + - *57 responses: '204': description: Response @@ -49253,8 +49466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *313 - - *62 + - *303 + - *57 responses: '200': description: Response @@ -49324,7 +49537,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *313 + - *303 - *17 - *19 responses: @@ -49334,7 +49547,7 @@ paths: application/json: schema: type: array - items: *317 + items: *307 examples: default: value: @@ -49347,7 +49560,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 +49585,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *313 + - *303 requestBody: required: true content: @@ -49396,7 +49609,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *307 examples: default: value: @@ -49461,7 +49674,7 @@ paths: resources: type: object properties: - core: &321 + core: &311 title: Rate Limit type: object properties: @@ -49478,21 +49691,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: *311 + search: *311 + code_search: *311 + source_import: *311 + integration_manifest: *311 + code_scanning_upload: *311 + actions_runner_registration: *311 + scim: *311 + dependency_snapshots: *311 + dependency_sbom: *311 + code_scanning_autofix: *311 required: - core - search - rate: *321 + rate: *311 required: - rate - resources @@ -49597,14 +49810,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *322 + schema: *312 examples: default-response: summary: Default response @@ -50105,7 +50318,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *323 + '301': *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50123,8 +50336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -50372,10 +50585,10 @@ paths: description: Response content: application/json: - schema: *322 + schema: *312 examples: - default: *324 - '307': &325 + default: *314 + '307': &315 description: Temporary Redirect content: application/json: @@ -50404,8 +50617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -50427,7 +50640,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *325 + '307': *315 '404': *6 '409': *45 x-github: @@ -50451,11 +50664,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 - - &356 + - &346 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50478,7 +50691,7 @@ paths: type: integer artifacts: type: array - items: &326 + items: &316 title: Artifact description: An artifact type: object @@ -50573,7 +50786,7 @@ paths: - expires_at - updated_at examples: - default: &357 + default: &347 value: total_count: 2 artifacts: @@ -50612,7 +50825,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50634,9 +50847,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *314 - - *315 - - &327 + - *304 + - *305 + - &317 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50648,7 +50861,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *316 examples: default: value: @@ -50686,9 +50899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *314 - - *315 - - *327 + - *304 + - *305 + - *317 responses: '204': description: Response @@ -50712,9 +50925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *314 - - *315 - - *327 + - *304 + - *305 + - *317 - name: archive_format in: path required: true @@ -50728,7 +50941,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': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50751,14 +50964,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 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *328 + schema: *318 examples: default: value: @@ -50784,11 +50997,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 - - &329 + - &319 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 +51035,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &320 title: Repository actions caches description: Repository actions caches type: object @@ -50872,7 +51085,7 @@ paths: - total_count - actions_caches examples: - default: &331 + default: &321 value: total_count: 1 actions_caches: @@ -50884,7 +51097,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 +51117,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 + - *304 + - *305 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *329 + - *319 responses: '200': description: Response content: application/json: - schema: *330 + schema: *320 examples: - default: *331 + default: *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50940,8 +51153,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 + - *304 + - *305 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50972,9 +51185,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 + - *304 + - *305 + - &322 name: job_id description: The unique identifier of the job. in: path @@ -50986,7 +51199,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &350 title: Job description: Information of a job execution in a workflow run type: object @@ -51333,9 +51546,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 + - *304 + - *305 + - *322 responses: '302': description: Response @@ -51363,9 +51576,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 + - *304 + - *305 + - *322 requestBody: required: false content: @@ -51387,7 +51600,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -51411,8 +51624,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 + - *304 + - *305 responses: '200': description: Status response @@ -51462,8 +51675,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 + - *304 + - *305 requestBody: required: true content: @@ -51497,7 +51710,7 @@ paths: description: Empty response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -51526,8 +51739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -51545,7 +51758,7 @@ paths: type: integer secrets: type: array - items: &362 + items: &352 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51566,7 +51779,7 @@ paths: - created_at - updated_at examples: - default: &363 + default: &353 value: total_count: 2 secrets: @@ -51577,7 +51790,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 +51812,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *314 - - *315 - - *333 + - *304 + - *305 + - *323 - *19 responses: '200': @@ -51618,7 +51831,7 @@ paths: type: integer variables: type: array - items: &366 + items: &356 title: Actions Variable type: object properties: @@ -51652,7 +51865,7 @@ paths: - created_at - updated_at examples: - default: &367 + default: &357 value: total_count: 2 variables: @@ -51665,7 +51878,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 +51898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -51695,12 +51908,12 @@ paths: schema: type: object properties: - enabled: &335 + enabled: &325 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *116 - selected_actions_url: *334 - sha_pinning_required: *117 + allowed_actions: *114 + selected_actions_url: *324 + sha_pinning_required: *115 required: - enabled examples: @@ -51728,8 +51941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -51740,9 +51953,9 @@ paths: schema: type: object properties: - enabled: *335 - allowed_actions: *116 - sha_pinning_required: *117 + enabled: *325 + allowed_actions: *114 + sha_pinning_required: *115 required: - enabled examples: @@ -51772,14 +51985,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 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: &336 + schema: &326 type: object properties: access_level: @@ -51796,7 +52009,7 @@ paths: required: - access_level examples: - default: &337 + default: &327 value: access_level: organization x-github: @@ -51820,15 +52033,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 + - *304 + - *305 requestBody: required: true content: application/json: - schema: *336 + schema: *326 examples: - default: *337 + default: *327 responses: '204': description: Response @@ -51852,14 +52065,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 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *338 + schema: *328 examples: default: value: @@ -51883,8 +52096,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 + - *304 + - *305 responses: '204': description: Empty response for successful settings update @@ -51894,7 +52107,7 @@ paths: required: true content: application/json: - schema: *339 + schema: *329 examples: default: summary: Set retention days @@ -51918,16 +52131,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 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *118 + schema: *116 examples: - default: *340 + default: *330 '404': *6 x-github: enabledForGitHubApps: true @@ -51946,8 +52159,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 + - *304 + - *305 responses: '204': description: Response @@ -51957,7 +52170,7 @@ paths: required: true content: application/json: - schema: *118 + schema: *116 examples: default: summary: Set approval policy to first time contributors @@ -51981,16 +52194,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 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *341 + schema: *331 examples: - default: *119 + default: *117 '403': *27 '404': *6 x-github: @@ -52010,15 +52223,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 + - *304 + - *305 requestBody: required: true content: application/json: - schema: *342 + schema: *332 examples: - default: *119 + default: *117 responses: '204': description: Empty response for successful settings update @@ -52042,16 +52255,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 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *121 + schema: *119 examples: - default: *122 + default: *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52070,8 +52283,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 + - *304 + - *305 responses: '204': description: Response @@ -52079,9 +52292,9 @@ paths: required: false content: application/json: - schema: *121 + schema: *119 examples: - selected_actions: *122 + selected_actions: *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52103,16 +52316,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *343 + schema: *333 examples: - default: *126 + default: *124 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52133,8 +52346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Success response @@ -52145,9 +52358,9 @@ paths: required: true content: application/json: - schema: *344 + schema: *334 examples: - default: *126 + default: *124 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52174,8 +52387,8 @@ paths: in: query schema: type: string - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -52193,11 +52406,11 @@ paths: type: integer runners: type: array - items: *133 + items: *131 examples: - default: *134 + default: *132 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52219,8 +52432,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 + - *304 + - *305 responses: '200': description: Response @@ -52228,9 +52441,9 @@ paths: application/json: schema: type: array - items: *345 + items: *335 examples: - default: *346 + default: *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52252,8 +52465,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 + - *304 + - *305 requestBody: required: true content: @@ -52296,7 +52509,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *347 + '201': *337 '404': *6 '422': *7 '409': *45 @@ -52327,16 +52540,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 + - *304 + - *305 responses: '201': description: Response content: application/json: - schema: *135 + schema: *133 examples: - default: *348 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52364,16 +52577,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 + - *304 + - *305 responses: '201': description: Response content: application/json: - schema: *135 + schema: *133 examples: - default: *349 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52395,17 +52608,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 + - *304 + - *305 + - *130 responses: '200': description: Response content: application/json: - schema: *133 + schema: *131 examples: - default: *350 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52426,9 +52639,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 + - *304 + - *305 + - *130 responses: '204': description: Response @@ -52454,11 +52667,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 + - *304 + - *305 + - *130 responses: - '200': *137 + '200': *135 '404': *6 x-github: githubCloudOnly: false @@ -52480,9 +52693,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 + - *304 + - *305 + - *130 requestBody: required: true content: @@ -52506,7 +52719,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -52530,9 +52743,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 + - *304 + - *305 + - *130 requestBody: required: true content: @@ -52557,7 +52770,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -52581,11 +52794,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 + - *304 + - *305 + - *130 responses: - '200': *351 + '200': *341 '404': *6 x-github: githubCloudOnly: false @@ -52612,12 +52825,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 + - *304 + - *305 + - *130 + - *342 responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -52643,9 +52856,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 + - *304 + - *305 + - &360 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 +52866,7 @@ paths: required: false schema: type: string - - &371 + - &361 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52661,7 +52874,7 @@ paths: required: false schema: type: string - - &372 + - &362 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 +52883,7 @@ paths: required: false schema: type: string - - &373 + - &363 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 +52910,7 @@ paths: - pending - *17 - *19 - - &374 + - &364 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 +52919,7 @@ paths: schema: type: string format: date-time - - &353 + - &343 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52715,13 +52928,13 @@ paths: schema: type: boolean default: false - - &375 + - &365 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &376 + - &366 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52744,7 +52957,7 @@ paths: type: integer workflow_runs: type: array - items: &354 + items: &344 title: Workflow Run description: An invocation of a workflow type: object @@ -52861,7 +53074,7 @@ paths: type: - array - 'null' - items: *72 + items: *70 created_at: type: string format: date-time @@ -52922,7 +53135,7 @@ paths: head_commit: anyOf: - type: 'null' - - &398 + - &388 title: Simple Commit description: A commit. type: object @@ -52996,8 +53209,8 @@ paths: - timestamp - author - committer - repository: *131 - head_repository: *131 + repository: *129 + head_repository: *129 head_repository_id: type: integer examples: @@ -53037,7 +53250,7 @@ paths: - workflow_url - pull_requests examples: - default: &377 + default: &367 value: total_count: 1 workflow_runs: @@ -53251,7 +53464,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 +53486,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *314 - - *315 - - &355 + - *304 + - *305 + - &345 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *353 + - *343 responses: '200': description: Response content: application/json: - schema: *354 + schema: *344 examples: - default: &358 + default: &348 value: id: 30433642 name: Build @@ -53531,9 +53744,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '204': description: Response @@ -53556,9 +53769,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 + - *304 + - *305 + - *345 responses: '200': description: Response @@ -53686,15 +53899,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 + - *304 + - *305 + - *345 responses: '201': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -53721,12 +53934,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 - *17 - *19 - - *356 + - *346 responses: '200': description: Response @@ -53742,11 +53955,11 @@ paths: type: integer artifacts: type: array - items: *326 + items: *316 examples: - default: *357 + default: *347 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53768,25 +53981,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 + - *304 + - *305 + - *345 + - &349 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *353 + - *343 responses: '200': description: Response content: application/json: - schema: *354 + schema: *344 examples: - default: *358 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53809,10 +54022,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 + - *304 + - *305 + - *345 + - *349 - *17 - *19 responses: @@ -53830,9 +54043,9 @@ paths: type: integer jobs: type: array - items: *360 + items: *350 examples: - default: &361 + default: &351 value: total_count: 1 jobs: @@ -53921,7 +54134,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -53945,10 +54158,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 + - *304 + - *305 + - *345 + - *349 responses: '302': description: Response @@ -53976,15 +54189,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '202': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -54011,9 +54224,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 + - *304 + - *305 + - *345 requestBody: required: true content: @@ -54080,15 +54293,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '202': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -54115,9 +54328,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 + - *304 + - *305 + - *345 - 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 +54360,11 @@ paths: type: integer jobs: type: array - items: *360 + items: *350 examples: - default: *361 + default: *351 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54174,9 +54387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '302': description: Response @@ -54203,14 +54416,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '204': description: Response '403': *27 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54232,9 +54445,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 + - *304 + - *305 + - *345 responses: '200': description: Response @@ -54303,7 +54516,7 @@ paths: items: type: object properties: - type: &472 + type: &462 type: string description: The type of reviewer. enum: @@ -54314,7 +54527,7 @@ paths: reviewer: anyOf: - *4 - - *161 + - *163 required: - environment - wait_timer @@ -54389,9 +54602,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 + - *304 + - *305 + - *345 requestBody: required: true content: @@ -54441,7 +54654,7 @@ paths: application/json: schema: type: array - items: &467 + items: &457 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54553,7 +54766,7 @@ paths: - created_at - updated_at examples: - default: &468 + default: &458 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54609,9 +54822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 requestBody: required: false content: @@ -54633,7 +54846,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -54656,9 +54869,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 + - *304 + - *305 + - *345 requestBody: required: false content: @@ -54680,7 +54893,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -54712,9 +54925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '200': description: Response @@ -54851,8 +55064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -54870,11 +55083,11 @@ paths: type: integer secrets: type: array - items: *362 + items: *352 examples: - default: *363 + default: *353 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54897,16 +55110,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *364 + schema: *354 examples: - default: *365 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54928,17 +55141,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '200': description: Response content: application/json: - schema: *362 + schema: *352 examples: - default: &485 + default: &475 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54964,9 +55177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 requestBody: required: true content: @@ -54997,7 +55210,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -55023,9 +55236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '204': description: Response @@ -55050,9 +55263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *314 - - *315 - - *333 + - *304 + - *305 + - *323 - *19 responses: '200': @@ -55069,11 +55282,11 @@ paths: type: integer variables: type: array - items: *366 + items: *356 examples: - default: *367 + default: *357 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55094,8 +55307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -55122,7 +55335,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -55147,17 +55360,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *304 + - *305 + - *140 responses: '200': description: Response content: application/json: - schema: *366 + schema: *356 examples: - default: &486 + default: &476 value: name: USERNAME value: octocat @@ -55183,9 +55396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *304 + - *305 + - *140 requestBody: required: true content: @@ -55227,9 +55440,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *304 + - *305 + - *140 responses: '204': description: Response @@ -55254,8 +55467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -55273,7 +55486,7 @@ paths: type: integer workflows: type: array - items: &368 + items: &358 title: Workflow description: A GitHub Actions workflow type: object @@ -55368,7 +55581,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 +55604,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *314 - - *315 - - &369 + - *304 + - *305 + - &359 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55408,7 +55621,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *358 examples: default: value: @@ -55441,9 +55654,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *314 - - *315 - - *369 + - *304 + - *305 + - *359 responses: '204': description: Response @@ -55468,9 +55681,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *314 - - *315 - - *369 + - *304 + - *305 + - *359 responses: '204': description: Response @@ -55521,9 +55734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *314 - - *315 - - *369 + - *304 + - *305 + - *359 responses: '204': description: Response @@ -55550,19 +55763,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *314 - - *315 - - *369 - - *370 - - *371 - - *372 - - *373 + - *304 + - *305 + - *359 + - *360 + - *361 + - *362 + - *363 - *17 - *19 - - *374 - - *353 - - *375 - - *376 + - *364 + - *343 + - *365 + - *366 responses: '200': description: Response @@ -55578,11 +55791,11 @@ paths: type: integer workflow_runs: type: array - items: *354 + items: *344 examples: - default: *377 + default: *367 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55612,9 +55825,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *314 - - *315 - - *369 + - *304 + - *305 + - *359 responses: '200': description: Response @@ -55675,8 +55888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *314 - - *315 + - *304 + - *305 - *46 - *17 - *38 @@ -55825,7 +56038,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '422': *7 x-github: githubCloudOnly: false @@ -55844,8 +56057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -55857,9 +56070,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -55882,8 +56095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *314 - - *315 + - *304 + - *305 - name: assignee in: path required: true @@ -55919,8 +56132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -56032,8 +56245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *38 - *39 @@ -56089,7 +56302,7 @@ paths: initiator: type: string examples: - default: *378 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56109,8 +56322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -56118,7 +56331,7 @@ paths: application/json: schema: type: array - items: &379 + items: &369 title: Autolink reference description: An autolink reference. type: object @@ -56177,8 +56390,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -56217,9 +56430,9 @@ paths: description: response content: application/json: - schema: *379 + schema: *369 examples: - default: &380 + default: &370 value: id: 1 key_prefix: TICKET- @@ -56250,9 +56463,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 + - *304 + - *305 + - &371 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56264,9 +56477,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *369 examples: - default: *380 + default: *370 '404': *6 x-github: githubCloudOnly: false @@ -56286,9 +56499,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 + - *304 + - *305 + - *371 responses: '204': description: Response @@ -56312,8 +56525,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 + - *304 + - *305 responses: '200': description: Response if Dependabot is enabled @@ -56363,8 +56576,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -56385,8 +56598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -56406,8 +56619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *314 - - *315 + - *304 + - *305 - 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 +56658,7 @@ paths: - url protected: type: boolean - protection: &383 + protection: &373 title: Branch Protection description: Branch Protection type: object @@ -56488,7 +56701,7 @@ paths: required: - contexts - checks - enforce_admins: &386 + enforce_admins: &376 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56505,7 +56718,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &388 + required_pull_request_reviews: &378 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56527,7 +56740,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *161 + items: *163 apps: description: The list of apps with review dismissal access. @@ -56559,7 +56772,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *161 + items: *163 apps: description: The list of apps allowed to bypass pull request requirements. @@ -56589,7 +56802,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &385 + restrictions: &375 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56652,7 +56865,7 @@ paths: type: string teams: type: array - items: *161 + items: *163 apps: type: array items: @@ -56864,7 +57077,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 +57095,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *314 - - *315 - - &384 + - *304 + - *305 + - &374 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 +57111,14 @@ paths: description: Response content: application/json: - schema: &394 + schema: &384 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &443 + commit: &433 title: Commit description: Commit type: object @@ -56944,7 +57157,7 @@ paths: author: anyOf: - type: 'null' - - &382 + - &372 title: Git User description: Metaproperties for Git author/committer information. @@ -56965,7 +57178,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *372 message: type: string examples: @@ -56989,7 +57202,7 @@ paths: required: - sha - url - verification: &492 + verification: &482 title: Verification type: object properties: @@ -57025,14 +57238,14 @@ paths: author: oneOf: - *4 - - *140 + - *138 type: - 'null' - object committer: oneOf: - *4 - - *140 + - *138 type: - 'null' - object @@ -57069,7 +57282,7 @@ paths: type: integer files: type: array - items: &454 + items: &444 title: Diff Entry description: Diff Entry type: object @@ -57165,7 +57378,7 @@ paths: - self protected: type: boolean - protection: *383 + protection: *373 protection_url: type: string format: uri @@ -57274,7 +57487,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *323 + '301': *313 '404': *6 x-github: githubCloudOnly: false @@ -57296,15 +57509,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *383 + schema: *373 examples: default: value: @@ -57498,9 +57711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -57760,7 +57973,7 @@ paths: url: type: string format: uri - required_status_checks: &391 + required_status_checks: &381 title: Status Check Policy description: Status Check Policy type: object @@ -57841,7 +58054,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *163 apps: type: array items: *5 @@ -57859,7 +58072,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *163 apps: type: array items: *5 @@ -57919,7 +58132,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *385 + restrictions: *375 required_conversation_resolution: type: object properties: @@ -58031,9 +58244,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58058,17 +58271,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *386 + schema: *376 examples: - default: &387 + default: &377 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58090,17 +58303,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *386 + schema: *376 examples: - default: *387 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58119,9 +58332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58146,17 +58359,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *388 + schema: *378 examples: - default: &389 + default: &379 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58252,9 +58465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -58352,9 +58565,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *378 examples: - default: *389 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -58375,9 +58588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58404,17 +58617,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *386 + schema: *376 examples: - default: &390 + default: &380 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58437,17 +58650,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *386 + schema: *376 examples: - default: *390 + default: *380 '404': *6 x-github: githubCloudOnly: false @@ -58467,9 +58680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58494,17 +58707,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *391 + schema: *381 examples: - default: &392 + default: &382 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58530,9 +58743,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -58584,9 +58797,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *381 examples: - default: *392 + default: *382 '404': *6 '422': *15 x-github: @@ -58608,9 +58821,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58634,9 +58847,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response @@ -58670,9 +58883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -58739,9 +58952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -58805,9 +59018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: content: application/json: @@ -58873,15 +59086,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *385 + schema: *375 examples: default: value: @@ -58972,9 +59185,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58997,9 +59210,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 + - *304 + - *305 + - *374 responses: '200': description: Response @@ -59009,7 +59222,7 @@ paths: type: array items: *5 examples: - default: &393 + default: &383 value: - id: 1 slug: octoapp @@ -59066,9 +59279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59102,7 +59315,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *383 '422': *15 x-github: githubCloudOnly: false @@ -59123,9 +59336,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59159,7 +59372,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *383 '422': *15 x-github: githubCloudOnly: false @@ -59180,9 +59393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59216,7 +59429,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *383 '422': *15 x-github: githubCloudOnly: false @@ -59238,9 +59451,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 + - *304 + - *305 + - *374 responses: '200': description: Response @@ -59248,7 +59461,7 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 '404': *6 @@ -59270,9 +59483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -59308,7 +59521,7 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 '422': *15 @@ -59331,9 +59544,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -59369,7 +59582,7 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 '422': *15 @@ -59392,9 +59605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: content: application/json: @@ -59429,7 +59642,7 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 '422': *15 @@ -59453,9 +59666,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 + - *304 + - *305 + - *374 responses: '200': description: Response @@ -59465,7 +59678,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '404': *6 x-github: githubCloudOnly: false @@ -59489,9 +59702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59524,7 +59737,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59549,9 +59762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59584,7 +59797,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59609,9 +59822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59644,7 +59857,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59671,9 +59884,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59695,7 +59908,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *384 examples: default: value: @@ -59811,8 +60024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -60091,7 +60304,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &385 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60226,8 +60439,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *72 - deployment: &688 + items: *70 + deployment: &685 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60514,9 +60727,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *314 - - *315 - - &396 + - *304 + - *305 + - &386 name: check_run_id description: The unique identifier of the check run. in: path @@ -60528,9 +60741,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *385 examples: - default: &397 + default: &387 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60630,9 +60843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *314 - - *315 - - *396 + - *304 + - *305 + - *386 requestBody: required: true content: @@ -60872,9 +61085,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *385 examples: - default: *397 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60894,9 +61107,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *314 - - *315 - - *396 + - *304 + - *305 + - *386 - *17 - *19 responses: @@ -60986,7 +61199,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 +61219,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *314 - - *315 - - *396 + - *304 + - *305 + - *386 responses: '201': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -61052,8 +61265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -61075,7 +61288,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &399 + schema: &389 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61157,12 +61370,12 @@ paths: type: - array - 'null' - items: *72 + items: *70 app: anyOf: - type: 'null' - *5 - repository: *131 + repository: *129 created_at: type: - string @@ -61173,7 +61386,7 @@ paths: - string - 'null' format: date-time - head_commit: *398 + head_commit: *388 latest_check_runs_count: type: integer check_runs_url: @@ -61201,7 +61414,7 @@ paths: - check_runs_url - pull_requests examples: - default: &400 + default: &390 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61492,9 +61705,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *399 + schema: *389 examples: - default: *400 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61513,8 +61726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -61575,7 +61788,7 @@ paths: required: - app_id - setting - repository: *131 + repository: *129 examples: default: value: @@ -61823,9 +62036,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *314 - - *315 - - &401 + - *304 + - *305 + - &391 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61837,9 +62050,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *389 examples: - default: *400 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61862,17 +62075,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 + - *304 + - *305 + - *391 + - &439 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &450 + - &440 name: status description: Returns check runs with the specified `status`. in: query @@ -61911,9 +62124,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *385 examples: - default: &451 + default: &441 value: total_count: 1 check_runs: @@ -61995,7 +62208,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 +62228,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *314 - - *315 - - *401 + - *304 + - *305 + - *391 responses: '201': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -62050,21 +62263,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 + - *304 + - *305 + - *392 + - *393 - *19 - *17 - - &420 + - &410 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: *394 + - &411 name: pr description: The number of the pull request for the results you want to list. in: query @@ -62089,13 +62302,13 @@ paths: be returned. in: query required: false - schema: *405 + schema: *395 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *406 + schema: *396 responses: '200': description: Response @@ -62106,24 +62319,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: *145 + created_at: *146 + updated_at: *147 + url: *148 + html_url: *149 + instances_url: *397 + state: *154 + fixed_at: *150 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: *151 + dismissed_reason: *398 + dismissed_comment: *399 + rule: *400 + tool: *401 + most_recent_instance: *402 dismissal_approved_by: anyOf: - type: 'null' @@ -62246,14 +62459,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &413 + '403': &403 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62273,9 +62486,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 + - *304 + - *305 + - &404 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62283,30 +62496,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *52 + schema: *145 responses: '200': description: Response content: application/json: - schema: &415 + schema: &405 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: *145 + created_at: *146 + updated_at: *147 + url: *148 + html_url: *149 + instances_url: *397 + state: *154 + fixed_at: *150 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_at: *151 + dismissed_reason: *398 + dismissed_comment: *399 rule: type: object properties: @@ -62368,8 +62581,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *411 - most_recent_instance: *412 + tool: *401 + most_recent_instance: *402 dismissal_approved_by: anyOf: - type: 'null' @@ -62465,9 +62678,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62485,9 +62698,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 + - *304 + - *305 + - *404 requestBody: required: true content: @@ -62502,8 +62715,8 @@ paths: enum: - open - dismissed - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_reason: *398 + dismissed_comment: *399 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62522,7 +62735,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *405 examples: default: value: @@ -62598,14 +62811,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &419 + '403': &409 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62625,15 +62838,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 + - *304 + - *305 + - *404 responses: '200': description: Response content: application/json: - schema: &416 + schema: &406 type: object properties: status: @@ -62660,13 +62873,13 @@ paths: - description - started_at examples: - default: &417 + default: &407 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &418 + '400': &408 description: Bad Request content: application/json: @@ -62677,9 +62890,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': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62702,29 +62915,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 + - *304 + - *305 + - *404 responses: '200': description: OK content: application/json: - schema: *416 + schema: *406 examples: - default: *417 + default: *407 '202': description: Accepted content: application/json: - schema: *416 + schema: *406 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *418 + '400': *408 '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 +62947,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62756,9 +62969,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 + - *304 + - *305 + - *404 requestBody: required: false content: @@ -62804,12 +63017,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *418 - '403': *419 + '400': *408 + '403': *409 '404': *6 '422': description: Unprocessable Entity - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62829,13 +63042,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 + - *304 + - *305 + - *404 - *19 - *17 - - *420 - - *421 + - *410 + - *411 responses: '200': description: Response @@ -62843,7 +63056,7 @@ paths: application/json: schema: type: array - items: *412 + items: *402 examples: default: value: @@ -62882,9 +63095,9 @@ paths: end_column: 50 classifications: - source - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62916,25 +63129,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 + - *304 + - *305 + - *392 + - *393 - *19 - *17 - - *421 + - *411 - 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: *394 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &424 + schema: &414 type: string description: An identifier for the upload. examples: @@ -62956,23 +63169,23 @@ paths: application/json: schema: type: array - items: &425 + items: &415 type: object properties: - ref: *404 - commit_sha: &433 + ref: *394 + commit_sha: &423 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: *412 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *423 + category: *413 error: type: string examples: @@ -62997,8 +63210,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *424 - tool: *411 + sarif_id: *414 + tool: *401 deletable: type: boolean warning: @@ -63060,9 +63273,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63096,8 +63309,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 + - *304 + - *305 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63110,7 +63323,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *415 examples: response: summary: application/json response @@ -63164,14 +63377,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *413 + '403': *403 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63251,8 +63464,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 + - *304 + - *305 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63308,9 +63521,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': *409 '404': *6 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63330,8 +63543,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 + - *304 + - *305 responses: '200': description: Response @@ -63339,7 +63552,7 @@ paths: application/json: schema: type: array - items: &426 + items: &416 title: CodeQL Database description: A CodeQL database. type: object @@ -63451,9 +63664,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': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63480,8 +63693,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 + - *304 + - *305 - name: language in: path description: The language of the CodeQL database. @@ -63493,7 +63706,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *416 examples: default: value: @@ -63525,11 +63738,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': &446 description: Found - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63549,8 +63762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *314 - - *315 + - *304 + - *305 - name: language in: path description: The language of the CodeQL database. @@ -63560,9 +63773,9 @@ paths: responses: '204': description: Response - '403': *419 + '403': *409 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63588,8 +63801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -63598,7 +63811,7 @@ paths: type: object additionalProperties: false properties: - language: &427 + language: &417 type: string description: The language targeted by the CodeQL query enum: @@ -63677,7 +63890,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &431 + schema: &421 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63687,7 +63900,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *427 + query_language: *417 query_pack_url: type: string description: The download url for the query pack. @@ -63735,7 +63948,7 @@ paths: items: type: object properties: - repository: &428 + repository: &418 title: Repository Identifier description: Repository Identifier type: object @@ -63777,7 +63990,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &432 + analysis_status: &422 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63809,7 +64022,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: &419 type: object properties: repository_count: @@ -63824,7 +64037,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: *418 required: - repository_count - repositories @@ -63847,8 +64060,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *429 - over_limit_repos: *429 + no_codeql_db_repos: *419 + over_limit_repos: *419 required: - access_mismatch_repos - not_found_repos @@ -63864,7 +64077,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &430 + value: &420 summary: Default response value: id: 1 @@ -64016,17 +64229,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *430 + value: *420 repository_lists: summary: Response for a successful variant analysis submission - value: *430 + value: *420 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64047,8 +64260,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 + - *304 + - *305 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64060,11 +64273,11 @@ paths: description: Response content: application/json: - schema: *431 + schema: *421 examples: - default: *430 + default: *420 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64085,7 +64298,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 + - *304 - name: repo in: path description: The name of the controller repository. @@ -64120,7 +64333,7 @@ paths: type: object properties: repository: *51 - analysis_status: *432 + analysis_status: *422 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64224,7 +64437,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64245,8 +64458,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 + - *304 + - *305 responses: '200': description: Response @@ -64339,9 +64552,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64360,8 +64573,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 + - *304 + - *305 requestBody: required: true content: @@ -64430,7 +64643,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -64455,7 +64668,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *419 + '403': *409 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64469,7 +64682,7 @@ paths: content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64526,8 +64739,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 + - *304 + - *305 requestBody: required: true content: @@ -64535,7 +64748,7 @@ paths: schema: type: object properties: - commit_sha: *433 + commit_sha: *423 ref: type: string description: |- @@ -64595,7 +64808,7 @@ paths: schema: type: object properties: - id: *424 + id: *414 url: type: string description: The REST API URL for checking the status of the upload. @@ -64609,11 +64822,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': *409 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64632,8 +64845,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 + - *304 + - *305 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64681,10 +64894,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': *403 '404': description: Not Found if the sarif id does not match any upload - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64706,8 +64919,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 + - *304 + - *305 responses: '200': description: Response @@ -64763,7 +64976,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': *159 '304': *35 '403': *27 '404': *6 @@ -64788,8 +65001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *314 - - *315 + - *304 + - *305 - 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 +65130,8 @@ paths: parameters: - *17 - *19 - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -65210,7 +65423,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -65232,8 +65445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -65299,7 +65512,7 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -65307,12 +65520,12 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65336,8 +65549,8 @@ paths: parameters: - *17 - *19 - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -65377,7 +65590,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *100 + '500': *97 '400': *14 '401': *23 '403': *27 @@ -65401,8 +65614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65439,9 +65652,9 @@ paths: type: integer machines: type: array - items: *435 + items: *425 examples: - default: &637 + default: &635 value: total_count: 2 machines: @@ -65458,7 +65671,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -65481,8 +65694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *314 - - *315 + - *304 + - *305 - 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 +65782,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 + - *304 + - *305 - 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 +65831,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65639,8 +65852,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -65658,7 +65871,7 @@ paths: type: integer secrets: type: array - items: &439 + items: &429 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65679,9 +65892,9 @@ paths: - created_at - updated_at examples: - default: *436 + default: *426 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65702,16 +65915,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *437 + schema: *427 examples: - default: *438 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65731,17 +65944,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '200': description: Response content: application/json: - schema: *439 + schema: *429 examples: - default: *440 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65761,9 +65974,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 + - *304 + - *305 + - *137 requestBody: required: true content: @@ -65791,7 +66004,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -65815,9 +66028,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '204': description: Response @@ -65845,8 +66058,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *314 - - *315 + - *304 + - *305 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65884,7 +66097,7 @@ paths: application/json: schema: type: array - items: &441 + items: &431 title: Collaborator description: Collaborator type: object @@ -66052,7 +66265,7 @@ paths: admin: false role_name: write headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -66077,9 +66290,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 + - *304 + - *305 + - *57 responses: '204': description: Response if user is a collaborator @@ -66125,9 +66338,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *304 + - *305 + - *57 requestBody: required: false content: @@ -66153,7 +66366,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &505 + schema: &495 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66165,7 +66378,7 @@ paths: format: int64 examples: - 42 - repository: *131 + repository: *129 invitee: anyOf: - type: 'null' @@ -66341,7 +66554,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *105 + schema: *103 '403': *27 x-github: triggersNotification: true @@ -66381,9 +66594,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *304 + - *305 + - *57 responses: '204': description: No Content when collaborator was removed from the repository. @@ -66414,9 +66627,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *314 - - *315 - - *62 + - *304 + - *305 + - *57 responses: '200': description: if user has admin permissions @@ -66436,7 +66649,7 @@ paths: user: anyOf: - type: 'null' - - *441 + - *431 required: - permission - role_name @@ -66490,8 +66703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -66501,7 +66714,7 @@ paths: application/json: schema: type: array - items: &442 + items: &432 title: Commit Comment description: Commit Comment type: object @@ -66542,8 +66755,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 +66772,7 @@ paths: - created_at - updated_at examples: - default: &445 + default: &435 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 +66806,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 +66831,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 responses: '200': description: Response content: application/json: - schema: *442 + schema: *432 examples: - default: &446 + default: &436 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 +66898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -66709,7 +66922,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *432 examples: default: value: @@ -66760,9 +66973,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 responses: '204': description: Response @@ -66783,9 +66996,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *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 +67024,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -66834,9 +67047,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -66868,16 +67081,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Reaction created content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -66899,10 +67112,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *314 - - *315 - - *84 - - *310 + - *304 + - *305 + - *81 + - *300 responses: '204': description: Response @@ -66951,8 +67164,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *314 - - *315 + - *304 + - *305 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67008,9 +67221,9 @@ paths: application/json: schema: type: array - items: *443 + items: *433 examples: - default: &551 + default: &541 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67080,8 +67293,8 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *57 - '500': *100 + Link: *52 + '500': *97 '400': *14 '404': *6 '409': *45 @@ -67104,9 +67317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *314 - - *315 - - &444 + - *304 + - *305 + - &434 name: commit_sha description: The SHA of the commit. in: path @@ -67178,9 +67391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *314 - - *315 - - *444 + - *304 + - *305 + - *434 - *17 - *19 responses: @@ -67190,11 +67403,11 @@ paths: application/json: schema: type: array - items: *442 + items: *432 examples: - default: *445 + default: *435 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67220,9 +67433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *314 - - *315 - - *444 + - *304 + - *305 + - *434 requestBody: required: true content: @@ -67257,9 +67470,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *432 examples: - default: *446 + default: *436 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67287,9 +67500,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 + - *304 + - *305 + - *434 - *17 - *19 responses: @@ -67299,9 +67512,9 @@ paths: application/json: schema: type: array - items: *447 + items: *437 examples: - default: &543 + default: &533 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67780,7 +67993,7 @@ paths: auto_merge: draft: false headers: - Link: *57 + Link: *52 '409': *45 x-github: githubCloudOnly: false @@ -67838,11 +68051,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *314 - - *315 + - *304 + - *305 - *19 - *17 - - &448 + - &438 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 +68070,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *433 examples: - default: &531 + default: &521 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67945,8 +68158,8 @@ paths: ..... '422': *15 '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 '409': *45 x-github: githubCloudOnly: false @@ -67972,11 +68185,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 + - *304 + - *305 + - *438 + - *439 + - *440 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68010,11 +68223,11 @@ paths: type: integer check_runs: type: array - items: *395 + items: *385 examples: - default: *451 + default: *441 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68037,9 +68250,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 + - *304 + - *305 + - *438 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68047,7 +68260,7 @@ paths: schema: type: integer example: 1 - - *449 + - *439 - *17 - *19 responses: @@ -68065,7 +68278,7 @@ paths: type: integer check_suites: type: array - items: *399 + items: *389 examples: default: value: @@ -68240,7 +68453,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 +68478,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 + - *304 + - *305 + - *438 - *17 - *19 responses: @@ -68338,7 +68551,7 @@ paths: type: string total_count: type: integer - repository: *131 + repository: *129 commit_url: type: string format: uri @@ -68469,9 +68682,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *314 - - *315 - - *448 + - *304 + - *305 + - *438 - *17 - *19 responses: @@ -68481,7 +68694,7 @@ paths: application/json: schema: type: array - items: &608 + items: &606 title: Status description: The status of a commit. type: object @@ -68561,8 +68774,8 @@ paths: type: User site_admin: false headers: - Link: *57 - '301': *323 + Link: *52 + '301': *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68590,8 +68803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -68624,11 +68837,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *452 + - *442 code_of_conduct_file: anyOf: - type: 'null' - - &453 + - &443 title: Community Health File type: object properties: @@ -68644,23 +68857,23 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 contributing: anyOf: - type: 'null' - - *453 + - *443 readme: anyOf: - type: 'null' - - *453 + - *443 issue_template: anyOf: - type: 'null' - - *453 + - *443 pull_request_template: anyOf: - type: 'null' - - *453 + - *443 required: - code_of_conduct - code_of_conduct_file @@ -68789,8 +69002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *314 - - *315 + - *304 + - *305 - *19 - *17 - name: basehead @@ -68838,8 +69051,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *443 - merge_base_commit: *443 + base_commit: *433 + merge_base_commit: *433 status: type: string enum: @@ -68863,10 +69076,10 @@ paths: - 6 commits: type: array - items: *443 + items: *433 files: type: array - items: *454 + items: *444 required: - url - html_url @@ -69109,8 +69322,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69152,8 +69365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *314 - - *315 + - *304 + - *305 - name: path description: path parameter in: path @@ -69306,7 +69519,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &455 + response-if-content-is-a-file: &445 summary: Response if content is a file value: type: file @@ -69443,7 +69656,7 @@ paths: - size - type - url - - &556 + - &546 title: Content File description: Content File type: object @@ -69661,7 +69874,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *455 + response-if-content-is-a-file: *445 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69730,7 +69943,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *456 + '302': *446 '304': *35 x-github: githubCloudOnly: false @@ -69753,8 +69966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *314 - - *315 + - *304 + - *305 - name: path description: path parameter in: path @@ -69849,7 +70062,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &447 title: File Commit description: File Commit type: object @@ -70005,7 +70218,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *447 examples: example-for-creating-a-file: value: @@ -70059,7 +70272,7 @@ paths: schema: oneOf: - *3 - - &487 + - &477 description: Repository rule violation was detected type: object properties: @@ -70080,7 +70293,7 @@ paths: items: type: object properties: - placeholder_id: &600 + placeholder_id: &598 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70112,8 +70325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *314 - - *315 + - *304 + - *305 - name: path description: path parameter in: path @@ -70174,7 +70387,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *447 examples: default: value: @@ -70209,7 +70422,7 @@ paths: '422': *15 '404': *6 '409': *45 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70229,8 +70442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *314 - - *315 + - *304 + - *305 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70331,7 +70544,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *57 + Link: *52 '204': description: Response if repository is empty '403': *27 @@ -70354,31 +70567,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 + - *304 + - *305 - *164 - *165 + - *166 + - *167 - 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 + - *448 + - *169 + - *170 - *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 +70594,6 @@ paths: default: 30 - *38 - *39 - - *169 - - *170 responses: '200': description: Response @@ -70398,11 +70601,11 @@ paths: application/json: schema: type: array - items: &461 + items: &451 type: object description: A Dependabot alert. properties: - number: *52 + number: *145 state: type: string description: The state of the Dependabot alert. @@ -70448,13 +70651,13 @@ paths: - direct - transitive - - security_advisory: *459 + security_advisory: *449 security_vulnerability: *50 - url: *55 - html_url: *56 - created_at: *53 - updated_at: *54 - dismissed_at: *148 + url: *148 + html_url: *149 + created_at: *146 + updated_at: *147 + dismissed_at: *151 dismissed_by: anyOf: - type: 'null' @@ -70478,8 +70681,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *147 - auto_dismissed_at: *460 + fixed_at: *150 + auto_dismissed_at: *450 required: - number - state @@ -70709,9 +70912,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *314 - - *315 - - &462 + - *304 + - *305 + - &452 name: alert_number in: path description: |- @@ -70720,13 +70923,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *52 + schema: *145 responses: '200': description: Response content: application/json: - schema: *461 + schema: *451 examples: default: value: @@ -70839,9 +71042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *314 - - *315 - - *462 + - *304 + - *305 + - *452 requestBody: required: true content: @@ -70886,7 +71089,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *451 examples: default: value: @@ -71015,8 +71218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -71034,7 +71237,7 @@ paths: type: integer secrets: type: array - items: &465 + items: &455 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71066,7 +71269,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 +71291,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *463 + schema: *453 examples: - default: *464 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71117,15 +71320,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '200': description: Response content: application/json: - schema: *465 + schema: *455 examples: default: value: @@ -71151,9 +71354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 requestBody: required: true content: @@ -71181,7 +71384,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -71205,9 +71408,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '204': description: Response @@ -71229,8 +71432,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 + - *304 + - *305 - 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 +71583,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 +71607,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 + - *304 + - *305 responses: '200': description: Response @@ -71642,7 +71845,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *57 + Link: *52 '404': *6 '403': *27 x-github: @@ -71665,8 +71868,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 + - *304 + - *305 requestBody: required: true content: @@ -71749,7 +71952,7 @@ paths: - version - url additionalProperties: false - metadata: &466 + metadata: &456 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71788,7 +71991,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *466 + metadata: *456 resolved: type: object description: A collection of resolved package dependencies. @@ -71802,7 +72005,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *466 + metadata: *456 relationship: type: string description: A notation of whether a dependency is requested @@ -71935,8 +72138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *314 - - *315 + - *304 + - *305 - name: sha description: The SHA recorded at creation time. in: query @@ -71977,11 +72180,11 @@ paths: application/json: schema: type: array - items: *467 + items: *457 examples: - default: *468 + default: *458 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72045,8 +72248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -72128,7 +72331,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *457 examples: simple-example: summary: Simple example @@ -72201,9 +72404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *314 - - *315 - - &469 + - *304 + - *305 + - &459 name: deployment_id description: deployment_id parameter in: path @@ -72215,7 +72418,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *457 examples: default: value: @@ -72280,9 +72483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *314 - - *315 - - *469 + - *304 + - *305 + - *459 responses: '204': description: Response @@ -72304,9 +72507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *314 - - *315 - - *469 + - *304 + - *305 + - *459 - *17 - *19 responses: @@ -72316,7 +72519,7 @@ paths: application/json: schema: type: array - items: &470 + items: &460 title: Deployment Status description: The status of a deployment. type: object @@ -72460,7 +72663,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 +72683,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *314 - - *315 - - *469 + - *304 + - *305 + - *459 requestBody: required: true content: @@ -72557,9 +72760,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *460 examples: - default: &471 + default: &461 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72615,9 +72818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *314 - - *315 - - *469 + - *304 + - *305 + - *459 - name: status_id in: path required: true @@ -72628,9 +72831,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *460 examples: - default: *471 + default: *461 '404': *6 x-github: githubCloudOnly: false @@ -72655,8 +72858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -72713,8 +72916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -72732,7 +72935,7 @@ paths: - 5 environments: type: array - items: &473 + items: &463 title: Environment description: Details of a deployment environment type: object @@ -72794,7 +72997,7 @@ paths: type: string examples: - wait_timer - wait_timer: &475 + wait_timer: &465 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -72836,11 +73039,11 @@ paths: items: type: object properties: - type: *472 + type: *462 reviewer: anyOf: - *4 - - *161 + - *163 required: - id - node_id @@ -72863,7 +73066,7 @@ paths: - id - node_id - type - deployment_branch_policy: &476 + deployment_branch_policy: &466 type: - object - 'null' @@ -72980,9 +73183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *314 - - *315 - - &474 + - *304 + - *305 + - &464 name: environment_name in: path required: true @@ -72995,9 +73198,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *463 examples: - default: &477 + default: &467 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73081,9 +73284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 requestBody: required: false content: @@ -73093,7 +73296,7 @@ paths: - object - 'null' properties: - wait_timer: *475 + wait_timer: *465 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -73112,14 +73315,14 @@ paths: items: type: object properties: - type: *472 + type: *462 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: *466 additionalProperties: false examples: default: @@ -73139,9 +73342,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *463 examples: - default: *477 + default: *467 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73165,9 +73368,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 responses: '204': description: Default response @@ -73192,9 +73395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 - *17 - *19 responses: @@ -73213,7 +73416,7 @@ paths: - 2 branch_policies: type: array - items: &478 + items: &468 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73274,9 +73477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 requestBody: required: true content: @@ -73324,9 +73527,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *468 examples: - example-wildcard: &479 + example-wildcard: &469 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73368,10 +73571,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 + - *304 + - *305 + - *464 + - &470 name: branch_policy_id in: path required: true @@ -73383,9 +73586,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *468 examples: - default: *479 + default: *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73404,10 +73607,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 + - *304 + - *305 + - *464 + - *470 requestBody: required: true content: @@ -73436,9 +73639,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *468 examples: - default: *479 + default: *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73457,10 +73660,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 + - *304 + - *305 + - *464 + - *470 responses: '204': description: Response @@ -73485,9 +73688,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 + - *464 + - *305 + - *304 responses: '200': description: List of deployment protection rules @@ -73504,7 +73707,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &481 + items: &471 title: Deployment protection rule description: Deployment protection rule type: object @@ -73526,7 +73729,7 @@ paths: for the environment. examples: - true - app: &482 + app: &472 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73629,9 +73832,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 + - *464 + - *305 + - *304 requestBody: content: application/json: @@ -73652,9 +73855,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *481 + schema: *471 examples: - default: &483 + default: &473 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73689,9 +73892,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 + - *464 + - *305 + - *304 - *19 - *17 responses: @@ -73711,7 +73914,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *482 + items: *472 examples: default: value: @@ -73746,10 +73949,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 + - *304 + - *305 + - *464 + - &474 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73761,9 +73964,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *471 examples: - default: *483 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73784,10 +73987,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: + - *464 + - *305 + - *304 - *474 - - *315 - - *314 - - *484 responses: '204': description: Response @@ -73813,9 +74016,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 - *17 - *19 responses: @@ -73833,11 +74036,11 @@ paths: type: integer secrets: type: array - items: *362 + items: *352 examples: - default: *363 + default: *353 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73860,17 +74063,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 responses: '200': description: Response content: application/json: - schema: *364 + schema: *354 examples: - default: *365 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73892,18 +74095,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *304 + - *305 + - *464 + - *137 responses: '200': description: Response content: application/json: - schema: *362 + schema: *352 examples: - default: *485 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73925,10 +74128,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 + - *304 + - *305 + - *464 + - *137 requestBody: required: true content: @@ -73959,7 +74162,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -73985,10 +74188,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *304 + - *305 + - *464 + - *137 responses: '204': description: Default response @@ -74013,10 +74216,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *314 - - *315 - - *474 - - *333 + - *304 + - *305 + - *464 + - *323 - *19 responses: '200': @@ -74033,11 +74236,11 @@ paths: type: integer variables: type: array - items: *366 + items: *356 examples: - default: *367 + default: *357 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74058,9 +74261,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 requestBody: required: true content: @@ -74087,7 +74290,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -74112,18 +74315,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *314 - - *315 - - *474 - - *142 + - *304 + - *305 + - *464 + - *140 responses: '200': description: Response content: application/json: - schema: *366 + schema: *356 examples: - default: *486 + default: *476 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74144,10 +74347,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *314 - - *315 - - *142 - - *474 + - *304 + - *305 + - *140 + - *464 requestBody: required: true content: @@ -74189,10 +74392,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *314 - - *315 - - *142 - - *474 + - *304 + - *305 + - *140 + - *464 responses: '204': description: Response @@ -74214,8 +74417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -74225,7 +74428,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: 200-response: value: @@ -74283,8 +74486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *314 - - *315 + - *304 + - *305 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74306,7 +74509,7 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: value: @@ -74419,7 +74622,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 +74646,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -74477,9 +74680,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *312 examples: - default: *324 + default: *314 '400': *14 '422': *15 '403': *27 @@ -74500,8 +74703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -74560,8 +74763,8 @@ paths: application/json: schema: oneOf: - - *105 - - *487 + - *103 + - *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74586,8 +74789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *314 - - *315 + - *304 + - *305 - name: file_sha in: path required: true @@ -74687,8 +74890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -74797,7 +75000,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &478 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75024,15 +75227,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *314 - - *315 - - *444 + - *304 + - *305 + - *434 responses: '200': description: Response content: application/json: - schema: *488 + schema: *478 examples: default: value: @@ -75088,9 +75291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *314 - - *315 - - &489 + - *304 + - *305 + - &479 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 +75310,7 @@ paths: application/json: schema: type: array - items: &490 + items: &480 title: Git Reference description: Git references within a repository type: object @@ -75161,7 +75364,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 +75386,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *314 - - *315 - - *489 + - *304 + - *305 + - *479 responses: '200': description: Response content: application/json: - schema: *490 + schema: *480 examples: - default: &491 + default: &481 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75222,8 +75425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -75252,9 +75455,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *480 examples: - default: *491 + default: *481 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75280,9 +75483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *314 - - *315 - - *489 + - *304 + - *305 + - *479 requestBody: required: true content: @@ -75311,9 +75514,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *480 examples: - default: *491 + default: *481 '422': *15 '409': *45 x-github: @@ -75331,9 +75534,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *314 - - *315 - - *489 + - *304 + - *305 + - *479 responses: '204': description: Response @@ -75388,8 +75591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -75456,7 +75659,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &483 title: Git Tag description: Metadata for a Git tag type: object @@ -75512,7 +75715,7 @@ paths: - sha - type - url - verification: *492 + verification: *482 required: - sha - url @@ -75522,7 +75725,7 @@ paths: - tag - message examples: - default: &494 + default: &484 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75595,8 +75798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *314 - - *315 + - *304 + - *305 - name: tag_sha in: path required: true @@ -75607,9 +75810,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *483 examples: - default: *494 + default: *484 '404': *6 '409': *45 x-github: @@ -75633,8 +75836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -75708,7 +75911,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &485 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75810,8 +76013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *314 - - *315 + - *304 + - *305 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75834,7 +76037,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *485 examples: default-response: summary: Default response @@ -75893,8 +76096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -75904,7 +76107,7 @@ paths: application/json: schema: type: array - items: &496 + items: &486 title: Webhook description: Webhooks for repositories. type: object @@ -75967,7 +76170,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &719 + last_response: &716 title: Hook Response type: object properties: @@ -76025,7 +76228,7 @@ paths: status: unused message: headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -76044,8 +76247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -76098,9 +76301,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *486 examples: - default: &497 + default: &487 value: type: Repository id: 12345678 @@ -76148,17 +76351,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 responses: '200': description: Response content: application/json: - schema: *496 + schema: *486 examples: - default: *497 + default: *487 '404': *6 x-github: githubCloudOnly: false @@ -76178,8 +76381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 requestBody: required: true @@ -76225,9 +76428,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *486 examples: - default: *497 + default: *487 '422': *15 '404': *6 x-github: @@ -76248,8 +76451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 responses: '204': @@ -76274,8 +76477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *176 responses: '200': @@ -76303,8 +76506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *176 requestBody: required: false @@ -76349,8 +76552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 - *17 - *177 @@ -76382,8 +76585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 - *16 responses: @@ -76412,8 +76615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 - *16 responses: @@ -76437,8 +76640,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 responses: '204': @@ -76464,8 +76667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 responses: '204': @@ -76489,8 +76692,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 + - *304 + - *305 responses: '200': description: Response if immutable releases are enabled @@ -76538,10 +76741,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *314 - - *315 + - *304 + - *305 responses: - '204': *156 + '204': *159 '409': *45 x-github: githubCloudOnly: false @@ -76559,10 +76762,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *314 - - *315 + - *304 + - *305 responses: - '204': *156 + '204': *159 '409': *45 x-github: githubCloudOnly: false @@ -76617,14 +76820,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: &498 + schema: &488 title: Import description: A repository import from an external source. type: object @@ -76731,7 +76934,7 @@ paths: - html_url - authors_url examples: - default: &501 + default: &491 value: vcs: subversion use_lfs: true @@ -76747,7 +76950,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': &489 description: Unavailable due to service under maintenance. content: application/json: @@ -76776,8 +76979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -76825,7 +77028,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *488 examples: default: value: @@ -76850,7 +77053,7 @@ paths: type: string '422': *15 '404': *6 - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76878,8 +77081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -76931,7 +77134,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *488 examples: example-1: summary: Example 1 @@ -76979,7 +77182,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': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77002,12 +77205,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77033,9 +77236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *314 - - *315 - - &659 + - *304 + - *305 + - &656 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77049,7 +77252,7 @@ paths: application/json: schema: type: array - items: &500 + items: &490 title: Porter Author description: Porter Author type: object @@ -77103,7 +77306,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': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77128,8 +77331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *314 - - *315 + - *304 + - *305 - name: author_id in: path required: true @@ -77159,7 +77362,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *490 examples: default: value: @@ -77172,7 +77375,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77196,8 +77399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -77238,7 +77441,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77266,8 +77469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -77294,11 +77497,11 @@ paths: description: Response content: application/json: - schema: *498 + schema: *488 examples: - default: *501 + default: *491 '422': *15 - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77321,8 +77524,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 + - *304 + - *305 responses: '200': description: Response @@ -77330,8 +77533,8 @@ paths: application/json: schema: *20 examples: - default: *502 - '301': *323 + default: *492 + '301': *313 '404': *6 x-github: githubCloudOnly: false @@ -77351,8 +77554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -77365,7 +77568,7 @@ paths: properties: {} additionalProperties: false examples: - default: &504 + default: &494 value: limit: collaborators_only origin: repository @@ -77390,13 +77593,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: application/json: - schema: *503 + schema: *493 examples: default: summary: Example request body @@ -77410,7 +77613,7 @@ paths: application/json: schema: *194 examples: - default: *504 + default: *494 '409': description: Response x-github: @@ -77432,8 +77635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -77456,8 +77659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -77467,9 +77670,9 @@ paths: application/json: schema: type: array - items: *505 + items: *495 examples: - default: &652 + default: &649 value: - id: 1 repository: @@ -77583,7 +77786,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,8 +77803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *314 - - *315 + - *304 + - *305 - *198 requestBody: required: false @@ -77631,7 +77834,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *495 examples: default: value: @@ -77762,8 +77965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *314 - - *315 + - *304 + - *305 - *198 responses: '204': @@ -77795,8 +77998,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *314 - - *315 + - *304 + - *305 - 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 @@ -77857,7 +78060,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -77867,9 +78070,9 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: &512 + default: &502 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78016,8 +78219,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *57 - '301': *323 + Link: *52 + '301': *313 '422': *15 '404': *6 x-github: @@ -78046,8 +78249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -78137,9 +78340,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: &509 + default: &499 value: id: 1 node_id: MDU6SXNzdWUx @@ -78293,9 +78496,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *73 + '503': *98 '404': *6 - '410': *320 + '410': *310 x-github: triggersNotification: true githubCloudOnly: false @@ -78323,9 +78526,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *314 - - *315 - - *92 + - *304 + - *305 + - *89 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -78335,7 +78538,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -78345,9 +78548,9 @@ paths: application/json: schema: type: array - items: *506 + items: *496 examples: - default: &511 + default: &501 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78378,7 +78581,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 +78608,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 responses: '200': description: Response content: application/json: - schema: *506 + schema: *496 examples: - default: &507 + default: &497 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78469,9 +78672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -78493,9 +78696,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *496 examples: - default: *507 + default: *497 '422': *15 x-github: githubCloudOnly: false @@ -78513,9 +78716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 responses: '204': description: Response @@ -78535,9 +78738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *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 +78766,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -78586,9 +78789,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -78620,16 +78823,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Reaction created content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -78651,10 +78854,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *314 - - *315 - - *84 - - *310 + - *304 + - *305 + - *81 + - *300 responses: '204': description: Response @@ -78674,8 +78877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -78685,7 +78888,7 @@ paths: application/json: schema: type: array - items: &508 + items: &498 title: Issue Event description: Issue Event type: object @@ -78732,7 +78935,7 @@ paths: issue: anyOf: - type: 'null' - - *68 + - *66 label: title: Issue Event Label description: Issue Event Label @@ -78765,7 +78968,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *161 + requested_team: *163 dismissed_review: title: Issue Event Dismissed Review type: object @@ -78832,7 +79035,7 @@ paths: required: - from - to - author_association: *69 + author_association: *67 lock_reason: type: - string @@ -79006,7 +79209,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -79024,8 +79227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *314 - - *315 + - *304 + - *305 - name: event_id in: path required: true @@ -79036,7 +79239,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *498 examples: default: value: @@ -79229,7 +79432,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *320 + '410': *310 '403': *27 x-github: githubCloudOnly: false @@ -79263,9 +79466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *314 - - *315 - - &510 + - *304 + - *305 + - &500 name: issue_number description: The number that identifies the issue. in: path @@ -79277,12 +79480,12 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *499 + '301': *313 '404': *6 - '410': *320 + '410': *310 '304': *35 x-github: githubCloudOnly: false @@ -79307,9 +79510,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: false content: @@ -79428,15 +79631,15 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 '422': *15 - '503': *73 + '503': *98 '403': *27 - '301': *323 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79454,9 +79657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: false content: @@ -79482,9 +79685,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79500,9 +79703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: content: application/json: @@ -79527,9 +79730,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79551,9 +79754,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 + - *304 + - *305 + - *500 - name: assignee in: path required: true @@ -79593,10 +79796,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *314 - - *315 - - *510 - - *75 + - *304 + - *305 + - *500 + - *72 - *17 - *19 responses: @@ -79606,13 +79809,13 @@ paths: application/json: schema: type: array - items: *506 + items: *496 examples: - default: *511 + default: *501 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79641,9 +79844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -79665,16 +79868,16 @@ paths: description: Response content: application/json: - schema: *506 + schema: *496 examples: - default: *507 + default: *497 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *320 + '410': *310 '422': *15 '404': *6 x-github: @@ -79702,9 +79905,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 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -79714,14 +79917,14 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *502 headers: - Link: *57 - '301': *323 + Link: *52 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79749,9 +79952,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 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -79773,17 +79976,17 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *323 + '301': *313 '403': *27 - '410': *320 + '410': *310 '422': *15 '404': *6 x-github: @@ -79814,9 +80017,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 + - *304 + - *305 + - *500 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79828,15 +80031,15 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *499 + '301': *313 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *310 x-github: triggersNotification: true githubCloudOnly: false @@ -79862,9 +80065,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 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -79874,14 +80077,14 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *502 headers: - Link: *57 - '301': *323 + Link: *52 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79898,9 +80101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -79914,7 +80117,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &514 + - &504 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79963,7 +80166,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &505 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80091,7 +80294,7 @@ paths: - performed_via_github_app - assignee - assigner - - &516 + - &506 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80137,7 +80340,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &507 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80183,7 +80386,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &508 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80232,7 +80435,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &509 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -80261,7 +80464,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *161 + requested_team: *163 requested_reviewer: *4 required: - review_requester @@ -80274,7 +80477,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &510 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80303,7 +80506,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *161 + requested_team: *163 requested_reviewer: *4 required: - review_requester @@ -80316,7 +80519,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &511 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80372,7 +80575,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &512 title: Locked Issue Event description: Locked Issue Event type: object @@ -80417,7 +80620,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &513 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80478,7 +80681,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &514 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80539,7 +80742,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &525 + - &515 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80600,7 +80803,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &516 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80692,8 +80895,8 @@ paths: name: label color: red headers: - Link: *57 - '410': *320 + Link: *52 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80710,9 +80913,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -80722,9 +80925,9 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: &513 + default: &503 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80741,10 +80944,10 @@ paths: color: a2eeef default: false headers: - Link: *57 - '301': *323 + Link: *52 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80761,9 +80964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: false content: @@ -80822,12 +81025,12 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 - '301': *323 + default: *503 + '301': *313 '404': *6 - '410': *320 + '410': *310 '422': *15 x-github: githubCloudOnly: false @@ -80844,9 +81047,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: false content: @@ -80906,12 +81109,12 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 - '301': *323 + default: *503 + '301': *313 '404': *6 - '410': *320 + '410': *310 '422': *15 x-github: githubCloudOnly: false @@ -80928,15 +81131,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 responses: '204': description: Response - '301': *323 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80955,9 +81158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - name: name in: path required: true @@ -80970,7 +81173,7 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: default: value: @@ -80981,9 +81184,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *323 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81003,9 +81206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: false content: @@ -81034,7 +81237,7 @@ paths: '204': description: Response '403': *27 - '410': *320 + '410': *310 '404': *6 '422': *15 x-github: @@ -81052,9 +81255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 responses: '204': description: Response @@ -81084,20 +81287,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 responses: '200': description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *499 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81114,9 +81317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - 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 +81345,13 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81166,9 +81369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -81200,16 +81403,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -81231,10 +81434,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *314 - - *315 - - *510 - - *310 + - *304 + - *305 + - *500 + - *300 responses: '204': description: Response @@ -81263,9 +81466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -81287,9 +81490,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81322,9 +81525,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -81334,13 +81537,13 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *502 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81368,9 +81571,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -81397,16 +81600,16 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *320 + '410': *310 '422': *15 '404': *6 x-github: @@ -81426,9 +81629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -81459,13 +81662,13 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 '403': *27 '404': *6 '422': *7 - '503': *73 + '503': *98 x-github: triggersNotification: true githubCloudOnly: false @@ -81483,9 +81686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -81500,19 +81703,19 @@ paths: description: Timeline Event type: object anyOf: + - *504 + - *505 + - *506 + - *507 + - *508 + - *509 + - *510 + - *511 + - *512 + - *513 - *514 - *515 - *516 - - *517 - - *518 - - *519 - - *520 - - *521 - - *522 - - *523 - - *524 - - *525 - - *526 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81560,12 +81763,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 +81799,7 @@ paths: properties: type: type: string - issue: *68 + issue: *66 required: - event - created_at @@ -81818,7 +82021,7 @@ paths: type: string body_text: type: string - author_association: *69 + author_association: *67 required: - event - id @@ -81841,7 +82044,7 @@ paths: type: string comments: type: array - items: &545 + items: &535 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81946,7 +82149,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 +82244,7 @@ paths: enum: - line - file - reactions: *70 + reactions: *68 body_html: type: string examples: @@ -82079,7 +82282,7 @@ paths: type: string comments: type: array - items: *442 + items: *432 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82352,9 +82555,9 @@ paths: type: User site_admin: true headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82371,8 +82574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -82382,7 +82585,7 @@ paths: application/json: schema: type: array - items: &527 + items: &517 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82434,7 +82637,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82450,8 +82653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -82487,9 +82690,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *517 examples: - default: &528 + default: &518 value: id: 1 key: ssh-rsa AAA... @@ -82523,9 +82726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *314 - - *315 - - &529 + - *304 + - *305 + - &519 name: key_id description: The unique identifier of the key. in: path @@ -82537,9 +82740,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *517 examples: - default: *528 + default: *518 '404': *6 x-github: githubCloudOnly: false @@ -82557,9 +82760,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *314 - - *315 - - *529 + - *304 + - *305 + - *519 responses: '204': description: Response @@ -82579,8 +82782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -82590,11 +82793,11 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 + default: *503 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -82613,8 +82816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -82650,9 +82853,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: - default: &530 + default: &520 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82684,8 +82887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *314 - - *315 + - *304 + - *305 - name: name in: path required: true @@ -82696,9 +82899,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: - default: *530 + default: *520 '404': *6 x-github: githubCloudOnly: false @@ -82715,8 +82918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *314 - - *315 + - *304 + - *305 - name: name in: path required: true @@ -82755,7 +82958,7 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: default: value: @@ -82781,8 +82984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *314 - - *315 + - *304 + - *305 - name: name in: path required: true @@ -82808,8 +83011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -82848,9 +83051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *314 - - *315 - - *420 + - *304 + - *305 + - *410 responses: '200': description: Response @@ -82916,7 +83119,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 required: - _links - git_url @@ -82997,8 +83200,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 + - *304 + - *305 requestBody: required: true content: @@ -83063,8 +83266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -83098,9 +83301,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *443 + schema: *433 examples: - default: *531 + default: *521 '204': description: Response when already merged '404': @@ -83125,8 +83328,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *314 - - *315 + - *304 + - *305 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -83206,7 +83409,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 +83426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -83266,7 +83469,7 @@ paths: application/json: schema: *238 examples: - default: &532 + default: &522 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 +83528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *314 - - *315 - - &533 + - *304 + - *305 + - &523 name: milestone_number description: The number that identifies the milestone. in: path @@ -83341,7 +83544,7 @@ paths: application/json: schema: *238 examples: - default: *532 + default: *522 '404': *6 x-github: githubCloudOnly: false @@ -83358,9 +83561,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *314 - - *315 - - *533 + - *304 + - *305 + - *523 requestBody: required: false content: @@ -83400,7 +83603,7 @@ paths: application/json: schema: *238 examples: - default: *532 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83416,9 +83619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *314 - - *315 - - *533 + - *304 + - *305 + - *523 responses: '204': description: Response @@ -83439,9 +83642,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 + - *304 + - *305 + - *523 - *17 - *19 responses: @@ -83451,11 +83654,11 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 + default: *503 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83472,12 +83675,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 + - *304 + - *305 + - *524 + - *525 + - *72 + - *526 - *17 - *19 responses: @@ -83487,11 +83690,11 @@ paths: application/json: schema: type: array - items: *95 + items: *92 examples: - default: *537 + default: *527 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83513,8 +83716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -83572,14 +83775,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: &538 + schema: &528 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83723,7 +83926,7 @@ paths: - custom_404 - public examples: - default: &539 + default: &529 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83764,8 +83967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -83820,9 +84023,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *528 examples: - default: *539 + default: *529 '422': *15 '409': *45 x-github: @@ -83845,8 +84048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -83946,8 +84149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -83973,8 +84176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -83984,7 +84187,7 @@ paths: application/json: schema: type: array - items: &540 + items: &530 title: Page Build description: Page Build type: object @@ -84057,7 +84260,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 +84279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *314 - - *315 + - *304 + - *305 responses: '201': description: Response @@ -84124,16 +84327,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *540 + schema: *530 examples: - default: &541 + default: &531 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -84181,8 +84384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *314 - - *315 + - *304 + - *305 - name: build_id in: path required: true @@ -84193,9 +84396,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *530 examples: - default: *541 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84215,8 +84418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -84324,9 +84527,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 + - *304 + - *305 + - &532 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84384,11 +84587,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *314 - - *315 - - *542 + - *304 + - *305 + - *532 responses: - '204': *156 + '204': *159 '404': *6 x-github: githubCloudOnly: false @@ -84413,8 +84616,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 + - *304 + - *305 responses: '200': description: Response @@ -84682,7 +84885,7 @@ paths: description: Empty response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -84709,8 +84912,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 + - *304 + - *305 responses: '200': description: Private vulnerability reporting status @@ -84747,10 +84950,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: - '204': *156 + '204': *159 '422': *14 x-github: githubCloudOnly: false @@ -84769,10 +84972,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: - '204': *156 + '204': *159 '422': *14 x-github: githubCloudOnly: false @@ -84793,8 +84996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *314 - - *315 + - *304 + - *305 - name: state description: Indicates the state of the projects to return. in: query @@ -84851,11 +85054,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': *310 '422': *7 x-github: githubCloudOnly: false @@ -84878,8 +85081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -84907,11 +85110,11 @@ paths: application/json: schema: *232 examples: - default: *319 + default: *309 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *310 '422': *7 x-github: githubCloudOnly: false @@ -84934,8 +85137,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 + - *304 + - *305 responses: '200': description: Response @@ -84974,8 +85177,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 + - *304 + - *305 requestBody: required: true content: @@ -85037,8 +85240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *314 - - *315 + - *304 + - *305 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85098,11 +85301,11 @@ paths: application/json: schema: type: array - items: *447 + items: *437 examples: - default: *543 + default: *533 headers: - Link: *57 + Link: *52 '304': *35 '422': *15 x-github: @@ -85132,8 +85335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -85200,7 +85403,7 @@ paths: description: Response content: application/json: - schema: &547 + schema: &537 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85392,7 +85595,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: *4 @@ -85409,7 +85612,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: *4 @@ -85439,8 +85642,8 @@ paths: - review_comments - review_comment - self - author_association: *69 - auto_merge: *544 + author_association: *67 + auto_merge: *534 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -85542,7 +85745,7 @@ paths: - merged_by - review_comments examples: - default: &548 + default: &538 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86069,8 +86272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - name: sort in: query required: false @@ -86089,7 +86292,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -86099,9 +86302,9 @@ paths: application/json: schema: type: array - items: *545 + items: *535 examples: - default: &550 + default: &540 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86153,7 +86356,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86178,17 +86381,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 + - *304 + - *305 + - *81 responses: '200': description: Response content: application/json: - schema: *545 + schema: *535 examples: - default: &546 + default: &536 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86263,9 +86466,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 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -86287,9 +86490,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *535 examples: - default: *546 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86305,9 +86508,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 + - *304 + - *305 + - *81 responses: '204': description: Response @@ -86328,9 +86531,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 + - *304 + - *305 + - *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 +86559,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -86379,9 +86582,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 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -86413,16 +86616,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Reaction created content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -86444,10 +86647,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *314 - - *315 - - *84 - - *310 + - *304 + - *305 + - *81 + - *300 responses: '204': description: Response @@ -86490,9 +86693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *314 - - *315 - - &549 + - *304 + - *305 + - &539 name: pull_number description: The number that identifies the pull request. in: path @@ -86505,9 +86708,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *547 + schema: *537 examples: - default: *548 + default: *538 '304': *35 '404': *6 '406': @@ -86515,8 +86718,8 @@ paths: content: application/json: schema: *3 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86542,9 +86745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: false content: @@ -86586,9 +86789,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *537 examples: - default: *548 + default: *538 '422': *15 '403': *27 x-github: @@ -86610,9 +86813,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 + - *304 + - *305 + - *539 requestBody: required: true content: @@ -86675,7 +86878,7 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -86683,11 +86886,11 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86713,10 +86916,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 + - *304 + - *305 + - *539 + - *89 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -86726,7 +86929,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -86736,11 +86939,11 @@ paths: application/json: schema: type: array - items: *545 + items: *535 examples: - default: *550 + default: *540 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86771,9 +86974,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 + - *304 + - *305 + - *539 requestBody: required: true content: @@ -86879,7 +87082,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *535 examples: example-for-a-multi-line-comment: value: @@ -86967,10 +87170,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 + - *304 + - *305 + - *539 + - *81 requestBody: required: true content: @@ -86992,7 +87195,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *535 examples: default: value: @@ -87078,9 +87281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 - *17 - *19 responses: @@ -87090,11 +87293,11 @@ paths: application/json: schema: type: array - items: *443 + items: *433 examples: - default: *551 + default: *541 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87122,9 +87325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 - *17 - *19 responses: @@ -87134,7 +87337,7 @@ paths: application/json: schema: type: array - items: *454 + items: *444 examples: default: value: @@ -87150,10 +87353,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *57 + Link: *52 '422': *15 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87172,9 +87375,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 + - *304 + - *305 + - *539 responses: '204': description: Response if pull request has been merged @@ -87197,9 +87400,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: false content: @@ -87311,9 +87514,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 + - *304 + - *305 + - *539 responses: '200': description: Response @@ -87329,7 +87532,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *163 required: - users - teams @@ -87370,7 +87573,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 +87591,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 + - *304 + - *305 + - *539 requestBody: required: false content: @@ -87427,7 +87630,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *437 examples: default: value: @@ -87963,9 +88166,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 + - *304 + - *305 + - *539 requestBody: required: true content: @@ -87999,7 +88202,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *437 examples: default: value: @@ -88504,9 +88707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 - *17 - *19 responses: @@ -88516,7 +88719,7 @@ paths: application/json: schema: type: array - items: &552 + items: &542 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88590,7 +88793,7 @@ paths: type: string body_text: type: string - author_association: *69 + author_association: *67 required: - id - node_id @@ -88639,7 +88842,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88672,9 +88875,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 + - *304 + - *305 + - *539 requestBody: required: false content: @@ -88764,9 +88967,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *542 examples: - default: &554 + default: &544 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88829,10 +89032,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 + - *304 + - *305 + - *539 + - &543 name: review_id description: The unique identifier of the review. in: path @@ -88844,9 +89047,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *542 examples: - default: &555 + default: &545 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88905,10 +89108,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 + - *304 + - *305 + - *539 + - *543 requestBody: required: true content: @@ -88931,7 +89134,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *542 examples: default: value: @@ -88993,18 +89196,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 + - *304 + - *305 + - *539 + - *543 responses: '200': description: Response content: application/json: - schema: *552 + schema: *542 examples: - default: *554 + default: *544 '422': *7 '404': *6 x-github: @@ -89031,10 +89234,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 + - *304 + - *305 + - *539 + - *543 - *17 - *19 responses: @@ -89128,7 +89331,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: @@ -89143,7 +89346,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 +89466,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 +89495,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 + - *304 + - *305 + - *539 + - *543 requestBody: required: true content: @@ -89324,7 +89527,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *542 examples: default: value: @@ -89387,10 +89590,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 + - *304 + - *305 + - *539 + - *543 requestBody: required: true content: @@ -89425,9 +89628,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *542 examples: - default: *555 + default: *545 '404': *6 '422': *7 '403': *27 @@ -89449,9 +89652,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: false content: @@ -89515,8 +89718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *314 - - *315 + - *304 + - *305 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89529,9 +89732,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *546 examples: - default: &557 + default: &547 value: type: file encoding: base64 @@ -89573,8 +89776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *314 - - *315 + - *304 + - *305 - name: dir description: The alternate path to look for a README file in: path @@ -89594,9 +89797,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *546 examples: - default: *557 + default: *547 '404': *6 '422': *15 x-github: @@ -89618,8 +89821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -89629,7 +89832,7 @@ paths: application/json: schema: type: array - items: *558 + items: *548 examples: default: value: @@ -89703,7 +89906,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -89723,8 +89926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -89800,9 +90003,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *548 examples: - default: &562 + default: &552 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 +90110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *314 - - *315 - - &560 + - *304 + - *305 + - &550 name: asset_id description: The unique identifier of the asset. in: path @@ -89921,9 +90124,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *549 examples: - default: &561 + default: &551 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 +90161,7 @@ paths: type: User site_admin: false '404': *6 - '302': *456 + '302': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89974,9 +90177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *314 - - *315 - - *560 + - *304 + - *305 + - *550 requestBody: required: false content: @@ -90005,9 +90208,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *549 examples: - default: *561 + default: *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90023,9 +90226,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *314 - - *315 - - *560 + - *304 + - *305 + - *550 responses: '204': description: Response @@ -90049,8 +90252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -90136,16 +90339,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *558 + schema: *548 examples: - default: *562 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90162,8 +90365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *314 - - *315 + - *304 + - *305 - name: tag description: tag parameter in: path @@ -90176,9 +90379,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *548 examples: - default: *562 + default: *552 '404': *6 x-github: githubCloudOnly: false @@ -90200,9 +90403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *314 - - *315 - - &563 + - *304 + - *305 + - &553 name: release_id description: The unique identifier of the release. in: path @@ -90216,9 +90419,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: *548 examples: - default: *562 + default: *552 '401': description: Unauthorized x-github: @@ -90236,9 +90439,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 requestBody: required: false content: @@ -90302,9 +90505,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *548 examples: - default: *562 + default: *552 '404': description: Not Found if the discussion category name is invalid content: @@ -90325,9 +90528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 responses: '204': description: Response @@ -90347,9 +90550,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 - *17 - *19 responses: @@ -90359,7 +90562,7 @@ paths: application/json: schema: type: array - items: *559 + items: *549 examples: default: value: @@ -90396,7 +90599,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90440,9 +90643,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 + - *304 + - *305 + - *553 - name: name in: query required: true @@ -90468,7 +90671,7 @@ paths: description: Response for successful upload content: application/json: - schema: *559 + schema: *549 examples: response-for-successful-upload: value: @@ -90523,9 +90726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 - 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 +90752,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -90572,9 +90775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 requestBody: required: true content: @@ -90604,16 +90807,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Reaction created content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -90635,10 +90838,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *314 - - *315 - - *563 - - *310 + - *304 + - *305 + - *553 + - *300 responses: '204': description: Response @@ -90662,9 +90865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 - *17 - *19 responses: @@ -90681,7 +90884,7 @@ paths: oneOf: - allOf: - *256 - - &564 + - &554 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90702,67 +90905,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *257 - - *564 + - *554 - allOf: - *258 - - *564 + - *554 - allOf: - *259 - - *564 + - *554 - allOf: - - *565 - - *564 + - *555 + - *554 - allOf: - *260 - - *564 + - *554 - allOf: - *261 - - *564 + - *554 - allOf: - *262 - - *564 + - *554 - allOf: - *263 - - *564 + - *554 - allOf: - *264 - - *564 + - *554 - allOf: - *265 - - *564 + - *554 - allOf: - *266 - - *564 + - *554 - allOf: - *267 - - *564 + - *554 - allOf: - *268 - - *564 + - *554 - allOf: - *269 - - *564 + - *554 - allOf: - *270 - - *564 + - *554 - allOf: - *271 - - *564 + - *554 - allOf: - *272 - - *564 + - *554 - allOf: - *273 - - *564 + - *554 - allOf: - *274 - - *564 + - *554 - allOf: - *275 - - *564 + - *554 - allOf: - - *566 - - *564 + - *556 + - *554 examples: default: value: @@ -90801,8 +91004,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 - name: includes_parents @@ -90813,7 +91016,7 @@ paths: schema: type: boolean default: true - - *567 + - *557 responses: '200': description: Response @@ -90852,7 +91055,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -90868,8 +91071,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *304 + - *305 requestBody: description: Request body required: true @@ -90898,7 +91101,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *568 + items: *558 required: - name - enforcement @@ -90931,7 +91134,7 @@ paths: application/json: schema: *276 examples: - default: &578 + default: &568 value: id: 42 name: super cool ruleset @@ -90964,7 +91167,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -90978,12 +91181,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *314 - - *315 - - *569 - - *570 - - *571 - - *572 + - *304 + - *305 + - *559 + - *560 + - *561 + - *562 - *17 - *19 responses: @@ -90991,11 +91194,11 @@ paths: description: Response content: application/json: - schema: *573 + schema: *563 examples: - default: *574 + default: *564 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91014,19 +91217,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *314 - - *315 - - *575 + - *304 + - *305 + - *565 responses: '200': description: Response content: application/json: - schema: *576 + schema: *566 examples: - default: *577 + default: *567 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91052,8 +91255,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *304 + - *305 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91075,9 +91278,9 @@ paths: application/json: schema: *276 examples: - default: *578 + default: *568 '404': *6 - '500': *100 + '500': *97 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -91093,8 +91296,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *304 + - *305 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91128,7 +91331,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *568 + items: *558 examples: default: value: @@ -91158,9 +91361,9 @@ paths: application/json: schema: *276 examples: - default: *578 + default: *568 '404': *6 - '500': *100 + '500': *97 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -91176,8 +91379,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *304 + - *305 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91188,7 +91391,7 @@ paths: '204': description: Response '404': *6 - '500': *100 + '500': *97 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -91200,8 +91403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 - name: ruleset_id @@ -91219,9 +91422,9 @@ paths: type: array items: *279 examples: - default: *579 + default: *569 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91238,8 +91441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *314 - - *315 + - *304 + - *305 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91257,7 +91460,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *570 examples: default: value: @@ -91290,7 +91493,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91312,21 +91515,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 + - *304 + - *305 + - *571 + - *572 + - *573 + - *574 - *46 - *19 - *17 - - *581 - - *582 - - *284 - - *285 - - *286 - - *287 + - *575 + - *576 + - *577 + - *578 + - *579 + - *580 responses: '200': description: Response @@ -91334,24 +91537,24 @@ paths: application/json: schema: type: array - items: &586 + items: &584 type: object properties: - number: *52 - created_at: *53 + number: *145 + created_at: *146 updated_at: anyOf: - type: 'null' - - *54 - url: *55 - html_url: *56 + - *147 + url: *148 + html_url: *149 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *583 - resolution: *584 + state: *581 + resolution: *582 resolved_at: type: - string @@ -91445,7 +91648,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *585 + - *583 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -91568,7 +91771,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91590,16 +91793,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 + - *304 + - *305 + - *404 + - *580 responses: '200': description: Response content: application/json: - schema: *586 + schema: *584 examples: default: value: @@ -91630,7 +91833,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91651,9 +91854,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 + - *304 + - *305 + - *404 requestBody: required: true content: @@ -91661,8 +91864,8 @@ paths: schema: type: object properties: - state: *583 - resolution: *584 + state: *581 + resolution: *582 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91681,7 +91884,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *584 examples: default: value: @@ -91734,7 +91937,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91756,9 +91959,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 + - *304 + - *305 + - *404 - *19 - *17 responses: @@ -91769,7 +91972,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &739 + items: &736 type: object properties: type: @@ -91796,6 +91999,8 @@ paths: - commit details: oneOf: + - *585 + - *586 - *587 - *588 - *589 @@ -91807,8 +92012,6 @@ paths: - *595 - *596 - *597 - - *598 - - *599 examples: default: value: @@ -91868,11 +92071,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *57 + Link: *52 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91894,8 +92097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -91903,14 +92106,14 @@ paths: schema: type: object properties: - reason: &601 + reason: &599 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *600 + placeholder_id: *598 required: - reason - placeholder_id @@ -91927,7 +92130,7 @@ paths: schema: type: object properties: - reason: *601 + reason: *599 expire_at: type: - string @@ -91951,7 +92154,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91963,6 +92166,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 +92177,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 + - *304 + - *305 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *73 + '503': *98 '200': description: Response content: @@ -91987,7 +92193,7 @@ paths: properties: incremental_scans: type: array - items: &602 + items: &600 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92015,15 +92221,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *602 + items: *600 backfill_scans: type: array - items: *602 + items: *600 custom_pattern_backfill_scans: type: array items: allOf: - - *602 + - *600 - type: object properties: pattern_name: @@ -92093,8 +92299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *314 - - *315 + - *304 + - *305 - *46 - name: sort description: The property to sort the results by. @@ -92138,9 +92344,9 @@ paths: application/json: schema: type: array - items: *603 + items: *601 examples: - default: *604 + default: *602 '400': *14 '404': *6 x-github: @@ -92163,8 +92369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -92244,7 +92450,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *282 required: - login - type @@ -92334,9 +92540,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *601 examples: - default: &606 + default: &604 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92569,8 +92775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -92683,7 +92889,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *601 examples: default: value: @@ -92830,17 +93036,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 + - *304 + - *305 + - *603 responses: '200': description: Response content: application/json: - schema: *603 + schema: *601 examples: - default: *606 + default: *604 '403': *27 '404': *6 x-github: @@ -92864,9 +93070,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 + - *304 + - *305 + - *603 requestBody: required: true content: @@ -92946,7 +93152,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *282 required: - login - type @@ -93037,17 +93243,17 @@ paths: description: Response content: application/json: - schema: *603 + schema: *601 examples: - default: *606 - add_credit: *606 + default: *604 + add_credit: *604 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *105 + schema: *103 examples: invalid_state_transition: value: @@ -93078,9 +93284,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 + - *304 + - *305 + - *603 responses: '202': *37 '400': *14 @@ -93107,17 +93313,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 + - *304 + - *305 + - *603 responses: '202': description: Response content: application/json: - schema: *322 + schema: *312 examples: - default: *324 + default: *314 '400': *14 '422': *15 '403': *27 @@ -93143,8 +93349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -93218,7 +93424,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -93240,8 +93446,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93250,7 +93456,7 @@ paths: application/json: schema: type: array - items: &607 + items: &605 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93263,7 +93469,7 @@ paths: - 1124 - -435 '202': *37 - '204': *156 + '204': *159 '422': description: Repository contains more than 10,000 commits x-github: @@ -93283,8 +93489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -93335,7 +93541,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *156 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93362,8 +93568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -93435,7 +93641,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *156 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93457,8 +93663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93612,8 +93818,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 + - *304 + - *305 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93623,7 +93829,7 @@ paths: application/json: schema: type: array - items: *607 + items: *605 examples: default: value: @@ -93636,7 +93842,7 @@ paths: - - 0 - 2 - 21 - '204': *156 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93656,8 +93862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *314 - - *315 + - *304 + - *305 - name: sha in: path required: true @@ -93713,7 +93919,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *606 examples: default: value: @@ -93767,8 +93973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -93780,9 +93986,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93800,14 +94006,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &609 + schema: &607 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93880,8 +94086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -93907,7 +94113,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *607 examples: default: value: @@ -93934,8 +94140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -93955,8 +94161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -94015,7 +94221,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 +94244,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 + - *304 + - *305 responses: '200': description: Response @@ -94047,7 +94253,7 @@ paths: application/json: schema: type: array - items: &610 + items: &608 title: Tag protection description: Tag protection type: object @@ -94104,8 +94310,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 + - *304 + - *305 requestBody: required: true content: @@ -94128,7 +94334,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *608 examples: default: value: @@ -94159,8 +94365,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 + - *304 + - *305 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -94197,8 +94403,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *314 - - *315 + - *304 + - *305 - name: ref in: path required: true @@ -94234,8 +94440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -94245,11 +94451,11 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -94267,8 +94473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *314 - - *315 + - *304 + - *305 - *19 - *17 responses: @@ -94276,7 +94482,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &609 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94288,7 +94494,7 @@ paths: required: - names examples: - default: &612 + default: &610 value: names: - octocat @@ -94311,8 +94517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -94343,9 +94549,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *609 examples: - default: *612 + default: *610 '404': *6 '422': *7 x-github: @@ -94366,9 +94572,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *314 - - *315 - - &613 + - *304 + - *305 + - &611 name: per description: The time frame to display results for. in: query @@ -94399,7 +94605,7 @@ paths: - 128 clones: type: array - items: &614 + items: &612 title: Traffic type: object properties: @@ -94486,8 +94692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -94581,8 +94787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -94645,9 +94851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *314 - - *315 - - *613 + - *304 + - *305 + - *611 responses: '200': description: Response @@ -94668,7 +94874,7 @@ paths: - 3782 views: type: array - items: *614 + items: *612 required: - uniques - count @@ -94745,8 +94951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -94782,7 +94988,7 @@ paths: description: Response content: application/json: - schema: *131 + schema: *129 examples: default: value: @@ -95020,8 +95226,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 + - *304 + - *305 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -95044,8 +95250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -95067,8 +95273,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -95094,8 +95300,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *314 - - *315 + - *304 + - *305 - name: ref in: path required: true @@ -95187,9 +95393,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *312 examples: - default: *324 + default: *314 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95230,7 +95436,7 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: value: @@ -95419,7 +95625,7 @@ paths: html_url: type: string format: uri - repository: *131 + repository: *129 score: type: number file_size: @@ -95438,7 +95644,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &615 + text_matches: &613 title: Search Result Text Matches type: array items: @@ -95553,7 +95759,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *73 + '503': *98 '422': *15 '403': *27 x-github: @@ -95601,7 +95807,7 @@ paths: enum: - author-date - committer-date - - &616 + - &614 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 +95876,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *372 comment_count: type: integer message: @@ -95689,7 +95895,7 @@ paths: url: type: string format: uri - verification: *492 + verification: *482 required: - author - committer @@ -95704,7 +95910,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *372 parents: type: array items: @@ -95716,12 +95922,12 @@ paths: type: string sha: type: string - repository: *131 + repository: *129 score: type: number node_id: type: string - text_matches: *615 + text_matches: *613 required: - sha - node_id @@ -95913,7 +96119,7 @@ paths: - interactions - created - updated - - *616 + - *614 - *17 - *19 - name: advanced_search @@ -96010,11 +96216,11 @@ paths: type: - string - 'null' - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: type: string state_reason: @@ -96042,7 +96248,7 @@ paths: - string - 'null' format: date-time - text_matches: *615 + text_matches: *613 pull_request: type: object properties: @@ -96080,10 +96286,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: @@ -96096,7 +96302,7 @@ paths: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - assignee - closed_at @@ -96212,7 +96418,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *73 + '503': *98 '422': *15 '304': *35 '403': *27 @@ -96265,7 +96471,7 @@ paths: enum: - created - updated - - *616 + - *614 - *17 - *19 responses: @@ -96310,7 +96516,7 @@ paths: - 'null' score: type: number - text_matches: *615 + text_matches: *613 required: - id - node_id @@ -96395,7 +96601,7 @@ paths: - forks - help-wanted-issues - updated - - *616 + - *614 - *17 - *19 responses: @@ -96614,7 +96820,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 permissions: type: object properties: @@ -96632,7 +96838,7 @@ paths: - admin - pull - push - text_matches: *615 + text_matches: *613 temp_clone_token: type: string allow_merge_commit: @@ -96835,7 +97041,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *73 + '503': *98 '422': *15 '304': *35 x-github: @@ -96940,7 +97146,7 @@ paths: - string - 'null' format: uri - text_matches: *615 + text_matches: *613 related: type: - array @@ -97133,7 +97339,7 @@ paths: - followers - repositories - joined - - *616 + - *614 - *17 - *19 responses: @@ -97243,7 +97449,7 @@ paths: type: - boolean - 'null' - text_matches: *615 + text_matches: *613 blog: type: - string @@ -97305,7 +97511,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *73 + '503': *98 '422': *15 x-github: githubCloudOnly: false @@ -97325,7 +97531,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &620 + - &618 name: team_id description: The unique identifier of the team. in: path @@ -97337,9 +97543,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '404': *6 x-github: githubCloudOnly: false @@ -97366,7 +97572,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *620 + - *618 requestBody: required: true content: @@ -97430,16 +97636,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '201': description: Response content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '404': *6 '422': *15 '403': *27 @@ -97467,7 +97673,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *620 + - *618 responses: '204': description: Response @@ -97498,7 +97704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *620 + - *618 - *46 - *17 - *19 @@ -97509,11 +97715,11 @@ paths: application/json: schema: type: array - items: *301 + items: *291 examples: - default: *621 + default: *619 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97540,7 +97746,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *620 + - *618 requestBody: required: true content: @@ -97574,9 +97780,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: *302 + default: *292 x-github: triggersNotification: true githubCloudOnly: false @@ -97603,16 +97809,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *620 - - *303 + - *618 + - *293 responses: '200': description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: *302 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97637,8 +97843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *620 - - *303 + - *618 + - *293 requestBody: required: false content: @@ -97661,9 +97867,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: *622 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97688,8 +97894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *620 - - *303 + - *618 + - *293 responses: '204': description: Response @@ -97718,8 +97924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *620 - - *303 + - *618 + - *293 - *46 - *17 - *19 @@ -97730,11 +97936,11 @@ paths: application/json: schema: type: array - items: *304 + items: *294 examples: - default: *623 + default: *621 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97761,8 +97967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *620 - - *303 + - *618 + - *293 requestBody: required: true content: @@ -97784,9 +97990,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: *305 + default: *295 x-github: triggersNotification: true githubCloudOnly: false @@ -97813,17 +98019,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *618 + - *293 + - *296 responses: '200': description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: *305 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97848,9 +98054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *618 + - *293 + - *296 requestBody: required: true content: @@ -97872,9 +98078,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: *624 + default: *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97899,9 +98105,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *618 + - *293 + - *296 responses: '204': description: Response @@ -97930,9 +98136,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 + - *618 + - *293 + - *296 - 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 +98164,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97989,9 +98195,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 + - *618 + - *293 + - *296 requestBody: required: true content: @@ -98023,9 +98229,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98051,8 +98257,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *620 - - *303 + - *618 + - *293 - 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 +98284,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98109,8 +98315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *620 - - *303 + - *618 + - *293 requestBody: required: true content: @@ -98142,9 +98348,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98168,7 +98374,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *620 + - *618 - *17 - *19 responses: @@ -98182,7 +98388,7 @@ paths: examples: default: *197 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98206,7 +98412,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *620 + - *618 - name: role description: Filters members returned by their role in the team. in: query @@ -98229,9 +98435,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98257,8 +98463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *620 - - *62 + - *618 + - *57 responses: '204': description: if user is a member @@ -98294,8 +98500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *620 - - *62 + - *618 + - *57 responses: '204': description: Response @@ -98334,8 +98540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *620 - - *62 + - *618 + - *57 responses: '204': description: Response @@ -98371,16 +98577,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *618 + - *57 responses: '200': description: Response content: application/json: - schema: *311 + schema: *301 examples: - response-if-user-is-a-team-maintainer: *625 + response-if-user-is-a-team-maintainer: *623 '404': *6 x-github: githubCloudOnly: false @@ -98413,8 +98619,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 + - *618 + - *57 requestBody: required: false content: @@ -98439,9 +98645,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *301 examples: - response-if-users-membership-with-team-is-now-pending: *626 + response-if-users-membership-with-team-is-now-pending: *624 '403': description: Forbidden if team synchronization is set up '422': @@ -98475,8 +98681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *618 + - *57 responses: '204': description: Response @@ -98504,7 +98710,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *620 + - *618 - *17 - *19 responses: @@ -98514,11 +98720,11 @@ paths: application/json: schema: type: array - items: *312 + items: *302 examples: - default: *627 + default: *625 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98542,16 +98748,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *620 - - *313 + - *618 + - *303 responses: '200': description: Response content: application/json: - schema: *312 + schema: *302 examples: - default: *628 + default: *626 '404': description: Not Found if project is not managed by this team x-github: @@ -98575,8 +98781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *620 - - *313 + - *618 + - *303 requestBody: required: false content: @@ -98643,8 +98849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *620 - - *313 + - *618 + - *303 responses: '204': description: Response @@ -98671,7 +98877,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *620 + - *618 - *17 - *19 responses: @@ -98681,11 +98887,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98713,15 +98919,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 + - *618 + - *304 + - *305 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *629 + schema: *627 examples: alternative-response-with-extra-repository-information: value: @@ -98872,9 +99078,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 + - *618 + - *304 + - *305 requestBody: required: false content: @@ -98924,9 +99130,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 + - *618 + - *304 + - *305 responses: '204': description: Response @@ -98951,7 +99157,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *620 + - *618 - *17 - *19 responses: @@ -98961,11 +99167,11 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: - response-if-child-teams-exist: *630 + response-if-child-teams-exist: *628 headers: - Link: *57 + Link: *52 '404': *6 '403': *27 '422': *15 @@ -98996,7 +99202,7 @@ paths: application/json: schema: oneOf: - - &632 + - &630 title: Private User description: Private User type: object @@ -99246,7 +99452,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *631 + - *629 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99406,7 +99612,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *630 examples: default: value: @@ -99485,7 +99691,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '304': *35 '404': *6 '403': *27 @@ -99508,7 +99714,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 +99742,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 +99766,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -99613,7 +99819,7 @@ paths: examples: default: *205 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -99752,7 +99958,7 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -99760,11 +99966,11 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99804,7 +100010,7 @@ paths: type: integer secrets: type: array - items: &633 + items: &631 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99846,9 +100052,9 @@ paths: - visibility - selected_repositories_url examples: - default: *436 + default: *426 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99918,13 +100124,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *139 + - *137 responses: '200': description: Response content: application/json: - schema: *633 + schema: *631 examples: default: value: @@ -99954,7 +100160,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 + - *137 requestBody: required: true content: @@ -99999,7 +100205,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -100027,7 +100233,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *139 + - *137 responses: '204': description: Response @@ -100052,7 +100258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *139 + - *137 responses: '200': description: Response @@ -100068,13 +100274,13 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: *634 + default: *632 '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100095,7 +100301,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *139 + - *137 requestBody: required: true content: @@ -100127,7 +100333,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100149,7 +100355,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *139 + - *137 - name: repository_id in: path required: true @@ -100161,7 +100367,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100182,7 +100388,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *139 + - *137 - name: repository_id in: path required: true @@ -100194,7 +100400,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100222,9 +100428,9 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100280,7 +100486,7 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '401': *23 '403': *27 '404': *6 @@ -100306,7 +100512,7 @@ paths: responses: '202': *37 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100337,7 +100543,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &633 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100390,7 +100596,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &636 + default: &634 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100398,7 +100604,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100435,9 +100641,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *633 examples: - default: *636 + default: *634 '404': *6 x-github: githubCloudOnly: false @@ -100474,11 +100680,11 @@ paths: type: integer machines: type: array - items: *435 + items: *425 examples: - default: *637 + default: *635 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100561,11 +100767,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *322 + repository: *312 machine: anyOf: - type: 'null' - - *435 + - *425 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -101370,9 +101576,9 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '304': *35 - '500': *100 + '500': *97 '400': *14 '401': *23 '402': @@ -101410,8 +101616,8 @@ paths: application/json: schema: *204 examples: - default: *434 - '500': *100 + default: *424 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -101442,7 +101648,7 @@ paths: type: array items: *216 examples: - default: &649 + default: &646 value: - id: 197 name: hello_docker @@ -101543,7 +101749,7 @@ paths: application/json: schema: type: array - items: &638 + items: &636 title: Email description: Email type: object @@ -101613,16 +101819,16 @@ paths: application/json: schema: type: array - items: *638 + items: *636 examples: - default: &651 + default: &648 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -101692,7 +101898,7 @@ paths: application/json: schema: type: array - items: *638 + items: *636 examples: default: value: @@ -101804,9 +102010,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -101837,9 +102043,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -101859,7 +102065,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 +102095,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 +102120,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 +102156,7 @@ paths: application/json: schema: type: array - items: &639 + items: &637 title: GPG Key description: A unique encryption key type: object @@ -102095,7 +102301,7 @@ paths: - subkeys - revoked examples: - default: &665 + default: &662 value: - id: 3 name: Octocat's GPG Key @@ -102127,7 +102333,7 @@ paths: revoked: false raw_key: string headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -102180,9 +102386,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *637 examples: - default: &640 + default: &638 value: id: 3 name: Octocat's GPG Key @@ -102239,7 +102445,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 + - &639 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102251,9 +102457,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *637 examples: - default: *640 + default: *638 '404': *6 '304': *35 '403': *27 @@ -102276,7 +102482,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 + - *639 responses: '204': description: Response @@ -102419,7 +102625,7 @@ paths: suspended_at: suspended_by: headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -102465,11 +102671,11 @@ paths: type: string repositories: type: array - items: *66 + items: *64 examples: - default: *123 + default: *121 headers: - Link: *57 + Link: *52 '404': *6 '403': *27 '304': *35 @@ -102492,7 +102698,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *120 + - *118 responses: '204': description: Response @@ -102518,7 +102724,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *120 + - *118 responses: '204': description: Response @@ -102581,7 +102787,7 @@ paths: required: true content: application/json: - schema: *503 + schema: *493 examples: default: value: @@ -102686,7 +102892,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -102696,11 +102902,11 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: default: *203 headers: - Link: *57 + Link: *52 '404': *6 '304': *35 x-github: @@ -102731,7 +102937,7 @@ paths: application/json: schema: type: array - items: &642 + items: &640 title: Key description: Key type: object @@ -102783,7 +102989,7 @@ paths: verified: false read_only: false headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -102834,9 +103040,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *640 examples: - default: &643 + default: &641 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102869,15 +103075,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 + - *519 responses: '200': description: Response content: application/json: - schema: *642 + schema: *640 examples: - default: *643 + default: *641 '404': *6 '304': *35 '403': *27 @@ -102900,7 +103106,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 + - *519 responses: '204': description: Response @@ -102933,7 +103139,7 @@ paths: application/json: schema: type: array - items: &644 + items: &642 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103001,7 +103207,7 @@ paths: - id - type - login - plan: *86 + plan: *83 required: - billing_cycle - next_billing_date @@ -103012,7 +103218,7 @@ paths: - account - plan examples: - default: &645 + default: &643 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103045,7 +103251,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '304': *35 '401': *23 '404': *6 @@ -103074,11 +103280,11 @@ paths: application/json: schema: type: array - items: *644 + items: *642 examples: - default: *645 + default: *643 headers: - Link: *57 + Link: *52 '304': *35 '401': *23 x-github: @@ -103193,7 +103399,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -103218,7 +103424,7 @@ 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 @@ -103282,7 +103488,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: @@ -103528,7 +103734,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 @@ -104080,7 +104286,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *211 - - *646 + - *644 responses: '204': description: Response @@ -104114,11 +104320,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -104151,11 +104357,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 +104401,7 @@ paths: - docker - nuget - container - - *648 + - *645 - *19 - *17 responses: @@ -104207,8 +104413,8 @@ paths: type: array items: *216 examples: - default: *649 - '400': *650 + default: *646 + '400': *647 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104237,7 +104443,7 @@ paths: application/json: schema: *216 examples: - default: &666 + default: &663 value: id: 40201 name: octo-name @@ -104692,11 +104898,11 @@ paths: application/json: schema: type: array - items: *638 + items: *636 examples: - default: *651 + default: *648 headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -104805,9 +105011,9 @@ paths: application/json: schema: type: array - items: *66 + items: *64 examples: - default: &658 + default: &655 summary: Default response value: - id: 1296269 @@ -104928,7 +105134,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '403': *27 @@ -105125,9 +105331,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *312 examples: - default: *324 + default: *314 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105165,11 +105371,11 @@ paths: application/json: schema: type: array - items: *505 + items: *495 examples: - default: *652 + default: *649 headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105246,7 +105452,7 @@ paths: application/json: schema: type: array - items: &653 + items: &650 title: Social account description: Social media account type: object @@ -105263,12 +105469,12 @@ paths: - provider - url examples: - default: &654 + default: &651 value: - provider: twitter url: https://twitter.com/github headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105326,9 +105532,9 @@ paths: application/json: schema: type: array - items: *653 + items: *650 examples: - default: *654 + default: *651 '422': *15 '304': *35 '404': *6 @@ -105416,7 +105622,7 @@ paths: application/json: schema: type: array - items: &655 + items: &652 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105436,7 +105642,7 @@ paths: - title - created_at examples: - default: &680 + default: &677 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105449,7 +105655,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 +105709,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *652 examples: - default: &656 + default: &653 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105536,7 +105742,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 + - &654 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105548,9 +105754,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *652 examples: - default: *656 + default: *653 '404': *6 '304': *35 '403': *27 @@ -105573,7 +105779,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 + - *654 responses: '204': description: Response @@ -105602,7 +105808,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &681 + - &678 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 +105831,13 @@ paths: application/json: schema: type: array - items: *66 + items: *64 examples: - default-response: *658 + default-response: *655 application/vnd.github.v3.star+json: schema: type: array - items: &682 + items: &679 title: Starred Repository description: Starred Repository type: object @@ -105639,7 +105845,7 @@ paths: starred_at: type: string format: date-time - repo: *66 + repo: *64 required: - starred_at - repo @@ -105767,7 +105973,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -105787,8 +105993,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 + - *304 + - *305 responses: '204': description: Response if this repository is starred by you @@ -105816,8 +106022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -105841,8 +106047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -105875,11 +106081,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -105914,7 +106120,7 @@ paths: application/json: schema: type: array - items: *299 + items: *289 examples: default: value: @@ -105965,7 +106171,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105992,7 +106198,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 +106206,10 @@ paths: application/json: schema: oneOf: - - *632 - - *631 + - *630 + - *629 examples: - default-response: &660 + default-response: &657 summary: Default response value: login: octocat @@ -106038,7 +106244,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: &658 summary: Response with GitHub plan information value: login: octocat @@ -106098,7 +106304,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *659 + - *656 - *17 responses: '200': @@ -106109,7 +106315,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: Link: example: ; rel="next" @@ -106139,7 +106345,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 +106353,11 @@ paths: application/json: schema: oneOf: - - *632 - - *631 + - *630 + - *629 examples: - default-response: *660 - response-with-git-hub-plan-information: *661 + default-response: *657 + response-with-git-hub-plan-information: *658 '404': *6 x-github: githubCloudOnly: false @@ -106177,7 +106383,7 @@ paths: - *17 - *38 - *39 - - *62 + - *57 requestBody: required: true content: @@ -106200,8 +106406,8 @@ paths: required: - subject_digests examples: - default: *662 - withPredicateType: *663 + default: *659 + withPredicateType: *660 responses: '200': description: Response @@ -106255,7 +106461,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *664 + default: *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106273,7 +106479,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 +106544,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 +106575,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 +106613,7 @@ paths: - *17 - *38 - *39 - - *62 + - *57 - name: subject_digest description: Subject Digest in: path @@ -106459,12 +106665,12 @@ paths: initiator: type: string examples: - default: *378 + default: *368 '201': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -106490,7 +106696,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 @@ -106500,7 +106706,7 @@ paths: type: array items: *216 examples: - default: *649 + default: *646 '403': *27 '401': *23 x-github: @@ -106523,7 +106729,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 +106739,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106595,8 +106801,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 +106812,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106683,7 +106889,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 +106899,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106751,7 +106957,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 +106969,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106782,7 +106988,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 +107000,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106813,7 +107019,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 +107046,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 +107057,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 +107080,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 +107090,11 @@ paths: application/json: schema: type: array - items: *639 + items: *637 examples: - default: *665 + default: *662 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106910,7 +107116,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 +107188,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 +107196,7 @@ paths: application/json: schema: *20 examples: - default: *502 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107008,7 +107214,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 +107250,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107064,7 +107270,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 +107280,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 +107321,8 @@ paths: - docker - nuget - container - - *648 - - *62 + - *645 + - *57 - *19 - *17 responses: @@ -107128,10 +107334,10 @@ paths: type: array items: *216 examples: - default: *649 + default: *646 '403': *27 '401': *23 - '400': *650 + '400': *647 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107153,7 +107359,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 responses: '200': description: Response @@ -107161,7 +107367,7 @@ paths: application/json: schema: *216 examples: - default: *666 + default: *663 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107184,7 +107390,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 responses: '204': description: Response @@ -107218,7 +107424,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 - name: token description: package token schema: @@ -107252,7 +107458,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 responses: '200': description: Response @@ -107321,7 +107527,7 @@ paths: - *218 - *219 - *221 - - *62 + - *57 responses: '200': description: Response @@ -107364,7 +107570,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 - *221 responses: '204': @@ -107399,7 +107605,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 - *221 responses: '204': @@ -107426,7 +107632,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 @@ -107483,7 +107689,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 +107711,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 @@ -107526,7 +107732,7 @@ paths: examples: default: *234 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107547,7 +107753,7 @@ paths: url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - *235 - - *62 + - *57 responses: '200': description: Response @@ -107557,7 +107763,7 @@ paths: examples: default: *234 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107578,7 +107784,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - *235 - - *62 + - *57 - *17 - *38 - *39 @@ -107593,7 +107799,7 @@ paths: examples: default: *237 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107614,8 +107820,8 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *235 - - *667 - - *62 + - *664 + - *57 responses: '200': description: Response @@ -107625,7 +107831,7 @@ paths: examples: default: *237 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107647,7 +107853,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - *235 - - *62 + - *57 - *38 - *39 - *17 @@ -107659,17 +107865,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 @@ -107681,7 +107889,7 @@ paths: examples: default: *243 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107700,7 +107908,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *62 + - *57 - *235 requestBody: required: true @@ -107738,7 +107946,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *665 examples: issue: *241 pull_request: *241 @@ -107762,20 +107970,22 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *235 - - *62 + - *57 - *244 - 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 @@ -107785,7 +107995,7 @@ paths: examples: default: *243 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107805,7 +108015,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - *235 - - *62 + - *57 - *244 requestBody: required: true @@ -107906,7 +108116,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - *235 - - *62 + - *57 - *244 responses: '204': @@ -107934,7 +108144,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 +108154,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -108009,7 +108219,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 +108229,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -108082,7 +108292,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 +108335,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108151,15 +108361,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: *666 examples: - default: *670 + default: *667 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108181,15 +108391,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: *668 examples: - default: *672 + default: *669 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108198,7 +108408,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 +108419,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user parameters: - - *62 - - *101 - - *673 - - *102 - - *674 - - *675 + - *57 + - *99 + - *670 + - *100 + - *671 + - *672 responses: '200': description: Response when getting a billing premium request usage report @@ -108264,19 +108477,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 +108531,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108341,15 +108554,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: *673 examples: - default: *677 + default: *674 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108369,11 +108582,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *62 - - *101 - - *678 - - *102 - - *679 + - *57 + - *99 + - *675 + - *100 + - *676 responses: '200': description: Response when getting a billing usage report @@ -108443,8 +108656,8 @@ paths: repositoryName: user/example '400': *14 '403': *27 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108462,7 +108675,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 +108685,11 @@ paths: application/json: schema: type: array - items: *653 + items: *650 examples: - default: *654 + default: *651 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108494,7 +108707,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 +108717,11 @@ paths: application/json: schema: type: array - items: *655 + items: *652 examples: - default: *680 + default: *677 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108530,8 +108743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *62 - - *681 + - *57 + - *678 - *46 - *17 - *19 @@ -108543,13 +108756,13 @@ paths: schema: anyOf: - type: array - items: *682 + items: *679 - type: array - items: *66 + items: *64 examples: - default-response: *658 + default-response: *655 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108566,7 +108779,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 +108789,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108707,7 +108920,7 @@ webhooks: type: string enum: - disabled - enterprise: &683 + enterprise: &680 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108776,7 +108989,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &684 + installation: &681 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108797,7 +109010,7 @@ webhooks: required: - id - node_id - organization: &685 + organization: &682 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108870,7 +109083,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &686 + repository: &683 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -108899,7 +109112,7 @@ webhooks: license: anyOf: - type: 'null' - - *71 + - *69 organization: anyOf: - type: 'null' @@ -109783,10 +109996,10 @@ webhooks: type: string enum: - enabled - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -109862,11 +110075,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: &687 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + rule: &684 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 +110302,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: *687 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + rule: *684 sender: *4 required: - action @@ -110281,11 +110494,11 @@ webhooks: - everyone required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: *687 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + rule: *684 sender: *4 required: - action @@ -110369,7 +110582,7 @@ webhooks: type: string enum: - completed - check_run: &689 + check_run: &686 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110434,8 +110647,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *72 - repository: *131 + items: *70 + repository: *129 status: type: string enum: @@ -110479,7 +110692,7 @@ webhooks: - examples: - neutral - deployment: *688 + deployment: *685 details_url: type: string examples: @@ -110539,7 +110752,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *72 + items: *70 started_at: type: string format: date-time @@ -110577,10 +110790,10 @@ webhooks: - output - app - pull_requests - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + installation: *681 + enterprise: *680 + organization: *682 + repository: *683 sender: *4 required: - check_run @@ -110973,11 +111186,11 @@ webhooks: type: string enum: - created - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *686 + installation: *681 + enterprise: *680 + organization: *682 + repository: *683 sender: *4 required: - check_run @@ -111373,11 +111586,11 @@ webhooks: type: string enum: - requested_action - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *686 + installation: *681 + enterprise: *680 + organization: *682 + repository: *683 requested_action: description: The action requested by the user. type: object @@ -111782,11 +111995,11 @@ webhooks: type: string enum: - rerequested - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *686 + installation: *681 + enterprise: *680 + organization: *682 + repository: *683 sender: *4 required: - check_run @@ -112778,10 +112991,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -113466,10 +113679,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -114148,10 +114361,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -114320,7 +114533,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *399 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114472,20 +114685,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &690 + commit_oid: &687 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: *680 + installation: *681 + organization: *682 + ref: &688 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: *683 sender: *4 required: - action @@ -114652,7 +114865,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *399 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114893,12 +115106,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *687 + enterprise: *680 + installation: *681 + organization: *682 + ref: *688 + repository: *683 sender: *4 required: - action @@ -114996,7 +115209,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *399 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 +115394,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *687 + enterprise: *680 + installation: *681 + organization: *682 + ref: *688 + repository: *683 sender: *4 required: - action @@ -115355,7 +115568,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *399 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115532,12 +115745,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *687 + enterprise: *680 + installation: *681 + organization: *682 + ref: *688 + repository: *683 sender: *4 required: - action @@ -115640,7 +115853,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *409 + dismissed_comment: *399 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 +116033,9 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 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 +116043,7 @@ webhooks: type: - string - 'null' - repository: *686 + repository: *683 sender: *4 required: - action @@ -115929,7 +116142,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *399 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 +116289,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *687 + enterprise: *680 + installation: *681 + organization: *682 + ref: *688 + repository: *683 sender: *4 required: - action @@ -116343,10 +116556,10 @@ webhooks: - updated_at - author_association - body - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -116427,18 +116640,18 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *685 - pusher_type: &692 + organization: *682 + pusher_type: &689 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &693 + ref: &690 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116448,7 +116661,7 @@ webhooks: enum: - tag - branch - repository: *686 + repository: *683 sender: *4 required: - ref @@ -116531,9 +116744,9 @@ webhooks: enum: - created definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 sender: *4 required: - action @@ -116618,9 +116831,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 sender: *4 required: - action @@ -116698,9 +116911,9 @@ webhooks: enum: - promote_to_enterprise definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 sender: *4 required: - action @@ -116778,9 +116991,9 @@ webhooks: enum: - updated definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 sender: *4 required: - action @@ -116857,10 +117070,10 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - repository: *686 - organization: *685 + enterprise: *680 + installation: *681 + repository: *683 + organization: *682 sender: *4 new_property_values: type: array @@ -116945,18 +117158,18 @@ webhooks: title: delete event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - pusher_type: *692 - ref: *693 + enterprise: *680 + installation: *681 + organization: *682 + pusher_type: *689 + ref: *690 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *686 + repository: *683 sender: *4 required: - ref @@ -117040,11 +117253,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117128,11 +117341,11 @@ webhooks: type: string enum: - auto_reopened - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117216,11 +117429,11 @@ webhooks: type: string enum: - created - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117302,11 +117515,11 @@ webhooks: type: string enum: - dismissed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117388,11 +117601,11 @@ webhooks: type: string enum: - fixed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117475,11 +117688,11 @@ webhooks: type: string enum: - reintroduced - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117561,11 +117774,11 @@ webhooks: type: string enum: - reopened - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117642,9 +117855,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - key: &694 + enterprise: *680 + installation: *681 + key: &691 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117682,8 +117895,8 @@ webhooks: - verified - created_at - read_only - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -117760,11 +117973,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - key: *694 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + key: *691 + organization: *682 + repository: *683 sender: *4 required: - action @@ -118336,12 +118549,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - workflow: &698 + workflow: &695 title: Workflow type: - object @@ -119079,13 +119292,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *467 + deployment: *457 pull_requests: type: array - items: *547 - repository: *686 - organization: *685 - installation: *684 + items: *537 + repository: *683 + organization: *682 + installation: *681 sender: *4 responses: '200': @@ -119156,7 +119369,7 @@ webhooks: type: string enum: - approved - approver: &695 + approver: &692 type: object properties: avatar_url: @@ -119199,11 +119412,11 @@ webhooks: type: string comment: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - reviewers: &696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + reviewers: &693 type: array items: type: object @@ -119284,7 +119497,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &697 + workflow_job_run: &694 type: object properties: conclusion: @@ -120030,18 +120243,18 @@ webhooks: type: string enum: - rejected - approver: *695 + approver: *692 comment: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - reviewers: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + reviewers: *693 sender: *4 since: type: string - workflow_job_run: *697 + workflow_job_run: *694 workflow_job_runs: type: array items: @@ -120758,13 +120971,13 @@ webhooks: type: string enum: - requested - enterprise: *683 + enterprise: *680 environment: type: string - installation: *684 - organization: *685 - repository: *686 - requestor: &703 + installation: *681 + organization: *682 + repository: *683 + requestor: &700 title: User type: - object @@ -122707,12 +122920,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - workflow: *698 + workflow: *695 workflow_run: title: Deployment Workflow Run type: @@ -123403,7 +123616,7 @@ webhooks: type: string enum: - answered - answer: &701 + answer: &698 type: object properties: author_association: @@ -123563,11 +123776,11 @@ webhooks: - created_at - updated_at - body - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -123694,11 +123907,11 @@ webhooks: - from required: - category - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -123781,11 +123994,11 @@ webhooks: type: string enum: - closed - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -123867,7 +124080,7 @@ webhooks: type: string enum: - created - comment: &700 + comment: &697 type: object properties: author_association: @@ -124027,11 +124240,11 @@ webhooks: - updated_at - body - reactions - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124114,12 +124327,12 @@ webhooks: type: string enum: - deleted - comment: *700 - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + comment: *697 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124214,12 +124427,12 @@ webhooks: - from required: - body - comment: *700 - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + comment: *697 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124303,11 +124516,11 @@ webhooks: type: string enum: - created - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124389,11 +124602,11 @@ webhooks: type: string enum: - deleted - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124493,11 +124706,11 @@ webhooks: type: string required: - from - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124579,10 +124792,10 @@ webhooks: type: string enum: - labeled - discussion: *699 - enterprise: *683 - installation: *684 - label: &702 + discussion: *696 + enterprise: *680 + installation: *681 + label: &699 title: Label type: object properties: @@ -124615,8 +124828,8 @@ webhooks: - color - default - description - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124699,11 +124912,11 @@ webhooks: type: string enum: - locked - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124785,11 +124998,11 @@ webhooks: type: string enum: - pinned - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124871,11 +125084,11 @@ webhooks: type: string enum: - reopened - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124960,16 +125173,16 @@ webhooks: changes: type: object properties: - new_discussion: *699 - new_repository: *686 + new_discussion: *696 + new_repository: *683 required: - new_discussion - new_repository - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -125052,10 +125265,10 @@ webhooks: type: string enum: - unanswered - discussion: *699 - old_answer: *701 - organization: *685 - repository: *686 + discussion: *696 + old_answer: *698 + organization: *682 + repository: *683 sender: *4 required: - action @@ -125137,12 +125350,12 @@ webhooks: type: string enum: - unlabeled - discussion: *699 - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -125225,11 +125438,11 @@ webhooks: type: string enum: - unlocked - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -125311,11 +125524,11 @@ webhooks: type: string enum: - unpinned - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -125388,7 +125601,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *683 + enterprise: *680 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -126066,9 +126279,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *684 - organization: *685 - repository: *686 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - forkee @@ -126214,9 +126427,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pages: description: The pages that were updated. type: array @@ -126254,7 +126467,7 @@ webhooks: - action - sha - html_url - repository: *686 + repository: *683 sender: *4 required: - pages @@ -126330,10 +126543,10 @@ webhooks: type: string enum: - created - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories: &704 + organization: *682 + repositories: &701 description: An array of repository objects that the installation can access. type: array @@ -126359,8 +126572,8 @@ webhooks: - name - full_name - private - repository: *686 - requester: *703 + repository: *683 + requester: *700 sender: *4 required: - action @@ -126435,11 +126648,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *682 + repositories: *701 + repository: *683 requester: type: - 'null' @@ -126516,11 +126729,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *682 + repositories: *701 + repository: *683 requester: type: - 'null' @@ -126597,10 +126810,10 @@ webhooks: type: string enum: - added - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories_added: &705 + organization: *682 + repositories_added: &702 description: An array of repository objects, which were added to the installation. type: array @@ -126646,15 +126859,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *686 - repository_selection: &706 + repository: *683 + repository_selection: &703 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *703 + requester: *700 sender: *4 required: - action @@ -126733,10 +126946,10 @@ webhooks: type: string enum: - removed - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories_added: *705 + organization: *682 + repositories_added: *702 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -126763,9 +126976,9 @@ webhooks: - name - full_name - private - repository: *686 - repository_selection: *706 - requester: *703 + repository: *683 + repository_selection: *703 + requester: *700 sender: *4 required: - action @@ -126844,11 +127057,11 @@ webhooks: type: string enum: - suspend - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *682 + repositories: *701 + repository: *683 requester: type: - 'null' @@ -127030,10 +127243,10 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 target_type: type: string @@ -127112,11 +127325,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *682 + repositories: *701 + repository: *683 requester: type: - 'null' @@ -127364,8 +127577,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128182,8 +128395,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128544,8 +128757,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -128625,7 +128838,7 @@ webhooks: type: string enum: - deleted - comment: &707 + comment: &704 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -128792,8 +129005,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129606,8 +129819,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129970,8 +130183,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -130051,7 +130264,7 @@ webhooks: type: string enum: - edited - changes: &731 + changes: &728 description: The changes to the comment. type: object properties: @@ -130063,9 +130276,9 @@ webhooks: type: string required: - from - comment: *707 - enterprise: *683 - installation: *684 + comment: *704 + enterprise: *680 + installation: *681 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130881,8 +131094,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131243,8 +131456,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -131328,15 +131541,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: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -131424,15 +131637,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: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -131519,15 +131732,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: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -131615,15 +131828,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: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -131708,10 +131921,10 @@ webhooks: type: string enum: - assigned - assignee: *703 - enterprise: *683 - installation: *684 - issue: &710 + assignee: *700 + enterprise: *680 + installation: *681 + issue: &707 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132523,11 +132736,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132647,8 +132860,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -132728,8 +132941,8 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133546,11 +133759,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133813,8 +134026,8 @@ webhooks: required: - state - closed_at - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -133893,8 +134106,8 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134702,11 +134915,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134825,8 +135038,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -134905,8 +135118,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135737,11 +135950,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135839,7 +136052,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &708 + milestone: &705 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135982,8 +136195,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -136082,8 +136295,8 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136895,11 +137108,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137019,9 +137232,9 @@ webhooks: - active_lock_reason - body - reactions - label: *702 - organization: *685 - repository: *686 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -137101,8 +137314,8 @@ webhooks: type: string enum: - labeled - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137913,11 +138126,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138037,9 +138250,9 @@ webhooks: - active_lock_reason - body - reactions - label: *702 - organization: *685 - repository: *686 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -138119,8 +138332,8 @@ webhooks: type: string enum: - locked - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138956,11 +139169,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139057,8 +139270,8 @@ webhooks: format: uri user_view_type: type: string - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -139137,8 +139350,8 @@ webhooks: type: string enum: - milestoned - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139968,11 +140181,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140069,9 +140282,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *708 - organization: *685 - repository: *686 + milestone: *705 + organization: *682 + repository: *683 sender: *4 required: - action @@ -140963,11 +141176,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141544,8 +141757,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142357,11 +142570,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142480,8 +142693,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -142561,9 +142774,9 @@ webhooks: type: string enum: - pinned - enterprise: *683 - installation: *684 - issue: &709 + enterprise: *680 + installation: *681 + issue: &706 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143369,11 +143582,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143492,8 +143705,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -143572,8 +143785,8 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144407,11 +144620,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144509,8 +144722,8 @@ webhooks: user_view_type: type: string type: *199 - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -145399,11 +145612,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146002,11 +146215,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *683 - installation: *684 - issue: *709 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + issue: *706 + organization: *682 + repository: *683 sender: *4 required: - action @@ -146086,12 +146299,12 @@ webhooks: type: string enum: - typed - enterprise: *683 - installation: *684 - issue: *710 + enterprise: *680 + installation: *681 + issue: *707 type: *199 - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -146172,7 +146385,7 @@ webhooks: type: string enum: - unassigned - assignee: &734 + assignee: &731 title: User type: - object @@ -146244,11 +146457,11 @@ webhooks: required: - login - id - enterprise: *683 - installation: *684 - issue: *710 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + issue: *707 + organization: *682 + repository: *683 sender: *4 required: - action @@ -146327,12 +146540,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *683 - installation: *684 - issue: *710 - label: *702 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + issue: *707 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -146412,8 +146625,8 @@ webhooks: type: string enum: - unlocked - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147247,11 +147460,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147348,8 +147561,8 @@ webhooks: format: uri user_view_type: type: string - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147429,11 +147642,11 @@ webhooks: type: string enum: - unpinned - enterprise: *683 - installation: *684 - issue: *709 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + issue: *706 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147512,12 +147725,12 @@ webhooks: type: string enum: - untyped - enterprise: *683 - installation: *684 - issue: *710 + enterprise: *680 + installation: *681 + issue: *707 type: *199 - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147597,11 +147810,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147679,11 +147892,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147793,11 +148006,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147879,9 +148092,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: &711 + enterprise: *680 + installation: *681 + marketplace_purchase: &708 title: Marketplace Purchase type: object required: @@ -147969,8 +148182,8 @@ webhooks: type: integer unit_count: type: integer - organization: *685 - previous_marketplace_purchase: &712 + organization: *682 + previous_marketplace_purchase: &709 title: Marketplace Purchase type: object properties: @@ -148054,7 +148267,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *683 sender: *4 required: - action @@ -148134,10 +148347,10 @@ webhooks: - changed effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 + enterprise: *680 + installation: *681 + marketplace_purchase: *708 + organization: *682 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148225,7 +148438,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *683 sender: *4 required: - action @@ -148307,10 +148520,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 + enterprise: *680 + installation: *681 + marketplace_purchase: *708 + organization: *682 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148396,7 +148609,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *683 sender: *4 required: - action @@ -148477,8 +148690,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 marketplace_purchase: title: Marketplace Purchase type: object @@ -148564,9 +148777,9 @@ webhooks: type: integer unit_count: type: integer - organization: *685 - previous_marketplace_purchase: *712 - repository: *686 + organization: *682 + previous_marketplace_purchase: *709 + repository: *683 sender: *4 required: - action @@ -148646,12 +148859,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 - previous_marketplace_purchase: *712 - repository: *686 + enterprise: *680 + installation: *681 + marketplace_purchase: *708 + organization: *682 + previous_marketplace_purchase: *709 + repository: *683 sender: *4 required: - action @@ -148753,11 +148966,11 @@ webhooks: type: string required: - to - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + member: *700 + organization: *682 + repository: *683 sender: *4 required: - action @@ -148859,11 +149072,11 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + member: *700 + organization: *682 + repository: *683 sender: *4 required: - action @@ -148942,11 +149155,11 @@ webhooks: type: string enum: - removed - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + member: *700 + organization: *682 + repository: *683 sender: *4 required: - action @@ -149024,11 +149237,11 @@ webhooks: type: string enum: - added - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + member: *700 + organization: *682 + repository: *683 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149106,7 +149319,7 @@ webhooks: required: - login - id - team: &713 + team: &710 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149336,11 +149549,11 @@ webhooks: type: string enum: - removed - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + member: *700 + organization: *682 + repository: *683 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149419,7 +149632,7 @@ webhooks: required: - login - id - team: *713 + team: *710 required: - action - scope @@ -149501,8 +149714,8 @@ webhooks: type: string enum: - checks_requested - installation: *684 - merge_group: &714 + installation: *681 + merge_group: &711 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149521,15 +149734,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *398 + head_commit: *388 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -149615,10 +149828,10 @@ webhooks: - merged - invalidated - dequeued - installation: *684 - merge_group: *714 - organization: *685 - repository: *686 + installation: *681 + merge_group: *711 + organization: *682 + repository: *683 sender: *4 required: - action @@ -149691,7 +149904,7 @@ webhooks: type: string enum: - deleted - enterprise: *683 + enterprise: *680 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -149800,12 +150013,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *684 - organization: *685 + installation: *681 + organization: *682 repository: anyOf: - type: 'null' - - *686 + - *683 sender: *4 required: - action @@ -149885,11 +150098,11 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + milestone: *705 + organization: *682 + repository: *683 sender: *4 required: - action @@ -149968,9 +150181,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - milestone: &715 + enterprise: *680 + installation: *681 + milestone: &712 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150112,8 +150325,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150192,11 +150405,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + milestone: *705 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150306,11 +150519,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + milestone: *705 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150390,11 +150603,11 @@ webhooks: type: string enum: - opened - enterprise: *683 - installation: *684 - milestone: *715 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + milestone: *712 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150473,11 +150686,11 @@ webhooks: type: string enum: - blocked - blocked_user: *703 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + blocked_user: *700 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150556,11 +150769,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *703 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + blocked_user: *700 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150639,9 +150852,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - membership: &716 + enterprise: *680 + installation: *681 + membership: &713 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150751,8 +150964,8 @@ webhooks: - role - organization_url - user - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150830,11 +151043,11 @@ webhooks: type: string enum: - member_added - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + membership: *713 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150913,8 +151126,8 @@ webhooks: type: string enum: - member_invited - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -151036,10 +151249,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 - user: *703 + user: *700 required: - action - invitation @@ -151117,11 +151330,11 @@ webhooks: type: string enum: - member_removed - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + membership: *713 + organization: *682 + repository: *683 sender: *4 required: - action @@ -151208,11 +151421,11 @@ webhooks: properties: from: type: string - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + membership: *713 + organization: *682 + repository: *683 sender: *4 required: - action @@ -151288,9 +151501,9 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 package: description: Information about the package. type: object @@ -151813,7 +152026,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &717 + items: &714 title: Ruby Gems metadata type: object properties: @@ -151910,7 +152123,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *683 sender: *4 required: - action @@ -151986,9 +152199,9 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 package: description: Information about the package. type: object @@ -152350,7 +152563,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *717 + items: *714 source_url: type: string format: uri @@ -152421,7 +152634,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *683 sender: *4 required: - action @@ -152602,12 +152815,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *683 + enterprise: *680 id: type: integer - installation: *684 - organization: *685 - repository: *686 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - id @@ -152684,7 +152897,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &718 + personal_access_token_request: &715 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -152834,10 +153047,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *683 - organization: *685 + enterprise: *680 + organization: *682 sender: *4 - installation: *684 + installation: *681 required: - action - personal_access_token_request @@ -152914,11 +153127,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *718 - enterprise: *683 - organization: *685 + personal_access_token_request: *715 + enterprise: *680 + organization: *682 sender: *4 - installation: *684 + installation: *681 required: - action - personal_access_token_request @@ -152994,11 +153207,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *718 - enterprise: *683 - organization: *685 + personal_access_token_request: *715 + enterprise: *680 + organization: *682 sender: *4 - installation: *684 + installation: *681 required: - action - personal_access_token_request @@ -153073,11 +153286,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *718 - organization: *685 - enterprise: *683 + personal_access_token_request: *715 + organization: *682 + enterprise: *680 sender: *4 - installation: *684 + installation: *681 required: - action - personal_access_token_request @@ -153182,7 +153395,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *719 + last_response: *716 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153214,8 +153427,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 zen: description: Random string of GitHub zen. @@ -153460,10 +153673,10 @@ webhooks: - from required: - note - enterprise: *683 - installation: *684 - organization: *685 - project_card: &720 + enterprise: *680 + installation: *681 + organization: *682 + project_card: &717 title: Project Card type: object properties: @@ -153586,7 +153799,7 @@ webhooks: - creator - created_at - updated_at - repository: *686 + repository: *683 sender: *4 required: - action @@ -153667,11 +153880,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project_card: *720 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project_card: *717 + repository: *683 sender: *4 required: - action @@ -153751,9 +153964,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 project_card: title: Project Card type: object @@ -153883,7 +154096,7 @@ webhooks: repository: anyOf: - type: 'null' - - *686 + - *683 sender: *4 required: - action @@ -153977,11 +154190,11 @@ webhooks: - from required: - note - enterprise: *683 - installation: *684 - organization: *685 - project_card: *720 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project_card: *717 + repository: *683 sender: *4 required: - action @@ -154075,9 +154288,9 @@ webhooks: - from required: - column_id - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 project_card: allOf: - title: Project Card @@ -154274,7 +154487,7 @@ webhooks: type: string required: - after_id - repository: *686 + repository: *683 sender: *4 required: - action @@ -154354,10 +154567,10 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - organization: *685 - project: &722 + enterprise: *680 + installation: *681 + organization: *682 + project: &719 title: Project type: object properties: @@ -154484,7 +154697,7 @@ webhooks: - creator - created_at - updated_at - repository: *686 + repository: *683 sender: *4 required: - action @@ -154564,10 +154777,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project_column: &721 + enterprise: *680 + installation: *681 + organization: *682 + project_column: &718 title: Project Column type: object properties: @@ -154607,7 +154820,7 @@ webhooks: - name - created_at - updated_at - repository: *686 + repository: *683 sender: *4 required: - action @@ -154686,14 +154899,14 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 + enterprise: *680 + installation: *681 + organization: *682 + project_column: *718 repository: anyOf: - type: 'null' - - *686 + - *683 sender: *4 required: - action @@ -154782,11 +154995,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project_column: *718 + repository: *683 sender: *4 required: - action @@ -154866,11 +155079,11 @@ webhooks: type: string enum: - moved - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project_column: *718 + repository: *683 sender: *4 required: - action @@ -154950,11 +155163,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project: *719 + repository: *683 sender: *4 required: - action @@ -155034,14 +155247,14 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - project: *722 + enterprise: *680 + installation: *681 + organization: *682 + project: *719 repository: anyOf: - type: 'null' - - *686 + - *683 sender: *4 required: - action @@ -155142,11 +155355,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project: *719 + repository: *683 sender: *4 required: - action @@ -155225,11 +155438,11 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project: *719 + repository: *683 sender: *4 required: - action @@ -155310,8 +155523,8 @@ webhooks: type: string enum: - closed - installation: *684 - organization: *685 + installation: *681 + organization: *682 projects_v2: *233 sender: *4 required: @@ -155393,8 +155606,8 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 + installation: *681 + organization: *682 projects_v2: *233 sender: *4 required: @@ -155476,8 +155689,8 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 + installation: *681 + organization: *682 projects_v2: *233 sender: *4 required: @@ -155599,8 +155812,8 @@ webhooks: type: string to: type: string - installation: *684 - organization: *685 + installation: *681 + organization: *682 projects_v2: *233 sender: *4 required: @@ -155684,7 +155897,7 @@ webhooks: type: string enum: - archived - changes: &726 + changes: &723 type: object properties: archived_at: @@ -155700,9 +155913,9 @@ webhooks: - string - 'null' format: date-time - installation: *684 - organization: *685 - projects_v2_item: &723 + installation: *681 + organization: *682 + projects_v2_item: &720 title: Projects v2 Item description: An item belonging to a project type: object @@ -155842,9 +156055,9 @@ webhooks: - 'null' to: type: string - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -155926,9 +156139,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -156009,9 +156222,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -156116,7 +156329,7 @@ webhooks: oneOf: - type: string - type: integer - - &724 + - &721 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156140,7 +156353,7 @@ webhooks: required: - id - name - - &725 + - &722 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156180,8 +156393,8 @@ webhooks: oneOf: - type: string - type: integer - - *724 - - *725 + - *721 + - *722 type: - 'null' - string @@ -156204,9 +156417,9 @@ webhooks: - 'null' required: - body - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -156303,9 +156516,9 @@ webhooks: type: - string - 'null' - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -156388,10 +156601,10 @@ webhooks: type: string enum: - restored - changes: *726 - installation: *684 - organization: *685 - projects_v2_item: *723 + changes: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -156473,8 +156686,8 @@ webhooks: type: string enum: - reopened - installation: *684 - organization: *685 + installation: *681 + organization: *682 projects_v2: *233 sender: *4 required: @@ -156556,9 +156769,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *681 + organization: *682 + projects_v2_status_update: *724 sender: *4 required: - action @@ -156639,9 +156852,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *681 + organization: *682 + projects_v2_status_update: *724 sender: *4 required: - action @@ -156787,9 +157000,9 @@ webhooks: - string - 'null' format: date - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *681 + organization: *682 + projects_v2_status_update: *724 sender: *4 required: - action @@ -156860,10 +157073,10 @@ webhooks: title: public event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - repository @@ -156940,13 +157153,13 @@ webhooks: type: string enum: - assigned - assignee: *703 - enterprise: *683 - installation: *684 - number: &728 + assignee: *700 + enterprise: *680 + installation: *681 + number: &725 description: The pull request number. type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -159295,7 +159508,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -159377,11 +159590,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -161723,7 +161936,7 @@ webhooks: - draft reason: type: string - repository: *686 + repository: *683 sender: *4 required: - action @@ -161805,11 +162018,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -164151,7 +164364,7 @@ webhooks: - draft reason: type: string - repository: *686 + repository: *683 sender: *4 required: - action @@ -164233,13 +164446,13 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: &729 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: &726 allOf: - - *547 + - *537 - type: object properties: allow_auto_merge: @@ -164301,7 +164514,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *686 + repository: *683 sender: *4 required: - action @@ -164382,12 +164595,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: *726 + repository: *683 sender: *4 required: - action @@ -164467,11 +164680,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *683 + enterprise: *680 milestone: *238 - number: *728 - organization: *685 - pull_request: &730 + number: *725 + organization: *682 + pull_request: &727 title: Pull Request type: object properties: @@ -166798,7 +167011,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -166877,11 +167090,11 @@ webhooks: type: string enum: - dequeued - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -169227,7 +169440,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *686 + repository: *683 sender: *4 required: - action @@ -169351,12 +169564,12 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: *726 + repository: *683 sender: *4 required: - action @@ -169436,11 +169649,11 @@ webhooks: type: string enum: - enqueued - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -171771,7 +171984,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -171851,11 +172064,11 @@ webhooks: type: string enum: - labeled - enterprise: *683 - installation: *684 - label: *702 - number: *728 - organization: *685 + enterprise: *680 + installation: *681 + label: *699 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -174203,7 +174416,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -174284,10 +174497,10 @@ webhooks: type: string enum: - locked - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -176633,7 +176846,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -176713,12 +176926,12 @@ webhooks: type: string enum: - milestoned - enterprise: *683 + enterprise: *680 milestone: *238 - number: *728 - organization: *685 - pull_request: *730 - repository: *686 + number: *725 + organization: *682 + pull_request: *727 + repository: *683 sender: *4 required: - action @@ -176797,12 +177010,12 @@ webhooks: type: string enum: - opened - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: *726 + repository: *683 sender: *4 required: - action @@ -176883,12 +177096,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: *726 + repository: *683 sender: *4 required: - action @@ -176968,12 +177181,12 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: *726 + repository: *683 sender: *4 required: - action @@ -177348,9 +177561,9 @@ webhooks: - start_side - side - reactions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: type: object properties: @@ -179580,7 +179793,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *683 sender: *4 required: - action @@ -179660,7 +179873,7 @@ webhooks: type: string enum: - deleted - comment: &732 + comment: &729 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 +180166,9 @@ webhooks: - start_side - side - reactions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: type: object properties: @@ -182173,7 +182386,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *683 sender: *4 required: - action @@ -182253,11 +182466,11 @@ webhooks: type: string enum: - edited - changes: *731 - comment: *732 - enterprise: *683 - installation: *684 - organization: *685 + changes: *728 + comment: *729 + enterprise: *680 + installation: *681 + organization: *682 pull_request: type: object properties: @@ -184478,7 +184691,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *683 sender: *4 required: - action @@ -184559,9 +184772,9 @@ webhooks: type: string enum: - dismissed - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: title: Simple Pull Request type: object @@ -186794,7 +187007,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *683 review: description: The review that was affected. type: object @@ -187045,9 +187258,9 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: title: Simple Pull Request type: object @@ -189161,8 +189374,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 - review: &733 + repository: *683 + review: &730 description: The review that was affected. type: object properties: @@ -189400,12 +189613,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: description: The pull request number. type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -191752,7 +191965,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 requested_reviewer: title: User type: @@ -191838,12 +192051,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: description: The pull request number. type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -194197,7 +194410,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194392,12 +194605,12 @@ webhooks: type: string enum: - review_requested - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: description: The pull request number. type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -196746,7 +196959,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 requested_reviewer: title: User type: @@ -196833,12 +197046,12 @@ webhooks: type: string enum: - review_requested - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: description: The pull request number. type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -199178,7 +199391,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199362,9 +199575,9 @@ webhooks: type: string enum: - submitted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: title: Simple Pull Request type: object @@ -201600,8 +201813,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 - review: *733 + repository: *683 + review: *730 sender: *4 required: - action @@ -201681,9 +201894,9 @@ webhooks: type: string enum: - resolved - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: title: Simple Pull Request type: object @@ -203814,7 +204027,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *683 sender: *4 thread: type: object @@ -204211,9 +204424,9 @@ webhooks: type: string enum: - unresolved - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: title: Simple Pull Request type: object @@ -206327,7 +206540,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *683 sender: *4 thread: type: object @@ -206726,10 +206939,10 @@ webhooks: type: string before: type: string - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -209064,7 +209277,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -209146,11 +209359,11 @@ webhooks: type: string enum: - unassigned - assignee: *734 - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + assignee: *731 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -211500,7 +211713,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -211579,11 +211792,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *683 - installation: *684 - label: *702 - number: *728 - organization: *685 + enterprise: *680 + installation: *681 + label: *699 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -213922,7 +214135,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -214003,10 +214216,10 @@ webhooks: type: string enum: - unlocked - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -216335,7 +216548,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -216538,7 +216751,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *683 + enterprise: *680 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216633,8 +216846,8 @@ webhooks: - url - author - committer - installation: *684 - organization: *685 + installation: *681 + organization: *682 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217222,9 +217435,9 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 registry_package: type: object properties: @@ -217701,7 +217914,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *717 + items: *714 summary: type: string tag_name: @@ -217757,7 +217970,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *683 sender: *4 required: - action @@ -217835,9 +218048,9 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 registry_package: type: object properties: @@ -218149,7 +218362,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *717 + items: *714 summary: type: string tag_name: @@ -218199,7 +218412,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *683 sender: *4 required: - action @@ -218276,10 +218489,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - release: &735 + enterprise: *680 + installation: *681 + organization: *682 + release: &732 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218610,7 +218823,7 @@ webhooks: - updated_at - zipball_url - body - repository: *686 + repository: *683 sender: *4 required: - action @@ -218687,11 +218900,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + release: *732 + repository: *683 sender: *4 required: - action @@ -218808,11 +219021,11 @@ webhooks: type: boolean required: - to - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + release: *732 + repository: *683 sender: *4 required: - action @@ -218890,9 +219103,9 @@ webhooks: type: string enum: - prereleased - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -219228,7 +219441,7 @@ webhooks: - string - 'null' format: uri - repository: *686 + repository: *683 sender: *4 required: - action @@ -219304,10 +219517,10 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - release: &736 + enterprise: *680 + installation: *681 + organization: *682 + release: &733 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219640,7 +219853,7 @@ webhooks: - string - 'null' format: uri - repository: *686 + repository: *683 sender: *4 required: - action @@ -219716,11 +219929,11 @@ webhooks: type: string enum: - released - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + release: *732 + repository: *683 sender: *4 required: - action @@ -219796,11 +220009,11 @@ webhooks: type: string enum: - unpublished - enterprise: *683 - installation: *684 - organization: *685 - release: *736 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + release: *733 + repository: *683 sender: *4 required: - action @@ -219876,11 +220089,11 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_advisory: *603 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + repository_advisory: *601 sender: *4 required: - action @@ -219956,11 +220169,11 @@ webhooks: type: string enum: - reported - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_advisory: *603 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + repository_advisory: *601 sender: *4 required: - action @@ -220036,10 +220249,10 @@ webhooks: type: string enum: - archived - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220116,10 +220329,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220197,10 +220410,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220285,10 +220498,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: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220403,10 +220616,10 @@ webhooks: - 'null' items: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220478,10 +220691,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 status: type: string @@ -220562,10 +220775,10 @@ webhooks: type: string enum: - privatized - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220642,10 +220855,10 @@ webhooks: type: string enum: - publicized - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220739,10 +220952,10 @@ webhooks: - name required: - repository - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220822,10 +221035,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 repository_ruleset: *276 sender: *4 required: @@ -220904,10 +221117,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 repository_ruleset: *276 sender: *4 required: @@ -220986,10 +221199,10 @@ webhooks: type: string enum: - edited - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 repository_ruleset: *276 changes: type: object @@ -221051,16 +221264,16 @@ webhooks: properties: added: type: array - items: *568 + items: *558 deleted: type: array - items: *568 + items: *558 updated: type: array items: type: object properties: - rule: *568 + rule: *558 changes: type: object properties: @@ -221297,10 +221510,10 @@ webhooks: - from required: - owner - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -221378,10 +221591,10 @@ webhooks: type: string enum: - unarchived - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -221459,7 +221672,7 @@ webhooks: type: string enum: - create - alert: &737 + alert: &734 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221583,10 +221796,10 @@ webhooks: type: string enum: - open - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -221796,10 +222009,10 @@ webhooks: type: string enum: - dismissed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -221877,11 +222090,11 @@ webhooks: type: string enum: - reopen - alert: *737 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *734 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222083,10 +222296,10 @@ webhooks: enum: - fixed - open - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222164,17 +222377,17 @@ webhooks: type: string enum: - created - alert: &738 + alert: &735 type: object properties: - number: *52 - created_at: *53 + number: *145 + created_at: *146 updated_at: anyOf: - type: 'null' - - *54 - url: *55 - html_url: *56 + - *147 + url: *148 + html_url: *149 locations_url: type: string format: uri @@ -222278,10 +222491,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222362,11 +222575,11 @@ webhooks: type: string enum: - created - alert: *738 - installation: *684 - location: *739 - organization: *685 - repository: *686 + alert: *735 + installation: *681 + location: *736 + organization: *682 + repository: *683 sender: *4 required: - location @@ -222604,11 +222817,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *735 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222686,11 +222899,11 @@ webhooks: type: string enum: - reopened - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *735 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222768,11 +222981,11 @@ webhooks: type: string enum: - resolved - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *735 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222850,11 +223063,11 @@ webhooks: type: string enum: - validated - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *735 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222984,10 +223197,10 @@ webhooks: - organization - enterprise - - repository: *686 - enterprise: *683 - installation: *684 - organization: *685 + repository: *683 + enterprise: *680 + installation: *681 + organization: *682 sender: *4 required: - action @@ -223065,11 +223278,11 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - security_advisory: &740 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + security_advisory: &737 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223255,11 +223468,11 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - security_advisory: *740 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + security_advisory: *737 sender: *4 required: - action @@ -223332,10 +223545,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223522,10 +223735,10 @@ webhooks: type: object properties: security_and_analysis: *250 - enterprise: *683 - installation: *684 - organization: *685 - repository: *322 + enterprise: *680 + installation: *681 + organization: *682 + repository: *312 sender: *4 required: - changes @@ -223603,12 +223816,12 @@ webhooks: type: string enum: - cancelled - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: &741 + sponsorship: &738 type: object properties: created_at: @@ -223913,12 +224126,12 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: *741 + sponsorship: *738 required: - action - sponsorship @@ -224006,12 +224219,12 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: *741 + sponsorship: *738 required: - action - changes @@ -224088,17 +224301,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &742 + effective_date: &739 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: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: *741 + sponsorship: *738 required: - action - sponsorship @@ -224172,7 +224385,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &743 + changes: &740 type: object properties: tier: @@ -224216,13 +224429,13 @@ webhooks: - from required: - tier - effective_date: *742 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + effective_date: *739 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: *741 + sponsorship: *738 required: - action - changes @@ -224299,13 +224512,13 @@ webhooks: type: string enum: - tier_changed - changes: *743 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + changes: *740 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: *741 + sponsorship: *738 required: - action - changes @@ -224379,10 +224592,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224466,10 +224679,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224903,15 +225116,15 @@ webhooks: type: - string - 'null' - enterprise: *683 + enterprise: *680 id: description: The unique identifier of the status. type: integer - installation: *684 + installation: *681 name: type: string - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 sha: description: The Commit SHA. @@ -225021,15 +225234,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: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -225113,15 +225326,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: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -225205,15 +225418,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: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -225297,15 +225510,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: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -225382,12 +225595,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - team: &744 + team: &741 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225617,9 +225830,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 repository: title: Repository description: A git repository @@ -226089,7 +226302,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *741 required: - action - team @@ -226165,9 +226378,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 repository: title: Repository description: A git repository @@ -226637,7 +226850,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *741 required: - action - team @@ -226714,9 +226927,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 repository: title: Repository description: A git repository @@ -227186,7 +227399,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *741 required: - action - team @@ -227330,9 +227543,9 @@ webhooks: - from required: - permissions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 repository: title: Repository description: A git repository @@ -227802,7 +228015,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *741 required: - action - changes @@ -227880,9 +228093,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 repository: title: Repository description: A git repository @@ -228352,7 +228565,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *741 required: - action - team @@ -228428,10 +228641,10 @@ webhooks: type: string enum: - started - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -228504,17 +228717,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *683 + enterprise: *680 inputs: type: - object - 'null' additionalProperties: true - installation: *684 - organization: *685 + installation: *681 + organization: *682 ref: type: string - repository: *686 + repository: *683 sender: *4 workflow: type: string @@ -228596,10 +228809,10 @@ webhooks: type: string enum: - completed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 workflow_job: allOf: @@ -228855,7 +229068,7 @@ webhooks: type: string required: - conclusion - deployment: *467 + deployment: *457 required: - action - repository @@ -228934,10 +229147,10 @@ webhooks: type: string enum: - in_progress - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 workflow_job: allOf: @@ -229219,7 +229432,7 @@ webhooks: required: - status - steps - deployment: *467 + deployment: *457 required: - action - repository @@ -229298,10 +229511,10 @@ webhooks: type: string enum: - queued - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 workflow_job: type: object @@ -229447,7 +229660,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *457 required: - action - repository @@ -229526,10 +229739,10 @@ webhooks: type: string enum: - waiting - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 workflow_job: type: object @@ -229676,7 +229889,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *457 required: - action - repository @@ -229756,12 +229969,12 @@ webhooks: type: string enum: - completed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - workflow: *698 + workflow: *695 workflow_run: title: Workflow Run type: object @@ -230780,12 +230993,12 @@ webhooks: type: string enum: - in_progress - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - workflow: *698 + workflow: *695 workflow_run: title: Workflow Run type: object @@ -231789,12 +232002,12 @@ webhooks: type: string enum: - requested - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - workflow: *698 + workflow: *695 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..4c3f98c57 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." @@ -45110,6 +45114,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 +45907,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -59938,7 +60571,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "secret-scanning", "subcategory": "secret-scanning" @@ -60968,6 +61601,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 +63532,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 +63715,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 +63723,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 +63731,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 +65263,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", @@ -66119,8 +66775,904 @@ } }, { - "name": "username", - "description": "The handle for the GitHub user account.", + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "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": { @@ -66130,40 +67682,14 @@ ], "responses": { "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "description": "Successfully unassigned the enterprise team from the organization." } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "subcategory": "enterprise-team-organizations" } } }, @@ -66413,6 +67939,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -114540,7 +116076,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -114684,7 +116220,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 +116228,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 +116236,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -135677,6 +137213,110 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -158163,29 +159803,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -217689,17 +219306,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 +228296,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 +406827,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 +406854,6 @@ "schema": { "type": "string" } - }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } } ], "responses": { @@ -631363,7 +632955,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/enterprise-cloud@latest//get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -805632,17 +807224,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 +816187,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 +844870,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 +845001,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 +845009,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 +845017,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index f0616924a..90d229331 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 @@ -703,7 +705,7 @@ paths: required: - vector_string - score - cvss_severities: &111 + cvss_severities: &116 type: - object - 'null' @@ -750,7 +752,7 @@ paths: required: - vector_string - score - epss: &112 + epss: &117 type: - object - 'null' @@ -913,7 +915,7 @@ paths: - subscriptions_url - type - url - type: &397 + type: &402 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: &231 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 + - &718 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 + - &314 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: &315 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: &316 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1808,7 +1810,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &723 + schema: &728 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: &230 title: Validation Error description: Validation Error type: object @@ -1911,7 +1913,7 @@ paths: description: Response content: application/json: - schema: &312 + schema: &317 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2046,7 +2048,7 @@ paths: - request - response examples: - default: &313 + default: &318 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2250,7 +2252,7 @@ paths: parameters: - *17 - *19 - - &189 + - &195 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) @@ -3036,7 +3038,7 @@ paths: license: anyOf: - type: 'null' - - &186 + - &192 title: License Simple description: License Simple type: object @@ -7785,7 +7787,7 @@ paths: description: Response content: application/json: - schema: &225 + schema: &232 type: object properties: total_active_caches_count: @@ -7800,7 +7802,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &226 + default: &233 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -8005,7 +8007,7 @@ paths: - public_ip_enabled - platform examples: - default: &227 + default: &234 value: total_count: 2 runners: @@ -8295,7 +8297,7 @@ paths: description: Response content: application/json: - schema: &228 + schema: &235 type: object properties: public_ips: @@ -8322,7 +8324,7 @@ paths: required: - public_ips examples: - default: &229 + default: &236 value: public_ips: current_usage: 17 @@ -8362,7 +8364,7 @@ paths: type: array items: *45 examples: - default: &230 + default: &237 value: id: 4-core cpu_cores: 4 @@ -8620,7 +8622,7 @@ paths: - all - local_only - selected - selected_actions_url: &233 + selected_actions_url: &240 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` @@ -8700,7 +8702,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &235 + schema: &242 type: object properties: days: @@ -8718,7 +8720,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &724 + '401': &729 description: Authorization failure '404': *6 x-github: @@ -8746,7 +8748,7 @@ paths: required: true content: application/json: - schema: &236 + schema: &243 type: object properties: days: @@ -8795,7 +8797,7 @@ paths: required: - approval_policy examples: - default: &237 + default: &244 value: approval_policy: first_time_contributors '404': *6 @@ -8853,7 +8855,7 @@ paths: description: Response content: application/json: - schema: &238 + schema: &245 type: object required: - run_workflows_from_fork_pull_requests @@ -8907,7 +8909,7 @@ paths: required: true content: application/json: - schema: &239 + schema: &246 type: object required: - run_workflows_from_fork_pull_requests @@ -9343,7 +9345,7 @@ paths: description: Success response content: application/json: - schema: &242 + schema: &249 type: object properties: default_workflow_permissions: &56 @@ -9391,7 +9393,7 @@ paths: required: true content: application/json: - schema: &243 + schema: &250 type: object properties: default_workflow_permissions: *56 @@ -10236,7 +10238,7 @@ paths: application/json: schema: type: array - items: &247 + items: &254 title: Runner Application description: Runner Application type: object @@ -10261,7 +10263,7 @@ paths: - download_url - filename examples: - default: &248 + default: &255 value: - os: osx architecture: x64 @@ -10345,7 +10347,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &249 + '201': &256 description: Response content: application/json: @@ -10464,7 +10466,7 @@ paths: - token - expires_at examples: - default: &250 + default: &257 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10504,7 +10506,7 @@ paths: application/json: schema: *68 examples: - default: &251 + default: &258 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10536,7 +10538,7 @@ paths: application/json: schema: *65 examples: - default: &252 + default: &259 value: id: 23 name: MBP @@ -10752,7 +10754,7 @@ paths: - *39 - *64 responses: - '200': &253 + '200': &260 description: Response content: application/json: @@ -10808,7 +10810,7 @@ paths: parameters: - *39 - *64 - - &254 + - &261 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10905,7 +10907,7 @@ paths: required: true content: application/json: - schema: &261 + schema: &268 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11556,7 +11558,7 @@ paths: required: false schema: type: string - - &262 + - &269 name: include description: |- The event types to include: @@ -11574,7 +11576,7 @@ paths: - web - git - all - - &263 + - &270 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 +11584,7 @@ paths: required: false schema: type: string - - &264 + - &271 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 +11592,7 @@ paths: required: false schema: type: string - - &265 + - &272 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 +11614,7 @@ paths: application/json: schema: type: array - items: &266 + items: &273 type: object properties: "@timestamp": @@ -11734,7 +11736,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &267 + default: &274 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12402,7 +12404,7 @@ paths: application/json: schema: type: array - items: &268 + items: &275 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12574,7 +12576,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &269 + default: &276 value: - id: 21 number: 42 @@ -12679,7 +12681,7 @@ paths: application/json: schema: type: array - items: &271 + items: &278 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12810,7 +12812,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &272 + default: &279 value: - id: 21 number: 42 @@ -12895,7 +12897,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &277 + - &284 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`, @@ -12905,7 +12907,7 @@ paths: schema: &100 type: string description: The name of the tool used to generate the code scanning analysis. - - &278 + - &285 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 @@ -12929,7 +12931,7 @@ paths: be returned. in: query required: false - schema: &279 + schema: &286 type: string description: State of a code scanning alert. enum: @@ -12954,36 +12956,36 @@ paths: application/json: schema: type: array - items: &280 + items: &287 type: object properties: - number: &109 + number: &114 type: integer description: The security alert number. readOnly: true - created_at: &116 + created_at: &121 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: &122 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: &119 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &115 + html_url: &120 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &509 + instances_url: &514 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -12999,7 +13001,7 @@ paths: - dismissed - fixed - - fixed_at: &119 + fixed_at: &124 type: - string - 'null' @@ -13011,7 +13013,7 @@ paths: anyOf: - type: 'null' - *4 - dismissed_at: &118 + dismissed_at: &123 type: - string - 'null' @@ -13019,7 +13021,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &510 + dismissed_reason: &515 type: - string - 'null' @@ -13030,14 +13032,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &511 + dismissed_comment: &516 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &512 + rule: &517 type: object properties: id: @@ -13098,7 +13100,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &513 + tool: &518 type: object properties: name: *100 @@ -13109,15 +13111,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *101 - most_recent_instance: &514 + most_recent_instance: &519 type: object properties: - ref: &507 + ref: &512 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &524 + analysis_key: &529 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13128,7 +13130,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &525 + category: &530 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13519,7 +13521,7 @@ paths: - most_recent_instance - repository examples: - default: &281 + default: &288 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -13750,7 +13752,7 @@ paths: headers: Link: *41 '404': *6 - '503': &163 + '503': &168 description: Service unavailable content: application/json: @@ -14178,7 +14180,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &282 + code_scanning_options: &289 type: - object - 'null' @@ -14376,7 +14378,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &291 type: array description: A list of default code security configurations items: @@ -14392,7 +14394,7 @@ paths: default configuration: *103 examples: - default: &285 + default: &292 value: - default_for_new_repos: public configuration: @@ -14719,7 +14721,7 @@ paths: - *39 - *105 responses: - '204': &129 + '204': &134 description: A header with no content is returned. '400': *14 '403': *27 @@ -14846,7 +14848,7 @@ paths: default: value: default_for_new_repos: all - configuration: &283 + configuration: &290 value: id: 1325 target_type: organization @@ -14931,7 +14933,7 @@ paths: application/json: schema: type: array - items: &286 + items: &293 type: object description: Repositories associated with a code security configuration and attachment status @@ -14955,7 +14957,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &287 + repository: &294 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15438,7 +15440,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &120 + items: &125 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -15456,7 +15458,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &273 + - &280 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15533,7 +15535,7 @@ paths: parent: anyOf: - type: 'null' - - &344 + - &349 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -15651,7 +15653,7 @@ paths: - slug - parent - type - - &174 + - &179 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -15774,7 +15776,7 @@ paths: - created_at additionalProperties: false examples: - default: &121 + default: &126 value: total_seats: 2 seats: @@ -16226,7 +16228,7 @@ paths: application/json: schema: type: array - items: &171 + items: &176 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16541,7 +16543,7 @@ paths: - date additionalProperties: true examples: - default: &172 + default: &177 value: - date: '2024-06-24' total_active_users: 24 @@ -16643,7 +16645,7 @@ paths: '500': *38 '403': *27 '404': *6 - '422': &173 + '422': &178 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16654,6 +16656,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 + - &109 + 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: &110 + 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: &111 + 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: &112 + 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: &113 + 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 + - *109 + responses: + '200': + description: Response + content: + application/json: + schema: *110 + examples: + default: *111 + '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: *112 + examples: + default: *113 + '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 +16882,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &294 + - &301 name: state in: query description: |- @@ -16682,7 +16891,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &295 + - &302 name: severity in: query description: |- @@ -16691,7 +16900,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &296 + - &303 name: ecosystem in: query description: |- @@ -16700,14 +16909,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &297 + - &304 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 + - &305 name: epss_percentage in: query description: |- @@ -16719,7 +16928,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 + - &565 name: has in: query description: |- @@ -16733,7 +16942,7 @@ paths: type: string enum: - patch - - &299 + - &306 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16743,7 +16952,7 @@ paths: enum: - development - runtime - - &300 + - &307 name: sort in: query description: |- @@ -16761,31 +16970,6 @@ paths: - *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 - *17 responses: '200': @@ -16794,11 +16978,11 @@ paths: application/json: schema: type: array - items: &303 + items: &308 type: object description: A Dependabot alert. properties: - number: *109 + number: *114 state: type: string description: The state of the Dependabot alert. @@ -16813,7 +16997,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &110 + package: &115 type: object description: Details for the vulnerable package. readOnly: true @@ -16861,7 +17045,7 @@ paths: - direct - transitive - - security_advisory: &561 + security_advisory: &566 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -16892,13 +17076,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &113 + items: &118 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *110 + package: *115 severity: type: string description: The severity of the vulnerability. @@ -16966,8 +17150,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *111 - epss: *112 + cvss_severities: *116 + epss: *117 cwes: type: array description: Details for the advisory pertaining to Common @@ -17067,12 +17251,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: *118 + url: *119 + html_url: *120 + created_at: *121 + updated_at: *122 + dismissed_at: *123 dismissed_by: anyOf: - type: 'null' @@ -17096,8 +17280,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *119 - auto_dismissed_at: &562 + fixed_at: *124 + auto_dismissed_at: &567 type: - string - 'null' @@ -17124,7 +17308,7 @@ paths: - repository additionalProperties: false examples: - default: &304 + default: &309 value: - number: 2 state: dismissed @@ -17541,7 +17725,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 + - &183 name: username description: The handle for the GitHub user account. in: path @@ -17563,9 +17747,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *120 + items: *125 examples: - default: *121 + default: *126 '500': *38 '401': *23 '403': *27 @@ -17608,7 +17792,7 @@ paths: type: integer network_configurations: type: array - items: &122 + items: &127 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -17653,7 +17837,7 @@ paths: - name - created_on examples: - default: &407 + default: &412 value: total_count: 2 network_configurations: @@ -17731,9 +17915,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *127 examples: - default: &123 + default: &128 value: id: 123456789ABCDEF name: My network configuration @@ -17760,7 +17944,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 + - &129 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -17772,9 +17956,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *127 examples: - default: *123 + default: *128 headers: Link: *41 x-github: @@ -17794,7 +17978,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 + - *129 requestBody: required: true content: @@ -17833,9 +18017,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *127 examples: - default: *123 + default: *128 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17853,7 +18037,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 + - *129 responses: '204': description: Response @@ -17876,7 +18060,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 + - &413 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17888,7 +18072,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &414 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17927,7 +18111,7 @@ paths: - subnet_id - region examples: - default: &410 + default: &415 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -17962,7 +18146,7 @@ paths: application/json: schema: type: array - items: &125 + items: &130 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -18038,7 +18222,7 @@ paths: - property_name - value_type examples: - default: &126 + default: &131 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -18095,7 +18279,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *125 + items: *130 minItems: 1 maxItems: 100 required: @@ -18125,9 +18309,9 @@ paths: application/json: schema: type: array - items: *125 + items: *130 examples: - default: *126 + default: *131 '403': *27 '404': *6 x-github: @@ -18151,7 +18335,7 @@ paths: parameters: - *39 - *76 - - &127 + - &132 name: custom_property_name description: The custom property name in: path @@ -18163,9 +18347,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *130 examples: - default: &128 + default: &133 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -18198,15 +18382,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 + - *132 responses: '200': description: Response content: application/json: - schema: *125 + schema: *130 examples: - default: *128 + default: *133 '403': *27 '404': *6 x-github: @@ -18228,12 +18412,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 + - *132 requestBody: required: true content: application/json: - schema: &375 + schema: &380 title: Custom Property Set Payload description: Custom property set payload type: object @@ -18306,9 +18490,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *130 examples: - default: *128 + default: *133 '403': *27 '404': *6 x-github: @@ -18330,9 +18514,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 + - *132 responses: - '204': *129 + '204': *134 '403': *27 '404': *6 x-github: @@ -18372,7 +18556,7 @@ paths: - push - repository default: branch - enforcement: &136 + enforcement: &141 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -18385,7 +18569,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &137 + items: &142 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -18427,7 +18611,7 @@ paths: - pull_request - exempt default: always - conditions: &160 + conditions: &165 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -18441,7 +18625,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &130 + - &135 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -18467,7 +18651,7 @@ paths: type: string required: - organization_name - - &133 + - &138 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -18496,7 +18680,7 @@ paths: is prevented. required: - repository_name - - &132 + - &137 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -18524,8 +18708,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *130 - - &135 + - *135 + - &140 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -18538,7 +18722,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &131 + items: &136 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -18569,16 +18753,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *131 + items: *136 required: - repository_property - - *132 + - *137 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &134 + - &139 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -18595,25 +18779,25 @@ paths: type: integer required: - organization_id - - *133 - - *132 + - *138 + - *137 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *134 - - *135 - - *132 + - *139 + - *140 + - *137 rules: type: array description: An array of rules within the ruleset. - items: &161 + items: &166 title: Repository Rule type: object description: A repository rule. oneOf: - - &138 + - &143 title: creation description: Only allow users with bypass permission to create matching refs. @@ -18625,7 +18809,7 @@ paths: type: string enum: - creation - - &139 + - &144 title: update description: Only allow users with bypass permission to update matching refs. @@ -18646,7 +18830,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &140 + - &145 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -18658,7 +18842,7 @@ paths: type: string enum: - deletion - - &141 + - &146 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -18670,7 +18854,7 @@ paths: type: string enum: - required_linear_history - - &142 + - &147 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -18694,7 +18878,7 @@ paths: type: string required: - required_deployment_environments - - &143 + - &148 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -18706,7 +18890,7 @@ paths: type: string enum: - required_signatures - - &144 + - &149 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 +18950,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &145 + - &150 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 +18997,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &146 + - &151 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -18825,7 +19009,7 @@ paths: type: string enum: - non_fast_forward - - &147 + - &152 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -18861,7 +19045,7 @@ paths: required: - operator - pattern - - &148 + - &153 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -18897,7 +19081,7 @@ paths: required: - operator - pattern - - &149 + - &154 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -18933,7 +19117,7 @@ paths: required: - operator - pattern - - &150 + - &155 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -18969,7 +19153,7 @@ paths: required: - operator - pattern - - &151 + - &156 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -19005,7 +19189,7 @@ paths: required: - operator - pattern - - &152 + - &157 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 +19213,7 @@ paths: type: string required: - restricted_file_paths - - &153 + - &158 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 +19237,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &154 + - &159 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -19076,7 +19260,7 @@ paths: type: string required: - restricted_file_extensions - - &155 + - &160 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -19100,7 +19284,7 @@ paths: maximum: 100 required: - max_file_size - - &156 + - &161 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -19149,7 +19333,7 @@ paths: - repository_id required: - workflows - - &157 + - &162 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -19235,7 +19419,7 @@ paths: description: Response content: application/json: - schema: &158 + schema: &163 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -19270,11 +19454,11 @@ paths: source: type: string description: The name of the source - enforcement: *136 + enforcement: *141 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 + items: *142 current_user_can_bypass: type: string description: |- @@ -19306,8 +19490,8 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - *132 - - &380 + - *137 + - &385 title: Organization ruleset conditions type: object description: |- @@ -19321,14 +19505,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *132 - - *133 + - *137 + - *138 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *132 + - *137 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -19350,23 +19534,23 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *132 - - *135 + - *137 + - *140 type: - 'null' - object rules: type: array - items: &679 + items: &684 title: Repository Rule type: object description: A repository rule. oneOf: - - *138 - - *139 - - *140 - - *141 - - &676 + - *143 + - *144 + - *145 + - *146 + - &681 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -19444,11 +19628,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *142 - - *143 - - *144 - - *145 - - *146 - *147 - *148 - *149 @@ -19460,7 +19639,12 @@ paths: - *155 - *156 - *157 - - &677 + - *158 + - *159 + - *160 + - *161 + - *162 + - &682 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 +19674,7 @@ paths: type: string format: date-time examples: - default: &159 + default: &164 value: id: 21 name: super cool ruleset @@ -19549,9 +19733,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: *159 + default: *164 '404': *6 '500': *38 x-github: @@ -19595,16 +19779,16 @@ paths: - tag - push - repository - enforcement: *136 + enforcement: *141 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *160 + items: *142 + conditions: *165 rules: description: An array of rules within the ruleset. type: array - items: *161 + items: *166 examples: default: value: @@ -19628,9 +19812,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: *159 + default: *164 '404': *6 '500': *38 x-github: @@ -19692,7 +19876,7 @@ paths: application/json: schema: type: array - items: &162 + items: &167 title: Ruleset version type: object description: The historical version of a ruleset @@ -19716,7 +19900,7 @@ paths: type: string format: date-time examples: - default: &383 + default: &388 value: - version_id: 3 actor: @@ -19769,9 +19953,9 @@ paths: description: Response content: application/json: - schema: &384 + schema: &389 allOf: - - *162 + - *167 - type: object required: - state @@ -19824,7 +20008,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 + - &390 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19835,7 +20019,7 @@ paths: enum: - open - resolved - - &386 + - &391 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19845,7 +20029,7 @@ paths: required: false schema: type: string - - &387 + - &392 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19854,7 +20038,7 @@ paths: required: false schema: type: string - - &388 + - &393 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. @@ -19870,7 +20054,7 @@ paths: - *17 - *97 - *98 - - &389 + - &394 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19879,7 +20063,7 @@ paths: required: false schema: type: string - - &390 + - &395 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19888,7 +20072,7 @@ paths: schema: type: boolean default: false - - &391 + - &396 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19897,7 +20081,7 @@ paths: schema: type: boolean default: false - - &392 + - &397 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19913,30 +20097,30 @@ paths: application/json: schema: type: array - items: &393 + items: &398 type: object properties: - number: *109 - created_at: *116 + number: *114 + created_at: *121 updated_at: anyOf: - type: 'null' - - *117 - url: *114 - html_url: *115 + - *122 + url: *119 + html_url: *120 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &691 + state: &696 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: &697 type: - string - 'null' @@ -20043,14 +20227,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &693 + - &698 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &695 + - &700 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 +20291,7 @@ paths: - blob_url - commit_sha - commit_url - - &696 + - &701 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 +20352,7 @@ paths: - page_url - commit_sha - commit_url - - &697 + - &702 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 +20367,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &698 + - &703 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 +20382,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &699 + - &704 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 +20397,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &700 + - &705 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 +20412,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &701 + - &706 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 +20427,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &702 + - &707 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 +20442,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &703 + - &708 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 +20457,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &704 + - &709 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 +20472,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &705 + - &710 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 +20487,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &706 + - &711 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 +20502,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &707 + - &712 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 +20527,7 @@ paths: - type: 'null' - *4 examples: - default: &394 + default: &399 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -20521,9 +20705,9 @@ paths: headers: Link: *41 '404': *6 - '503': *163 + '503': *168 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: false category: secret-scanning subcategory: secret-scanning @@ -20552,13 +20736,13 @@ paths: description: Response content: application/json: - schema: &395 + schema: &400 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: &170 type: - string - 'null' @@ -20568,7 +20752,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &164 + items: &169 type: object properties: token_type: @@ -20637,9 +20821,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *164 + items: *169 examples: - default: &396 + default: &401 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -20694,7 +20878,7 @@ paths: schema: type: object properties: - pattern_config_version: *165 + pattern_config_version: *170 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -20720,7 +20904,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *165 + custom_pattern_version: *170 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -20783,7 +20967,7 @@ paths: description: Response content: application/json: - schema: &398 + schema: &403 type: object properties: total_minutes_used: @@ -20853,7 +21037,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &399 + default: &404 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20884,7 +21068,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 + - &405 name: advanced_security_product in: query description: | @@ -20904,7 +21088,7 @@ paths: description: Success content: application/json: - schema: &401 + schema: &406 type: object properties: total_advanced_security_committers: @@ -20967,7 +21151,7 @@ paths: required: - repositories examples: - default: &402 + default: &407 value: total_advanced_security_committers: 2 total_count: 2 @@ -21006,6 +21190,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 +21272,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21208,7 +21402,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id parameters: - *39 - - &168 + - &173 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -21220,7 +21414,7 @@ paths: description: Response when getting a cost center content: application/json: - schema: &166 + schema: &171 type: object properties: id: @@ -21260,7 +21454,7 @@ paths: - name - resources examples: - default: &167 + default: &172 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -21274,7 +21468,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21324,15 +21518,15 @@ paths: description: Response when updating a cost center content: application/json: - schema: *166 + schema: *171 examples: - default: *167 + default: *172 '400': *14 '403': *27 '404': *6 '409': *107 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21350,7 +21544,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center parameters: - *39 - - *168 + - *173 responses: '200': description: Response when deleting a cost center @@ -21389,7 +21583,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21410,7 +21604,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center parameters: - *39 - - *168 + - *173 requestBody: required: true content: @@ -21483,7 +21677,7 @@ paths: '403': *27 '409': *107 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21503,7 +21697,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center parameters: - *39 - - *168 + - *173 requestBody: required: true content: @@ -21550,7 +21744,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21581,7 +21775,7 @@ paths: description: Response content: application/json: - schema: &403 + schema: &408 type: object properties: total_gigabytes_bandwidth_used: @@ -21599,7 +21793,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &404 + default: &409 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -21612,8 +21806,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 +21818,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 + - &174 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 +21827,7 @@ paths: required: false schema: type: integer - - &213 + - &220 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 +21836,7 @@ paths: required: false schema: type: integer - - &170 + - &175 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 +21852,21 @@ paths: required: false schema: type: string - - &214 + - &221 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &215 + - &222 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &216 + - &223 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -21754,19 +21950,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 +22005,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21840,7 +22036,7 @@ paths: description: Response content: application/json: - schema: &405 + schema: &410 type: object properties: days_left_in_billing_cycle: @@ -21858,7 +22054,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &406 + default: &411 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -21883,8 +22079,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 + - *174 + - &224 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 +22089,8 @@ paths: required: false schema: type: integer - - *170 - - &218 + - *175 + - &225 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 +22111,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &219 + schema: &226 type: object properties: usageItems: @@ -21968,7 +22164,7 @@ paths: - netAmount - organizationName examples: - default: &220 + default: &227 value: usageItems: - date: '2023-08-01' @@ -21985,7 +22181,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -22056,13 +22252,13 @@ paths: application/json: schema: type: array - items: *171 + items: *176 examples: - default: *172 + default: *177 '500': *38 '403': *27 '404': *6 - '422': *173 + '422': *178 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -22089,9 +22285,9 @@ paths: application/json: schema: type: array - items: *174 + items: *179 examples: - default: &175 + default: &180 value: - id: 1 name: Justice League @@ -22148,6 +22344,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 +22375,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *179 examples: - default: *175 + default: *180 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22187,7 +22395,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 + - &181 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 +22414,7 @@ paths: type: array items: *4 examples: - default: &177 + default: &182 value: - login: octocat id: 1 @@ -22245,7 +22453,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *39 - - *176 + - *181 requestBody: required: true content: @@ -22276,7 +22484,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22294,7 +22502,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *39 - - *176 + - *181 requestBody: required: true content: @@ -22325,7 +22533,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22343,8 +22551,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *39 - - *176 - - *178 + - *181 + - *183 responses: '200': description: User is a member of the enterprise team. @@ -22352,7 +22560,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &179 + exampleKey1: &184 value: login: octocat id: 1 @@ -22388,8 +22596,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *39 - - *176 - - *178 + - *181 + - *183 responses: '201': description: Successfully added team member @@ -22397,7 +22605,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *179 + exampleKey1: *184 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22415,8 +22623,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *39 - - *176 - - *178 + - *181 + - *183 responses: '204': description: Response @@ -22426,6 +22634,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 + - *181 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: *62 + examples: + default: &185 + 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 + - *181 + 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: *62 + examples: + default: &219 + 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 + - *181 + 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 + - *181 + - *76 + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: *62 + examples: + default: *185 + '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 + - *181 + - *76 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *62 + examples: + default: *185 + 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 + - *181 + - *76 + 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 +22870,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *39 - - &180 + - &186 name: team_slug description: The slug of the team name. in: path @@ -22453,9 +22882,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *179 examples: - default: *175 + default: *180 headers: Link: *41 '403': *27 @@ -22475,7 +22904,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *39 - - *180 + - *186 requestBody: required: true content: @@ -22503,6 +22932,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 +22962,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *179 examples: - default: *175 + default: *180 headers: Link: *41 '403': *27 @@ -22546,7 +22987,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *39 - - *180 + - *186 responses: '204': description: Response @@ -22645,7 +23086,7 @@ paths: application/json: schema: type: array - items: &208 + items: &214 title: Event description: Event type: object @@ -22656,7 +23097,7 @@ paths: type: - string - 'null' - actor: &181 + actor: &187 title: Actor description: Actor type: object @@ -22697,7 +23138,7 @@ paths: - id - name - url - org: *181 + org: *187 payload: oneOf: - title: CreateEvent @@ -22744,7 +23185,7 @@ paths: properties: action: type: string - discussion: &829 + discussion: &833 title: Discussion description: A Discussion in a repository. type: object @@ -23041,7 +23482,7 @@ paths: - id labels: type: array - items: &182 + items: &188 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -23124,7 +23565,7 @@ paths: properties: action: type: string - issue: &183 + issue: &189 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -23247,7 +23688,7 @@ paths: milestone: anyOf: - type: 'null' - - &368 + - &373 title: Milestone description: A collection of related issues and pull requests. @@ -23419,7 +23860,7 @@ paths: timeline_url: type: string format: uri - type: &331 + type: &336 title: Issue Type description: The type of issue. type: @@ -23478,7 +23919,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &184 + author_association: &190 title: author_association type: string description: How the author is associated with the @@ -23494,7 +23935,7 @@ paths: - OWNER examples: - OWNER - reactions: &185 + reactions: &191 title: Reaction Rollup type: object properties: @@ -23530,7 +23971,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &751 + sub_issues_summary: &756 title: Sub-issues Summary type: object properties: @@ -23551,7 +23992,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &752 + issue_dependencies_summary: &757 title: Issue Dependencies Summary type: object properties: @@ -23570,7 +24011,7 @@ paths: - total_blocking issue_field_values: type: array - items: &753 + items: &758 title: Issue Field Value description: A value assigned to an issue field type: object @@ -23670,10 +24111,10 @@ paths: assignees: type: array items: *4 - label: *182 + label: *188 labels: type: array - items: *182 + items: *188 required: - action - issue @@ -23682,8 +24123,8 @@ paths: properties: action: type: string - issue: *183 - comment: &617 + issue: *189 + comment: &622 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -23733,12 +24174,12 @@ paths: issue_url: type: string format: uri - author_association: *184 + author_association: *190 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *185 + reactions: *191 required: - id - node_id @@ -23917,7 +24358,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *192 allow_forking: type: boolean is_template: @@ -24008,7 +24449,7 @@ paths: type: string number: type: integer - pull_request: &187 + pull_request: &193 title: Pull Request Minimal type: object properties: @@ -24079,10 +24520,10 @@ paths: assignees: type: array items: *4 - label: *182 + label: *188 labels: type: array - items: *182 + items: *188 required: - action - number @@ -24092,7 +24533,7 @@ paths: properties: action: type: string - pull_request: *187 + pull_request: *193 comment: type: object properties: @@ -24346,7 +24787,7 @@ paths: - pull_request updated_at: type: string - pull_request: *187 + pull_request: *193 required: - action - review @@ -24395,7 +24836,7 @@ paths: updated_at: type: string format: date-time - reactions: *185 + reactions: *191 required: - action - comment @@ -24406,7 +24847,7 @@ paths: type: string release: allOf: - - &669 + - &674 title: Release description: A release. type: object @@ -24488,7 +24929,7 @@ paths: author: *4 assets: type: array - items: &670 + items: &675 title: Release Asset description: Data related to a release. type: object @@ -24563,7 +25004,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *185 + reactions: *191 required: - assets_url - upload_url @@ -24656,7 +25097,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24746,7 +25187,7 @@ paths: _links: type: object properties: - timeline: &188 + timeline: &194 title: Link With Type description: Hypermedia Link with Type type: object @@ -24758,17 +25199,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: *194 + security_advisories: *194 + current_user: *194 + current_user_public: *194 + current_user_actor: *194 + current_user_organization: *194 current_user_organizations: type: array - items: *188 - repository_discussions: *188 - repository_discussions_category: *188 + items: *194 + repository_discussions: *194 + repository_discussions_category: *194 required: - timeline - user @@ -24830,7 +25271,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 + - *195 - *17 - *19 responses: @@ -24840,7 +25281,7 @@ paths: application/json: schema: type: array - items: &190 + items: &196 title: Base Gist description: Base Gist type: object @@ -24937,7 +25378,7 @@ paths: - created_at - updated_at examples: - default: &191 + default: &197 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -25061,7 +25502,7 @@ paths: description: Response content: application/json: - schema: &192 + schema: &198 title: Gist Simple description: Gist Simple type: object @@ -25079,7 +25520,7 @@ paths: url: type: string format: uri - user: &765 + user: &770 title: Public User description: Public User type: object @@ -25453,7 +25894,7 @@ paths: truncated: type: boolean examples: - default: &193 + default: &199 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -25557,7 +25998,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *189 + - *195 - *17 - *19 responses: @@ -25567,9 +26008,9 @@ paths: application/json: schema: type: array - items: *190 + items: *196 examples: - default: *191 + default: *197 headers: Link: *41 '422': *15 @@ -25591,7 +26032,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *189 + - *195 - *17 - *19 responses: @@ -25601,9 +26042,9 @@ paths: application/json: schema: type: array - items: *190 + items: *196 examples: - default: *191 + default: *197 headers: Link: *41 '401': *23 @@ -25631,7 +26072,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &194 + - &200 name: gist_id description: The unique identifier of the gist. in: path @@ -25643,10 +26084,10 @@ paths: description: Response content: application/json: - schema: *192 + schema: *198 examples: - default: *193 - '403': &197 + default: *199 + '403': &203 description: Forbidden Gist content: application/json: @@ -25695,7 +26136,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *194 + - *200 requestBody: required: true content: @@ -25759,9 +26200,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *198 examples: - updateGist: *193 + updateGist: *199 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -25919,7 +26360,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *194 + - *200 responses: '204': description: Response @@ -25948,7 +26389,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *194 + - *200 - *17 - *19 responses: @@ -25958,7 +26399,7 @@ paths: application/json: schema: type: array - items: &195 + items: &201 title: Gist Comment description: A comment made to a gist. type: object @@ -25996,7 +26437,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *184 + author_association: *190 required: - url - id @@ -26061,7 +26502,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *194 + - *200 requestBody: required: true content: @@ -26087,9 +26528,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *201 examples: - default: &196 + default: &202 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -26147,8 +26588,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *194 - - &198 + - *200 + - &204 name: comment_id description: The unique identifier of the comment. in: path @@ -26161,12 +26602,12 @@ paths: description: Response content: application/json: - schema: *195 + schema: *201 examples: - default: *196 + default: *202 '304': *35 '404': *6 - '403': *197 + '403': *203 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26188,8 +26629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *194 - - *198 + - *200 + - *204 requestBody: required: true content: @@ -26215,9 +26656,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *201 examples: - default: *196 + default: *202 '404': *6 x-github: githubCloudOnly: false @@ -26234,8 +26675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *194 - - *198 + - *200 + - *204 responses: '204': description: Response @@ -26258,7 +26699,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *194 + - *200 - *17 - *19 responses: @@ -26359,7 +26800,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *194 + - *200 - *17 - *19 responses: @@ -26369,7 +26810,7 @@ paths: application/json: schema: type: array - items: *192 + items: *198 examples: default: value: @@ -26434,13 +26875,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *194 + - *200 responses: '201': description: Response content: application/json: - schema: *190 + schema: *196 examples: default: value: @@ -26511,7 +26952,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 + - *200 responses: '204': description: Response if gist is starred @@ -26541,7 +26982,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *194 + - *200 responses: '204': description: Response @@ -26563,7 +27004,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *194 + - *200 responses: '204': description: Response @@ -26592,7 +27033,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *194 + - *200 - name: sha in: path required: true @@ -26603,9 +27044,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *198 examples: - default: *193 + default: *199 '422': *15 '404': *6 '403': *27 @@ -26974,7 +27415,7 @@ paths: - closed - all default: open - - &334 + - &339 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -26993,7 +27434,7 @@ paths: - comments default: created - *99 - - *189 + - *195 - name: collab in: query required: false @@ -27023,9 +27464,9 @@ paths: application/json: schema: type: array - items: *183 + items: *189 examples: - default: &335 + default: &340 value: - id: 1 node_id: MDU6SXNzdWUx @@ -27305,7 +27746,7 @@ paths: application/json: schema: type: array - items: *186 + items: *192 examples: default: value: @@ -27603,7 +28044,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &199 + X-CommonMarker-Version: &205 example: 0.17.4 schema: type: string @@ -27658,7 +28099,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *199 + X-CommonMarker-Version: *205 content: text/html: schema: @@ -27687,7 +28128,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 + - &208 name: account_id description: account_id parameter in: path @@ -27699,7 +28140,7 @@ paths: description: Response content: application/json: - schema: &201 + schema: &207 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -27733,7 +28174,7 @@ paths: - 'null' id: type: integer - plan: &200 + plan: &206 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -27836,7 +28277,7 @@ paths: - 'null' updated_at: type: string - plan: *200 + plan: *206 required: - url - id @@ -27844,7 +28285,7 @@ paths: - login - marketplace_purchase examples: - default: &203 + default: &209 value: url: https://api.github.com/orgs/github type: Organization @@ -27929,9 +28370,9 @@ paths: application/json: schema: type: array - items: *200 + items: *206 examples: - default: &204 + default: &210 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -27971,14 +28412,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &205 + - &211 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &206 + - &212 name: sort description: The property to sort the results by. in: query @@ -28008,9 +28449,9 @@ paths: application/json: schema: type: array - items: *201 + items: *207 examples: - default: &207 + default: &213 value: - url: https://api.github.com/orgs/github type: Organization @@ -28084,15 +28525,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 + - *208 responses: '200': description: Response content: application/json: - schema: *201 + schema: *207 examples: - default: *203 + default: *209 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -28124,9 +28565,9 @@ paths: application/json: schema: type: array - items: *200 + items: *206 examples: - default: *204 + default: *210 headers: Link: *41 '401': *23 @@ -28149,8 +28590,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 + - *211 + - *212 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -28170,9 +28611,9 @@ paths: application/json: schema: type: array - items: *201 + items: *207 examples: - default: *207 + default: *213 headers: Link: *41 '401': *23 @@ -28437,14 +28878,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 + - &435 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &431 + - &436 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -28461,7 +28902,7 @@ paths: application/json: schema: type: array - items: *208 + items: *214 examples: default: value: @@ -28506,7 +28947,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &444 + '301': &449 description: Moved permanently content: application/json: @@ -28528,7 +28969,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 + - &650 name: all description: If `true`, show notifications marked as read. in: query @@ -28536,7 +28977,7 @@ paths: schema: type: boolean default: false - - &646 + - &651 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -28545,8 +28986,8 @@ paths: schema: type: boolean default: false - - *189 - - &647 + - *195 + - &652 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 +29012,14 @@ paths: application/json: schema: type: array - items: &209 + items: &215 title: Thread description: Thread type: object properties: id: type: string - repository: &246 + repository: &253 title: Minimal Repository description: Minimal Repository type: object @@ -28917,7 +29358,7 @@ paths: type: boolean examples: - false - security_and_analysis: &377 + security_and_analysis: &382 type: - object - 'null' @@ -29090,7 +29531,7 @@ paths: - url - subscription_url examples: - default: &648 + default: &653 value: - id: '1' repository: @@ -29256,7 +29697,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &210 + - &216 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 +29711,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *215 examples: default: value: @@ -29373,7 +29814,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *210 + - *216 responses: '205': description: Reset Content @@ -29396,7 +29837,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *210 + - *216 responses: '204': description: No content @@ -29419,13 +29860,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 + - *216 responses: '200': description: Response content: application/json: - schema: &211 + schema: &217 title: Thread Subscription description: Thread Subscription type: object @@ -29469,7 +29910,7 @@ paths: - url - subscribed examples: - default: &212 + default: &218 value: subscribed: true ignored: false @@ -29500,7 +29941,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *210 + - *216 requestBody: required: false content: @@ -29521,9 +29962,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *217 examples: - default: *212 + default: *218 '304': *35 '403': *27 '401': *23 @@ -29546,7 +29987,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *210 + - *216 responses: '204': description: Response @@ -29643,20 +30084,7 @@ paths: type: array items: *62 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: *219 headers: Link: example: ; rel="next" @@ -29708,7 +30136,7 @@ paths: - 3 custom_roles: type: array - items: &289 + items: &296 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -29757,7 +30185,7 @@ paths: - created_at - updated_at examples: - default: &290 + default: &297 value: id: 8030 name: Security Engineer @@ -30058,9 +30486,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -30069,12 +30498,12 @@ paths: 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 + - *174 + - *220 + - *175 + - *221 + - *222 + - *223 responses: '200': description: Response when getting a billing premium request usage report @@ -30130,19 +30559,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 +30614,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30206,22 +30635,22 @@ paths: 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 + - *174 + - *224 + - *175 + - *225 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *219 + schema: *226 examples: - default: *220 + default: *227 '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30253,7 +30682,7 @@ paths: description: Response content: application/json: - schema: &221 + schema: &228 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 +31092,7 @@ paths: - updated_at - archived_at examples: - default-response: &222 + default-response: &229 value: login: github id: 1 @@ -30989,17 +31418,17 @@ paths: description: Response content: application/json: - schema: *221 + schema: *228 examples: - default: *222 + default: *229 '422': description: Validation failed content: application/json: schema: oneOf: - - *223 - - *224 + - *230 + - *231 '409': *107 x-github: githubCloudOnly: false @@ -31054,9 +31483,9 @@ paths: description: Response content: application/json: - schema: *225 + schema: *232 examples: - default: *226 + default: *233 headers: Link: *41 x-github: @@ -31097,7 +31526,7 @@ paths: type: integer repository_cache_usages: type: array - items: &449 + items: &454 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -31175,7 +31604,7 @@ paths: type: array items: *42 examples: - default: *227 + default: *234 headers: Link: *41 x-github: @@ -31359,9 +31788,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *235 examples: - default: *229 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31397,7 +31826,7 @@ paths: type: array items: *45 examples: - default: *230 + default: *237 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31580,7 +32009,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &231 + schema: &238 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -31594,7 +32023,7 @@ paths: required: - include_claim_keys examples: - default: &232 + default: &239 value: include_claim_keys: - repo @@ -31621,15 +32050,15 @@ paths: required: true content: application/json: - schema: *231 + schema: *238 examples: - default: *232 + default: *239 responses: '201': description: Empty response content: application/json: - schema: &257 + schema: &264 title: Empty Object description: An object without any properties. type: object @@ -31668,7 +32097,7 @@ paths: schema: type: object properties: - enabled_repositories: &234 + enabled_repositories: &241 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -31682,7 +32111,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *49 - selected_actions_url: *233 + selected_actions_url: *240 sha_pinning_required: *50 required: - enabled_repositories @@ -31724,7 +32153,7 @@ paths: schema: type: object properties: - enabled_repositories: *234 + enabled_repositories: *241 allowed_actions: *49 sha_pinning_required: *50 required: @@ -31760,7 +32189,7 @@ paths: description: Response content: application/json: - schema: *235 + schema: *242 examples: response: summary: Example response @@ -31791,7 +32220,7 @@ paths: required: true content: application/json: - schema: *236 + schema: *243 examples: application/json: value: @@ -31829,7 +32258,7 @@ paths: application/json: schema: *51 examples: - default: *237 + default: *244 '404': *6 x-github: enabledForGitHubApps: true @@ -31886,7 +32315,7 @@ paths: description: Response content: application/json: - schema: *238 + schema: *245 examples: default: *52 '403': *27 @@ -31911,7 +32340,7 @@ paths: required: true content: application/json: - schema: *239 + schema: *246 examples: default: *52 responses: @@ -31963,7 +32392,7 @@ paths: type: array items: *67 examples: - default: &241 + default: &248 value: total_count: 1 repositories: @@ -32148,7 +32577,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *76 - - &240 + - &247 name: repository_id description: The unique identifier of the repository. in: path @@ -32177,7 +32606,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *76 - - *240 + - *247 responses: '204': description: Response @@ -32373,7 +32802,7 @@ paths: type: array items: *67 examples: - default: *241 + default: *248 '403': *27 '404': *6 x-github: @@ -32442,7 +32871,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *76 - - *240 + - *247 responses: '204': description: No content @@ -32469,7 +32898,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *76 - - *240 + - *247 responses: '204': description: No content @@ -32503,7 +32932,7 @@ paths: description: Response content: application/json: - schema: *242 + schema: *249 examples: default: *58 x-github: @@ -32537,7 +32966,7 @@ paths: required: false content: application/json: - schema: *243 + schema: *250 examples: default: *58 x-github: @@ -32584,7 +33013,7 @@ paths: type: number runner_groups: type: array - items: &244 + items: &251 type: object properties: id: @@ -32774,9 +33203,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *251 examples: - default: &245 + default: &252 value: id: 2 name: octo-runner-group @@ -32818,7 +33247,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *251 examples: default: value: @@ -32911,9 +33340,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *251 examples: - default: *245 + default: *252 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -32977,7 +33406,7 @@ paths: type: array items: *42 examples: - default: *227 + default: *234 headers: Link: *41 x-github: @@ -33018,9 +33447,9 @@ paths: type: number repositories: type: array - items: *246 + items: *253 examples: - default: &768 + default: &773 value: total_count: 1 repositories: @@ -33319,7 +33748,7 @@ paths: parameters: - *76 - *61 - - *240 + - *247 responses: '204': description: Response @@ -33343,7 +33772,7 @@ paths: parameters: - *76 - *61 - - *240 + - *247 responses: '204': description: Response @@ -33561,9 +33990,9 @@ paths: application/json: schema: type: array - items: *247 + items: *254 examples: - default: *248 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33628,7 +34057,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *249 + '201': *256 '404': *6 '422': *7 '409': *107 @@ -33667,7 +34096,7 @@ paths: application/json: schema: *68 examples: - default: *250 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33703,7 +34132,7 @@ paths: application/json: schema: *68 examples: - default: *251 + default: *258 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33734,7 +34163,7 @@ paths: application/json: schema: *65 examples: - default: *252 + default: *259 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33909,7 +34338,7 @@ paths: - *76 - *64 responses: - '200': *253 + '200': *260 '404': *6 x-github: githubCloudOnly: false @@ -33938,7 +34367,7 @@ paths: parameters: - *76 - *64 - - *254 + - *261 responses: '200': *70 '404': *6 @@ -33983,7 +34412,7 @@ paths: type: integer secrets: type: array - items: &255 + items: &262 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -34064,7 +34493,7 @@ paths: description: Response content: application/json: - schema: &469 + schema: &474 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -34099,7 +34528,7 @@ paths: - key_id - key examples: - default: &470 + default: &475 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34125,7 +34554,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *76 - - &256 + - &263 name: secret_name description: The name of the secret. in: path @@ -34137,7 +34566,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *262 examples: default: value: @@ -34168,7 +34597,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *76 - - *256 + - *263 requestBody: required: true content: @@ -34225,7 +34654,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -34252,7 +34681,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *76 - - *256 + - *263 responses: '204': description: Response @@ -34279,7 +34708,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *263 - *19 - *17 responses: @@ -34297,9 +34726,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *253 examples: - default: &260 + default: &267 value: total_count: 1 repositories: @@ -34392,7 +34821,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *263 requestBody: required: true content: @@ -34445,7 +34874,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *256 + - *263 - name: repository_id in: path required: true @@ -34479,7 +34908,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *256 + - *263 - name: repository_id in: path required: true @@ -34512,7 +34941,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *76 - - &454 + - &459 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 +34965,7 @@ paths: type: integer variables: type: array - items: &258 + items: &265 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -34674,7 +35103,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -34700,7 +35129,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *76 - - &259 + - &266 name: name description: The name of the variable. in: path @@ -34712,7 +35141,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *265 examples: default: value: @@ -34743,7 +35172,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *76 - - *259 + - *266 requestBody: required: true content: @@ -34806,7 +35235,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *76 - - *259 + - *266 responses: '204': description: Response @@ -34833,7 +35262,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *76 - - *259 + - *266 - *19 - *17 responses: @@ -34851,9 +35280,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *253 examples: - default: *260 + default: *267 '409': description: Response when the visibility of the variable is not set to `selected` @@ -34880,7 +35309,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *76 - - *259 + - *266 requestBody: required: true content: @@ -34930,7 +35359,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *76 - - *259 + - *266 - name: repository_id in: path required: true @@ -34965,7 +35394,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *76 - - *259 + - *266 - name: repository_id in: path required: true @@ -35023,7 +35452,7 @@ paths: required: true content: application/json: - schema: *261 + schema: *268 examples: default: *74 parameters: @@ -35325,12 +35754,12 @@ paths: required: - subject_digests examples: - default: &796 + default: &800 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &797 + withPredicateType: &801 value: subject_digests: - sha256:abc123 @@ -35389,7 +35818,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &798 + default: &802 value: attestations_subject_digests: - sha256:abc: @@ -35582,6 +36011,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 + - *97 + - *98 + - *76 + - 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 @@ -35685,7 +36165,7 @@ paths: initiator: type: string examples: - default: &483 + default: &488 value: attestations: - bundle: @@ -35811,10 +36291,10 @@ paths: required: false schema: type: string - - *262 - - *263 - - *264 - - *265 + - *269 + - *270 + - *271 + - *272 - *17 responses: '200': @@ -35823,9 +36303,9 @@ paths: application/json: schema: type: array - items: *266 + items: *273 examples: - default: *267 + default: *274 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -35854,7 +36334,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35874,7 +36354,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *76 - - *178 + - *183 responses: '204': description: If the user is blocked @@ -35900,7 +36380,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - *76 - - *178 + - *183 responses: '204': description: Response @@ -35921,7 +36401,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *76 - - *178 + - *183 responses: '204': description: Response @@ -35948,7 +36428,7 @@ paths: subcategory: bypass-requests parameters: - *76 - - &270 + - &277 name: repository_name description: The name of the repository to filter on. in: query @@ -35967,9 +36447,9 @@ paths: application/json: schema: type: array - items: *268 + items: *275 examples: - default: *269 + default: *276 '404': *6 '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": @@ -35993,7 +36473,7 @@ paths: subcategory: delegated-bypass parameters: - *76 - - *270 + - *277 - *92 - *93 - *94 @@ -36007,9 +36487,9 @@ paths: application/json: schema: type: array - items: *271 + items: *278 examples: - default: *272 + default: *279 '404': *6 '500': *38 "/orgs/{org}/campaigns": @@ -36036,7 +36516,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &274 + schema: &281 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -36062,7 +36542,7 @@ paths: application/json: schema: type: array - items: &275 + items: &282 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -36093,7 +36573,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *273 + items: *280 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -36112,7 +36592,7 @@ paths: - string - 'null' format: date-time - state: *274 + state: *281 contact_link: description: The contact link of the campaign. type: @@ -36210,7 +36690,7 @@ paths: headers: Link: *41 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36329,9 +36809,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *282 examples: - default: &276 + default: &283 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -36380,7 +36860,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36414,16 +36894,16 @@ paths: description: Response content: application/json: - schema: *275 + schema: *282 examples: - default: *276 + default: *283 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36494,7 +36974,7 @@ paths: - string - 'null' format: uri - state: *274 + state: *281 examples: default: value: @@ -36504,9 +36984,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *282 examples: - default: *276 + default: *283 '400': description: Bad Request content: @@ -36518,7 +36998,7 @@ paths: content: application/json: schema: *3 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36550,7 +37030,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36573,8 +37053,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *76 - - *277 - - *278 + - *284 + - *285 - *97 - *98 - *19 @@ -36585,7 +37065,7 @@ paths: be returned. in: query required: false - schema: *279 + schema: *286 - name: sort description: The property by which to sort the results. in: query @@ -36601,7 +37081,7 @@ paths: be returned. in: query required: false - schema: &508 + schema: &513 type: string description: Severity of a code scanning alert. enum: @@ -36619,13 +37099,13 @@ paths: application/json: schema: type: array - items: *280 + items: *287 examples: - default: *281 + default: *288 headers: Link: *41 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36836,7 +37316,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *282 + code_scanning_options: *289 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -36979,7 +37459,7 @@ paths: application/json: schema: *103 examples: - default: *283 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37007,9 +37487,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *291 examples: - default: *285 + default: *292 '304': *35 '403': *27 '404': *6 @@ -37061,7 +37541,7 @@ paths: - 32 - 91 responses: - '204': *129 + '204': *134 '400': *14 '403': *27 '404': *6 @@ -37096,7 +37576,7 @@ paths: application/json: schema: *103 examples: - default: *283 + default: *290 '304': *35 '403': *27 '404': *6 @@ -37380,7 +37860,7 @@ paths: - *76 - *105 responses: - '204': *129 + '204': *134 '400': *14 '403': *27 '404': *6 @@ -37518,7 +37998,7 @@ paths: default: value: default_for_new_repos: all - configuration: *283 + configuration: *290 '403': *27 '404': *6 x-github: @@ -37571,13 +38051,13 @@ paths: application/json: schema: type: array - items: *286 + items: *293 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *287 + repository: *294 '403': *27 '404': *6 x-github: @@ -37617,7 +38097,7 @@ paths: type: integer codespaces: type: array - items: &336 + items: &341 type: object title: Codespace description: A codespace. @@ -37648,11 +38128,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *246 + repository: *253 machine: anyOf: - type: 'null' - - &537 + - &542 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -37939,7 +38419,7 @@ paths: - pulls_url - recent_folders examples: - default: &337 + default: &342 value: total_count: 3 codespaces: @@ -38563,7 +39043,7 @@ paths: type: integer secrets: type: array - items: &288 + items: &295 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -38604,7 +39084,7 @@ paths: - updated_at - visibility examples: - default: &538 + default: &543 value: total_count: 2 secrets: @@ -38642,7 +39122,7 @@ paths: description: Response content: application/json: - schema: &539 + schema: &544 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -38677,7 +39157,7 @@ paths: - key_id - key examples: - default: &540 + default: &545 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38701,15 +39181,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *76 - - *256 + - *263 responses: '200': description: Response content: application/json: - schema: *288 + schema: *295 examples: - default: &542 + default: &547 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -38737,7 +39217,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *76 - - *256 + - *263 requestBody: required: true content: @@ -38792,7 +39272,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -38819,7 +39299,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *76 - - *256 + - *263 responses: '204': description: Response @@ -38845,7 +39325,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *263 - *19 - *17 responses: @@ -38863,9 +39343,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *253 examples: - default: *260 + default: *267 '404': *6 x-github: githubCloudOnly: false @@ -38888,7 +39368,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *263 requestBody: required: true content: @@ -38939,7 +39419,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *256 + - *263 - name: repository_id in: path required: true @@ -38973,7 +39453,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *256 + - *263 - name: repository_id in: path required: true @@ -39176,9 +39656,9 @@ paths: currently being billed. seats: type: array - items: *120 + items: *125 examples: - default: *121 + default: *126 headers: Link: *41 '500': *38 @@ -39562,13 +40042,13 @@ paths: application/json: schema: type: array - items: *171 + items: *176 examples: - default: *172 + default: *177 '500': *38 '403': *27 '404': *6 - '422': *173 + '422': *178 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39796,7 +40276,7 @@ paths: - 3 custom_roles: type: array - items: *289 + items: *296 examples: default: value: @@ -39888,7 +40368,7 @@ paths: required: true content: application/json: - schema: &292 + schema: &299 type: object properties: name: @@ -39930,9 +40410,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *296 examples: - default: *290 + default: *297 '422': *15 '404': *6 x-github: @@ -39957,7 +40437,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *76 - - &291 + - &298 name: role_id description: The unique identifier of the role. in: path @@ -39969,9 +40449,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *296 examples: - default: *290 + default: *297 '404': *6 x-github: githubCloudOnly: true @@ -39994,12 +40474,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *76 - - *291 + - *298 requestBody: required: true content: application/json: - schema: &293 + schema: &300 type: object properties: name: @@ -40038,9 +40518,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *296 examples: - default: *290 + default: *297 '422': *15 '404': *6 x-github: @@ -40065,7 +40545,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *76 - - *291 + - *298 responses: '204': description: Response @@ -40098,7 +40578,7 @@ paths: required: true content: application/json: - schema: *292 + schema: *299 examples: default: value: @@ -40112,9 +40592,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *296 examples: - default: *290 + default: *297 '422': *15 '404': *6 x-github: @@ -40145,15 +40625,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *76 - - *291 + - *298 responses: '200': description: Response content: application/json: - schema: *289 + schema: *296 examples: - default: *290 + default: *297 '404': *6 x-github: githubCloudOnly: true @@ -40182,12 +40662,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *76 - - *291 + - *298 requestBody: required: true content: application/json: - schema: *293 + schema: *300 examples: default: value: @@ -40202,9 +40682,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *296 examples: - default: *290 + default: *297 '422': *15 '404': *6 x-github: @@ -40235,7 +40715,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *76 - - *291 + - *298 responses: '204': description: Response @@ -40264,11 +40744,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *76 - - *294 - - *295 - - *296 - - *297 - - *298 + - *301 + - *302 + - *303 + - *304 + - *305 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -40306,13 +40786,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *299 - - *300 + - *306 + - *307 - *99 - *97 - *98 - - *301 - - *302 - *17 responses: '200': @@ -40321,9 +40799,9 @@ paths: application/json: schema: type: array - items: *303 + items: *308 examples: - default: *304 + default: *309 '304': *35 '400': *14 '403': *27 @@ -40367,7 +40845,7 @@ paths: type: integer secrets: type: array - items: &305 + items: &310 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -40446,7 +40924,7 @@ paths: description: Response content: application/json: - schema: &565 + schema: &570 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -40465,7 +40943,7 @@ paths: - key_id - key examples: - default: &566 + default: &571 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -40489,13 +40967,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *76 - - *256 + - *263 responses: '200': description: Response content: application/json: - schema: *305 + schema: *310 examples: default: value: @@ -40524,7 +41002,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *76 - - *256 + - *263 requestBody: required: true content: @@ -40583,7 +41061,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -40608,7 +41086,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *76 - - *256 + - *263 responses: '204': description: Response @@ -40633,7 +41111,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *263 - *19 - *17 responses: @@ -40651,9 +41129,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *253 examples: - default: *260 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40675,7 +41153,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *263 requestBody: required: true content: @@ -40726,7 +41204,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *256 + - *263 - name: repository_id in: path required: true @@ -40758,7 +41236,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *256 + - *263 - name: repository_id in: path required: true @@ -40795,7 +41273,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *76 - - &574 + - &579 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -40803,7 +41281,7 @@ paths: required: false schema: type: string - - &575 + - &580 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -40811,7 +41289,7 @@ paths: required: false schema: type: string - - &576 + - &581 name: time_period description: |- The time period to filter by. @@ -40827,7 +41305,7 @@ paths: - week - month default: month - - &577 + - &582 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -40842,7 +41320,7 @@ paths: - denied - all default: all - - *270 + - *277 - *17 - *19 responses: @@ -40852,7 +41330,7 @@ paths: application/json: schema: type: array - items: &578 + items: &583 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -41015,7 +41493,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &579 + default: &584 value: - id: 21 number: 42 @@ -41102,11 +41580,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *76 - - *270 + - *277 - *92 - *93 - *94 - - &580 + - &585 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 +41610,7 @@ paths: application/json: schema: type: array - items: &581 + items: &586 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -41259,7 +41737,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &582 + default: &587 value: - id: 21 number: 42 @@ -41347,7 +41825,7 @@ paths: application/json: schema: type: array - items: &346 + items: &351 title: Package description: A software package type: object @@ -41400,7 +41878,7 @@ paths: repository: anyOf: - type: 'null' - - *246 + - *253 created_at: type: string format: date-time @@ -41418,7 +41896,7 @@ paths: - created_at - updated_at examples: - default: &347 + default: &352 value: - id: 197 name: hello_docker @@ -41506,7 +41984,7 @@ paths: application/json: schema: type: array - items: *208 + items: *214 examples: 200-response: value: @@ -41605,7 +42083,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &430 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -41695,7 +42173,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &426 + default: &431 value: group_id: '123' group_name: Octocat admins @@ -41750,7 +42228,7 @@ paths: description: Response content: application/json: - schema: &423 + schema: &428 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -41790,7 +42268,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &424 + default: &429 value: groups: - group_id: '123' @@ -41834,7 +42312,7 @@ paths: application/json: schema: type: array - items: &328 + items: &333 title: Organization Invitation description: Organization Invitation type: object @@ -41888,7 +42366,7 @@ paths: - invitation_teams_url - node_id examples: - default: &329 + default: &334 value: - id: 1 login: monalisa @@ -41955,7 +42433,7 @@ paths: application/json: schema: type: array - items: &378 + items: &383 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -41969,7 +42447,7 @@ paths: - name - description examples: - default: &379 + default: &384 value: - name: add_assignee description: Assign or remove a user @@ -42010,7 +42488,7 @@ paths: application/json: schema: type: array - items: &306 + items: &311 title: Org Hook description: Org Hook type: object @@ -42193,9 +42671,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *311 examples: - default: &307 + default: &312 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -42240,7 +42718,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *76 - - &308 + - &313 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 +42731,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *311 examples: - default: *307 + default: *312 '404': *6 x-github: githubCloudOnly: false @@ -42277,7 +42755,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *76 - - *308 + - *313 requestBody: required: false content: @@ -42323,7 +42801,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *311 examples: default: value: @@ -42363,7 +42841,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *76 - - *308 + - *313 responses: '204': description: Response @@ -42389,7 +42867,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *76 - - *308 + - *313 responses: '200': description: Response @@ -42418,7 +42896,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *76 - - *308 + - *313 requestBody: required: false content: @@ -42467,9 +42945,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *76 - - *308 + - *313 - *17 - - *309 + - *314 responses: '200': description: Response @@ -42477,9 +42955,9 @@ paths: application/json: schema: type: array - items: *310 + items: *315 examples: - default: *311 + default: *316 '400': *14 '422': *15 x-github: @@ -42503,16 +42981,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *76 - - *308 + - *313 - *16 responses: '200': description: Response content: application/json: - schema: *312 + schema: *317 examples: - default: *313 + default: *318 '400': *14 '422': *15 x-github: @@ -42536,7 +43014,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *76 - - *308 + - *313 - *16 responses: '202': *37 @@ -42563,7 +43041,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *76 - - *308 + - *313 responses: '204': description: Response @@ -42586,7 +43064,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *76 - - &318 + - &323 name: actor_type in: path description: The type of the actor @@ -42599,14 +43077,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &319 + - &324 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &314 + - &319 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 +43092,7 @@ paths: required: true schema: type: string - - &315 + - &320 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) @@ -42709,12 +43187,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *76 - - *314 - - *315 + - *319 + - *320 - *19 - *17 - *99 - - &324 + - &329 name: sort description: The property to sort the results by. in: query @@ -42794,14 +43272,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *76 - - *314 - - *315 + - *319 + - *320 responses: '200': description: Response content: application/json: - schema: &316 + schema: &321 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -42817,7 +43295,7 @@ paths: type: integer format: int64 examples: - default: &317 + default: &322 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -42838,23 +43316,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *76 - - &320 + - &325 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *314 - - *315 + - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *316 + schema: *321 examples: - default: *317 + default: *322 x-github: enabledForGitHubApps: true category: orgs @@ -42873,18 +43351,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *76 - - *314 - - *315 - - *318 - *319 + - *320 + - *323 + - *324 responses: '200': description: Response content: application/json: - schema: *316 + schema: *321 examples: - default: *317 + default: *322 x-github: enabledForGitHubApps: true category: orgs @@ -42902,9 +43380,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *76 - - *314 - - *315 - - &321 + - *319 + - *320 + - &326 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -42917,7 +43395,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &327 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -42933,7 +43411,7 @@ paths: type: integer format: int64 examples: - default: &323 + default: &328 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -42970,18 +43448,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *76 + - *325 + - *319 - *320 - - *314 - - *315 - - *321 + - *326 responses: '200': description: Response content: application/json: - schema: *322 + schema: *327 examples: - default: *323 + default: *328 x-github: enabledForGitHubApps: true category: orgs @@ -42999,19 +43477,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *76 - - *318 + - *323 + - *324 - *319 - - *314 - - *315 - - *321 + - *320 + - *326 responses: '200': description: Response content: application/json: - schema: *322 + schema: *327 examples: - default: *323 + default: *328 x-github: enabledForGitHubApps: true category: orgs @@ -43029,13 +43507,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *76 + - *325 + - *319 - *320 - - *314 - - *315 - *19 - *17 - *99 - - *324 + - *329 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -43119,7 +43597,7 @@ paths: application/json: schema: *20 examples: - default: &613 + default: &618 value: id: 1 account: @@ -43285,12 +43763,12 @@ paths: application/json: schema: anyOf: - - &326 + - &331 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &325 + limit: &330 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -43318,7 +43796,7 @@ paths: properties: {} additionalProperties: false examples: - default: &327 + default: &332 value: limit: collaborators_only origin: organization @@ -43347,13 +43825,13 @@ paths: required: true content: application/json: - schema: &614 + schema: &619 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *325 + limit: *330 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -43378,9 +43856,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *331 examples: - default: *327 + default: *332 '422': *15 x-github: githubCloudOnly: false @@ -43458,9 +43936,9 @@ paths: application/json: schema: type: array - items: *328 + items: *333 examples: - default: *329 + default: *334 headers: Link: *41 '404': *6 @@ -43538,7 +44016,7 @@ paths: description: Response content: application/json: - schema: *328 + schema: *333 examples: default: value: @@ -43595,7 +44073,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *76 - - &330 + - &335 name: invitation_id description: The unique identifier of the invitation. in: path @@ -43629,7 +44107,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *76 - - *330 + - *335 - *17 - *19 responses: @@ -43639,9 +44117,9 @@ paths: application/json: schema: type: array - items: *273 + items: *280 examples: - default: &345 + default: &350 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -43684,7 +44162,7 @@ paths: application/json: schema: type: array - items: *331 + items: *336 examples: default: value: @@ -43772,9 +44250,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *336 examples: - default: &332 + default: &337 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -43807,7 +44285,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *76 - - &333 + - &338 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -43863,9 +44341,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *336 examples: - default: *332 + default: *337 '404': *6 '422': *7 x-github: @@ -43890,7 +44368,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *76 - - *333 + - *338 responses: '204': description: Response @@ -43953,7 +44431,7 @@ paths: - closed - all default: open - - *334 + - *339 - name: type description: Can be the name of an issue type. in: query @@ -43972,7 +44450,7 @@ paths: - comments default: created - *99 - - *189 + - *195 - *17 - *19 responses: @@ -43982,9 +44460,9 @@ paths: application/json: schema: type: array - items: *183 + items: *189 examples: - default: *335 + default: *340 headers: Link: *41 '404': *6 @@ -44044,7 +44522,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 '422': *15 @@ -44065,7 +44543,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - *76 - - *178 + - *183 responses: '204': description: Response if requester is an organization member and user is @@ -44100,7 +44578,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - *76 - - *178 + - *183 responses: '204': description: Response @@ -44127,7 +44605,7 @@ paths: - *17 - *19 - *76 - - *178 + - *183 responses: '200': description: Response @@ -44143,9 +44621,9 @@ paths: type: integer codespaces: type: array - items: *336 + items: *341 examples: - default: *337 + default: *342 '304': *35 '500': *38 '401': *23 @@ -44171,8 +44649,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *76 - - *178 - - &338 + - *183 + - &343 name: codespace_name in: path required: true @@ -44206,16 +44684,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *76 - - *178 - - *338 + - *183 + - *343 responses: '200': description: Response content: application/json: - schema: *336 + schema: *341 examples: - default: &536 + default: &541 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -44389,13 +44867,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *76 - - *178 + - *183 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *120 + schema: *125 examples: default: value: @@ -44465,13 +44943,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - *76 - - *178 + - *183 responses: '200': description: Response content: application/json: - schema: &339 + schema: &344 title: Org Membership description: Org Membership type: object @@ -44540,7 +45018,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: &345 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -44609,7 +45087,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - *76 - - *178 + - *183 requestBody: required: false content: @@ -44637,9 +45115,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *344 examples: - response-if-user-already-had-membership-with-organization: *340 + response-if-user-already-had-membership-with-organization: *345 '422': *15 '403': *27 x-github: @@ -44664,7 +45142,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - *76 - - *178 + - *183 responses: '204': description: Response @@ -44711,7 +45189,7 @@ paths: application/json: schema: type: array - items: &341 + items: &346 title: Migration description: A migration. type: object @@ -45049,7 +45527,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *346 examples: default: value: @@ -45228,7 +45706,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *76 - - &342 + - &347 name: migration_id description: The unique identifier of the migration. in: path @@ -45256,7 +45734,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *341 + schema: *346 examples: default: value: @@ -45426,7 +45904,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *76 - - *342 + - *347 responses: '302': description: Response @@ -45448,7 +45926,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *76 - - *342 + - *347 responses: '204': description: Response @@ -45472,8 +45950,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *76 - - *342 - - &780 + - *347 + - &785 name: repo_name description: repo_name parameter in: path @@ -45501,7 +45979,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *76 - - *342 + - *347 - *17 - *19 responses: @@ -45511,9 +45989,9 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: - default: &352 + default: &357 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -45722,7 +46200,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &343 + items: &348 title: Organization Role description: Organization roles type: object @@ -45931,7 +46409,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *348 examples: default: value: @@ -45983,7 +46461,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *76 - - *180 + - *186 responses: '204': description: Response @@ -46009,8 +46487,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *76 - - *180 - - *291 + - *186 + - *298 responses: '204': description: Response @@ -46040,8 +46518,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *76 - - *180 - - *291 + - *186 + - *298 responses: '204': description: Response @@ -46067,7 +46545,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *76 - - *178 + - *183 responses: '204': description: Response @@ -46093,8 +46571,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *76 - - *178 - - *291 + - *183 + - *298 responses: '204': description: Response @@ -46125,8 +46603,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *76 - - *178 - - *291 + - *183 + - *298 responses: '204': description: Response @@ -46155,13 +46633,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *76 - - *291 + - *298 responses: '200': description: Response content: application/json: - schema: *343 + schema: *348 examples: default: value: @@ -46219,7 +46697,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *76 - - *291 + - *298 requestBody: required: true content: @@ -46258,7 +46736,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *348 examples: default: value: @@ -46312,7 +46790,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *76 - - *291 + - *298 responses: '204': description: Response @@ -46338,7 +46816,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *76 - - *291 + - *298 - *17 - *19 responses: @@ -46417,7 +46895,7 @@ paths: parent: anyOf: - type: 'null' - - *344 + - *349 type: description: The ownership type of the team type: string @@ -46450,7 +46928,7 @@ paths: - type - parent examples: - default: *345 + default: *350 headers: Link: *41 '404': @@ -46480,7 +46958,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *76 - - *291 + - *298 - *17 - *19 responses: @@ -46509,7 +46987,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *344 + items: *349 name: type: - string @@ -46626,7 +47104,7 @@ paths: - type - url examples: - default: *177 + default: *182 headers: Link: *41 '404': @@ -46677,7 +47155,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 x-github: @@ -46703,7 +47181,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *76 - - *178 + - *183 requestBody: required: false content: @@ -46761,7 +47239,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *76 - - *178 + - *183 responses: '204': description: Response @@ -46819,7 +47297,7 @@ paths: - nuget - container - *76 - - &782 + - &786 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -46855,12 +47333,12 @@ paths: application/json: schema: type: array - items: *346 + items: *351 examples: - default: *347 + default: *352 '403': *27 '401': *23 - '400': &784 + '400': &788 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -46882,7 +47360,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 + - &353 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,7 +47378,7 @@ paths: - docker - nuget - container - - &349 + - &354 name: package_name description: The name of the package. in: path @@ -46913,7 +47391,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *351 examples: default: value: @@ -46965,8 +47443,8 @@ 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 + - *353 + - *354 - *76 responses: '204': @@ -46999,8 +47477,8 @@ 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 + - *353 + - *354 - *76 - name: token description: package token @@ -47033,8 +47511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *348 - - *349 + - *353 + - *354 - *76 - *19 - *17 @@ -47055,7 +47533,7 @@ paths: application/json: schema: type: array - items: &350 + items: &355 title: Package Version description: A version of a software package type: object @@ -47190,10 +47668,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 + - *353 + - *354 - *76 - - &351 + - &356 name: package_version_id description: Unique identifier of the package version. in: path @@ -47205,7 +47683,7 @@ paths: description: Response content: application/json: - schema: *350 + schema: *355 examples: default: value: @@ -47241,10 +47719,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 + - *353 + - *354 - *76 - - *351 + - *356 responses: '204': description: Response @@ -47276,10 +47754,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 + - *353 + - *354 - *76 - - *351 + - *356 responses: '204': description: Response @@ -47309,7 +47787,7 @@ paths: - *76 - *17 - *19 - - &353 + - &358 name: sort description: The property by which to sort the results. in: query @@ -47320,7 +47798,7 @@ paths: - created_at default: created_at - *99 - - &354 + - &359 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -47332,7 +47810,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &355 + - &360 name: repository description: The name of the repository to use to filter the results. in: query @@ -47341,7 +47819,7 @@ paths: type: string examples: - Hello-World - - &356 + - &361 name: permission description: The permission to use to filter the results. in: query @@ -47350,7 +47828,7 @@ paths: type: string examples: - issues_read - - &357 + - &362 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 +47838,7 @@ paths: schema: type: string format: date-time - - &358 + - &363 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 +47848,7 @@ paths: schema: type: string format: date-time - - &359 + - &364 name: token_id description: The ID of the token in: query @@ -47646,7 +48124,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *129 + '204': *134 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47687,9 +48165,9 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: - default: *352 + default: *357 headers: Link: *41 x-github: @@ -47715,14 +48193,14 @@ paths: - *76 - *17 - *19 - - *353 - - *99 - - *354 - - *355 - - *356 - - *357 - *358 + - *99 - *359 + - *360 + - *361 + - *362 + - *363 + - *364 responses: '500': *38 '422': *15 @@ -47963,7 +48441,7 @@ paths: responses: '500': *38 '404': *6 - '204': *129 + '204': *134 '403': *27 '422': *15 x-github: @@ -48004,9 +48482,9 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: - default: *352 + default: *357 headers: Link: *41 x-github: @@ -48048,7 +48526,7 @@ paths: type: integer configurations: type: array - items: &360 + items: &365 title: Organization private registry description: Private registry configuration for an organization type: object @@ -48307,7 +48785,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &361 + org-private-registry-with-selected-visibility: &366 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -48399,15 +48877,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *76 - - *256 + - *263 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *360 + schema: *365 examples: - default: *361 + default: *366 '404': *6 x-github: githubCloudOnly: false @@ -48429,7 +48907,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *76 - - *256 + - *263 requestBody: required: true content: @@ -48526,7 +49004,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *76 - - *256 + - *263 responses: '204': description: Response @@ -48572,7 +49050,7 @@ paths: application/json: schema: type: array - items: &362 + items: &367 title: Project description: Projects are a way to organize columns and cards of work. @@ -48754,7 +49232,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *367 examples: default: value: @@ -48792,7 +49270,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &441 + '410': &446 description: Gone content: application/json: @@ -48835,7 +49313,7 @@ paths: application/json: schema: type: array - items: &363 + items: &368 title: Projects v2 Project description: A projects v2 project type: object @@ -48909,7 +49387,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &857 + - &861 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -48994,7 +49472,7 @@ paths: - deleted_at - deleted_by examples: - default: &364 + default: &369 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -49097,7 +49575,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &365 + - &370 name: project_number description: The project's number. in: path @@ -49110,9 +49588,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *368 examples: - default: *364 + default: *369 headers: Link: *41 '304': *35 @@ -49134,7 +49612,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *365 + - *370 - *76 - *17 - *97 @@ -49146,7 +49624,7 @@ paths: application/json: schema: type: array - items: &366 + items: &371 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -49296,7 +49774,7 @@ paths: - updated_at - project_url examples: - default: &367 + default: &372 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -49339,8 +49817,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *365 - - &801 + - *370 + - &805 name: field_id description: The unique identifier of the field. in: path @@ -49353,9 +49831,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *371 examples: - default: *367 + default: *372 headers: Link: *41 '304': *35 @@ -49378,7 +49856,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *365 + - *370 - *76 - 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) @@ -49388,17 +49866,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 - *97 - *98 - *17 @@ -49409,7 +49889,7 @@ paths: application/json: schema: type: array - items: &372 + items: &377 title: Projects v2 Item description: An item belonging to a project type: object @@ -49426,7 +49906,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: &375 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -49483,7 +49963,7 @@ paths: - updated_at - archived_at examples: - default: &373 + default: &378 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -50178,7 +50658,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *76 - - *365 + - *370 requestBody: required: true description: Details of the item to add to the project. @@ -50215,7 +50695,7 @@ paths: description: Response content: application/json: - schema: &802 + schema: &806 title: Projects v2 Item description: An item belonging to a project type: object @@ -50228,8 +50708,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *183 - - &549 + - *189 + - &554 title: Pull Request Simple description: Pull Request Simple type: object @@ -50349,7 +50829,7 @@ paths: milestone: anyOf: - type: 'null' - - *368 + - *373 active_lock_reason: type: - string @@ -50404,7 +50884,7 @@ paths: type: - array - 'null' - items: *273 + items: *280 head: type: object properties: @@ -50448,7 +50928,7 @@ paths: _links: type: object properties: - comments: &369 + comments: &374 title: Link description: Hypermedia Link type: object @@ -50457,13 +50937,13 @@ paths: type: string required: - href - commits: *369 - statuses: *369 - html: *369 - issue: *369 - review_comments: *369 - review_comment: *369 - self: *369 + commits: *374 + statuses: *374 + html: *374 + issue: *374 + review_comments: *374 + review_comment: *374 + self: *374 required: - comments - commits @@ -50473,8 +50953,8 @@ paths: - review_comments - review_comment - self - author_association: *184 - auto_merge: &655 + author_association: *190 + auto_merge: &660 title: Auto merge description: The status of auto merging a pull request. type: @@ -50576,7 +51056,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *370 + content_type: *375 creator: *4 created_at: type: string @@ -50613,7 +51093,7 @@ paths: - updated_at - archived_at examples: - issue: &371 + issue: &376 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -50668,7 +51148,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: *376 '304': *35 '403': *27 '401': *23 @@ -50688,9 +51168,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 + - *370 - *76 - - &374 + - &379 name: item_id description: The unique identifier of the project item. in: path @@ -50698,25 +51178,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: *377 examples: - default: *373 + default: *378 headers: Link: *41 '304': *35 @@ -50737,9 +51219,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *365 + - *370 - *76 - - *374 + - *379 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -50812,13 +51294,13 @@ paths: description: Response content: application/json: - schema: *372 + schema: *377 examples: - text_field: *373 - number_field: *373 - date_field: *373 - single_select_field: *373 - iteration_field: *373 + text_field: *378 + number_field: *378 + date_field: *378 + single_select_field: *378 + iteration_field: *378 '401': *23 '403': *27 '404': *6 @@ -50838,9 +51320,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *365 + - *370 - *76 - - *374 + - *379 responses: '204': description: Response @@ -50872,9 +51354,9 @@ paths: application/json: schema: type: array - items: *125 + items: *130 examples: - default: *126 + default: *131 '403': *27 '404': *6 x-github: @@ -50912,7 +51394,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *125 + items: *130 minItems: 1 maxItems: 100 required: @@ -50942,9 +51424,9 @@ paths: application/json: schema: type: array - items: *125 + items: *130 examples: - default: *126 + default: *131 '403': *27 '404': *6 x-github: @@ -50966,15 +51448,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *76 - - *127 + - *132 responses: '200': description: Response content: application/json: - schema: *125 + schema: *130 examples: - default: *128 + default: *133 '403': *27 '404': *6 x-github: @@ -50998,12 +51480,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *76 - - *127 + - *132 requestBody: required: true content: application/json: - schema: *375 + schema: *380 examples: default: value: @@ -51019,9 +51501,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *130 examples: - default: *128 + default: *133 '403': *27 '404': *6 x-github: @@ -51045,9 +51527,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *76 - - *127 + - *132 responses: - '204': *129 + '204': *134 '403': *27 '404': *6 x-github: @@ -51109,7 +51591,7 @@ paths: - octocat/Hello-World properties: type: array - items: &376 + items: &381 title: Custom Property Value description: Custom property name and associated value type: object @@ -51199,7 +51681,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *376 + items: *381 required: - repository_names - properties @@ -51252,7 +51734,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 x-github: @@ -51272,7 +51754,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *76 - - *178 + - *183 responses: '204': description: Response if user is a public member @@ -51297,7 +51779,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *76 - - *178 + - *183 responses: '204': description: Response @@ -51319,7 +51801,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *76 - - *178 + - *183 responses: '204': description: Response @@ -51390,9 +51872,9 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: - default: *352 + default: *357 headers: Link: *41 x-github: @@ -51596,7 +52078,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &448 title: Full Repository description: Full Repository type: object @@ -52042,7 +52524,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *192 organization: anyOf: - type: 'null' @@ -52061,7 +52543,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &554 + code_of_conduct: &559 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -52091,7 +52573,7 @@ paths: - key - name - html_url - security_and_analysis: *377 + security_and_analysis: *382 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -52175,7 +52657,7 @@ paths: - network_count - subscribers_count examples: - default: &445 + default: &450 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -52701,9 +53183,9 @@ paths: application/json: schema: type: array - items: *378 + items: *383 examples: - default: *379 + default: *384 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -52728,7 +53210,7 @@ paths: - *76 - *17 - *19 - - &678 + - &683 name: targets description: | A comma-separated list of rule targets to filter by. @@ -52747,7 +53229,7 @@ paths: application/json: schema: type: array - items: *158 + items: *163 examples: default: value: @@ -52815,25 +53297,20 @@ paths: - push - repository default: branch - enforcement: *136 + enforcement: *141 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *380 + items: *142 + conditions: *385 rules: type: array description: An array of rules within the ruleset. - items: &382 + items: &387 title: Repository Rule type: object description: A repository rule. oneOf: - - *138 - - *139 - - *140 - - *141 - - *142 - *143 - *144 - *145 @@ -52849,6 +53326,11 @@ paths: - *155 - *156 - *157 + - *158 + - *159 + - *160 + - *161 + - *162 required: - name - enforcement @@ -52886,9 +53368,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: &381 + default: &386 value: id: 21 name: super cool ruleset @@ -52943,7 +53425,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *76 - - &680 + - &685 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 +53435,16 @@ paths: schema: type: string x-multi-segment: true - - *270 + - *277 - *94 - - &681 + - &686 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 + - &687 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52982,7 +53464,7 @@ paths: description: Response content: application/json: - schema: &683 + schema: &688 title: Rule Suites description: Response type: array @@ -53038,7 +53520,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &684 + default: &689 value: - id: 21 actor_id: 12 @@ -53082,7 +53564,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *76 - - &685 + - &690 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -53098,7 +53580,7 @@ paths: description: Response content: application/json: - schema: &686 + schema: &691 title: Rule Suite description: Response type: object @@ -53205,7 +53687,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &687 + default: &692 value: id: 21 actor_id: 12 @@ -53278,9 +53760,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: *381 + default: *386 '404': *6 '500': *38 put: @@ -53324,16 +53806,16 @@ paths: - tag - push - repository - enforcement: *136 + enforcement: *141 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *380 + items: *142 + conditions: *385 rules: description: An array of rules within the ruleset. type: array - items: *382 + items: *387 examples: default: value: @@ -53368,9 +53850,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: *381 + default: *386 '404': *6 '500': *38 delete: @@ -53427,9 +53909,9 @@ paths: application/json: schema: type: array - items: *162 + items: *167 examples: - default: *383 + default: *388 '404': *6 '500': *38 x-github: @@ -53466,7 +53948,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *389 examples: default: value: @@ -53529,14 +54011,14 @@ paths: 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 + - *390 + - *391 + - *392 + - *393 - *99 - *19 - *17 - - &689 + - &694 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 +54028,7 @@ paths: required: false schema: type: string - - &690 + - &695 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 +54038,10 @@ paths: required: false schema: type: string - - *389 - - *390 - - *391 - - *392 + - *394 + - *395 + - *396 + - *397 responses: '200': description: Response @@ -53567,13 +54049,13 @@ paths: application/json: schema: type: array - items: *393 + items: *398 examples: - default: *394 + default: *399 headers: Link: *41 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53604,9 +54086,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *400 examples: - default: *396 + default: *401 '403': *27 '404': *6 patch: @@ -53635,7 +54117,7 @@ paths: schema: type: object properties: - pattern_config_version: *165 + pattern_config_version: *170 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -53661,7 +54143,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *165 + custom_pattern_version: *170 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -53759,7 +54241,7 @@ paths: application/json: schema: type: array - items: &711 + items: &716 description: A repository security advisory. type: object properties: @@ -53967,7 +54449,7 @@ paths: required: - vector_string - score - cvss_severities: *111 + cvss_severities: *116 cwes: type: - array @@ -54003,7 +54485,7 @@ paths: login: type: string description: The username of the user credited. - type: *397 + type: *402 credits_detailed: type: - array @@ -54014,7 +54496,7 @@ paths: type: object properties: user: *4 - type: *397 + type: *402 state: type: string description: The state of the user's acceptance of the @@ -54040,7 +54522,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *273 + items: *280 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -54078,7 +54560,7 @@ paths: - private_fork additionalProperties: false examples: - default: &712 + default: &717 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -54465,9 +54947,9 @@ paths: application/json: schema: type: array - items: *344 + items: *349 examples: - default: *345 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54491,7 +54973,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *76 - - *180 + - *186 responses: '204': description: Response @@ -54517,7 +54999,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *76 - - *180 + - *186 responses: '204': description: Response @@ -54552,9 +55034,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *403 examples: - default: *399 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54579,7 +55061,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *76 - - *400 + - *405 - *17 - *19 responses: @@ -54587,9 +55069,9 @@ paths: description: Success content: application/json: - schema: *401 + schema: *406 examples: - default: *402 + default: *407 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54617,9 +55099,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *408 examples: - default: *404 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54647,9 +55129,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *410 examples: - default: *406 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54795,9 +55277,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *253 examples: - default: *260 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54866,7 +55348,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *76 - - *240 + - *247 responses: '204': description: Response @@ -54889,7 +55371,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *76 - - *240 + - *247 responses: '204': description: Response @@ -54930,9 +55412,9 @@ paths: type: integer network_configurations: type: array - items: *122 + items: *127 examples: - default: *407 + default: *412 headers: Link: *41 x-github: @@ -54995,9 +55477,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *127 examples: - default: *123 + default: *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55018,15 +55500,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *76 - - *124 + - *129 responses: '200': description: Response content: application/json: - schema: *122 + schema: *127 examples: - default: *123 + default: *128 headers: Link: *41 x-github: @@ -55048,7 +55530,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *76 - - *124 + - *129 requestBody: required: true content: @@ -55087,9 +55569,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *127 examples: - default: *123 + default: *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55109,7 +55591,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *76 - - *124 + - *129 responses: '204': description: Response @@ -55133,15 +55615,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *76 - - *408 + - *413 responses: '200': description: Response content: application/json: - schema: *409 + schema: *414 examples: - default: *410 + default: *415 headers: Link: *41 x-github: @@ -55179,7 +55661,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &437 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -55231,7 +55713,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &433 + default: &438 value: groups: - group_id: '123' @@ -55277,7 +55759,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *76 - - *180 + - *186 - 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 +55791,13 @@ paths: application/json: schema: type: array - items: *171 + items: *176 examples: - default: *172 + default: *177 '500': *38 '403': *27 '404': *6 - '422': *173 + '422': *178 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55343,9 +55825,9 @@ paths: application/json: schema: type: array - items: *273 + items: *280 examples: - default: *345 + default: *350 headers: Link: *41 '403': *27 @@ -55439,7 +55921,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &416 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -55513,7 +55995,7 @@ paths: parent: anyOf: - type: 'null' - - *344 + - *349 members_count: type: integer examples: @@ -55838,7 +56320,7 @@ paths: - repos_count - organization examples: - default: &412 + default: &417 value: id: 1 node_id: MDQ6VGVhbTE= @@ -55909,15 +56391,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *76 - - *180 + - *186 responses: '200': description: Response content: application/json: - schema: *411 + schema: *416 examples: - default: *412 + default: *417 '404': *6 x-github: githubCloudOnly: false @@ -55939,7 +56421,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *76 - - *180 + - *186 requestBody: required: false content: @@ -56002,16 +56484,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *411 + schema: *416 examples: - default: *412 + default: *417 '201': description: Response content: application/json: - schema: *411 + schema: *416 examples: - default: *412 + default: *417 '404': *6 '422': *15 '403': *27 @@ -56037,7 +56519,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *76 - - *180 + - *186 responses: '204': description: Response @@ -56064,7 +56546,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *76 - - *180 + - *186 - *99 - *17 - *19 @@ -56081,7 +56563,7 @@ paths: application/json: schema: type: array - items: &413 + items: &418 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -56172,7 +56654,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *185 + reactions: *191 required: - author - body @@ -56192,7 +56674,7 @@ paths: - updated_at - url examples: - default: &755 + default: &760 value: - author: login: octocat @@ -56267,7 +56749,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *76 - - *180 + - *186 requestBody: required: true content: @@ -56301,9 +56783,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *418 examples: - default: &414 + default: &419 value: author: login: octocat @@ -56376,8 +56858,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *76 - - *180 - - &415 + - *186 + - &420 name: discussion_number description: The number that identifies the discussion. in: path @@ -56389,9 +56871,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *418 examples: - default: *414 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56414,8 +56896,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *76 - - *180 - - *415 + - *186 + - *420 requestBody: required: false content: @@ -56438,9 +56920,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *418 examples: - default: &756 + default: &761 value: author: login: octocat @@ -56511,8 +56993,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *76 - - *180 - - *415 + - *186 + - *420 responses: '204': description: Response @@ -56539,8 +57021,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *76 - - *180 - - *415 + - *186 + - *420 - *99 - *17 - *19 @@ -56551,7 +57033,7 @@ paths: application/json: schema: type: array - items: &416 + items: &421 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -56616,7 +57098,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *185 + reactions: *191 required: - author - body @@ -56631,7 +57113,7 @@ paths: - updated_at - url examples: - default: &757 + default: &762 value: - author: login: octocat @@ -56700,8 +57182,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *76 - - *180 - - *415 + - *186 + - *420 requestBody: required: true content: @@ -56723,9 +57205,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *421 examples: - default: &417 + default: &422 value: author: login: octocat @@ -56792,9 +57274,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *76 - - *180 - - *415 - - &418 + - *186 + - *420 + - &423 name: comment_number description: The number that identifies the comment. in: path @@ -56806,9 +57288,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *421 examples: - default: *417 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56831,9 +57313,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *76 - - *180 - - *415 - - *418 + - *186 + - *420 + - *423 requestBody: required: true content: @@ -56855,9 +57337,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *421 examples: - default: &758 + default: &763 value: author: login: octocat @@ -56922,9 +57404,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *76 - - *180 - - *415 - - *418 + - *186 + - *420 + - *423 responses: '204': description: Response @@ -56951,9 +57433,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *76 - - *180 - - *415 - - *418 + - *186 + - *420 + - *423 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -56979,7 +57461,7 @@ paths: application/json: schema: type: array - items: &419 + items: &424 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -57023,7 +57505,7 @@ paths: - content - created_at examples: - default: &421 + default: &426 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -57074,9 +57556,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *76 - - *180 - - *415 - - *418 + - *186 + - *420 + - *423 requestBody: required: true content: @@ -57109,9 +57591,9 @@ paths: team discussion comment content: application/json: - schema: *419 + schema: *424 examples: - default: &420 + default: &425 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -57140,9 +57622,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57166,10 +57648,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *76 - - *180 - - *415 - - *418 - - &422 + - *186 + - *420 + - *423 + - &427 name: reaction_id description: The unique identifier of the reaction. in: path @@ -57202,8 +57684,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *76 - - *180 - - *415 + - *186 + - *420 - 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 +57711,9 @@ paths: application/json: schema: type: array - items: *419 + items: *424 examples: - default: *421 + default: *426 headers: Link: *41 x-github: @@ -57258,8 +57740,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *76 - - *180 - - *415 + - *186 + - *420 requestBody: required: true content: @@ -57291,16 +57773,16 @@ paths: description: Response content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '201': description: Response content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -57324,9 +57806,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *76 - - *180 - - *415 - - *422 + - *186 + - *420 + - *427 responses: '204': description: Response @@ -57350,15 +57832,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *76 - - *180 + - *186 responses: '200': description: Response content: application/json: - schema: *423 + schema: *428 examples: - default: *424 + default: *429 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57378,7 +57860,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *76 - - *180 + - *186 requestBody: required: true content: @@ -57402,9 +57884,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *430 examples: - default: *426 + default: *431 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -57424,7 +57906,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *76 - - *180 + - *186 responses: '204': description: Response @@ -57449,7 +57931,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *76 - - *180 + - *186 - *17 - *19 responses: @@ -57459,9 +57941,9 @@ paths: application/json: schema: type: array - items: *328 + items: *333 examples: - default: *329 + default: *334 headers: Link: *41 x-github: @@ -57484,7 +57966,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *76 - - *180 + - *186 - name: role description: Filters members returned by their role in the team. in: query @@ -57507,7 +57989,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 x-github: @@ -57538,14 +58020,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *76 - - *180 - - *178 + - *186 + - *183 responses: '200': description: Response content: application/json: - schema: &427 + schema: &432 title: Team Membership description: Team Membership type: object @@ -57573,7 +58055,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &759 + response-if-user-is-a-team-maintainer: &764 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57610,8 +58092,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *76 - - *180 - - *178 + - *186 + - *183 requestBody: required: false content: @@ -57636,9 +58118,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *432 examples: - response-if-users-membership-with-team-is-now-pending: &760 + response-if-users-membership-with-team-is-now-pending: &765 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57674,8 +58156,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *76 - - *180 - - *178 + - *186 + - *183 responses: '204': description: Response @@ -57701,7 +58183,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *76 - - *180 + - *186 - *17 - *19 responses: @@ -57711,7 +58193,7 @@ paths: application/json: schema: type: array - items: &428 + items: &433 title: Team Project description: A team's access to a project. type: object @@ -57780,7 +58262,7 @@ paths: - updated_at - permissions examples: - default: &761 + default: &766 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57844,8 +58326,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *76 - - *180 - - &429 + - *186 + - &434 name: project_id description: The unique identifier of the project. in: path @@ -57857,9 +58339,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *433 examples: - default: &762 + default: &767 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57922,8 +58404,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *76 - - *180 - - *429 + - *186 + - *434 requestBody: required: false content: @@ -57991,8 +58473,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *76 - - *180 - - *429 + - *186 + - *434 responses: '204': description: Response @@ -58020,7 +58502,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *76 - - *180 + - *186 - *17 - *19 responses: @@ -58030,9 +58512,9 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: - default: *352 + default: *357 headers: Link: *41 x-github: @@ -58062,15 +58544,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *76 - - *180 - - *430 - - *431 + - *186 + - *435 + - *436 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &763 + schema: &768 title: Team Repository description: A team's access to a repository. type: object @@ -58096,7 +58578,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *192 forks: type: integer permissions: @@ -58712,9 +59194,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *76 - - *180 - - *430 - - *431 + - *186 + - *435 + - *436 requestBody: required: false content: @@ -58760,9 +59242,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *76 - - *180 - - *430 - - *431 + - *186 + - *435 + - *436 responses: '204': description: Response @@ -58789,15 +59271,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *76 - - *180 + - *186 responses: '200': description: Response content: application/json: - schema: *432 + schema: *437 examples: - default: *433 + default: *438 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -58820,7 +59302,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *76 - - *180 + - *186 requestBody: required: true content: @@ -58863,7 +59345,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *437 examples: default: value: @@ -58896,7 +59378,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *76 - - *180 + - *186 - *17 - *19 responses: @@ -58906,9 +59388,9 @@ paths: application/json: schema: type: array - items: *273 + items: *280 examples: - response-if-child-teams-exist: &764 + response-if-child-teams-exist: &769 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -59035,7 +59517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &434 + - &439 name: card_id description: The unique identifier of the card. in: path @@ -59047,7 +59529,7 @@ paths: description: Response content: application/json: - schema: &435 + schema: &440 title: Project Card description: Project cards represent a scope of work. type: object @@ -59122,7 +59604,7 @@ paths: - created_at - updated_at examples: - default: &436 + default: &441 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -59178,7 +59660,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 + - *439 requestBody: required: false content: @@ -59208,9 +59690,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *440 examples: - default: *436 + default: *441 '304': *35 '403': *27 '401': *23 @@ -59237,7 +59719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *434 + - *439 responses: '204': description: Response @@ -59281,7 +59763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *434 + - *439 requestBody: required: true content: @@ -59394,7 +59876,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &437 + - &442 name: column_id description: The unique identifier of the column. in: path @@ -59406,7 +59888,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &443 title: Project Column description: Project columns contain cards of work. type: object @@ -59460,7 +59942,7 @@ paths: - created_at - updated_at examples: - default: &439 + default: &444 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -59495,7 +59977,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 + - *442 requestBody: required: true content: @@ -59520,9 +60002,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *443 examples: - default: *439 + default: *444 '304': *35 '403': *27 '401': *23 @@ -59547,7 +60029,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *437 + - *442 responses: '204': description: Response @@ -59576,7 +60058,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *437 + - *442 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -59597,7 +60079,7 @@ paths: application/json: schema: type: array - items: *435 + items: *440 examples: default: value: @@ -59656,7 +60138,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *437 + - *442 requestBody: required: true content: @@ -59700,9 +60182,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *440 examples: - default: *436 + default: *441 '304': *35 '403': *27 '401': *23 @@ -59712,8 +60194,8 @@ paths: application/json: schema: oneOf: - - *223 - - *224 + - *230 + - *231 '503': description: Response content: @@ -59758,7 +60240,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *437 + - *442 requestBody: required: true content: @@ -59819,15 +60301,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *429 + - *434 responses: '200': description: Response content: application/json: - schema: *362 + schema: *367 examples: - default: &440 + default: &445 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -59884,7 +60366,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *429 + - *434 requestBody: required: false content: @@ -59933,9 +60415,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *367 examples: - default: *440 + default: *445 '404': description: Not Found if the authenticated user does not have access to the project @@ -59956,7 +60438,7 @@ paths: items: type: string '401': *23 - '410': *441 + '410': *446 '422': *7 x-github: githubCloudOnly: false @@ -59979,7 +60461,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *429 + - *434 responses: '204': description: Delete Success @@ -60000,7 +60482,7 @@ paths: items: type: string '401': *23 - '410': *441 + '410': *446 '404': *6 x-github: githubCloudOnly: false @@ -60024,7 +60506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *429 + - *434 - 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 +60533,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 '404': *6 @@ -60081,8 +60563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *429 - - *178 + - *434 + - *183 requestBody: required: false content: @@ -60136,8 +60618,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 + - *434 + - *183 responses: '204': description: Response @@ -60168,8 +60650,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 + - *434 + - *183 responses: '200': description: Response @@ -60239,7 +60721,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *429 + - *434 - *17 - *19 responses: @@ -60249,7 +60731,7 @@ paths: application/json: schema: type: array - items: *438 + items: *443 examples: default: value: @@ -60287,7 +60769,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *429 + - *434 requestBody: required: true content: @@ -60311,7 +60793,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *443 examples: default: value: @@ -60376,7 +60858,7 @@ paths: resources: type: object properties: - core: &442 + core: &447 title: Rate Limit type: object properties: @@ -60393,21 +60875,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: *447 + search: *447 + code_search: *447 + source_import: *447 + integration_manifest: *447 + code_scanning_upload: *447 + actions_runner_registration: *447 + scim: *447 + dependency_snapshots: *447 + dependency_sbom: *447 + code_scanning_autofix: *447 required: - core - search - rate: *442 + rate: *447 required: - rate - resources @@ -60512,14 +60994,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *443 + schema: *448 examples: default-response: summary: Default response @@ -61024,7 +61506,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *444 + '301': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61042,8 +61524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: false content: @@ -61301,10 +61783,10 @@ paths: description: Response content: application/json: - schema: *443 + schema: *448 examples: - default: *445 - '307': &446 + default: *450 + '307': &451 description: Temporary Redirect content: application/json: @@ -61333,8 +61815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *430 - - *431 + - *435 + - *436 responses: '204': description: Response @@ -61356,7 +61838,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *446 + '307': *451 '404': *6 '409': *107 x-github: @@ -61380,11 +61862,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 + - *435 + - *436 - *17 - *19 - - &461 + - &466 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -61407,7 +61889,7 @@ paths: type: integer artifacts: type: array - items: &447 + items: &452 title: Artifact description: An artifact type: object @@ -61502,7 +61984,7 @@ paths: - expires_at - updated_at examples: - default: &462 + default: &467 value: total_count: 2 artifacts: @@ -61563,9 +62045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *430 - - *431 - - &448 + - *435 + - *436 + - &453 name: artifact_id description: The unique identifier of the artifact. in: path @@ -61577,7 +62059,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *452 examples: default: value: @@ -61615,9 +62097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *430 - - *431 - - *448 + - *435 + - *436 + - *453 responses: '204': description: Response @@ -61641,9 +62123,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *430 - - *431 - - *448 + - *435 + - *436 + - *453 - name: archive_format in: path required: true @@ -61657,7 +62139,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': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61680,14 +62162,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 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *449 + schema: *454 examples: default: value: @@ -61713,11 +62195,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 + - *435 + - *436 - *17 - *19 - - &450 + - &455 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 @@ -61751,7 +62233,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &456 title: Repository actions caches description: Repository actions caches type: object @@ -61801,7 +62283,7 @@ paths: - total_count - actions_caches examples: - default: &452 + default: &457 value: total_count: 1 actions_caches: @@ -61833,23 +62315,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 + - *435 + - *436 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *450 + - *455 responses: '200': description: Response content: application/json: - schema: *451 + schema: *456 examples: - default: *452 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61869,8 +62351,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 + - *435 + - *436 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -61901,9 +62383,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 + - *435 + - *436 + - &458 name: job_id description: The unique identifier of the job. in: path @@ -61915,7 +62397,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &470 title: Job description: Information of a job execution in a workflow run type: object @@ -62262,9 +62744,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 + - *435 + - *436 + - *458 responses: '302': description: Response @@ -62292,9 +62774,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 + - *435 + - *436 + - *458 requestBody: required: false content: @@ -62316,7 +62798,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -62340,8 +62822,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 + - *435 + - *436 responses: '200': description: Status response @@ -62391,8 +62873,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 + - *435 + - *436 requestBody: required: true content: @@ -62426,7 +62908,7 @@ paths: description: Empty response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -62455,8 +62937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -62474,7 +62956,7 @@ paths: type: integer secrets: type: array - items: &467 + items: &472 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -62495,7 +62977,7 @@ paths: - created_at - updated_at examples: - default: &468 + default: &473 value: total_count: 2 secrets: @@ -62528,9 +63010,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 + - *435 + - *436 + - *459 - *19 responses: '200': @@ -62547,7 +63029,7 @@ paths: type: integer variables: type: array - items: &471 + items: &476 title: Actions Variable type: object properties: @@ -62581,7 +63063,7 @@ paths: - created_at - updated_at examples: - default: &472 + default: &477 value: total_count: 2 variables: @@ -62614,8 +63096,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 + - *435 + - *436 responses: '200': description: Response @@ -62624,11 +63106,11 @@ paths: schema: type: object properties: - enabled: &455 + enabled: &460 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *49 - selected_actions_url: *233 + selected_actions_url: *240 sha_pinning_required: *50 required: - enabled @@ -62659,8 +63141,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 + - *435 + - *436 responses: '204': description: Response @@ -62671,7 +63153,7 @@ paths: schema: type: object properties: - enabled: *455 + enabled: *460 allowed_actions: *49 sha_pinning_required: *50 required: @@ -62704,14 +63186,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 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: &456 + schema: &461 type: object properties: access_level: @@ -62729,7 +63211,7 @@ paths: required: - access_level examples: - default: &457 + default: &462 value: access_level: organization x-github: @@ -62754,15 +63236,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 + - *435 + - *436 requestBody: required: true content: application/json: - schema: *456 + schema: *461 examples: - default: *457 + default: *462 responses: '204': description: Response @@ -62786,14 +63268,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 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *235 + schema: *242 examples: default: value: @@ -62817,8 +63299,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 + - *435 + - *436 responses: '204': description: Empty response for successful settings update @@ -62828,7 +63310,7 @@ paths: required: true content: application/json: - schema: *236 + schema: *243 examples: default: summary: Set retention days @@ -62852,8 +63334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response @@ -62861,7 +63343,7 @@ paths: application/json: schema: *51 examples: - default: *237 + default: *244 '404': *6 x-github: enabledForGitHubApps: true @@ -62880,8 +63362,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 + - *435 + - *436 responses: '204': description: Response @@ -62915,14 +63397,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *238 + schema: *245 examples: default: *52 '403': *27 @@ -62944,13 +63426,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: application/json: - schema: *239 + schema: *246 examples: default: *52 responses: @@ -62976,8 +63458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response @@ -63008,8 +63490,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 + - *435 + - *436 responses: '204': description: Response @@ -63041,14 +63523,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *242 + schema: *249 examples: default: *58 x-github: @@ -63071,8 +63553,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 + - *435 + - *436 responses: '204': description: Success response @@ -63083,7 +63565,7 @@ paths: required: true content: application/json: - schema: *243 + schema: *250 examples: default: *58 x-github: @@ -63112,8 +63594,8 @@ paths: in: query schema: type: string - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -63157,8 +63639,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 + - *435 + - *436 responses: '200': description: Response @@ -63166,9 +63648,9 @@ paths: application/json: schema: type: array - items: *247 + items: *254 examples: - default: *248 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63190,8 +63672,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 + - *435 + - *436 requestBody: required: true content: @@ -63234,7 +63716,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *249 + '201': *256 '404': *6 '422': *7 '409': *107 @@ -63265,8 +63747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 responses: '201': description: Response @@ -63274,7 +63756,7 @@ paths: application/json: schema: *68 examples: - default: *250 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63302,8 +63784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 responses: '201': description: Response @@ -63311,7 +63793,7 @@ paths: application/json: schema: *68 examples: - default: *251 + default: *258 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63333,8 +63815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 - *64 responses: '200': @@ -63343,7 +63825,7 @@ paths: application/json: schema: *65 examples: - default: *252 + default: *259 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63364,8 +63846,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *430 - - *431 + - *435 + - *436 - *64 responses: '204': @@ -63392,8 +63874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 - *64 responses: '200': *70 @@ -63418,8 +63900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 - *64 requestBody: required: true @@ -63468,8 +63950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 - *64 requestBody: required: true @@ -63519,11 +64001,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 + - *435 + - *436 - *64 responses: - '200': *253 + '200': *260 '404': *6 x-github: githubCloudOnly: false @@ -63550,10 +64032,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 - *64 - - *254 + - *261 responses: '200': *70 '404': *6 @@ -63581,9 +64063,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 + - *435 + - *436 + - &480 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 +64073,7 @@ paths: required: false schema: type: string - - &476 + - &481 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -63599,7 +64081,7 @@ paths: required: false schema: type: string - - &477 + - &482 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 +64090,7 @@ paths: required: false schema: type: string - - &478 + - &483 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 +64117,7 @@ paths: - pending - *17 - *19 - - &479 + - &484 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 +64126,7 @@ paths: schema: type: string format: date-time - - &458 + - &463 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -63653,13 +64135,13 @@ paths: schema: type: boolean default: false - - &480 + - &485 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &481 + - &486 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -63682,7 +64164,7 @@ paths: type: integer workflow_runs: type: array - items: &459 + items: &464 title: Workflow Run description: An invocation of a workflow type: object @@ -63799,7 +64281,7 @@ paths: type: - array - 'null' - items: *187 + items: *193 created_at: type: string format: date-time @@ -63860,7 +64342,7 @@ paths: head_commit: anyOf: - type: 'null' - - &503 + - &508 title: Simple Commit description: A commit. type: object @@ -63934,8 +64416,8 @@ paths: - timestamp - author - committer - repository: *246 - head_repository: *246 + repository: *253 + head_repository: *253 head_repository_id: type: integer examples: @@ -63975,7 +64457,7 @@ paths: - workflow_url - pull_requests examples: - default: &482 + default: &487 value: total_count: 1 workflow_runs: @@ -64211,24 +64693,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 + - *435 + - *436 + - &465 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *458 + - *463 responses: '200': description: Response content: application/json: - schema: *459 + schema: *464 examples: - default: &463 + default: &468 value: id: 30433642 name: Build @@ -64469,9 +64951,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 + - *435 + - *436 + - *465 responses: '204': description: Response @@ -64494,9 +64976,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 + - *435 + - *436 + - *465 responses: '200': description: Response @@ -64624,15 +65106,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 + - *435 + - *436 + - *465 responses: '201': description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -64659,12 +65141,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 + - *435 + - *436 + - *465 - *17 - *19 - - *461 + - *466 responses: '200': description: Response @@ -64680,9 +65162,9 @@ paths: type: integer artifacts: type: array - items: *447 + items: *452 examples: - default: *462 + default: *467 headers: Link: *41 x-github: @@ -64706,25 +65188,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 + - *435 + - *436 + - *465 + - &469 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *458 + - *463 responses: '200': description: Response content: application/json: - schema: *459 + schema: *464 examples: - default: *463 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64747,10 +65229,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 + - *435 + - *436 + - *465 + - *469 - *17 - *19 responses: @@ -64768,9 +65250,9 @@ paths: type: integer jobs: type: array - items: *465 + items: *470 examples: - default: &466 + default: &471 value: total_count: 1 jobs: @@ -64883,10 +65365,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 + - *435 + - *436 + - *465 + - *469 responses: '302': description: Response @@ -64914,15 +65396,15 @@ 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 + - *435 + - *436 + - *465 responses: '202': description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -64949,9 +65431,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 + - *435 + - *436 + - *465 requestBody: required: true content: @@ -65018,15 +65500,15 @@ 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 + - *435 + - *436 + - *465 responses: '202': description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -65053,9 +65535,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 + - *435 + - *436 + - *465 - 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 +65567,9 @@ paths: type: integer jobs: type: array - items: *465 + items: *470 examples: - default: *466 + default: *471 headers: Link: *41 x-github: @@ -65112,9 +65594,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 + - *435 + - *436 + - *465 responses: '302': description: Response @@ -65141,9 +65623,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 + - *435 + - *436 + - *465 responses: '204': description: Response @@ -65170,9 +65652,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 + - *435 + - *436 + - *465 responses: '200': description: Response @@ -65241,7 +65723,7 @@ paths: items: type: object properties: - type: &583 + type: &588 type: string description: The type of reviewer. enum: @@ -65252,7 +65734,7 @@ paths: reviewer: anyOf: - *4 - - *273 + - *280 required: - environment - wait_timer @@ -65327,9 +65809,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 + - *435 + - *436 + - *465 requestBody: required: true content: @@ -65379,7 +65861,7 @@ paths: application/json: schema: type: array - items: &569 + items: &574 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -65491,7 +65973,7 @@ paths: - created_at - updated_at examples: - default: &570 + default: &575 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -65547,9 +66029,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 + - *435 + - *436 + - *465 requestBody: required: false content: @@ -65571,7 +66053,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -65594,9 +66076,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 + - *435 + - *436 + - *465 requestBody: required: false content: @@ -65618,7 +66100,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -65651,9 +66133,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 + - *435 + - *436 + - *465 responses: '200': description: Response @@ -65790,8 +66272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -65809,9 +66291,9 @@ paths: type: integer secrets: type: array - items: *467 + items: *472 examples: - default: *468 + default: *473 headers: Link: *41 x-github: @@ -65836,16 +66318,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 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *469 + schema: *474 examples: - default: *470 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65867,17 +66349,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 + - *435 + - *436 + - *263 responses: '200': description: Response content: application/json: - schema: *467 + schema: *472 examples: - default: &596 + default: &601 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -65903,9 +66385,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 + - *435 + - *436 + - *263 requestBody: required: true content: @@ -65936,7 +66418,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -65962,9 +66444,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 + - *435 + - *436 + - *263 responses: '204': description: Response @@ -65989,9 +66471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *430 - - *431 - - *454 + - *435 + - *436 + - *459 - *19 responses: '200': @@ -66008,9 +66490,9 @@ paths: type: integer variables: type: array - items: *471 + items: *476 examples: - default: *472 + default: *477 headers: Link: *41 x-github: @@ -66033,8 +66515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -66061,7 +66543,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -66086,17 +66568,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 + - *435 + - *436 + - *266 responses: '200': description: Response content: application/json: - schema: *471 + schema: *476 examples: - default: &597 + default: &602 value: name: USERNAME value: octocat @@ -66122,9 +66604,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 + - *435 + - *436 + - *266 requestBody: required: true content: @@ -66166,9 +66648,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 + - *435 + - *436 + - *266 responses: '204': description: Response @@ -66193,8 +66675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -66212,7 +66694,7 @@ paths: type: integer workflows: type: array - items: &473 + items: &478 title: Workflow description: A GitHub Actions workflow type: object @@ -66330,9 +66812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *430 - - *431 - - &474 + - *435 + - *436 + - &479 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -66347,7 +66829,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *478 examples: default: value: @@ -66380,9 +66862,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *430 - - *431 - - *474 + - *435 + - *436 + - *479 responses: '204': description: Response @@ -66407,9 +66889,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 + - *435 + - *436 + - *479 responses: '204': description: Response @@ -66460,9 +66942,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *430 - - *431 - - *474 + - *435 + - *436 + - *479 responses: '204': description: Response @@ -66489,19 +66971,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 - - *17 - - *19 + - *435 + - *436 - *479 - - *458 - *480 - *481 + - *482 + - *483 + - *17 + - *19 + - *484 + - *463 + - *485 + - *486 responses: '200': description: Response @@ -66517,9 +66999,9 @@ paths: type: integer workflow_runs: type: array - items: *459 + items: *464 examples: - default: *482 + default: *487 headers: Link: *41 x-github: @@ -66552,9 +67034,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *430 - - *431 - - *474 + - *435 + - *436 + - *479 responses: '200': description: Response @@ -66615,8 +67097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *430 - - *431 + - *435 + - *436 - *99 - *17 - *97 @@ -66784,8 +67266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -66797,7 +67279,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 '404': *6 @@ -66822,8 +67304,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 + - *435 + - *436 - name: assignee in: path required: true @@ -66859,8 +67341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -66972,8 +67454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *97 - *98 @@ -67029,7 +67511,7 @@ paths: initiator: type: string examples: - default: *483 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67049,8 +67531,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 + - *435 + - *436 responses: '200': description: Response @@ -67058,7 +67540,7 @@ paths: application/json: schema: type: array - items: &484 + items: &489 title: Autolink reference description: An autolink reference. type: object @@ -67117,8 +67599,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 + - *435 + - *436 requestBody: required: true content: @@ -67157,9 +67639,9 @@ paths: description: response content: application/json: - schema: *484 + schema: *489 examples: - default: &485 + default: &490 value: id: 1 key_prefix: TICKET- @@ -67190,9 +67672,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 + - *435 + - *436 + - &491 name: autolink_id description: The unique identifier of the autolink. in: path @@ -67204,9 +67686,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *489 examples: - default: *485 + default: *490 '404': *6 x-github: githubCloudOnly: false @@ -67226,9 +67708,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 + - *435 + - *436 + - *491 responses: '204': description: Response @@ -67252,8 +67734,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 + - *435 + - *436 responses: '200': description: Response if Dependabot is enabled @@ -67303,8 +67785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *430 - - *431 + - *435 + - *436 responses: '204': description: Response @@ -67325,8 +67807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *430 - - *431 + - *435 + - *436 responses: '204': description: Response @@ -67346,8 +67828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *430 - - *431 + - *435 + - *436 - 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 +67867,7 @@ paths: - url protected: type: boolean - protection: &488 + protection: &493 title: Branch Protection description: Branch Protection type: object @@ -67428,7 +67910,7 @@ paths: required: - contexts - checks - enforce_admins: &491 + enforce_admins: &496 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -67445,7 +67927,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &493 + required_pull_request_reviews: &498 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -67467,7 +67949,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *273 + items: *280 apps: description: The list of apps with review dismissal access. @@ -67499,7 +67981,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *273 + items: *280 apps: description: The list of apps allowed to bypass pull request requirements. @@ -67529,7 +68011,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &490 + restrictions: &495 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -67592,7 +68074,7 @@ paths: type: string teams: type: array - items: *273 + items: *280 apps: type: array items: @@ -67822,9 +68304,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *430 - - *431 - - &489 + - *435 + - *436 + - &494 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 +68320,14 @@ paths: description: Response content: application/json: - schema: &499 + schema: &504 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &545 + commit: &550 title: Commit description: Commit type: object @@ -67884,7 +68366,7 @@ paths: author: anyOf: - type: 'null' - - &487 + - &492 title: Git User description: Metaproperties for Git author/committer information. @@ -67905,7 +68387,7 @@ paths: committer: anyOf: - type: 'null' - - *487 + - *492 message: type: string examples: @@ -67929,7 +68411,7 @@ paths: required: - sha - url - verification: &603 + verification: &608 title: Verification type: object properties: @@ -67965,14 +68447,14 @@ paths: author: oneOf: - *4 - - *257 + - *264 type: - 'null' - object committer: oneOf: - *4 - - *257 + - *264 type: - 'null' - object @@ -68009,7 +68491,7 @@ paths: type: integer files: type: array - items: &556 + items: &561 title: Diff Entry description: Diff Entry type: object @@ -68105,7 +68587,7 @@ paths: - self protected: type: boolean - protection: *488 + protection: *493 protection_url: type: string format: uri @@ -68214,7 +68696,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *444 + '301': *449 '404': *6 x-github: githubCloudOnly: false @@ -68236,15 +68718,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 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *488 + schema: *493 examples: default: value: @@ -68438,9 +68920,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 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -68700,7 +69182,7 @@ paths: url: type: string format: uri - required_status_checks: &496 + required_status_checks: &501 title: Status Check Policy description: Status Check Policy type: object @@ -68781,7 +69263,7 @@ paths: items: *4 teams: type: array - items: *273 + items: *280 apps: type: array items: *5 @@ -68799,7 +69281,7 @@ paths: items: *4 teams: type: array - items: *273 + items: *280 apps: type: array items: *5 @@ -68859,7 +69341,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *490 + restrictions: *495 required_conversation_resolution: type: object properties: @@ -68971,9 +69453,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 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -68998,17 +69480,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 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *491 + schema: *496 examples: - default: &492 + default: &497 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -69030,17 +69512,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 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *491 + schema: *496 examples: - default: *492 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69059,9 +69541,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 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -69086,17 +69568,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 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *493 + schema: *498 examples: - default: &494 + default: &499 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -69192,9 +69674,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 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -69292,9 +69774,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *498 examples: - default: *494 + default: *499 '422': *15 x-github: githubCloudOnly: false @@ -69315,9 +69797,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 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -69344,17 +69826,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 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *491 + schema: *496 examples: - default: &495 + default: &500 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -69377,17 +69859,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 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *491 + schema: *496 examples: - default: *495 + default: *500 '404': *6 x-github: githubCloudOnly: false @@ -69407,9 +69889,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 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -69434,17 +69916,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 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *496 + schema: *501 examples: - default: &497 + default: &502 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -69470,9 +69952,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 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -69524,9 +70006,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *501 examples: - default: *497 + default: *502 '404': *6 '422': *15 x-github: @@ -69548,9 +70030,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 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -69574,9 +70056,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 + - *435 + - *436 + - *494 responses: '200': description: Response @@ -69610,9 +70092,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 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -69679,9 +70161,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 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -69745,9 +70227,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 + - *435 + - *436 + - *494 requestBody: content: application/json: @@ -69813,15 +70295,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 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *490 + schema: *495 examples: default: value: @@ -69912,9 +70394,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 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -69937,9 +70419,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 + - *435 + - *436 + - *494 responses: '200': description: Response @@ -69949,7 +70431,7 @@ paths: type: array items: *5 examples: - default: &498 + default: &503 value: - id: 1 slug: octoapp @@ -70006,9 +70488,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 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -70042,7 +70524,7 @@ paths: type: array items: *5 examples: - default: *498 + default: *503 '422': *15 x-github: githubCloudOnly: false @@ -70063,9 +70545,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 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -70099,7 +70581,7 @@ paths: type: array items: *5 examples: - default: *498 + default: *503 '422': *15 x-github: githubCloudOnly: false @@ -70120,9 +70602,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 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -70156,7 +70638,7 @@ paths: type: array items: *5 examples: - default: *498 + default: *503 '422': *15 x-github: githubCloudOnly: false @@ -70178,9 +70660,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 + - *435 + - *436 + - *494 responses: '200': description: Response @@ -70188,9 +70670,9 @@ paths: application/json: schema: type: array - items: *273 + items: *280 examples: - default: *345 + default: *350 '404': *6 x-github: githubCloudOnly: false @@ -70210,9 +70692,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 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -70248,9 +70730,9 @@ paths: application/json: schema: type: array - items: *273 + items: *280 examples: - default: *345 + default: *350 '422': *15 x-github: githubCloudOnly: false @@ -70271,9 +70753,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 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -70309,9 +70791,9 @@ paths: application/json: schema: type: array - items: *273 + items: *280 examples: - default: *345 + default: *350 '422': *15 x-github: githubCloudOnly: false @@ -70332,9 +70814,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 + - *435 + - *436 + - *494 requestBody: content: application/json: @@ -70369,9 +70851,9 @@ paths: application/json: schema: type: array - items: *273 + items: *280 examples: - default: *345 + default: *350 '422': *15 x-github: githubCloudOnly: false @@ -70393,9 +70875,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 + - *435 + - *436 + - *494 responses: '200': description: Response @@ -70405,7 +70887,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 '404': *6 x-github: githubCloudOnly: false @@ -70429,9 +70911,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 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -70464,7 +70946,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 '422': *15 x-github: githubCloudOnly: false @@ -70489,9 +70971,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 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -70524,7 +71006,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 '422': *15 x-github: githubCloudOnly: false @@ -70549,9 +71031,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 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -70584,7 +71066,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 '422': *15 x-github: githubCloudOnly: false @@ -70611,9 +71093,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *430 - - *431 - - *489 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -70635,7 +71117,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *504 examples: default: value: @@ -70749,8 +71231,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *430 - - *431 + - *435 + - *436 - *92 - *93 - *94 @@ -70764,9 +71246,9 @@ paths: application/json: schema: type: array - items: *268 + items: *275 examples: - default: *269 + default: *276 '404': *6 '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -70786,8 +71268,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *430 - - *431 + - *435 + - *436 - name: bypass_request_number in: path required: true @@ -70801,7 +71283,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *275 examples: default: value: @@ -70860,8 +71342,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 + - *435 + - *436 - *92 - *93 - *94 @@ -70875,9 +71357,9 @@ paths: application/json: schema: type: array - items: *271 + items: *278 examples: - default: *272 + default: *279 '404': *6 '403': *27 '500': *38 @@ -70901,8 +71383,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 + - *435 + - *436 - name: bypass_request_number in: path required: true @@ -70914,7 +71396,7 @@ paths: description: A single bypass request. content: application/json: - schema: *271 + schema: *278 examples: default: value: @@ -70972,8 +71454,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 + - *435 + - *436 - name: bypass_request_number in: path required: true @@ -71044,8 +71526,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 + - *435 + - *436 - name: bypass_response_id in: path required: true @@ -71078,8 +71560,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -71358,7 +71840,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &505 title: CheckRun description: A check performed on the code of a given code change type: object @@ -71493,8 +71975,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *187 - deployment: &818 + items: *193 + deployment: &822 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -71781,9 +72263,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 + - *435 + - *436 + - &506 name: check_run_id description: The unique identifier of the check run. in: path @@ -71795,9 +72277,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *505 examples: - default: &502 + default: &507 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -71897,9 +72379,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 + - *435 + - *436 + - *506 requestBody: required: true content: @@ -72139,9 +72621,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *505 examples: - default: *502 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72161,9 +72643,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 + - *435 + - *436 + - *506 - *17 - *19 responses: @@ -72273,15 +72755,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 + - *435 + - *436 + - *506 responses: '201': description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -72319,8 +72801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -72342,7 +72824,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &504 + schema: &509 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -72424,12 +72906,12 @@ paths: type: - array - 'null' - items: *187 + items: *193 app: anyOf: - type: 'null' - *5 - repository: *246 + repository: *253 created_at: type: - string @@ -72440,7 +72922,7 @@ paths: - string - 'null' format: date-time - head_commit: *503 + head_commit: *508 latest_check_runs_count: type: integer check_runs_url: @@ -72468,7 +72950,7 @@ paths: - check_runs_url - pull_requests examples: - default: &505 + default: &510 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -72759,9 +73241,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *504 + schema: *509 examples: - default: *505 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72780,8 +73262,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 + - *435 + - *436 requestBody: required: true content: @@ -72842,7 +73324,7 @@ paths: required: - app_id - setting - repository: *246 + repository: *253 examples: default: value: @@ -73090,9 +73572,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 + - *435 + - *436 + - &511 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -73104,9 +73586,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *509 examples: - default: *505 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73129,17 +73611,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 + - *435 + - *436 + - *511 + - &556 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &552 + - &557 name: status description: Returns check runs with the specified `status`. in: query @@ -73178,9 +73660,9 @@ paths: type: integer check_runs: type: array - items: *500 + items: *505 examples: - default: &553 + default: &558 value: total_count: 1 check_runs: @@ -73282,15 +73764,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 + - *435 + - *436 + - *511 responses: '201': description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -73317,21 +73799,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *430 - - *431 - - *277 - - *278 + - *435 + - *436 + - *284 + - *285 - *19 - *17 - - &522 + - &527 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: *512 + - &528 name: pr description: The number of the pull request for the results you want to list. in: query @@ -73356,13 +73838,13 @@ paths: be returned. in: query required: false - schema: *279 + schema: *286 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *508 + schema: *513 responses: '200': description: Response @@ -73373,24 +73855,24 @@ paths: items: type: object properties: - number: *109 - created_at: *116 - updated_at: *117 - url: *114 - html_url: *115 - instances_url: *509 + number: *114 + created_at: *121 + updated_at: *122 + url: *119 + html_url: *120 + instances_url: *514 state: *102 - fixed_at: *119 + fixed_at: *124 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: *123 + dismissed_reason: *515 + dismissed_comment: *516 + rule: *517 + tool: *518 + most_recent_instance: *519 dismissal_approved_by: anyOf: - type: 'null' @@ -73513,14 +73995,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &515 + '403': &520 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73540,9 +74022,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 + - *435 + - *436 + - &521 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -73550,30 +74032,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *109 + schema: *114 responses: '200': description: Response content: application/json: - schema: &517 + schema: &522 type: object properties: - number: *109 - created_at: *116 - updated_at: *117 - url: *114 - html_url: *115 - instances_url: *509 + number: *114 + created_at: *121 + updated_at: *122 + url: *119 + html_url: *120 + instances_url: *514 state: *102 - fixed_at: *119 + fixed_at: *124 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *118 - dismissed_reason: *510 - dismissed_comment: *511 + dismissed_at: *123 + dismissed_reason: *515 + dismissed_comment: *516 rule: type: object properties: @@ -73635,8 +74117,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *513 - most_recent_instance: *514 + tool: *518 + most_recent_instance: *519 dismissal_approved_by: anyOf: - type: 'null' @@ -73732,9 +74214,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *515 + '403': *520 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73752,9 +74234,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 + - *435 + - *436 + - *521 requestBody: required: true content: @@ -73769,8 +74251,8 @@ paths: enum: - open - dismissed - dismissed_reason: *510 - dismissed_comment: *511 + dismissed_reason: *515 + dismissed_comment: *516 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -73789,7 +74271,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *522 examples: default: value: @@ -73865,14 +74347,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &521 + '403': &526 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': *168 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73892,15 +74374,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 + - *435 + - *436 + - *521 responses: '200': description: Response content: application/json: - schema: &518 + schema: &523 type: object properties: status: @@ -73927,13 +74409,13 @@ paths: - description - started_at examples: - default: &519 + default: &524 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &520 + '400': &525 description: Bad Request content: application/json: @@ -73944,9 +74426,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': *520 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73969,29 +74451,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 + - *435 + - *436 + - *521 responses: '200': description: OK content: application/json: - schema: *518 + schema: *523 examples: - default: *519 + default: *524 '202': description: Accepted content: application/json: - schema: *518 + schema: *523 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *520 + '400': *525 '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 +74483,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74023,9 +74505,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 + - *435 + - *436 + - *521 requestBody: required: false content: @@ -74071,12 +74553,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *520 - '403': *521 + '400': *525 + '403': *526 '404': *6 '422': description: Unprocessable Entity - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74096,13 +74578,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 + - *435 + - *436 + - *521 - *19 - *17 - - *522 - - *523 + - *527 + - *528 responses: '200': description: Response @@ -74110,7 +74592,7 @@ paths: application/json: schema: type: array - items: *514 + items: *519 examples: default: value: @@ -74149,9 +74631,9 @@ paths: end_column: 50 classifications: - source - '403': *515 + '403': *520 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74183,25 +74665,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *430 - - *431 - - *277 - - *278 + - *435 + - *436 + - *284 + - *285 - *19 - *17 - - *523 + - *528 - 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: *512 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &526 + schema: &531 type: string description: An identifier for the upload. examples: @@ -74223,23 +74705,23 @@ paths: application/json: schema: type: array - items: &527 + items: &532 type: object properties: - ref: *507 - commit_sha: &535 + ref: *512 + commit_sha: &540 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: *529 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *525 + category: *530 error: type: string examples: @@ -74264,8 +74746,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *526 - tool: *513 + sarif_id: *531 + tool: *518 deletable: type: boolean warning: @@ -74327,9 +74809,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *515 + '403': *520 '404': *6 - '503': *163 + '503': *168 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74363,8 +74845,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 + - *435 + - *436 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74377,7 +74859,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *532 examples: response: summary: application/json response @@ -74431,14 +74913,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *515 + '403': *520 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *163 + '503': *168 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74518,8 +75000,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 + - *435 + - *436 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74575,9 +75057,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': *526 '404': *6 - '503': *163 + '503': *168 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74597,8 +75079,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 + - *435 + - *436 responses: '200': description: Response @@ -74606,7 +75088,7 @@ paths: application/json: schema: type: array - items: &528 + items: &533 title: CodeQL Database description: A CodeQL database. type: object @@ -74718,9 +75200,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': *520 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74747,8 +75229,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 + - *435 + - *436 - name: language in: path description: The language of the CodeQL database. @@ -74760,7 +75242,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *533 examples: default: value: @@ -74792,11 +75274,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': &563 description: Found - '403': *515 + '403': *520 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74816,8 +75298,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 + - *435 + - *436 - name: language in: path description: The language of the CodeQL database. @@ -74827,9 +75309,9 @@ paths: responses: '204': description: Response - '403': *521 + '403': *526 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74855,8 +75337,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 + - *435 + - *436 requestBody: required: true content: @@ -74865,7 +75347,7 @@ paths: type: object additionalProperties: false properties: - language: &529 + language: &534 type: string description: The language targeted by the CodeQL query enum: @@ -74944,7 +75426,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &533 + schema: &538 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -74954,7 +75436,7 @@ paths: description: The ID of the variant analysis. controller_repo: *108 actor: *4 - query_language: *529 + query_language: *534 query_pack_url: type: string description: The download url for the query pack. @@ -75002,7 +75484,7 @@ paths: items: type: object properties: - repository: &530 + repository: &535 title: Repository Identifier description: Repository Identifier type: object @@ -75044,7 +75526,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &534 + analysis_status: &539 type: string description: The new status of the CodeQL variant analysis repository task. @@ -75076,7 +75558,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: &536 type: object properties: repository_count: @@ -75091,7 +75573,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: *535 required: - repository_count - repositories @@ -75114,8 +75596,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *531 - over_limit_repos: *531 + no_codeql_db_repos: *536 + over_limit_repos: *536 required: - access_mismatch_repos - not_found_repos @@ -75131,7 +75613,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &532 + value: &537 summary: Default response value: id: 1 @@ -75283,17 +75765,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *532 + value: *537 repository_lists: summary: Response for a successful variant analysis submission - value: *532 + value: *537 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75314,8 +75796,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 + - *435 + - *436 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -75327,11 +75809,11 @@ paths: description: Response content: application/json: - schema: *533 + schema: *538 examples: - default: *532 + default: *537 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75352,7 +75834,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 + - *435 - name: repo in: path description: The name of the controller repository. @@ -75387,7 +75869,7 @@ paths: type: object properties: repository: *108 - analysis_status: *534 + analysis_status: *539 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -75491,7 +75973,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75512,8 +75994,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 + - *435 + - *436 responses: '200': description: Response @@ -75606,9 +76088,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *515 + '403': *520 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75627,8 +76109,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 + - *435 + - *436 requestBody: required: true content: @@ -75697,7 +76179,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -75722,7 +76204,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *521 + '403': *526 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -75736,7 +76218,7 @@ paths: content: application/json: schema: *3 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75793,8 +76275,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 + - *435 + - *436 requestBody: required: true content: @@ -75802,7 +76284,7 @@ paths: schema: type: object properties: - commit_sha: *535 + commit_sha: *540 ref: type: string description: |- @@ -75862,7 +76344,7 @@ paths: schema: type: object properties: - id: *526 + id: *531 url: type: string description: The REST API URL for checking the status of the upload. @@ -75876,11 +76358,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': *526 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *163 + '503': *168 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -75899,8 +76381,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 + - *435 + - *436 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75948,10 +76430,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': *520 '404': description: Not Found if the sarif id does not match any upload - '503': *163 + '503': *168 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -75973,8 +76455,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 + - *435 + - *436 responses: '200': description: Response @@ -76030,7 +76512,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': *134 '304': *35 '403': *27 '404': *6 @@ -76055,8 +76537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *430 - - *431 + - *435 + - *436 - 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 +76666,8 @@ paths: parameters: - *17 - *19 - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response @@ -76201,7 +76683,7 @@ paths: type: integer codespaces: type: array - items: *336 + items: *341 examples: default: value: @@ -76499,8 +76981,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 + - *435 + - *436 requestBody: required: true content: @@ -76564,22 +77046,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *341 examples: - default: *536 + default: *541 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *341 examples: - default: *536 + default: *541 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76603,8 +77085,8 @@ paths: parameters: - *17 - *19 - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response @@ -76668,8 +77150,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 + - *435 + - *436 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -76706,9 +77188,9 @@ paths: type: integer machines: type: array - items: *537 + items: *542 examples: - default: &771 + default: &776 value: total_count: 2 machines: @@ -76748,8 +77230,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 + - *435 + - *436 - 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 +77318,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 + - *435 + - *436 - 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 +77367,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76906,8 +77388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -76925,7 +77407,7 @@ paths: type: integer secrets: type: array - items: &541 + items: &546 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76946,7 +77428,7 @@ paths: - created_at - updated_at examples: - default: *538 + default: *543 headers: Link: *41 x-github: @@ -76969,16 +77451,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 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *539 + schema: *544 examples: - default: *540 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76998,17 +77480,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 + - *435 + - *436 + - *263 responses: '200': description: Response content: application/json: - schema: *541 + schema: *546 examples: - default: *542 + default: *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77028,9 +77510,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 + - *435 + - *436 + - *263 requestBody: required: true content: @@ -77058,7 +77540,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -77082,9 +77564,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 + - *435 + - *436 + - *263 responses: '204': description: Response @@ -77112,8 +77594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *430 - - *431 + - *435 + - *436 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -77151,7 +77633,7 @@ paths: application/json: schema: type: array - items: &543 + items: &548 title: Collaborator description: Collaborator type: object @@ -77344,9 +77826,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 + - *435 + - *436 + - *183 responses: '204': description: Response if user is a collaborator @@ -77392,9 +77874,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 + - *435 + - *436 + - *183 requestBody: required: false content: @@ -77420,7 +77902,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &616 + schema: &621 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -77432,7 +77914,7 @@ paths: format: int64 examples: - 42 - repository: *246 + repository: *253 invitee: anyOf: - type: 'null' @@ -77608,7 +78090,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: *230 '403': *27 x-github: triggersNotification: true @@ -77648,9 +78130,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 + - *435 + - *436 + - *183 responses: '204': description: No Content when collaborator was removed from the repository. @@ -77681,9 +78163,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 + - *435 + - *436 + - *183 responses: '200': description: if user has admin permissions @@ -77703,7 +78185,7 @@ paths: user: anyOf: - type: 'null' - - *543 + - *548 required: - permission - role_name @@ -77757,8 +78239,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 + - *435 + - *436 - *17 - *19 responses: @@ -77768,7 +78250,7 @@ paths: application/json: schema: type: array - items: &544 + items: &549 title: Commit Comment description: Commit Comment type: object @@ -77809,8 +78291,8 @@ paths: updated_at: type: string format: date-time - author_association: *184 - reactions: *185 + author_association: *190 + reactions: *191 required: - url - html_url @@ -77826,7 +78308,7 @@ paths: - created_at - updated_at examples: - default: &547 + default: &552 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 +78367,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 + - *435 + - *436 + - *204 responses: '200': description: Response content: application/json: - schema: *544 + schema: *549 examples: - default: &548 + default: &553 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 +78434,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 + - *435 + - *436 + - *204 requestBody: required: true content: @@ -77976,7 +78458,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *549 examples: default: value: @@ -78027,9 +78509,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 + - *435 + - *436 + - *204 responses: '204': description: Response @@ -78050,9 +78532,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 + - *435 + - *436 + - *204 - 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 +78560,9 @@ paths: application/json: schema: type: array - items: *419 + items: *424 examples: - default: *421 + default: *426 headers: Link: *41 '404': *6 @@ -78101,9 +78583,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 + - *435 + - *436 + - *204 requestBody: required: true content: @@ -78135,16 +78617,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '201': description: Reaction created content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -78166,10 +78648,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 + - *435 + - *436 + - *204 + - *427 responses: '204': description: Response @@ -78218,8 +78700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *430 - - *431 + - *435 + - *436 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -78275,9 +78757,9 @@ paths: application/json: schema: type: array - items: *545 + items: *550 examples: - default: &662 + default: &667 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78371,9 +78853,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 + - *435 + - *436 + - &551 name: commit_sha description: The SHA of the commit. in: path @@ -78445,9 +78927,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *430 - - *431 - - *546 + - *435 + - *436 + - *551 - *17 - *19 responses: @@ -78457,9 +78939,9 @@ paths: application/json: schema: type: array - items: *544 + items: *549 examples: - default: *547 + default: *552 headers: Link: *41 x-github: @@ -78487,9 +78969,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 + - *435 + - *436 + - *551 requestBody: required: true content: @@ -78524,9 +79006,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *549 examples: - default: *548 + default: *553 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78554,9 +79036,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 + - *435 + - *436 + - *551 - *17 - *19 responses: @@ -78566,9 +79048,9 @@ paths: application/json: schema: type: array - items: *549 + items: *554 examples: - default: &654 + default: &659 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79105,11 +79587,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *430 - - *431 + - *435 + - *436 - *19 - *17 - - &550 + - &555 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 +79606,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *550 examples: - default: &642 + default: &647 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79213,7 +79695,7 @@ paths: '422': *15 '404': *6 '500': *38 - '503': *163 + '503': *168 '409': *107 x-github: githubCloudOnly: false @@ -79239,11 +79721,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 + - *435 + - *436 + - *555 + - *556 + - *557 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -79277,9 +79759,9 @@ paths: type: integer check_runs: type: array - items: *500 + items: *505 examples: - default: *553 + default: *558 headers: Link: *41 x-github: @@ -79304,9 +79786,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 + - *435 + - *436 + - *555 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -79314,7 +79796,7 @@ paths: schema: type: integer example: 1 - - *551 + - *556 - *17 - *19 responses: @@ -79332,7 +79814,7 @@ paths: type: integer check_suites: type: array - items: *504 + items: *509 examples: default: value: @@ -79532,9 +80014,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 + - *435 + - *436 + - *555 - *17 - *19 responses: @@ -79605,7 +80087,7 @@ paths: type: string total_count: type: integer - repository: *246 + repository: *253 commit_url: type: string format: uri @@ -79736,9 +80218,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 + - *435 + - *436 + - *555 - *17 - *19 responses: @@ -79748,7 +80230,7 @@ paths: application/json: schema: type: array - items: &716 + items: &721 title: Status description: The status of a commit. type: object @@ -79829,7 +80311,7 @@ paths: site_admin: false headers: Link: *41 - '301': *444 + '301': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79857,8 +80339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response @@ -79891,11 +80373,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *554 + - *559 code_of_conduct_file: anyOf: - type: 'null' - - &555 + - &560 title: Community Health File type: object properties: @@ -79911,23 +80393,23 @@ paths: license: anyOf: - type: 'null' - - *186 + - *192 contributing: anyOf: - type: 'null' - - *555 + - *560 readme: anyOf: - type: 'null' - - *555 + - *560 issue_template: anyOf: - type: 'null' - - *555 + - *560 pull_request_template: anyOf: - type: 'null' - - *555 + - *560 required: - code_of_conduct - code_of_conduct_file @@ -80056,8 +80538,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *430 - - *431 + - *435 + - *436 - *19 - *17 - name: basehead @@ -80105,8 +80587,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *545 - merge_base_commit: *545 + base_commit: *550 + merge_base_commit: *550 status: type: string enum: @@ -80130,10 +80612,10 @@ paths: - 6 commits: type: array - items: *545 + items: *550 files: type: array - items: *556 + items: *561 required: - url - html_url @@ -80377,7 +80859,7 @@ paths: module Test" '404': *6 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80419,8 +80901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *430 - - *431 + - *435 + - *436 - name: path description: path parameter in: path @@ -80573,7 +81055,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &557 + response-if-content-is-a-file: &562 summary: Response if content is a file value: type: file @@ -80710,7 +81192,7 @@ paths: - size - type - url - - &667 + - &672 title: Content File description: Content File type: object @@ -80928,7 +81410,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *557 + response-if-content-is-a-file: *562 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80997,7 +81479,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *558 + '302': *563 '304': *35 x-github: githubCloudOnly: false @@ -81020,8 +81502,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 + - *435 + - *436 - name: path description: path parameter in: path @@ -81116,7 +81598,7 @@ paths: description: Response content: application/json: - schema: &559 + schema: &564 title: File Commit description: File Commit type: object @@ -81272,7 +81754,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *564 examples: example-for-creating-a-file: value: @@ -81326,7 +81808,7 @@ paths: schema: oneOf: - *3 - - &598 + - &603 description: Repository rule violation was detected type: object properties: @@ -81347,7 +81829,7 @@ paths: items: type: object properties: - placeholder_id: &708 + placeholder_id: &713 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -81379,8 +81861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *430 - - *431 + - *435 + - *436 - name: path description: path parameter in: path @@ -81441,7 +81923,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *564 examples: default: value: @@ -81476,7 +81958,7 @@ paths: '422': *15 '404': *6 '409': *107 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81496,8 +81978,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *430 - - *431 + - *435 + - *436 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -81621,31 +82103,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 + - *435 + - *436 + - *301 + - *302 + - *303 + - *304 - 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 + - *305 + - *565 + - *306 + - *307 - *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 - 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)." @@ -81656,8 +82130,6 @@ paths: default: 30 - *97 - *98 - - *301 - - *302 responses: '200': description: Response @@ -81665,11 +82137,11 @@ paths: application/json: schema: type: array - items: &563 + items: &568 type: object description: A Dependabot alert. properties: - number: *109 + number: *114 state: type: string description: The state of the Dependabot alert. @@ -81684,7 +82156,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *110 + package: *115 manifest_path: type: string description: The full path to the dependency manifest file, @@ -81715,13 +82187,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: *566 + security_vulnerability: *118 + url: *119 + html_url: *120 + created_at: *121 + updated_at: *122 + dismissed_at: *123 dismissed_by: anyOf: - type: 'null' @@ -81745,8 +82217,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *119 - auto_dismissed_at: *562 + fixed_at: *124 + auto_dismissed_at: *567 required: - number - state @@ -81976,9 +82448,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 + - *435 + - *436 + - &569 name: alert_number in: path description: |- @@ -81987,13 +82459,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *109 + schema: *114 responses: '200': description: Response content: application/json: - schema: *563 + schema: *568 examples: default: value: @@ -82106,9 +82578,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 + - *435 + - *436 + - *569 requestBody: required: true content: @@ -82153,7 +82625,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *568 examples: default: value: @@ -82282,8 +82754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -82301,7 +82773,7 @@ paths: type: integer secrets: type: array - items: &567 + items: &572 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82355,16 +82827,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 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *565 + schema: *570 examples: - default: *566 + default: *571 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82384,15 +82856,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 + - *435 + - *436 + - *263 responses: '200': description: Response content: application/json: - schema: *567 + schema: *572 examples: default: value: @@ -82418,9 +82890,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 + - *435 + - *436 + - *263 requestBody: required: true content: @@ -82448,7 +82920,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -82472,9 +82944,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 + - *435 + - *436 + - *263 responses: '204': description: Response @@ -82496,8 +82968,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 + - *435 + - *436 - 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 +83143,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 + - *435 + - *436 responses: '200': description: Response @@ -82932,8 +83404,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 + - *435 + - *436 requestBody: required: true content: @@ -83016,7 +83488,7 @@ paths: - version - url additionalProperties: false - metadata: &568 + metadata: &573 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83055,7 +83527,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *568 + metadata: *573 resolved: type: object description: A collection of resolved package dependencies. @@ -83069,7 +83541,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *568 + metadata: *573 relationship: type: string description: A notation of whether a dependency is requested @@ -83202,8 +83674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *430 - - *431 + - *435 + - *436 - name: sha description: The SHA recorded at creation time. in: query @@ -83244,9 +83716,9 @@ paths: application/json: schema: type: array - items: *569 + items: *574 examples: - default: *570 + default: *575 headers: Link: *41 x-github: @@ -83312,8 +83784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -83395,7 +83867,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *574 examples: simple-example: summary: Simple example @@ -83468,9 +83940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *430 - - *431 - - &571 + - *435 + - *436 + - &576 name: deployment_id description: deployment_id parameter in: path @@ -83482,7 +83954,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *574 examples: default: value: @@ -83547,9 +84019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *430 - - *431 - - *571 + - *435 + - *436 + - *576 responses: '204': description: Response @@ -83571,9 +84043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *430 - - *431 - - *571 + - *435 + - *436 + - *576 - *17 - *19 responses: @@ -83583,7 +84055,7 @@ paths: application/json: schema: type: array - items: &572 + items: &577 title: Deployment Status description: The status of a deployment. type: object @@ -83747,9 +84219,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 + - *435 + - *436 + - *576 requestBody: required: true content: @@ -83824,9 +84296,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *577 examples: - default: &573 + default: &578 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -83882,9 +84354,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 + - *435 + - *436 + - *576 - name: status_id in: path required: true @@ -83895,9 +84367,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *577 examples: - default: *573 + default: *578 '404': *6 x-github: githubCloudOnly: false @@ -83924,12 +84396,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 - - *574 - - *575 - - *576 - - *577 + - *435 + - *436 + - *579 + - *580 + - *581 + - *582 - *17 - *19 responses: @@ -83939,9 +84411,9 @@ paths: application/json: schema: type: array - items: *578 + items: *583 examples: - default: *579 + default: *584 '404': *6 '403': *27 '500': *38 @@ -83965,8 +84437,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *435 + - *436 - name: alert_number in: path required: true @@ -83978,7 +84450,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *578 + schema: *583 examples: default: value: @@ -84034,8 +84506,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *435 + - *436 - name: alert_number in: path required: true @@ -84094,12 +84566,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *435 + - *436 - *92 - *93 - *94 - - *580 + - *585 - *17 - *19 responses: @@ -84109,9 +84581,9 @@ paths: application/json: schema: type: array - items: *581 + items: *586 examples: - default: *582 + default: *587 '404': *6 '403': *27 '500': *38 @@ -84136,8 +84608,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *435 + - *436 - name: alert_number in: path required: true @@ -84149,7 +84621,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *581 + schema: *586 examples: default: value: @@ -84207,8 +84679,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *435 + - *436 - name: alert_number in: path required: true @@ -84277,8 +84749,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 + - *435 + - *436 requestBody: required: true content: @@ -84335,8 +84807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -84354,7 +84826,7 @@ paths: - 5 environments: type: array - items: &584 + items: &589 title: Environment description: Details of a deployment environment type: object @@ -84416,7 +84888,7 @@ paths: type: string examples: - wait_timer - wait_timer: &586 + wait_timer: &591 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -84458,11 +84930,11 @@ paths: items: type: object properties: - type: *583 + type: *588 reviewer: anyOf: - *4 - - *273 + - *280 required: - id - node_id @@ -84485,7 +84957,7 @@ paths: - id - node_id - type - deployment_branch_policy: &587 + deployment_branch_policy: &592 type: - object - 'null' @@ -84602,9 +85074,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *430 - - *431 - - &585 + - *435 + - *436 + - &590 name: environment_name in: path required: true @@ -84617,9 +85089,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *589 examples: - default: &588 + default: &593 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -84703,9 +85175,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 + - *435 + - *436 + - *590 requestBody: required: false content: @@ -84715,7 +85187,7 @@ paths: - object - 'null' properties: - wait_timer: *586 + wait_timer: *591 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -84734,14 +85206,14 @@ paths: items: type: object properties: - type: *583 + type: *588 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: *592 additionalProperties: false examples: default: @@ -84761,9 +85233,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *589 examples: - default: *588 + default: *593 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -84787,9 +85259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *430 - - *431 - - *585 + - *435 + - *436 + - *590 responses: '204': description: Default response @@ -84814,9 +85286,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 + - *435 + - *436 + - *590 - *17 - *19 responses: @@ -84835,7 +85307,7 @@ paths: - 2 branch_policies: type: array - items: &589 + items: &594 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -84896,9 +85368,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 + - *435 + - *436 + - *590 requestBody: required: true content: @@ -84946,9 +85418,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *594 examples: - example-wildcard: &590 + example-wildcard: &595 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -84990,10 +85462,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 + - *435 + - *436 + - *590 + - &596 name: branch_policy_id in: path required: true @@ -85005,9 +85477,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *594 examples: - default: *590 + default: *595 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85026,10 +85498,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 + - *435 + - *436 + - *590 + - *596 requestBody: required: true content: @@ -85058,9 +85530,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *594 examples: - default: *590 + default: *595 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85079,10 +85551,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 + - *435 + - *436 + - *590 + - *596 responses: '204': description: Response @@ -85107,9 +85579,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 + - *590 + - *436 + - *435 responses: '200': description: List of deployment protection rules @@ -85126,7 +85598,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &592 + items: &597 title: Deployment protection rule description: Deployment protection rule type: object @@ -85148,7 +85620,7 @@ paths: for the environment. examples: - true - app: &593 + app: &598 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -85251,9 +85723,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 + - *590 + - *436 + - *435 requestBody: content: application/json: @@ -85274,9 +85746,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *592 + schema: *597 examples: - default: &594 + default: &599 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -85311,9 +85783,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 + - *590 + - *436 + - *435 - *19 - *17 responses: @@ -85333,7 +85805,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *593 + items: *598 examples: default: value: @@ -85368,10 +85840,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 + - *435 + - *436 + - *590 + - &600 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -85383,9 +85855,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *597 examples: - default: *594 + default: *599 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85406,10 +85878,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 + - *590 + - *436 + - *435 + - *600 responses: '204': description: Response @@ -85435,9 +85907,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *430 - - *431 - - *585 + - *435 + - *436 + - *590 - *17 - *19 responses: @@ -85455,9 +85927,9 @@ paths: type: integer secrets: type: array - items: *467 + items: *472 examples: - default: *468 + default: *473 headers: Link: *41 x-github: @@ -85482,17 +85954,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 + - *435 + - *436 + - *590 responses: '200': description: Response content: application/json: - schema: *469 + schema: *474 examples: - default: *470 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85514,18 +85986,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 + - *435 + - *436 + - *590 + - *263 responses: '200': description: Response content: application/json: - schema: *467 + schema: *472 examples: - default: *596 + default: *601 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85547,10 +86019,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 + - *435 + - *436 + - *590 + - *263 requestBody: required: true content: @@ -85581,7 +86053,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -85607,10 +86079,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 + - *435 + - *436 + - *590 + - *263 responses: '204': description: Default response @@ -85635,10 +86107,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 + - *435 + - *436 + - *590 + - *459 - *19 responses: '200': @@ -85655,9 +86127,9 @@ paths: type: integer variables: type: array - items: *471 + items: *476 examples: - default: *472 + default: *477 headers: Link: *41 x-github: @@ -85680,9 +86152,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 + - *435 + - *436 + - *590 requestBody: required: true content: @@ -85709,7 +86181,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -85734,18 +86206,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 + - *435 + - *436 + - *590 + - *266 responses: '200': description: Response content: application/json: - schema: *471 + schema: *476 examples: - default: *597 + default: *602 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85766,10 +86238,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 + - *435 + - *436 + - *266 + - *590 requestBody: required: true content: @@ -85811,10 +86283,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 + - *435 + - *436 + - *266 + - *590 responses: '204': description: Response @@ -85836,8 +86308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -85847,7 +86319,7 @@ paths: application/json: schema: type: array - items: *208 + items: *214 examples: 200-response: value: @@ -85905,8 +86377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *430 - - *431 + - *435 + - *436 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -85928,7 +86400,7 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: default: value: @@ -86065,8 +86537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: false content: @@ -86099,9 +86571,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *448 examples: - default: *445 + default: *450 '400': *14 '422': *15 '403': *27 @@ -86122,8 +86594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -86182,8 +86654,8 @@ paths: application/json: schema: oneOf: - - *223 - - *598 + - *230 + - *603 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86208,8 +86680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *430 - - *431 + - *435 + - *436 - name: file_sha in: path required: true @@ -86309,8 +86781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -86419,7 +86891,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &604 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -86646,15 +87118,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 + - *435 + - *436 + - *551 responses: '200': description: Response content: application/json: - schema: *599 + schema: *604 examples: default: value: @@ -86710,9 +87182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *430 - - *431 - - &600 + - *435 + - *436 + - &605 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 +87201,7 @@ paths: application/json: schema: type: array - items: &601 + items: &606 title: Git Reference description: Git references within a repository type: object @@ -86805,17 +87277,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *430 - - *431 - - *600 + - *435 + - *436 + - *605 responses: '200': description: Response content: application/json: - schema: *601 + schema: *606 examples: - default: &602 + default: &607 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -86844,8 +87316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -86874,9 +87346,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *606 examples: - default: *602 + default: *607 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -86902,9 +87374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *430 - - *431 - - *600 + - *435 + - *436 + - *605 requestBody: required: true content: @@ -86933,9 +87405,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *606 examples: - default: *602 + default: *607 '422': *15 '409': *107 x-github: @@ -86953,9 +87425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *430 - - *431 - - *600 + - *435 + - *436 + - *605 responses: '204': description: Response @@ -87010,8 +87482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -87078,7 +87550,7 @@ paths: description: Response content: application/json: - schema: &604 + schema: &609 title: Git Tag description: Metadata for a Git tag type: object @@ -87134,7 +87606,7 @@ paths: - sha - type - url - verification: *603 + verification: *608 required: - sha - url @@ -87144,7 +87616,7 @@ paths: - tag - message examples: - default: &605 + default: &610 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -87217,8 +87689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *430 - - *431 + - *435 + - *436 - name: tag_sha in: path required: true @@ -87229,9 +87701,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *609 examples: - default: *605 + default: *610 '404': *6 '409': *107 x-github: @@ -87255,8 +87727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -87330,7 +87802,7 @@ paths: description: Response content: application/json: - schema: &606 + schema: &611 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -87432,8 +87904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *430 - - *431 + - *435 + - *436 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -87456,7 +87928,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *611 examples: default-response: summary: Default response @@ -87515,8 +87987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -87526,7 +87998,7 @@ paths: application/json: schema: type: array - items: &607 + items: &612 title: Webhook description: Webhooks for repositories. type: object @@ -87589,7 +88061,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &849 + last_response: &853 title: Hook Response type: object properties: @@ -87666,8 +88138,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: false content: @@ -87720,9 +88192,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *612 examples: - default: &608 + default: &613 value: type: Repository id: 12345678 @@ -87770,17 +88242,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 + - *435 + - *436 + - *313 responses: '200': description: Response content: application/json: - schema: *607 + schema: *612 examples: - default: *608 + default: *613 '404': *6 x-github: githubCloudOnly: false @@ -87800,9 +88272,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 + - *435 + - *436 + - *313 requestBody: required: true content: @@ -87847,9 +88319,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *612 examples: - default: *608 + default: *613 '422': *15 '404': *6 x-github: @@ -87870,9 +88342,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 + - *435 + - *436 + - *313 responses: '204': description: Response @@ -87896,9 +88368,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 + - *435 + - *436 + - *313 responses: '200': description: Response @@ -87925,9 +88397,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 + - *435 + - *436 + - *313 requestBody: required: false content: @@ -87971,11 +88443,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 + - *435 + - *436 + - *313 - *17 - - *309 + - *314 responses: '200': description: Response @@ -87983,9 +88455,9 @@ paths: application/json: schema: type: array - items: *310 + items: *315 examples: - default: *311 + default: *316 '400': *14 '422': *15 x-github: @@ -88004,18 +88476,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 + - *435 + - *436 + - *313 - *16 responses: '200': description: Response content: application/json: - schema: *312 + schema: *317 examples: - default: *313 + default: *318 '400': *14 '422': *15 x-github: @@ -88034,9 +88506,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 + - *435 + - *436 + - *313 - *16 responses: '202': *37 @@ -88059,9 +88531,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 + - *435 + - *436 + - *313 responses: '204': description: Response @@ -88086,9 +88558,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 + - *435 + - *436 + - *313 responses: '204': description: Response @@ -88111,8 +88583,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 + - *435 + - *436 responses: '200': description: Response if immutable releases are enabled @@ -88160,10 +88632,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *430 - - *431 + - *435 + - *436 responses: - '204': *129 + '204': *134 '409': *107 x-github: githubCloudOnly: false @@ -88181,10 +88653,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *430 - - *431 + - *435 + - *436 responses: - '204': *129 + '204': *134 '409': *107 x-github: githubCloudOnly: false @@ -88239,14 +88711,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 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: &609 + schema: &614 title: Import description: A repository import from an external source. type: object @@ -88353,7 +88825,7 @@ paths: - html_url - authors_url examples: - default: &612 + default: &617 value: vcs: subversion use_lfs: true @@ -88369,7 +88841,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': &615 description: Unavailable due to service under maintenance. content: application/json: @@ -88398,8 +88870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -88447,7 +88919,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *614 examples: default: value: @@ -88472,7 +88944,7 @@ paths: type: string '422': *15 '404': *6 - '503': *610 + '503': *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88500,8 +88972,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: false content: @@ -88553,7 +89025,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *614 examples: example-1: summary: Example 1 @@ -88601,7 +89073,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': *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88624,12 +89096,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *430 - - *431 + - *435 + - *436 responses: '204': description: Response - '503': *610 + '503': *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88655,9 +89127,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 + - *435 + - *436 + - &797 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -88671,7 +89143,7 @@ paths: application/json: schema: type: array - items: &611 + items: &616 title: Porter Author description: Porter Author type: object @@ -88725,7 +89197,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': *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88750,8 +89222,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 + - *435 + - *436 - name: author_id in: path required: true @@ -88781,7 +89253,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *616 examples: default: value: @@ -88794,7 +89266,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *610 + '503': *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88818,8 +89290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response @@ -88860,7 +89332,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *610 + '503': *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88888,8 +89360,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 + - *435 + - *436 requestBody: required: true content: @@ -88916,11 +89388,11 @@ paths: description: Response content: application/json: - schema: *609 + schema: *614 examples: - default: *612 + default: *617 '422': *15 - '503': *610 + '503': *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88943,8 +89415,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 + - *435 + - *436 responses: '200': description: Response @@ -88952,8 +89424,8 @@ paths: application/json: schema: *20 examples: - default: *613 - '301': *444 + default: *618 + '301': *449 '404': *6 x-github: githubCloudOnly: false @@ -88973,8 +89445,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 + - *435 + - *436 responses: '200': description: Response @@ -88982,12 +89454,12 @@ paths: application/json: schema: anyOf: - - *326 + - *331 - type: object properties: {} additionalProperties: false examples: - default: &615 + default: &620 value: limit: collaborators_only origin: repository @@ -89012,13 +89484,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 + - *435 + - *436 requestBody: required: true content: application/json: - schema: *614 + schema: *619 examples: default: summary: Example request body @@ -89030,9 +89502,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *331 examples: - default: *615 + default: *620 '409': description: Response x-github: @@ -89054,8 +89526,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 + - *435 + - *436 responses: '204': description: Response @@ -89078,8 +89550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -89089,9 +89561,9 @@ paths: application/json: schema: type: array - items: *616 + items: *621 examples: - default: &786 + default: &790 value: - id: 1 repository: @@ -89222,9 +89694,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 + - *435 + - *436 + - *335 requestBody: required: false content: @@ -89253,7 +89725,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *621 examples: default: value: @@ -89384,9 +89856,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 + - *435 + - *436 + - *335 responses: '204': description: Response @@ -89417,8 +89889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *430 - - *431 + - *435 + - *436 - 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 +89938,7 @@ paths: required: false schema: type: string - - *334 + - *339 - name: sort description: What to sort results by. in: query @@ -89479,7 +89951,7 @@ paths: - comments default: created - *99 - - *189 + - *195 - *17 - *19 responses: @@ -89489,9 +89961,9 @@ paths: application/json: schema: type: array - items: *183 + items: *189 examples: - default: &623 + default: &628 value: - id: 1 node_id: MDU6SXNzdWUx @@ -89639,7 +90111,7 @@ paths: state_reason: completed headers: Link: *41 - '301': *444 + '301': *449 '422': *15 '404': *6 x-github: @@ -89668,8 +90140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -89759,9 +90231,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: &620 + default: &625 value: id: 1 node_id: MDU6SXNzdWUx @@ -89915,9 +90387,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *163 + '503': *168 '404': *6 - '410': *441 + '410': *446 x-github: triggersNotification: true githubCloudOnly: false @@ -89945,9 +90417,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 + - *435 + - *436 + - *212 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -89957,7 +90429,7 @@ paths: enum: - asc - desc - - *189 + - *195 - *17 - *19 responses: @@ -89967,9 +90439,9 @@ paths: application/json: schema: type: array - items: *617 + items: *622 examples: - default: &622 + default: &627 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90027,17 +90499,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 + - *435 + - *436 + - *204 responses: '200': description: Response content: application/json: - schema: *617 + schema: *622 examples: - default: &618 + default: &623 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90091,9 +90563,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 + - *435 + - *436 + - *204 requestBody: required: true content: @@ -90115,9 +90587,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *622 examples: - default: *618 + default: *623 '422': *15 x-github: githubCloudOnly: false @@ -90135,9 +90607,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 + - *435 + - *436 + - *204 responses: '204': description: Response @@ -90157,9 +90629,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 + - *435 + - *436 + - *204 - 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 +90657,9 @@ paths: application/json: schema: type: array - items: *419 + items: *424 examples: - default: *421 + default: *426 headers: Link: *41 '404': *6 @@ -90208,9 +90680,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 + - *435 + - *436 + - *204 requestBody: required: true content: @@ -90242,16 +90714,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '201': description: Reaction created content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -90273,10 +90745,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 + - *435 + - *436 + - *204 + - *427 responses: '204': description: Response @@ -90296,8 +90768,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 + - *435 + - *436 - *17 - *19 responses: @@ -90307,7 +90779,7 @@ paths: application/json: schema: type: array - items: &619 + items: &624 title: Issue Event description: Issue Event type: object @@ -90354,7 +90826,7 @@ paths: issue: anyOf: - type: 'null' - - *183 + - *189 label: title: Issue Event Label description: Issue Event Label @@ -90387,7 +90859,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *273 + requested_team: *280 dismissed_review: title: Issue Event Dismissed Review type: object @@ -90454,7 +90926,7 @@ paths: required: - from - to - author_association: *184 + author_association: *190 lock_reason: type: - string @@ -90646,8 +91118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *430 - - *431 + - *435 + - *436 - name: event_id in: path required: true @@ -90658,7 +91130,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *624 examples: default: value: @@ -90851,7 +91323,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *441 + '410': *446 '403': *27 x-github: githubCloudOnly: false @@ -90885,9 +91357,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *430 - - *431 - - &621 + - *435 + - *436 + - &626 name: issue_number description: The number that identifies the issue. in: path @@ -90899,12 +91371,12 @@ paths: description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: *620 - '301': *444 + default: *625 + '301': *449 '404': *6 - '410': *441 + '410': *446 '304': *35 x-github: githubCloudOnly: false @@ -90929,9 +91401,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *430 - - *431 - - *621 + - *435 + - *436 + - *626 requestBody: required: false content: @@ -91050,15 +91522,15 @@ paths: description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: *620 + default: *625 '422': *15 - '503': *163 + '503': *168 '403': *27 - '301': *444 + '301': *449 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91076,9 +91548,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 + - *435 + - *436 + - *626 requestBody: required: false content: @@ -91104,9 +91576,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: *620 + default: *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91122,9 +91594,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 + - *435 + - *436 + - *626 requestBody: content: application/json: @@ -91149,9 +91621,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: *620 + default: *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91173,9 +91645,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 + - *435 + - *436 + - *626 - name: assignee in: path required: true @@ -91215,10 +91687,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 + - *435 + - *436 + - *626 + - *195 - *17 - *19 responses: @@ -91228,13 +91700,13 @@ paths: application/json: schema: type: array - items: *617 + items: *622 examples: - default: *622 + default: *627 headers: Link: *41 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91263,9 +91735,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 + - *435 + - *436 + - *626 requestBody: required: true content: @@ -91287,16 +91759,16 @@ paths: description: Response content: application/json: - schema: *617 + schema: *622 examples: - default: *618 + default: *623 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *441 + '410': *446 '422': *15 '404': *6 x-github: @@ -91324,9 +91796,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 + - *435 + - *436 + - *626 - *17 - *19 responses: @@ -91336,14 +91808,14 @@ paths: application/json: schema: type: array - items: *183 + items: *189 examples: - default: *623 + default: *628 headers: Link: *41 - '301': *444 + '301': *449 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91371,9 +91843,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 + - *435 + - *436 + - *626 requestBody: required: true content: @@ -91395,17 +91867,17 @@ paths: description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: *620 + default: *625 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *444 + '301': *449 '403': *27 - '410': *441 + '410': *446 '422': *15 '404': *6 x-github: @@ -91436,9 +91908,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 + - *435 + - *436 + - *626 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -91450,15 +91922,15 @@ paths: description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: *620 - '301': *444 + default: *625 + '301': *449 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *441 + '410': *446 x-github: triggersNotification: true githubCloudOnly: false @@ -91484,9 +91956,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 + - *435 + - *436 + - *626 - *17 - *19 responses: @@ -91496,14 +91968,14 @@ paths: application/json: schema: type: array - items: *183 + items: *189 examples: - default: *623 + default: *628 headers: Link: *41 - '301': *444 + '301': *449 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91520,9 +91992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *430 - - *431 - - *621 + - *435 + - *436 + - *626 - *17 - *19 responses: @@ -91536,7 +92008,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &625 + - &630 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -91585,7 +92057,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &626 + - &631 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -91713,7 +92185,7 @@ paths: - performed_via_github_app - assignee - assigner - - &627 + - &632 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -91759,7 +92231,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &628 + - &633 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -91805,7 +92277,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &629 + - &634 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -91854,7 +92326,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &630 + - &635 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -91883,7 +92355,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *273 + requested_team: *280 requested_reviewer: *4 required: - review_requester @@ -91896,7 +92368,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &631 + - &636 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -91925,7 +92397,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *273 + requested_team: *280 requested_reviewer: *4 required: - review_requester @@ -91938,7 +92410,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &632 + - &637 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -91994,7 +92466,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &633 + - &638 title: Locked Issue Event description: Locked Issue Event type: object @@ -92039,7 +92511,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &634 + - &639 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -92100,7 +92572,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &635 + - &640 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -92161,7 +92633,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &636 + - &641 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -92222,7 +92694,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &637 + - &642 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -92315,7 +92787,7 @@ paths: color: red headers: Link: *41 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92332,9 +92804,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 + - *435 + - *436 + - *626 - *17 - *19 responses: @@ -92344,9 +92816,9 @@ paths: application/json: schema: type: array - items: *182 + items: *188 examples: - default: &624 + default: &629 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92364,9 +92836,9 @@ paths: default: false headers: Link: *41 - '301': *444 + '301': *449 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92383,9 +92855,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 + - *435 + - *436 + - *626 requestBody: required: false content: @@ -92444,12 +92916,12 @@ paths: application/json: schema: type: array - items: *182 + items: *188 examples: - default: *624 - '301': *444 + default: *629 + '301': *449 '404': *6 - '410': *441 + '410': *446 '422': *15 x-github: githubCloudOnly: false @@ -92466,9 +92938,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 + - *435 + - *436 + - *626 requestBody: required: false content: @@ -92528,12 +93000,12 @@ paths: application/json: schema: type: array - items: *182 + items: *188 examples: - default: *624 - '301': *444 + default: *629 + '301': *449 '404': *6 - '410': *441 + '410': *446 '422': *15 x-github: githubCloudOnly: false @@ -92550,15 +93022,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 + - *435 + - *436 + - *626 responses: '204': description: Response - '301': *444 + '301': *449 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92577,9 +93049,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 + - *435 + - *436 + - *626 - name: name in: path required: true @@ -92592,7 +93064,7 @@ paths: application/json: schema: type: array - items: *182 + items: *188 examples: default: value: @@ -92603,9 +93075,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *444 + '301': *449 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92625,9 +93097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *430 - - *431 - - *621 + - *435 + - *436 + - *626 requestBody: required: false content: @@ -92656,7 +93128,7 @@ paths: '204': description: Response '403': *27 - '410': *441 + '410': *446 '404': *6 '422': *15 x-github: @@ -92674,9 +93146,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *430 - - *431 - - *621 + - *435 + - *436 + - *626 responses: '204': description: Response @@ -92706,20 +93178,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 + - *435 + - *436 + - *626 responses: '200': description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: *620 - '301': *444 + default: *625 + '301': *449 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92736,9 +93208,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 + - *435 + - *436 + - *626 - 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 +93236,13 @@ paths: application/json: schema: type: array - items: *419 + items: *424 examples: - default: *421 + default: *426 headers: Link: *41 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92788,9 +93260,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 + - *435 + - *436 + - *626 requestBody: required: true content: @@ -92822,16 +93294,16 @@ paths: description: Response content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '201': description: Response content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -92853,10 +93325,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 + - *435 + - *436 + - *626 + - *427 responses: '204': description: Response @@ -92885,9 +93357,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 + - *435 + - *436 + - *626 requestBody: required: true content: @@ -92909,9 +93381,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: *620 + default: *625 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -92944,9 +93416,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 + - *435 + - *436 + - *626 - *17 - *19 responses: @@ -92956,13 +93428,13 @@ paths: application/json: schema: type: array - items: *183 + items: *189 examples: - default: *623 + default: *628 headers: Link: *41 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92990,9 +93462,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 + - *435 + - *436 + - *626 requestBody: required: true content: @@ -93019,16 +93491,16 @@ paths: description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: *620 + default: *625 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *441 + '410': *446 '422': *15 '404': *6 x-github: @@ -93048,9 +93520,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 + - *435 + - *436 + - *626 requestBody: required: true content: @@ -93081,13 +93553,13 @@ paths: description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: *620 + default: *625 '403': *27 '404': *6 '422': *7 - '503': *163 + '503': *168 x-github: triggersNotification: true githubCloudOnly: false @@ -93105,9 +93577,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 + - *435 + - *436 + - *626 - *17 - *19 responses: @@ -93122,11 +93594,6 @@ paths: description: Timeline Event type: object anyOf: - - *625 - - *626 - - *627 - - *628 - - *629 - *630 - *631 - *632 @@ -93135,6 +93602,11 @@ paths: - *635 - *636 - *637 + - *638 + - *639 + - *640 + - *641 + - *642 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -93182,12 +93654,12 @@ paths: issue_url: type: string format: uri - author_association: *184 + author_association: *190 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *185 + reactions: *191 required: - event - actor @@ -93218,7 +93690,7 @@ paths: properties: type: type: string - issue: *183 + issue: *189 required: - event - created_at @@ -93440,7 +93912,7 @@ paths: type: string body_text: type: string - author_association: *184 + author_association: *190 required: - event - id @@ -93463,7 +93935,7 @@ paths: type: string comments: type: array - items: &656 + items: &661 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -93568,7 +94040,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *184 + author_association: *190 _links: type: object properties: @@ -93663,7 +94135,7 @@ paths: enum: - line - file - reactions: *185 + reactions: *191 body_html: type: string examples: @@ -93701,7 +94173,7 @@ paths: type: string comments: type: array - items: *544 + items: *549 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -93976,7 +94448,7 @@ paths: headers: Link: *41 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93993,8 +94465,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 + - *435 + - *436 - *17 - *19 responses: @@ -94004,7 +94476,7 @@ paths: application/json: schema: type: array - items: &638 + items: &643 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -94072,8 +94544,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 + - *435 + - *436 requestBody: required: true content: @@ -94109,9 +94581,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *643 examples: - default: &639 + default: &644 value: id: 1 key: ssh-rsa AAA... @@ -94145,9 +94617,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 + - *435 + - *436 + - &645 name: key_id description: The unique identifier of the key. in: path @@ -94159,9 +94631,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *643 examples: - default: *639 + default: *644 '404': *6 x-github: githubCloudOnly: false @@ -94179,9 +94651,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 + - *435 + - *436 + - *645 responses: '204': description: Response @@ -94201,8 +94673,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 + - *435 + - *436 - *17 - *19 responses: @@ -94212,9 +94684,9 @@ paths: application/json: schema: type: array - items: *182 + items: *188 examples: - default: *624 + default: *629 headers: Link: *41 '404': *6 @@ -94235,8 +94707,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -94272,9 +94744,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *188 examples: - default: &641 + default: &646 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94306,8 +94778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *430 - - *431 + - *435 + - *436 - name: name in: path required: true @@ -94318,9 +94790,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *188 examples: - default: *641 + default: *646 '404': *6 x-github: githubCloudOnly: false @@ -94337,8 +94809,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *430 - - *431 + - *435 + - *436 - name: name in: path required: true @@ -94377,7 +94849,7 @@ paths: description: Response content: application/json: - schema: *182 + schema: *188 examples: default: value: @@ -94403,8 +94875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *430 - - *431 + - *435 + - *436 - name: name in: path required: true @@ -94430,8 +94902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response @@ -94467,8 +94939,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 + - *435 + - *436 responses: '202': *37 '403': @@ -94496,8 +94968,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 + - *435 + - *436 responses: '204': description: Response @@ -94523,9 +94995,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 + - *435 + - *436 + - *527 responses: '200': description: Response @@ -94591,7 +95063,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *192 required: - _links - git_url @@ -94672,8 +95144,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 + - *435 + - *436 requestBody: required: true content: @@ -94738,8 +95210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -94773,9 +95245,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *545 + schema: *550 examples: - default: *642 + default: *647 '204': description: Response when already merged '404': @@ -94800,8 +95272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *430 - - *431 + - *435 + - *436 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -94842,7 +95314,7 @@ paths: application/json: schema: type: array - items: *368 + items: *373 examples: default: value: @@ -94898,8 +95370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -94939,9 +95411,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *373 examples: - default: &643 + default: &648 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 +95472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *430 - - *431 - - &644 + - *435 + - *436 + - &649 name: milestone_number description: The number that identifies the milestone. in: path @@ -95014,9 +95486,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *373 examples: - default: *643 + default: *648 '404': *6 x-github: githubCloudOnly: false @@ -95033,9 +95505,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *430 - - *431 - - *644 + - *435 + - *436 + - *649 requestBody: required: false content: @@ -95073,9 +95545,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *373 examples: - default: *643 + default: *648 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95091,9 +95563,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *430 - - *431 - - *644 + - *435 + - *436 + - *649 responses: '204': description: Response @@ -95114,9 +95586,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 + - *435 + - *436 + - *649 - *17 - *19 responses: @@ -95126,9 +95598,9 @@ paths: application/json: schema: type: array - items: *182 + items: *188 examples: - default: *624 + default: *629 headers: Link: *41 x-github: @@ -95147,12 +95619,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 + - *435 + - *436 + - *650 + - *651 + - *195 + - *652 - *17 - *19 responses: @@ -95162,9 +95634,9 @@ paths: application/json: schema: type: array - items: *209 + items: *215 examples: - default: *648 + default: *653 headers: Link: *41 x-github: @@ -95188,8 +95660,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 + - *435 + - *436 requestBody: required: false content: @@ -95247,14 +95719,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 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: &649 + schema: &654 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -95398,7 +95870,7 @@ paths: - custom_404 - public examples: - default: &650 + default: &655 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -95439,8 +95911,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 + - *435 + - *436 requestBody: required: true content: @@ -95495,9 +95967,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *654 examples: - default: *650 + default: *655 '422': *15 '409': *107 x-github: @@ -95520,8 +95992,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 + - *435 + - *436 requestBody: required: true content: @@ -95629,8 +96101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *430 - - *431 + - *435 + - *436 responses: '204': description: Response @@ -95656,8 +96128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -95667,7 +96139,7 @@ paths: application/json: schema: type: array - items: &651 + items: &656 title: Page Build description: Page Build type: object @@ -95759,8 +96231,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 + - *435 + - *436 responses: '201': description: Response @@ -95807,16 +96279,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *651 + schema: *656 examples: - default: &652 + default: &657 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -95864,8 +96336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *430 - - *431 + - *435 + - *436 - name: build_id in: path required: true @@ -95876,9 +96348,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *656 examples: - default: *652 + default: *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95898,8 +96370,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 + - *435 + - *436 requestBody: required: true content: @@ -96007,9 +96479,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 + - *435 + - *436 + - &658 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -96067,11 +96539,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 + - *435 + - *436 + - *658 responses: - '204': *129 + '204': *134 '404': *6 x-github: githubCloudOnly: false @@ -96096,8 +96568,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 + - *435 + - *436 responses: '200': description: Response @@ -96365,7 +96837,7 @@ paths: description: Empty response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -96392,8 +96864,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 + - *435 + - *436 responses: '200': description: Private vulnerability reporting status @@ -96430,10 +96902,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 + - *435 + - *436 responses: - '204': *129 + '204': *134 '422': *14 x-github: githubCloudOnly: false @@ -96452,10 +96924,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 + - *435 + - *436 responses: - '204': *129 + '204': *134 '422': *14 x-github: githubCloudOnly: false @@ -96476,8 +96948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *430 - - *431 + - *435 + - *436 - name: state description: Indicates the state of the projects to return. in: query @@ -96498,7 +96970,7 @@ paths: application/json: schema: type: array - items: *362 + items: *367 examples: default: value: @@ -96538,7 +97010,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *441 + '410': *446 '422': *7 x-github: githubCloudOnly: false @@ -96561,8 +97033,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 + - *435 + - *436 requestBody: required: true content: @@ -96588,13 +97060,13 @@ paths: description: Response content: application/json: - schema: *362 + schema: *367 examples: - default: *440 + default: *445 '401': *23 '403': *27 '404': *6 - '410': *441 + '410': *446 '422': *7 x-github: githubCloudOnly: false @@ -96617,8 +97089,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 + - *435 + - *436 responses: '200': description: Response @@ -96626,7 +97098,7 @@ paths: application/json: schema: type: array - items: *376 + items: *381 examples: default: value: @@ -96657,8 +97129,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 + - *435 + - *436 requestBody: required: true content: @@ -96670,7 +97142,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *376 + items: *381 required: - properties examples: @@ -96720,8 +97192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *430 - - *431 + - *435 + - *436 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -96781,9 +97253,9 @@ paths: application/json: schema: type: array - items: *549 + items: *554 examples: - default: *654 + default: *659 headers: Link: *41 '304': *35 @@ -96815,8 +97287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -96883,7 +97355,7 @@ paths: description: Response content: application/json: - schema: &658 + schema: &663 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -97012,7 +97484,7 @@ paths: milestone: anyOf: - type: 'null' - - *368 + - *373 active_lock_reason: type: - string @@ -97067,7 +97539,7 @@ paths: type: - array - 'null' - items: *344 + items: *349 head: type: object properties: @@ -97105,14 +97577,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: *374 + commits: *374 + statuses: *374 + html: *374 + issue: *374 + review_comments: *374 + review_comment: *374 + self: *374 required: - comments - commits @@ -97122,8 +97594,8 @@ paths: - review_comments - review_comment - self - author_association: *184 - auto_merge: *655 + author_association: *190 + auto_merge: *660 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -97225,7 +97697,7 @@ paths: - merged_by - review_comments examples: - default: &659 + default: &664 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -97752,8 +98224,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 + - *435 + - *436 - name: sort in: query required: false @@ -97772,7 +98244,7 @@ paths: enum: - asc - desc - - *189 + - *195 - *17 - *19 responses: @@ -97782,9 +98254,9 @@ paths: application/json: schema: type: array - items: *656 + items: *661 examples: - default: &661 + default: &666 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97861,17 +98333,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 + - *435 + - *436 + - *204 responses: '200': description: Response content: application/json: - schema: *656 + schema: *661 examples: - default: &657 + default: &662 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97946,9 +98418,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 + - *435 + - *436 + - *204 requestBody: required: true content: @@ -97970,9 +98442,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *661 examples: - default: *657 + default: *662 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97988,9 +98460,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 + - *435 + - *436 + - *204 responses: '204': description: Response @@ -98011,9 +98483,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 + - *435 + - *436 + - *204 - 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 +98511,9 @@ paths: application/json: schema: type: array - items: *419 + items: *424 examples: - default: *421 + default: *426 headers: Link: *41 '404': *6 @@ -98062,9 +98534,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 + - *435 + - *436 + - *204 requestBody: required: true content: @@ -98096,16 +98568,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '201': description: Reaction created content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -98127,10 +98599,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 + - *435 + - *436 + - *204 + - *427 responses: '204': description: Response @@ -98173,9 +98645,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 + - *435 + - *436 + - &665 name: pull_number description: The number that identifies the pull request. in: path @@ -98188,9 +98660,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *658 + schema: *663 examples: - default: *659 + default: *664 '304': *35 '404': *6 '406': @@ -98199,7 +98671,7 @@ paths: application/json: schema: *3 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98225,9 +98697,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 + - *435 + - *436 + - *665 requestBody: required: false content: @@ -98269,9 +98741,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *663 examples: - default: *659 + default: *664 '422': *15 '403': *27 x-github: @@ -98293,9 +98765,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 + - *435 + - *436 + - *665 requestBody: required: true content: @@ -98356,21 +98828,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *341 examples: - default: *536 + default: *541 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *341 examples: - default: *536 + default: *541 '401': *23 '403': *27 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98396,10 +98868,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 + - *435 + - *436 + - *665 + - *212 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -98409,7 +98881,7 @@ paths: enum: - asc - desc - - *189 + - *195 - *17 - *19 responses: @@ -98419,9 +98891,9 @@ paths: application/json: schema: type: array - items: *656 + items: *661 examples: - default: *661 + default: *666 headers: Link: *41 x-github: @@ -98454,9 +98926,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 + - *435 + - *436 + - *665 requestBody: required: true content: @@ -98562,7 +99034,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *661 examples: example-for-a-multi-line-comment: value: @@ -98650,10 +99122,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 + - *435 + - *436 + - *665 + - *204 requestBody: required: true content: @@ -98675,7 +99147,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *661 examples: default: value: @@ -98761,9 +99233,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 + - *435 + - *436 + - *665 - *17 - *19 responses: @@ -98773,9 +99245,9 @@ paths: application/json: schema: type: array - items: *545 + items: *550 examples: - default: *662 + default: *667 headers: Link: *41 x-github: @@ -98805,9 +99277,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 + - *435 + - *436 + - *665 - *17 - *19 responses: @@ -98817,7 +99289,7 @@ paths: application/json: schema: type: array - items: *556 + items: *561 examples: default: value: @@ -98836,7 +99308,7 @@ paths: Link: *41 '422': *15 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98855,9 +99327,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 + - *435 + - *436 + - *665 responses: '204': description: Response if pull request has been merged @@ -98880,9 +99352,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 + - *435 + - *436 + - *665 requestBody: required: false content: @@ -98994,9 +99466,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 + - *435 + - *436 + - *665 responses: '200': description: Response @@ -99012,7 +99484,7 @@ paths: items: *4 teams: type: array - items: *273 + items: *280 required: - users - teams @@ -99071,9 +99543,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 + - *435 + - *436 + - *665 requestBody: required: false content: @@ -99110,7 +99582,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *554 examples: default: value: @@ -99646,9 +100118,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 + - *435 + - *436 + - *665 requestBody: required: true content: @@ -99682,7 +100154,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *554 examples: default: value: @@ -100187,9 +100659,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 + - *435 + - *436 + - *665 - *17 - *19 responses: @@ -100199,7 +100671,7 @@ paths: application/json: schema: type: array - items: &663 + items: &668 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -100273,7 +100745,7 @@ paths: type: string body_text: type: string - author_association: *184 + author_association: *190 required: - id - node_id @@ -100355,9 +100827,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 + - *435 + - *436 + - *665 requestBody: required: false content: @@ -100447,9 +100919,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *668 examples: - default: &665 + default: &670 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100512,10 +100984,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 + - *435 + - *436 + - *665 + - &669 name: review_id description: The unique identifier of the review. in: path @@ -100527,9 +100999,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *668 examples: - default: &666 + default: &671 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100588,10 +101060,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 + - *435 + - *436 + - *665 + - *669 requestBody: required: true content: @@ -100614,7 +101086,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *668 examples: default: value: @@ -100676,18 +101148,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 + - *435 + - *436 + - *665 + - *669 responses: '200': description: Response content: application/json: - schema: *663 + schema: *668 examples: - default: *665 + default: *670 '422': *7 '404': *6 x-github: @@ -100714,10 +101186,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 + - *435 + - *436 + - *665 + - *669 - *17 - *19 responses: @@ -100811,13 +101283,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *184 + author_association: *190 _links: type: object properties: - self: *369 - html: *369 - pull_request: *369 + self: *374 + html: *374 + pull_request: *374 required: - self - html @@ -100826,7 +101298,7 @@ paths: type: string body_html: type: string - reactions: *185 + reactions: *191 side: description: The side of the first line of the range for a multi-line comment. @@ -100975,10 +101447,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 + - *435 + - *436 + - *665 + - *669 requestBody: required: true content: @@ -101007,7 +101479,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *668 examples: default: value: @@ -101070,10 +101542,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 + - *435 + - *436 + - *665 + - *669 requestBody: required: true content: @@ -101108,9 +101580,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *668 examples: - default: *666 + default: *671 '404': *6 '422': *7 '403': *27 @@ -101132,9 +101604,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 + - *435 + - *436 + - *665 requestBody: required: false content: @@ -101198,8 +101670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *430 - - *431 + - *435 + - *436 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -101212,9 +101684,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *672 examples: - default: &668 + default: &673 value: type: file encoding: base64 @@ -101256,8 +101728,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 + - *435 + - *436 - name: dir description: The alternate path to look for a README file in: path @@ -101277,9 +101749,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *672 examples: - default: *668 + default: *673 '404': *6 '422': *15 x-github: @@ -101301,8 +101773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -101312,7 +101784,7 @@ paths: application/json: schema: type: array - items: *669 + items: *674 examples: default: value: @@ -101406,8 +101878,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -101483,9 +101955,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *674 examples: - default: &673 + default: &678 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 +102062,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 + - *435 + - *436 + - &676 name: asset_id description: The unique identifier of the asset. in: path @@ -101604,9 +102076,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *675 examples: - default: &672 + default: &677 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 +102113,7 @@ paths: type: User site_admin: false '404': *6 - '302': *558 + '302': *563 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101657,9 +102129,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 + - *435 + - *436 + - *676 requestBody: required: false content: @@ -101688,9 +102160,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *675 examples: - default: *672 + default: *677 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101706,9 +102178,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 + - *435 + - *436 + - *676 responses: '204': description: Response @@ -101732,8 +102204,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 + - *435 + - *436 requestBody: required: true content: @@ -101819,16 +102291,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *669 + schema: *674 examples: - default: *673 + default: *678 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101845,8 +102317,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 + - *435 + - *436 - name: tag description: tag parameter in: path @@ -101859,9 +102331,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *674 examples: - default: *673 + default: *678 '404': *6 x-github: githubCloudOnly: false @@ -101883,9 +102355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *430 - - *431 - - &674 + - *435 + - *436 + - &679 name: release_id description: The unique identifier of the release. in: path @@ -101899,9 +102371,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: *674 examples: - default: *673 + default: *678 '401': description: Unauthorized x-github: @@ -101919,9 +102391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *430 - - *431 - - *674 + - *435 + - *436 + - *679 requestBody: required: false content: @@ -101985,9 +102457,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *674 examples: - default: *673 + default: *678 '404': description: Not Found if the discussion category name is invalid content: @@ -102008,9 +102480,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *430 - - *431 - - *674 + - *435 + - *436 + - *679 responses: '204': description: Response @@ -102030,9 +102502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *430 - - *431 - - *674 + - *435 + - *436 + - *679 - *17 - *19 responses: @@ -102042,7 +102514,7 @@ paths: application/json: schema: type: array - items: *670 + items: *675 examples: default: value: @@ -102124,9 +102596,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 + - *435 + - *436 + - *679 - name: name in: query required: true @@ -102152,7 +102624,7 @@ paths: description: Response for successful upload content: application/json: - schema: *670 + schema: *675 examples: response-for-successful-upload: value: @@ -102207,9 +102679,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 + - *435 + - *436 + - *679 - 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 +102705,9 @@ paths: application/json: schema: type: array - items: *419 + items: *424 examples: - default: *421 + default: *426 headers: Link: *41 '404': *6 @@ -102256,9 +102728,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 + - *435 + - *436 + - *679 requestBody: required: true content: @@ -102288,16 +102760,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '201': description: Reaction created content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -102319,10 +102791,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 + - *435 + - *436 + - *679 + - *427 responses: '204': description: Response @@ -102346,9 +102818,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 + - *435 + - *436 + - *494 - *17 - *19 responses: @@ -102364,8 +102836,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *138 - - &675 + - *143 + - &680 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -102384,69 +102856,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *139 - - *675 - - allOf: - - *140 - - *675 - - allOf: - - *141 - - *675 - - allOf: - - *676 - - *675 - - allOf: - - *142 - - *675 - - allOf: - - *143 - - *675 - allOf: - *144 - - *675 + - *680 - allOf: - *145 - - *675 + - *680 - allOf: - *146 - - *675 + - *680 + - allOf: + - *681 + - *680 - allOf: - *147 - - *675 + - *680 - allOf: - *148 - - *675 + - *680 - allOf: - *149 - - *675 + - *680 - allOf: - *150 - - *675 + - *680 - allOf: - *151 - - *675 + - *680 - allOf: - *152 - - *675 + - *680 - allOf: - *153 - - *675 + - *680 - allOf: - *154 - - *675 + - *680 - allOf: - *155 - - *675 + - *680 - allOf: - *156 - - *675 + - *680 - allOf: - *157 - - *675 + - *680 + - allOf: + - *158 + - *680 + - allOf: + - *159 + - *680 + - allOf: + - *160 + - *680 - allOf: - - *677 - - *675 + - *161 + - *680 + - allOf: + - *162 + - *680 + - allOf: + - *682 + - *680 examples: default: value: @@ -102485,8 +102957,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 - name: includes_parents @@ -102497,7 +102969,7 @@ paths: schema: type: boolean default: true - - *678 + - *683 responses: '200': description: Response @@ -102505,7 +102977,7 @@ paths: application/json: schema: type: array - items: *158 + items: *163 examples: default: value: @@ -102552,8 +103024,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *435 + - *436 requestBody: description: Request body required: true @@ -102573,16 +103045,16 @@ paths: - tag - push default: branch - enforcement: *136 + enforcement: *141 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *132 + items: *142 + conditions: *137 rules: type: array description: An array of rules within the ruleset. - items: *679 + items: *684 required: - name - enforcement @@ -102613,9 +103085,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: &688 + default: &693 value: id: 42 name: super cool ruleset @@ -102662,12 +103134,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 + - *435 + - *436 + - *685 - *94 - - *681 - - *682 + - *686 + - *687 - *17 - *19 responses: @@ -102675,9 +103147,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *688 examples: - default: *684 + default: *689 '404': *6 '500': *38 x-github: @@ -102698,17 +103170,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 + - *435 + - *436 + - *690 responses: '200': description: Response content: application/json: - schema: *686 + schema: *691 examples: - default: *687 + default: *692 '404': *6 '500': *38 x-github: @@ -102736,8 +103208,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *435 + - *436 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102757,9 +103229,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: *688 + default: *693 '404': *6 '500': *38 put: @@ -102777,8 +103249,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *435 + - *436 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102803,16 +103275,16 @@ paths: - branch - tag - push - enforcement: *136 + enforcement: *141 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *132 + items: *142 + conditions: *137 rules: description: An array of rules within the ruleset. type: array - items: *679 + items: *684 examples: default: value: @@ -102840,9 +103312,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: *688 + default: *693 '404': *6 '500': *38 delete: @@ -102860,8 +103332,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *435 + - *436 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102884,8 +103356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 - name: ruleset_id @@ -102901,9 +103373,9 @@ paths: application/json: schema: type: array - items: *162 + items: *167 examples: - default: *383 + default: *388 '404': *6 '500': *38 x-github: @@ -102922,8 +103394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *430 - - *431 + - *435 + - *436 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102941,7 +103413,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *389 examples: default: value: @@ -102996,21 +103468,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 - - *19 - - *17 - - *689 - - *690 - - *389 + - *435 + - *436 - *390 - *391 - *392 + - *393 + - *99 + - *19 + - *17 + - *694 + - *695 + - *394 + - *395 + - *396 + - *397 responses: '200': description: Response @@ -103018,24 +103490,24 @@ paths: application/json: schema: type: array - items: &694 + items: &699 type: object properties: - number: *109 - created_at: *116 + number: *114 + created_at: *121 updated_at: anyOf: - type: 'null' - - *117 - url: *114 - html_url: *115 + - *122 + url: *119 + html_url: *120 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *691 - resolution: *692 + state: *696 + resolution: *697 resolved_at: type: - string @@ -103129,7 +103601,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *693 + - *698 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -103252,7 +103724,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103274,16 +103746,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 + - *435 + - *436 + - *521 + - *397 responses: '200': description: Response content: application/json: - schema: *694 + schema: *699 examples: default: value: @@ -103314,7 +103786,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103335,9 +103807,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 + - *435 + - *436 + - *521 requestBody: required: true content: @@ -103345,8 +103817,8 @@ paths: schema: type: object properties: - state: *691 - resolution: *692 + state: *696 + resolution: *697 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -103365,7 +103837,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *699 examples: default: value: @@ -103418,7 +103890,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *163 + '503': *168 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -103440,9 +103912,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 + - *435 + - *436 + - *521 - *19 - *17 responses: @@ -103453,7 +103925,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &869 + items: &873 type: object properties: type: @@ -103480,11 +103952,6 @@ paths: - commit details: oneOf: - - *695 - - *696 - - *697 - - *698 - - *699 - *700 - *701 - *702 @@ -103493,6 +103960,11 @@ paths: - *705 - *706 - *707 + - *708 + - *709 + - *710 + - *711 + - *712 examples: default: value: @@ -103556,7 +104028,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103578,8 +104050,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 + - *435 + - *436 requestBody: required: true content: @@ -103587,14 +104059,14 @@ paths: schema: type: object properties: - reason: &709 + reason: &714 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *708 + placeholder_id: *713 required: - reason - placeholder_id @@ -103611,7 +104083,7 @@ paths: schema: type: object properties: - reason: *709 + reason: *714 expire_at: type: - string @@ -103635,7 +104107,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *163 + '503': *168 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -103647,6 +104119,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 +104130,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 + - *435 + - *436 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *163 + '503': *168 '200': description: Response content: @@ -103671,7 +104146,7 @@ paths: properties: incremental_scans: type: array - items: &710 + items: &715 description: Information on a single scan performed by secret scanning on the repository type: object @@ -103699,15 +104174,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *710 + items: *715 backfill_scans: type: array - items: *710 + items: *715 custom_pattern_backfill_scans: type: array items: allOf: - - *710 + - *715 - type: object properties: pattern_name: @@ -103777,8 +104252,8 @@ 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 + - *435 + - *436 - *99 - name: sort description: The property to sort the results by. @@ -103822,9 +104297,9 @@ paths: application/json: schema: type: array - items: *711 + items: *716 examples: - default: *712 + default: *717 '400': *14 '404': *6 x-github: @@ -103847,8 +104322,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 + - *435 + - *436 requestBody: required: true content: @@ -103928,7 +104403,7 @@ paths: login: type: string description: The username of the user credited. - type: *397 + type: *402 required: - login - type @@ -104018,9 +104493,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *716 examples: - default: &714 + default: &719 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -104253,8 +104728,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 + - *435 + - *436 requestBody: required: true content: @@ -104367,7 +104842,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *716 examples: default: value: @@ -104514,17 +104989,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 + - *435 + - *436 + - *718 responses: '200': description: Response content: application/json: - schema: *711 + schema: *716 examples: - default: *714 + default: *719 '403': *27 '404': *6 x-github: @@ -104548,9 +105023,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 + - *435 + - *436 + - *718 requestBody: required: true content: @@ -104630,7 +105105,7 @@ paths: login: type: string description: The username of the user credited. - type: *397 + type: *402 required: - login - type @@ -104721,17 +105196,17 @@ paths: description: Response content: application/json: - schema: *711 + schema: *716 examples: - default: *714 - add_credit: *714 + default: *719 + add_credit: *719 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *223 + schema: *230 examples: invalid_state_transition: value: @@ -104762,9 +105237,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 + - *435 + - *436 + - *718 responses: '202': *37 '400': *14 @@ -104791,17 +105266,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 + - *435 + - *436 + - *718 responses: '202': description: Response content: application/json: - schema: *443 + schema: *448 examples: - default: *445 + default: *450 '400': *14 '422': *15 '403': *27 @@ -104827,8 +105302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -104924,8 +105399,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 + - *435 + - *436 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -104934,7 +105409,7 @@ paths: application/json: schema: type: array - items: &715 + items: &720 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -104947,7 +105422,7 @@ paths: - 1124 - -435 '202': *37 - '204': *129 + '204': *134 '422': description: Repository contains more than 10,000 commits x-github: @@ -104967,8 +105442,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 + - *435 + - *436 responses: '200': description: Response @@ -105019,7 +105494,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *129 + '204': *134 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105046,8 +105521,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 + - *435 + - *436 responses: '200': description: Response @@ -105119,7 +105594,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *129 + '204': *134 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105141,8 +105616,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 + - *435 + - *436 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -105296,8 +105771,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 + - *435 + - *436 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -105307,7 +105782,7 @@ paths: application/json: schema: type: array - items: *715 + items: *720 examples: default: value: @@ -105320,7 +105795,7 @@ paths: - - 0 - 2 - 21 - '204': *129 + '204': *134 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105340,8 +105815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *430 - - *431 + - *435 + - *436 - name: sha in: path required: true @@ -105397,7 +105872,7 @@ paths: description: Response content: application/json: - schema: *716 + schema: *721 examples: default: value: @@ -105451,8 +105926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -105464,7 +105939,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 x-github: @@ -105484,14 +105959,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &717 + schema: &722 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -105564,8 +106039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: false content: @@ -105591,7 +106066,7 @@ paths: description: Response content: application/json: - schema: *717 + schema: *722 examples: default: value: @@ -105618,8 +106093,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *430 - - *431 + - *435 + - *436 responses: '204': description: Response @@ -105639,8 +106114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -105722,8 +106197,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 + - *435 + - *436 responses: '200': description: Response @@ -105731,7 +106206,7 @@ paths: application/json: schema: type: array - items: &718 + items: &723 title: Tag protection description: Tag protection type: object @@ -105788,8 +106263,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 + - *435 + - *436 requestBody: required: true content: @@ -105812,7 +106287,7 @@ paths: description: Response content: application/json: - schema: *718 + schema: *723 examples: default: value: @@ -105843,8 +106318,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 + - *435 + - *436 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -105881,8 +106356,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 + - *435 + - *436 - name: ref in: path required: true @@ -105918,8 +106393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -105929,9 +106404,9 @@ paths: application/json: schema: type: array - items: *273 + items: *280 examples: - default: *345 + default: *350 headers: Link: *41 '404': *6 @@ -105951,8 +106426,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *430 - - *431 + - *435 + - *436 - *19 - *17 responses: @@ -105960,7 +106435,7 @@ paths: description: Response content: application/json: - schema: &719 + schema: &724 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -105972,7 +106447,7 @@ paths: required: - names examples: - default: &720 + default: &725 value: names: - octocat @@ -105995,8 +106470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -106027,9 +106502,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *724 examples: - default: *720 + default: *725 '404': *6 '422': *7 x-github: @@ -106050,9 +106525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *430 - - *431 - - &721 + - *435 + - *436 + - &726 name: per description: The time frame to display results for. in: query @@ -106083,7 +106558,7 @@ paths: - 128 clones: type: array - items: &722 + items: &727 title: Traffic type: object properties: @@ -106170,8 +106645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response @@ -106265,8 +106740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response @@ -106329,9 +106804,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *430 - - *431 - - *721 + - *435 + - *436 + - *726 responses: '200': description: Response @@ -106352,7 +106827,7 @@ paths: - 3782 views: type: array - items: *722 + items: *727 required: - uniques - count @@ -106429,8 +106904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -106466,7 +106941,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *253 examples: default: value: @@ -106704,8 +107179,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 + - *435 + - *436 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -106728,8 +107203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *430 - - *431 + - *435 + - *436 responses: '204': description: Response @@ -106751,8 +107226,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *430 - - *431 + - *435 + - *436 responses: '204': description: Response @@ -106778,8 +107253,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 + - *435 + - *436 - name: ref in: path required: true @@ -106871,9 +107346,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *448 examples: - default: *445 + default: *450 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -106914,7 +107389,7 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: default: value: @@ -107024,7 +107499,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &730 + - &735 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -107034,7 +107509,7 @@ paths: type: string examples: - members - - &735 + - &740 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -107046,7 +107521,7 @@ paths: format: int32 examples: - 1 - - &736 + - &741 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -107090,7 +107565,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &725 + items: &730 allOf: - type: object required: @@ -107172,7 +107647,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: &742 type: object description: The metadata associated with the creation/updates to the user. @@ -107237,30 +107712,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &726 + '400': &731 description: Bad request content: application/json: - schema: *723 + schema: *728 application/scim+json: - schema: *723 - '401': *724 - '403': &727 + schema: *728 + '401': *729 + '403': &732 description: Permission denied - '429': &728 + '429': &733 description: Too many requests content: application/json: - schema: *723 + schema: *728 application/scim+json: - schema: *723 - '500': &729 + schema: *728 + '500': &734 description: Internal server error content: application/json: - schema: *723 + schema: *728 application/scim+json: - schema: *723 + schema: *728 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107284,7 +107759,7 @@ paths: required: true content: application/json: - schema: &733 + schema: &738 type: object required: - schemas @@ -107348,9 +107823,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *725 + schema: *730 examples: - group: &731 + group: &736 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -107369,13 +107844,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': *731 + '401': *729 + '403': *732 + '409': &739 description: Duplicate record detected - '429': *728 - '500': *729 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107392,7 +107867,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 + - &737 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -107401,22 +107876,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *730 + - *735 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *725 + schema: *730 examples: - default: *731 - '400': *726 - '401': *724 - '403': *727 + default: *736 + '400': *731 + '401': *729 + '403': *732 '404': *6 - '429': *728 - '500': *729 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107435,13 +107910,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 + - *737 - *39 requestBody: required: true content: application/json: - schema: *733 + schema: *738 examples: group: summary: Group @@ -107467,17 +107942,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *725 + schema: *730 examples: - group: *731 - groupWithMembers: *731 - '400': *726 - '401': *724 - '403': *727 + group: *736 + groupWithMembers: *736 + '400': *731 + '401': *729 + '403': *732 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *739 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107501,13 +107976,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 + - *737 - *39 requestBody: required: true content: application/json: - schema: &744 + schema: &749 type: object required: - Operations @@ -107567,17 +108042,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *725 + schema: *730 examples: - updateGroup: *731 - addMembers: *731 - '400': *726 - '401': *724 - '403': *727 + updateGroup: *736 + addMembers: *736 + '400': *731 + '401': *729 + '403': *732 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *739 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107593,17 +108068,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 + - *737 - *39 responses: '204': description: Group was deleted, no content - '400': *726 - '401': *724 - '403': *727 + '400': *731 + '401': *729 + '403': *732 '404': *6 - '429': *728 - '500': *729 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107637,8 +108112,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *735 - - *736 + - *740 + - *741 - *39 responses: '200': @@ -107672,7 +108147,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &739 + items: &744 allOf: - type: object required: @@ -107764,7 +108239,7 @@ paths: address. examples: - true - roles: &738 + roles: &743 type: array description: The roles assigned to the user. items: @@ -107823,7 +108298,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *737 + meta: *742 startIndex: type: integer description: A starting index for the returned page @@ -107862,11 +108337,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *726 - '401': *724 - '403': *727 - '429': *728 - '500': *729 + '400': *731 + '401': *729 + '403': *732 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107890,7 +108365,7 @@ paths: required: true content: application/json: - schema: &742 + schema: &747 type: object required: - schemas @@ -107983,9 +108458,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *738 + roles: *743 examples: - user: &743 + user: &748 summary: User value: schemas: @@ -108032,9 +108507,9 @@ paths: description: User has been created content: application/scim+json: - schema: *739 + schema: *744 examples: - user: &740 + user: &745 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108060,13 +108535,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: *745 + '400': *731 + '401': *729 + '403': *732 + '409': *739 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108083,7 +108558,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 + - &746 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -108096,15 +108571,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *739 + schema: *744 examples: - default: *740 - '400': *726 - '401': *724 - '403': *727 + default: *745 + '400': *731 + '401': *729 + '403': *732 '404': *6 - '429': *728 - '500': *729 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108126,30 +108601,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 + - *746 - *39 requestBody: required: true content: application/json: - schema: *742 + schema: *747 examples: - user: *743 + user: *748 responses: '200': description: User was updated content: application/scim+json: - schema: *739 + schema: *744 examples: - user: *740 - '400': *726 - '401': *724 - '403': *727 + user: *745 + '400': *731 + '401': *729 + '403': *732 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *739 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108184,13 +108659,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 + - *746 - *39 requestBody: required: true content: application/json: - schema: *744 + schema: *749 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -108230,18 +108705,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *739 + schema: *744 examples: - userMultiValuedProperties: *740 - userSingleValuedProperties: *740 - disableUser: *740 - '400': *726 - '401': *724 - '403': *727 + userMultiValuedProperties: *745 + userSingleValuedProperties: *745 + disableUser: *745 + '400': *731 + '401': *729 + '403': *732 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *739 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108261,17 +108736,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 + - *746 - *39 responses: '204': description: User was deleted, no content - '400': *726 - '401': *724 - '403': *727 + '400': *731 + '401': *729 + '403': *732 '404': *6 - '429': *728 - '500': *729 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108362,7 +108837,7 @@ paths: - 1 Resources: type: array - items: &745 + items: &750 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -108609,22 +109084,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': &751 description: Resource not found content: application/json: - schema: *723 + schema: *728 application/scim+json: - schema: *723 - '403': &747 + schema: *728 + '403': &752 description: Forbidden content: application/json: - schema: *723 + schema: *728 application/scim+json: - schema: *723 - '400': *726 - '429': *728 + schema: *728 + '400': *731 + '429': *733 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -108650,9 +109125,9 @@ paths: description: Response content: application/scim+json: - schema: *745 + schema: *750 examples: - default: &748 + default: &753 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108675,17 +109150,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': *751 + '403': *752 + '500': *734 '409': description: Conflict content: application/json: - schema: *723 + schema: *728 application/scim+json: - schema: *723 - '400': *726 + schema: *728 + '400': *731 requestBody: required: true content: @@ -108785,17 +109260,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *76 - - *741 + - *746 responses: '200': description: Response content: application/scim+json: - schema: *745 + schema: *750 examples: - default: *748 - '404': *746 - '403': *747 + default: *753 + '404': *751 + '403': *752 '304': *35 x-github: githubCloudOnly: true @@ -108819,18 +109294,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *76 - - *741 + - *746 responses: '200': description: Response content: application/scim+json: - schema: *745 + schema: *750 examples: - default: *748 + default: *753 '304': *35 - '404': *746 - '403': *747 + '404': *751 + '403': *752 requestBody: required: true content: @@ -108945,19 +109420,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *76 - - *741 + - *746 responses: '200': description: Response content: application/scim+json: - schema: *745 + schema: *750 examples: - default: *748 + default: *753 '304': *35 - '404': *746 - '403': *747 - '400': *726 + '404': *751 + '403': *752 + '400': *731 '429': description: Response content: @@ -109053,12 +109528,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *76 - - *741 + - *746 responses: '204': description: Response - '404': *746 - '403': *747 + '404': *751 + '403': *752 '304': *35 x-github: githubCloudOnly: true @@ -109173,7 +109648,7 @@ paths: html_url: type: string format: uri - repository: *246 + repository: *253 score: type: number file_size: @@ -109192,7 +109667,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &749 + text_matches: &754 title: Search Result Text Matches type: array items: @@ -109307,7 +109782,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *163 + '503': *168 '422': *15 '403': *27 x-github: @@ -109356,7 +109831,7 @@ paths: enum: - author-date - committer-date - - &750 + - &755 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 +109900,7 @@ paths: committer: anyOf: - type: 'null' - - *487 + - *492 comment_count: type: integer message: @@ -109444,7 +109919,7 @@ paths: url: type: string format: uri - verification: *603 + verification: *608 required: - author - committer @@ -109459,7 +109934,7 @@ paths: committer: anyOf: - type: 'null' - - *487 + - *492 parents: type: array items: @@ -109471,12 +109946,12 @@ paths: type: string sha: type: string - repository: *246 + repository: *253 score: type: number node_id: type: string - text_matches: *749 + text_matches: *754 required: - sha - node_id @@ -109669,7 +110144,7 @@ paths: - interactions - created - updated - - *750 + - *755 - *17 - *19 - name: advanced_search @@ -109766,11 +110241,11 @@ paths: type: - string - 'null' - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: type: string state_reason: @@ -109784,7 +110259,7 @@ paths: milestone: anyOf: - type: 'null' - - *368 + - *373 comments: type: integer created_at: @@ -109798,7 +110273,7 @@ paths: - string - 'null' format: date-time - text_matches: *749 + text_matches: *754 pull_request: type: object properties: @@ -109836,7 +110311,7 @@ paths: type: string score: type: number - author_association: *184 + author_association: *190 draft: type: boolean repository: *67 @@ -109847,12 +110322,12 @@ paths: timeline_url: type: string format: uri - type: *331 + type: *336 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *185 + reactions: *191 required: - assignee - closed_at @@ -109968,7 +110443,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *163 + '503': *168 '422': *15 '304': *35 '403': *27 @@ -110021,7 +110496,7 @@ paths: enum: - created - updated - - *750 + - *755 - *17 - *19 responses: @@ -110066,7 +110541,7 @@ paths: - 'null' score: type: number - text_matches: *749 + text_matches: *754 required: - id - node_id @@ -110152,7 +110627,7 @@ paths: - forks - help-wanted-issues - updated - - *750 + - *755 - *17 - *19 responses: @@ -110371,7 +110846,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *192 permissions: type: object properties: @@ -110389,7 +110864,7 @@ paths: - admin - pull - push - text_matches: *749 + text_matches: *754 temp_clone_token: type: string allow_merge_commit: @@ -110592,7 +111067,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *163 + '503': *168 '422': *15 '304': *35 x-github: @@ -110698,7 +111173,7 @@ paths: - string - 'null' format: uri - text_matches: *749 + text_matches: *754 related: type: - array @@ -110893,7 +111368,7 @@ paths: - followers - repositories - joined - - *750 + - *755 - *17 - *19 responses: @@ -111003,7 +111478,7 @@ paths: type: - boolean - 'null' - text_matches: *749 + text_matches: *754 blog: type: - string @@ -111065,7 +111540,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *163 + '503': *168 '422': *15 x-github: githubCloudOnly: false @@ -111085,7 +111560,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &754 + - &759 name: team_id description: The unique identifier of the team. in: path @@ -111097,9 +111572,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *416 examples: - default: *412 + default: *417 '404': *6 x-github: githubCloudOnly: false @@ -111126,7 +111601,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *754 + - *759 requestBody: required: true content: @@ -111190,16 +111665,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *411 + schema: *416 examples: - default: *412 + default: *417 '201': description: Response content: application/json: - schema: *411 + schema: *416 examples: - default: *412 + default: *417 '404': *6 '422': *15 '403': *27 @@ -111227,7 +111702,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *754 + - *759 responses: '204': description: Response @@ -111258,7 +111733,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *754 + - *759 - *99 - *17 - *19 @@ -111269,9 +111744,9 @@ paths: application/json: schema: type: array - items: *413 + items: *418 examples: - default: *755 + default: *760 headers: Link: *41 x-github: @@ -111300,7 +111775,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *754 + - *759 requestBody: required: true content: @@ -111334,9 +111809,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *418 examples: - default: *414 + default: *419 x-github: triggersNotification: true githubCloudOnly: false @@ -111363,16 +111838,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *754 - - *415 + - *759 + - *420 responses: '200': description: Response content: application/json: - schema: *413 + schema: *418 examples: - default: *414 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111397,8 +111872,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *754 - - *415 + - *759 + - *420 requestBody: required: false content: @@ -111421,9 +111896,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *418 examples: - default: *756 + default: *761 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111448,8 +111923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *754 - - *415 + - *759 + - *420 responses: '204': description: Response @@ -111478,8 +111953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *754 - - *415 + - *759 + - *420 - *99 - *17 - *19 @@ -111490,9 +111965,9 @@ paths: application/json: schema: type: array - items: *416 + items: *421 examples: - default: *757 + default: *762 headers: Link: *41 x-github: @@ -111521,8 +111996,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 + - *759 + - *420 requestBody: required: true content: @@ -111544,9 +112019,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *421 examples: - default: *417 + default: *422 x-github: triggersNotification: true githubCloudOnly: false @@ -111573,17 +112048,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 + - *759 + - *420 + - *423 responses: '200': description: Response content: application/json: - schema: *416 + schema: *421 examples: - default: *417 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111608,9 +112083,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 + - *759 + - *420 + - *423 requestBody: required: true content: @@ -111632,9 +112107,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *421 examples: - default: *758 + default: *763 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111659,9 +112134,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 + - *759 + - *420 + - *423 responses: '204': description: Response @@ -111690,9 +112165,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 + - *759 + - *420 + - *423 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -111718,9 +112193,9 @@ paths: application/json: schema: type: array - items: *419 + items: *424 examples: - default: *421 + default: *426 headers: Link: *41 x-github: @@ -111749,9 +112224,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 + - *759 + - *420 + - *423 requestBody: required: true content: @@ -111783,9 +112258,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111811,8 +112286,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 + - *759 + - *420 - 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 +112313,9 @@ paths: application/json: schema: type: array - items: *419 + items: *424 examples: - default: *421 + default: *426 headers: Link: *41 x-github: @@ -111869,8 +112344,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 + - *759 + - *420 requestBody: required: true content: @@ -111902,9 +112377,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111928,7 +112403,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *754 + - *759 - *17 - *19 responses: @@ -111938,9 +112413,9 @@ paths: application/json: schema: type: array - items: *328 + items: *333 examples: - default: *329 + default: *334 headers: Link: *41 x-github: @@ -111966,7 +112441,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *754 + - *759 - name: role description: Filters members returned by their role in the team. in: query @@ -111989,7 +112464,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 '404': *6 @@ -112017,8 +112492,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *754 - - *178 + - *759 + - *183 responses: '204': description: if user is a member @@ -112054,8 +112529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *754 - - *178 + - *759 + - *183 responses: '204': description: Response @@ -112094,8 +112569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *754 - - *178 + - *759 + - *183 responses: '204': description: Response @@ -112131,16 +112606,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 + - *759 + - *183 responses: '200': description: Response content: application/json: - schema: *427 + schema: *432 examples: - response-if-user-is-a-team-maintainer: *759 + response-if-user-is-a-team-maintainer: *764 '404': *6 x-github: githubCloudOnly: false @@ -112173,8 +112648,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 + - *759 + - *183 requestBody: required: false content: @@ -112199,9 +112674,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *432 examples: - response-if-users-membership-with-team-is-now-pending: *760 + response-if-users-membership-with-team-is-now-pending: *765 '403': description: Forbidden if team synchronization is set up '422': @@ -112235,8 +112710,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 + - *759 + - *183 responses: '204': description: Response @@ -112264,7 +112739,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *754 + - *759 - *17 - *19 responses: @@ -112274,9 +112749,9 @@ paths: application/json: schema: type: array - items: *428 + items: *433 examples: - default: *761 + default: *766 headers: Link: *41 '404': *6 @@ -112302,16 +112777,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 + - *759 + - *434 responses: '200': description: Response content: application/json: - schema: *428 + schema: *433 examples: - default: *762 + default: *767 '404': description: Not Found if project is not managed by this team x-github: @@ -112335,8 +112810,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 + - *759 + - *434 requestBody: required: false content: @@ -112403,8 +112878,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 + - *759 + - *434 responses: '204': description: Response @@ -112431,7 +112906,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *754 + - *759 - *17 - *19 responses: @@ -112441,9 +112916,9 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: - default: *352 + default: *357 headers: Link: *41 '404': *6 @@ -112473,15 +112948,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 + - *759 + - *435 + - *436 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *763 + schema: *768 examples: alternative-response-with-extra-repository-information: value: @@ -112632,9 +113107,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 + - *759 + - *435 + - *436 requestBody: required: false content: @@ -112684,9 +113159,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 + - *759 + - *435 + - *436 responses: '204': description: Response @@ -112715,15 +113190,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 + - *759 responses: '200': description: Response content: application/json: - schema: *432 + schema: *437 examples: - default: *433 + default: *438 '403': *27 '404': *6 x-github: @@ -112750,7 +113225,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 + - *759 requestBody: required: true content: @@ -112811,7 +113286,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *437 examples: default: value: @@ -112842,7 +113317,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *754 + - *759 - *17 - *19 responses: @@ -112852,9 +113327,9 @@ paths: application/json: schema: type: array - items: *273 + items: *280 examples: - response-if-child-teams-exist: *764 + response-if-child-teams-exist: *769 headers: Link: *41 '404': *6 @@ -112887,7 +113362,7 @@ paths: application/json: schema: oneOf: - - &766 + - &771 title: Private User description: Private User type: object @@ -113137,7 +113612,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *765 + - *770 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -113297,7 +113772,7 @@ paths: description: Response content: application/json: - schema: *766 + schema: *771 examples: default: value: @@ -113376,7 +113851,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 '304': *35 '404': *6 '403': *27 @@ -113399,7 +113874,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 + - *183 responses: '204': description: If the user is blocked @@ -113427,7 +113902,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *178 + - *183 responses: '204': description: Response @@ -113451,7 +113926,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *178 + - *183 responses: '204': description: Response @@ -113500,9 +113975,9 @@ paths: type: integer codespaces: type: array - items: *336 + items: *341 examples: - default: *337 + default: *342 '304': *35 '500': *38 '401': *23 @@ -113641,21 +114116,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *341 examples: - default: *536 + default: *541 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *341 examples: - default: *536 + default: *541 '401': *23 '403': *27 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113695,7 +114170,7 @@ paths: type: integer secrets: type: array - items: &767 + items: &772 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -113737,7 +114212,7 @@ paths: - visibility - selected_repositories_url examples: - default: *538 + default: *543 headers: Link: *41 x-github: @@ -113809,13 +114284,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 + - *263 responses: '200': description: Response content: application/json: - schema: *767 + schema: *772 examples: default: value: @@ -113845,7 +114320,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 + - *263 requestBody: required: true content: @@ -113890,7 +114365,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -113918,7 +114393,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 + - *263 responses: '204': description: Response @@ -113943,7 +114418,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 + - *263 responses: '200': description: Response @@ -113959,9 +114434,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *253 examples: - default: *768 + default: *773 '401': *23 '403': *27 '404': *6 @@ -113986,7 +114461,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 + - *263 requestBody: required: true content: @@ -114040,7 +114515,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 + - *263 - name: repository_id in: path required: true @@ -114073,7 +114548,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 + - *263 - name: repository_id in: path required: true @@ -114105,15 +114580,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 + - *343 responses: '200': description: Response content: application/json: - schema: *336 + schema: *341 examples: - default: *536 + default: *541 '304': *35 '500': *38 '401': *23 @@ -114139,7 +114614,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 + - *343 requestBody: required: false content: @@ -114169,9 +114644,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *341 examples: - default: *536 + default: *541 '401': *23 '403': *27 '404': *6 @@ -114193,7 +114668,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 + - *343 responses: '202': *37 '304': *35 @@ -114222,13 +114697,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 + - *343 responses: '202': description: Response content: application/json: - schema: &769 + schema: &774 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -114281,7 +114756,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &770 + default: &775 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -114313,7 +114788,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 + - *343 - name: export_id in: path required: true @@ -114326,9 +114801,9 @@ paths: description: Response content: application/json: - schema: *769 + schema: *774 examples: - default: *770 + default: *775 '404': *6 x-github: githubCloudOnly: false @@ -114349,7 +114824,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 + - *343 responses: '200': description: Response @@ -114365,9 +114840,9 @@ paths: type: integer machines: type: array - items: *537 + items: *542 examples: - default: *771 + default: *776 '304': *35 '500': *38 '401': *23 @@ -114396,7 +114871,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 + - *343 requestBody: required: true content: @@ -114452,11 +114927,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *443 + repository: *448 machine: anyOf: - type: 'null' - - *537 + - *542 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -115253,15 +115728,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 + - *343 responses: '200': description: Response content: application/json: - schema: *336 + schema: *341 examples: - default: *536 + default: *541 '304': *35 '500': *38 '400': *14 @@ -115293,15 +115768,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 + - *343 responses: '200': description: Response content: application/json: - schema: *336 + schema: *341 examples: - default: *536 + default: *541 '500': *38 '401': *23 '403': *27 @@ -115331,9 +115806,9 @@ paths: application/json: schema: type: array - items: *346 + items: *351 examples: - default: &783 + default: &787 value: - id: 197 name: hello_docker @@ -115434,7 +115909,7 @@ paths: application/json: schema: type: array - items: &772 + items: &777 title: Email description: Email type: object @@ -115504,9 +115979,9 @@ paths: application/json: schema: type: array - items: *772 + items: *777 examples: - default: &785 + default: &789 value: - email: octocat@github.com verified: true @@ -115583,7 +116058,7 @@ paths: application/json: schema: type: array - items: *772 + items: *777 examples: default: value: @@ -115695,7 +116170,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 '304': *35 @@ -115728,7 +116203,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 '304': *35 @@ -115750,7 +116225,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 + - *183 responses: '204': description: if the person is followed by the authenticated user @@ -115780,7 +116255,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *178 + - *183 responses: '204': description: Response @@ -115805,7 +116280,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *178 + - *183 responses: '204': description: Response @@ -115841,7 +116316,7 @@ paths: application/json: schema: type: array - items: &773 + items: &778 title: GPG Key description: A unique encryption key type: object @@ -115986,7 +116461,7 @@ paths: - subkeys - revoked examples: - default: &799 + default: &803 value: - id: 3 name: Octocat's GPG Key @@ -116071,9 +116546,9 @@ paths: description: Response content: application/json: - schema: *773 + schema: *778 examples: - default: &774 + default: &779 value: id: 3 name: Octocat's GPG Key @@ -116130,7 +116605,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 + - &780 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -116142,9 +116617,9 @@ paths: description: Response content: application/json: - schema: *773 + schema: *778 examples: - default: *774 + default: *779 '404': *6 '304': *35 '403': *27 @@ -116167,7 +116642,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 + - *780 responses: '204': description: Response @@ -116358,7 +116833,7 @@ paths: type: array items: *67 examples: - default: *241 + default: *248 headers: Link: *41 '404': *6 @@ -116383,7 +116858,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *240 + - *247 responses: '204': description: Response @@ -116409,7 +116884,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *240 + - *247 responses: '204': description: Response @@ -116443,12 +116918,12 @@ paths: application/json: schema: anyOf: - - *326 + - *331 - type: object properties: {} additionalProperties: false examples: - default: *327 + default: *332 '204': description: Response when there are no restrictions x-github: @@ -116472,7 +116947,7 @@ paths: required: true content: application/json: - schema: *614 + schema: *619 examples: default: value: @@ -116483,7 +116958,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *331 examples: default: value: @@ -116564,7 +117039,7 @@ paths: - closed - all default: open - - *334 + - *339 - name: sort description: What to sort results by. in: query @@ -116577,7 +117052,7 @@ paths: - comments default: created - *99 - - *189 + - *195 - *17 - *19 responses: @@ -116587,9 +117062,9 @@ paths: application/json: schema: type: array - items: *183 + items: *189 examples: - default: *335 + default: *340 headers: Link: *41 '404': *6 @@ -116622,7 +117097,7 @@ paths: application/json: schema: type: array - items: &776 + items: &781 title: Key description: Key type: object @@ -116725,9 +117200,9 @@ paths: description: Response content: application/json: - schema: *776 + schema: *781 examples: - default: &777 + default: &782 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116760,15 +117235,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 + - *645 responses: '200': description: Response content: application/json: - schema: *776 + schema: *781 examples: - default: *777 + default: *782 '404': *6 '304': *35 '403': *27 @@ -116791,7 +117266,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 + - *645 responses: '204': description: Response @@ -116824,7 +117299,7 @@ paths: application/json: schema: type: array - items: &778 + items: &783 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -116892,7 +117367,7 @@ paths: - id - type - login - plan: *200 + plan: *206 required: - billing_cycle - next_billing_date @@ -116903,7 +117378,7 @@ paths: - account - plan examples: - default: &779 + default: &784 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -116965,9 +117440,9 @@ paths: application/json: schema: type: array - items: *778 + items: *783 examples: - default: *779 + default: *784 headers: Link: *41 '304': *35 @@ -117007,7 +117482,7 @@ paths: application/json: schema: type: array - items: *339 + items: *344 examples: default: value: @@ -117115,7 +117590,7 @@ paths: description: Response content: application/json: - schema: *339 + schema: *344 examples: default: value: @@ -117198,7 +117673,7 @@ paths: description: Response content: application/json: - schema: *339 + schema: *344 examples: default: value: @@ -117266,7 +117741,7 @@ paths: application/json: schema: type: array - items: *341 + items: *346 examples: default: value: @@ -117528,7 +118003,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *346 examples: default: value: @@ -117708,7 +118183,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *342 + - *347 - name: exclude in: query required: false @@ -117721,7 +118196,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *346 examples: default: value: @@ -117915,7 +118390,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *342 + - *347 responses: '302': description: Response @@ -117941,7 +118416,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *342 + - *347 responses: '204': description: Response @@ -117970,8 +118445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *342 - - *780 + - *347 + - *785 responses: '204': description: Response @@ -117995,7 +118470,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 + - *347 - *17 - *19 responses: @@ -118005,9 +118480,9 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: - default: *352 + default: *357 headers: Link: *41 '404': *6 @@ -118044,7 +118519,7 @@ paths: type: array items: *62 examples: - default: *781 + default: *219 headers: Link: *41 '304': *35 @@ -118086,7 +118561,7 @@ paths: - docker - nuget - container - - *782 + - *786 - *19 - *17 responses: @@ -118096,10 +118571,10 @@ paths: application/json: schema: type: array - items: *346 + items: *351 examples: - default: *783 - '400': *784 + default: *787 + '400': *788 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118119,16 +118594,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 + - *353 + - *354 responses: '200': description: Response content: application/json: - schema: *346 + schema: *351 examples: - default: &800 + default: &804 value: id: 40201 name: octo-name @@ -118241,8 +118716,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 + - *353 + - *354 responses: '204': description: Response @@ -118272,8 +118747,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 + - *353 + - *354 - name: token description: package token schema: @@ -118305,8 +118780,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 + - *353 + - *354 - *19 - *17 - name: state @@ -118326,7 +118801,7 @@ paths: application/json: schema: type: array - items: *350 + items: *355 examples: default: value: @@ -118375,15 +118850,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 + - *353 + - *354 + - *356 responses: '200': description: Response content: application/json: - schema: *350 + schema: *355 examples: default: value: @@ -118419,9 +118894,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 + - *353 + - *354 + - *356 responses: '204': description: Response @@ -118451,9 +118926,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 + - *353 + - *354 + - *356 responses: '204': description: Response @@ -118511,7 +118986,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *367 examples: default: value: @@ -118583,9 +119058,9 @@ paths: application/json: schema: type: array - items: *772 + items: *777 examples: - default: *785 + default: *789 headers: Link: *41 '304': *35 @@ -118698,7 +119173,7 @@ paths: type: array items: *67 examples: - default: &792 + default: &796 summary: Default response value: - id: 1296269 @@ -119016,9 +119491,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *448 examples: - default: *445 + default: *450 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -119056,9 +119531,9 @@ paths: application/json: schema: type: array - items: *616 + items: *621 examples: - default: *786 + default: *790 headers: Link: *41 '304': *35 @@ -119081,7 +119556,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *330 + - *335 responses: '204': description: Response @@ -119104,7 +119579,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *330 + - *335 responses: '204': description: Response @@ -119137,7 +119612,7 @@ paths: application/json: schema: type: array - items: &787 + items: &791 title: Social account description: Social media account type: object @@ -119154,7 +119629,7 @@ paths: - provider - url examples: - default: &788 + default: &792 value: - provider: twitter url: https://twitter.com/github @@ -119217,9 +119692,9 @@ paths: application/json: schema: type: array - items: *787 + items: *791 examples: - default: *788 + default: *792 '422': *15 '304': *35 '404': *6 @@ -119307,7 +119782,7 @@ paths: application/json: schema: type: array - items: &789 + items: &793 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -119327,7 +119802,7 @@ paths: - title - created_at examples: - default: &803 + default: &807 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119394,9 +119869,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *793 examples: - default: &790 + default: &794 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119427,7 +119902,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 + - &795 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -119439,9 +119914,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *793 examples: - default: *790 + default: *794 '404': *6 '304': *35 '403': *27 @@ -119464,7 +119939,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 + - *795 responses: '204': description: Response @@ -119493,7 +119968,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 + - &808 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 @@ -119518,11 +119993,11 @@ paths: type: array items: *67 examples: - default-response: *792 + default-response: *796 application/vnd.github.v3.star+json: schema: type: array - items: &805 + items: &809 title: Starred Repository description: Starred Repository type: object @@ -119678,8 +120153,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 + - *435 + - *436 responses: '204': description: Response if this repository is starred by you @@ -119707,8 +120182,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 + - *435 + - *436 responses: '204': description: Response @@ -119732,8 +120207,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 + - *435 + - *436 responses: '204': description: Response @@ -119766,9 +120241,9 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: - default: *352 + default: *357 headers: Link: *41 '304': *35 @@ -119805,7 +120280,7 @@ paths: application/json: schema: type: array - items: *411 + items: *416 examples: default: value: @@ -119883,7 +120358,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 + - *208 responses: '200': description: Response @@ -119891,10 +120366,10 @@ paths: application/json: schema: oneOf: - - *766 - - *765 + - *771 + - *770 examples: - default-response: &794 + default-response: &798 summary: Default response value: login: octocat @@ -119929,7 +120404,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: &799 summary: Response with GitHub plan information value: login: octocat @@ -119989,7 +120464,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *793 + - *797 - *17 responses: '200': @@ -120000,7 +120475,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: example: ; rel="next" @@ -120030,7 +120505,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *178 + - *183 responses: '200': description: Response @@ -120038,11 +120513,11 @@ paths: application/json: schema: oneOf: - - *766 - - *765 + - *771 + - *770 examples: - default-response: *794 - response-with-git-hub-plan-information: *795 + default-response: *798 + response-with-git-hub-plan-information: *799 '404': *6 x-github: githubCloudOnly: false @@ -120068,7 +120543,7 @@ paths: - *17 - *97 - *98 - - *178 + - *183 requestBody: required: true content: @@ -120091,8 +120566,8 @@ paths: required: - subject_digests examples: - default: *796 - withPredicateType: *797 + default: *800 + withPredicateType: *801 responses: '200': description: Response @@ -120146,7 +120621,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *798 + default: *802 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120164,7 +120639,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *178 + - *183 requestBody: required: true content: @@ -120229,7 +120704,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *178 + - *183 - name: subject_digest description: Subject Digest in: path @@ -120260,7 +120735,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *178 + - *183 - name: attestation_id description: Attestation ID in: path @@ -120298,7 +120773,7 @@ paths: - *17 - *97 - *98 - - *178 + - *183 - name: subject_digest description: Subject Digest in: path @@ -120350,12 +120825,12 @@ paths: initiator: type: string examples: - default: *483 + default: *488 '201': description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -120381,7 +120856,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 + - *183 responses: '200': description: Response @@ -120389,9 +120864,9 @@ paths: application/json: schema: type: array - items: *346 + items: *351 examples: - default: *783 + default: *787 '403': *27 '401': *23 x-github: @@ -120414,7 +120889,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 + - *183 - *17 - *19 responses: @@ -120424,7 +120899,7 @@ paths: application/json: schema: type: array - items: *208 + items: *214 examples: default: value: @@ -120486,7 +120961,7 @@ 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 + - *183 - *76 - *17 - *19 @@ -120497,7 +120972,7 @@ paths: application/json: schema: type: array - items: *208 + items: *214 examples: default: value: @@ -120574,7 +121049,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 + - *183 - *17 - *19 responses: @@ -120584,7 +121059,7 @@ paths: application/json: schema: type: array - items: *208 + items: *214 examples: default: value: @@ -120642,7 +121117,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *178 + - *183 - *17 - *19 responses: @@ -120654,7 +121129,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 x-github: @@ -120673,7 +121148,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 + - *183 - *17 - *19 responses: @@ -120685,7 +121160,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 x-github: @@ -120704,7 +121179,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 + - *183 - name: target_user in: path required: true @@ -120731,8 +121206,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 + - *183 + - *195 - *17 - *19 responses: @@ -120742,9 +121217,9 @@ paths: application/json: schema: type: array - items: *190 + items: *196 examples: - default: *191 + default: *197 headers: Link: *41 '422': *15 @@ -120765,7 +121240,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 + - *183 - *17 - *19 responses: @@ -120775,9 +121250,9 @@ paths: application/json: schema: type: array - items: *773 + items: *778 examples: - default: *799 + default: *803 headers: Link: *41 x-github: @@ -120801,7 +121276,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 + - *183 - 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 +121348,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 + - *183 responses: '200': description: Response @@ -120881,7 +121356,7 @@ paths: application/json: schema: *20 examples: - default: *613 + default: *618 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120899,7 +121374,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 + - *183 - *17 - *19 responses: @@ -120955,7 +121430,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *178 + - *183 - *17 - *19 responses: @@ -120967,7 +121442,7 @@ paths: type: array items: *62 examples: - default: *781 + default: *219 headers: Link: *41 x-github: @@ -121006,8 +121481,8 @@ paths: - docker - nuget - container - - *782 - - *178 + - *786 + - *183 - *19 - *17 responses: @@ -121017,12 +121492,12 @@ paths: application/json: schema: type: array - items: *346 + items: *351 examples: - default: *783 + default: *787 '403': *27 '401': *23 - '400': *784 + '400': *788 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121042,17 +121517,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 + - *353 + - *354 + - *183 responses: '200': description: Response content: application/json: - schema: *346 + schema: *351 examples: - default: *800 + default: *804 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121073,9 +121548,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 + - *353 + - *354 + - *183 responses: '204': description: Response @@ -121107,9 +121582,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 + - *353 + - *354 + - *183 - name: token description: package token schema: @@ -121141,9 +121616,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 + - *353 + - *354 + - *183 responses: '200': description: Response @@ -121151,7 +121626,7 @@ paths: application/json: schema: type: array - items: *350 + items: *355 examples: default: value: @@ -121209,16 +121684,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 + - *353 + - *354 + - *356 + - *183 responses: '200': description: Response content: application/json: - schema: *350 + schema: *355 examples: default: value: @@ -121253,10 +121728,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 + - *353 + - *354 + - *183 + - *356 responses: '204': description: Response @@ -121288,10 +121763,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 + - *353 + - *354 + - *183 + - *356 responses: '204': description: Response @@ -121317,7 +121792,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects parameters: - - *178 + - *183 - name: state description: Indicates the state of the projects to return. in: query @@ -121338,7 +121813,7 @@ paths: application/json: schema: type: array - items: *362 + items: *367 examples: default: value: @@ -121396,7 +121871,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *178 + - *183 - name: q description: Limit results to projects of the specified type. in: query @@ -121413,9 +121888,9 @@ paths: application/json: schema: type: array - items: *363 + items: *368 examples: - default: *364 + default: *369 headers: Link: *41 '304': *35 @@ -121437,16 +121912,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *365 - - *178 + - *370 + - *183 responses: '200': description: Response content: application/json: - schema: *363 + schema: *368 examples: - default: *364 + default: *369 headers: Link: *41 '304': *35 @@ -121468,8 +121943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *365 - - *178 + - *370 + - *183 - *17 - *97 - *98 @@ -121480,9 +121955,9 @@ paths: application/json: schema: type: array - items: *366 + items: *371 examples: - default: *367 + default: *372 headers: Link: *41 '304': *35 @@ -121504,17 +121979,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 + - *370 + - *805 + - *183 responses: '200': description: Response content: application/json: - schema: *366 + schema: *371 examples: - default: *367 + default: *372 headers: Link: *41 '304': *35 @@ -121537,8 +122012,8 @@ 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 + - *370 + - *183 - *97 - *98 - *17 @@ -121550,17 +122025,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 +122045,9 @@ paths: application/json: schema: type: array - items: *372 + items: *377 examples: - default: *373 + default: *378 headers: Link: *41 '304': *35 @@ -121591,8 +122068,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 + - *183 + - *370 requestBody: required: true description: Details of the item to add to the project. @@ -121629,10 +122106,10 @@ paths: description: Response content: application/json: - schema: *802 + schema: *806 examples: - issue: *371 - pull_request: *371 + issue: *376 + pull_request: *376 '304': *35 '403': *27 '401': *23 @@ -121652,29 +122129,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 + - *370 + - *183 + - *379 - 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: *377 examples: - default: *373 + default: *378 headers: Link: *41 '304': *35 @@ -121695,9 +122174,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 + - *370 + - *183 + - *379 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -121770,13 +122249,13 @@ paths: description: Response content: application/json: - schema: *372 + schema: *377 examples: - text_field: *373 - number_field: *373 - date_field: *373 - single_select_field: *373 - iteration_field: *373 + text_field: *378 + number_field: *378 + date_field: *378 + single_select_field: *378 + iteration_field: *378 '401': *23 '403': *27 '404': *6 @@ -121796,9 +122275,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 + - *370 + - *183 + - *379 responses: '204': description: Response @@ -121825,7 +122304,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 + - *183 - *17 - *19 responses: @@ -121835,7 +122314,7 @@ paths: application/json: schema: type: array - items: *208 + items: *214 examples: default: value: @@ -121900,7 +122379,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 + - *183 - *17 - *19 responses: @@ -121910,7 +122389,7 @@ paths: application/json: schema: type: array - items: *208 + items: *214 examples: default: value: @@ -121973,7 +122452,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *178 + - *183 - name: type description: Limit results to repositories of the specified type. in: query @@ -122016,9 +122495,9 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: - default: *352 + default: *357 headers: Link: *41 x-github: @@ -122042,15 +122521,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 + - *183 responses: '200': description: Response content: application/json: - schema: *398 + schema: *403 examples: - default: *399 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122072,15 +122551,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 + - *183 responses: '200': description: Response content: application/json: - schema: *403 + schema: *408 examples: - default: *404 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122089,7 +122568,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 +122579,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 + - *183 + - *174 + - *220 + - *175 + - *222 + - *223 responses: '200': description: Response when getting a billing premium request usage report @@ -122155,19 +122637,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 +122692,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122232,15 +122714,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 + - *183 responses: '200': description: Response content: application/json: - schema: *405 + schema: *410 examples: - default: *406 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122260,11 +122742,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 + - *183 + - *174 + - *224 + - *175 + - *225 responses: '200': description: Response when getting a billing usage report @@ -122335,7 +122817,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122353,7 +122835,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 + - *183 - *17 - *19 responses: @@ -122363,9 +122845,9 @@ paths: application/json: schema: type: array - items: *787 + items: *791 examples: - default: *788 + default: *792 headers: Link: *41 x-github: @@ -122385,7 +122867,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 + - *183 - *17 - *19 responses: @@ -122395,9 +122877,9 @@ paths: application/json: schema: type: array - items: *789 + items: *793 examples: - default: *803 + default: *807 headers: Link: *41 x-github: @@ -122421,8 +122903,8 @@ 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 + - *183 + - *808 - *99 - *17 - *19 @@ -122434,11 +122916,11 @@ paths: schema: anyOf: - type: array - items: *805 + items: *809 - type: array items: *67 examples: - default-response: *792 + default-response: *796 headers: Link: *41 x-github: @@ -122457,7 +122939,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 + - *183 - *17 - *19 responses: @@ -122467,9 +122949,9 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: - default: *352 + default: *357 headers: Link: *41 x-github: @@ -122598,7 +123080,7 @@ webhooks: type: string enum: - disabled - enterprise: &806 + enterprise: &810 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -122667,7 +123149,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &807 + installation: &811 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -122688,7 +123170,7 @@ webhooks: required: - id - node_id - organization: &808 + organization: &812 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -122761,7 +123243,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &809 + repository: &813 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -122790,7 +123272,7 @@ webhooks: license: anyOf: - type: 'null' - - *186 + - *192 organization: anyOf: - type: 'null' @@ -123674,10 +124156,10 @@ webhooks: type: string enum: - enabled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -123753,11 +124235,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: &810 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + rule: &814 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 +124462,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: *810 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + rule: *814 sender: *4 required: - action @@ -124172,11 +124654,11 @@ webhooks: - everyone required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: *810 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + rule: *814 sender: *4 required: - action @@ -124247,7 +124729,7 @@ webhooks: required: true content: application/json: - schema: &813 + schema: &817 title: Exemption request cancellation event type: object properties: @@ -124255,11 +124737,11 @@ webhooks: type: string enum: - cancelled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: &811 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + exemption_request: &815 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -124497,7 +124979,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &812 + items: &816 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -124607,7 +125089,7 @@ webhooks: required: true content: application/json: - schema: &814 + schema: &818 title: Exemption request completed event type: object properties: @@ -124615,11 +125097,11 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + exemption_request: *815 sender: *4 required: - action @@ -124689,7 +125171,7 @@ webhooks: required: true content: application/json: - schema: &815 + schema: &819 title: Exemption request created event type: object properties: @@ -124697,11 +125179,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + exemption_request: *815 sender: *4 required: - action @@ -124771,7 +125253,7 @@ webhooks: required: true content: application/json: - schema: &816 + schema: &820 title: Exemption response dismissed event type: object properties: @@ -124779,12 +125261,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 - exemption_response: *812 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + exemption_request: *815 + exemption_response: *816 sender: *4 required: - action @@ -124856,7 +125338,7 @@ webhooks: required: true content: application/json: - schema: &817 + schema: &821 title: Exemption response submitted event type: object properties: @@ -124864,12 +125346,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 - exemption_response: *812 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + exemption_request: *815 + exemption_response: *816 sender: *4 required: - action @@ -124942,7 +125424,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *817 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125009,7 +125491,7 @@ webhooks: required: true content: application/json: - schema: *814 + schema: *818 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125076,7 +125558,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *819 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125143,7 +125625,7 @@ webhooks: required: true content: application/json: - schema: *816 + schema: *820 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125211,7 +125693,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *821 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125289,7 +125771,7 @@ webhooks: type: string enum: - completed - check_run: &819 + check_run: &823 title: CheckRun description: A check performed on the code of a given code change type: object @@ -125354,8 +125836,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *187 - repository: *246 + items: *193 + repository: *253 status: type: string enum: @@ -125399,7 +125881,7 @@ webhooks: - examples: - neutral - deployment: *818 + deployment: *822 details_url: type: string examples: @@ -125459,7 +125941,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *187 + items: *193 started_at: type: string format: date-time @@ -125497,10 +125979,10 @@ webhooks: - output - app - pull_requests - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + installation: *811 + enterprise: *810 + organization: *812 + repository: *813 sender: *4 required: - check_run @@ -125893,11 +126375,11 @@ webhooks: type: string enum: - created - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *823 + installation: *811 + enterprise: *810 + organization: *812 + repository: *813 sender: *4 required: - check_run @@ -126293,11 +126775,11 @@ webhooks: type: string enum: - requested_action - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *823 + installation: *811 + enterprise: *810 + organization: *812 + repository: *813 requested_action: description: The action requested by the user. type: object @@ -126702,11 +127184,11 @@ webhooks: type: string enum: - rerequested - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *823 + installation: *811 + enterprise: *810 + organization: *812 + repository: *813 sender: *4 required: - check_run @@ -127698,10 +128180,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -128386,10 +128868,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -129068,10 +129550,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -129240,7 +129722,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *516 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -129392,20 +129874,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &820 + commit_oid: &824 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: *810 + installation: *811 + organization: *812 + ref: &825 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: *813 sender: *4 required: - action @@ -129572,7 +130054,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *516 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -129813,12 +130295,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *824 + enterprise: *810 + installation: *811 + organization: *812 + ref: *825 + repository: *813 sender: *4 required: - action @@ -129916,7 +130398,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *511 + dismissed_comment: *516 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 +130583,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *824 + enterprise: *810 + installation: *811 + organization: *812 + ref: *825 + repository: *813 sender: *4 required: - action @@ -130275,7 +130757,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *516 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -130452,12 +130934,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *824 + enterprise: *810 + installation: *811 + organization: *812 + ref: *825 + repository: *813 sender: *4 required: - action @@ -130560,7 +131042,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *511 + dismissed_comment: *516 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 +131222,9 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 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 +131232,7 @@ webhooks: type: - string - 'null' - repository: *809 + repository: *813 sender: *4 required: - action @@ -130849,7 +131331,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *511 + dismissed_comment: *516 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 +131478,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *824 + enterprise: *810 + installation: *811 + organization: *812 + ref: *825 + repository: *813 sender: *4 required: - action @@ -131263,10 +131745,10 @@ webhooks: - updated_at - author_association - body - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -131347,18 +131829,18 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *808 - pusher_type: &822 + organization: *812 + pusher_type: &826 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &823 + ref: &827 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -131368,7 +131850,7 @@ webhooks: enum: - tag - branch - repository: *809 + repository: *813 sender: *4 required: - ref @@ -131450,10 +131932,10 @@ webhooks: type: string enum: - created - definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + definition: *130 + enterprise: *810 + installation: *811 + organization: *812 sender: *4 required: - action @@ -131538,9 +132020,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 sender: *4 required: - action @@ -131617,10 +132099,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + definition: *130 + enterprise: *810 + installation: *811 + organization: *812 sender: *4 required: - action @@ -131697,10 +132179,10 @@ webhooks: type: string enum: - updated - definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + definition: *130 + enterprise: *810 + installation: *811 + organization: *812 sender: *4 required: - action @@ -131777,19 +132259,19 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - repository: *809 - organization: *808 + enterprise: *810 + installation: *811 + repository: *813 + organization: *812 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *376 + items: *381 old_property_values: type: array description: The old custom property values for the repository. - items: *376 + items: *381 required: - action - repository @@ -131865,18 +132347,18 @@ webhooks: title: delete event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - pusher_type: *822 - ref: *823 + enterprise: *810 + installation: *811 + organization: *812 + pusher_type: *826 + ref: *827 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *809 + repository: *813 sender: *4 required: - ref @@ -131960,11 +132442,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *568 + installation: *811 + organization: *812 + enterprise: *810 + repository: *813 sender: *4 required: - action @@ -132048,11 +132530,11 @@ webhooks: type: string enum: - auto_reopened - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *568 + installation: *811 + organization: *812 + enterprise: *810 + repository: *813 sender: *4 required: - action @@ -132136,11 +132618,11 @@ webhooks: type: string enum: - created - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *568 + installation: *811 + organization: *812 + enterprise: *810 + repository: *813 sender: *4 required: - action @@ -132222,11 +132704,11 @@ webhooks: type: string enum: - dismissed - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *568 + installation: *811 + organization: *812 + enterprise: *810 + repository: *813 sender: *4 required: - action @@ -132308,11 +132790,11 @@ webhooks: type: string enum: - fixed - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *568 + installation: *811 + organization: *812 + enterprise: *810 + repository: *813 sender: *4 required: - action @@ -132395,11 +132877,11 @@ webhooks: type: string enum: - reintroduced - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *568 + installation: *811 + organization: *812 + enterprise: *810 + repository: *813 sender: *4 required: - action @@ -132481,11 +132963,11 @@ webhooks: type: string enum: - reopened - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *568 + installation: *811 + organization: *812 + enterprise: *810 + repository: *813 sender: *4 required: - action @@ -132562,9 +133044,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - key: &824 + enterprise: *810 + installation: *811 + key: &828 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 +133084,8 @@ webhooks: - verified - created_at - read_only - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -132680,11 +133162,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - key: *824 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + key: *828 + organization: *812 + repository: *813 sender: *4 required: - action @@ -133256,12 +133738,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 - workflow: &828 + workflow: &832 title: Workflow type: - object @@ -133999,13 +134481,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *569 + deployment: *574 pull_requests: type: array - items: *658 - repository: *809 - organization: *808 - installation: *807 + items: *663 + repository: *813 + organization: *812 + installation: *811 sender: *4 responses: '200': @@ -134076,7 +134558,7 @@ webhooks: type: string enum: - approved - approver: &825 + approver: &829 type: object properties: avatar_url: @@ -134119,11 +134601,11 @@ webhooks: type: string comment: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - reviewers: &826 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + reviewers: &830 type: array items: type: object @@ -134204,7 +134686,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &827 + workflow_job_run: &831 type: object properties: conclusion: @@ -134950,18 +135432,18 @@ webhooks: type: string enum: - rejected - approver: *825 + approver: *829 comment: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - reviewers: *826 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + reviewers: *830 sender: *4 since: type: string - workflow_job_run: *827 + workflow_job_run: *831 workflow_job_runs: type: array items: @@ -135678,13 +136160,13 @@ webhooks: type: string enum: - requested - enterprise: *806 + enterprise: *810 environment: type: string - installation: *807 - organization: *808 - repository: *809 - requestor: &833 + installation: *811 + organization: *812 + repository: *813 + requestor: &837 title: User type: - object @@ -137627,12 +138109,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 - workflow: *828 + workflow: *832 workflow_run: title: Deployment Workflow Run type: @@ -138323,7 +138805,7 @@ webhooks: type: string enum: - answered - answer: &831 + answer: &835 type: object properties: author_association: @@ -138483,11 +138965,11 @@ webhooks: - created_at - updated_at - body - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -138614,11 +139096,11 @@ webhooks: - from required: - category - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -138701,11 +139183,11 @@ webhooks: type: string enum: - closed - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -138787,7 +139269,7 @@ webhooks: type: string enum: - created - comment: &830 + comment: &834 type: object properties: author_association: @@ -138947,11 +139429,11 @@ webhooks: - updated_at - body - reactions - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139034,12 +139516,12 @@ webhooks: type: string enum: - deleted - comment: *830 - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + comment: *834 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139134,12 +139616,12 @@ webhooks: - from required: - body - comment: *830 - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + comment: *834 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139223,11 +139705,11 @@ webhooks: type: string enum: - created - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139309,11 +139791,11 @@ webhooks: type: string enum: - deleted - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139413,11 +139895,11 @@ webhooks: type: string required: - from - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139499,10 +139981,10 @@ webhooks: type: string enum: - labeled - discussion: *829 - enterprise: *806 - installation: *807 - label: &832 + discussion: *833 + enterprise: *810 + installation: *811 + label: &836 title: Label type: object properties: @@ -139535,8 +140017,8 @@ webhooks: - color - default - description - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139619,11 +140101,11 @@ webhooks: type: string enum: - locked - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139705,11 +140187,11 @@ webhooks: type: string enum: - pinned - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139791,11 +140273,11 @@ webhooks: type: string enum: - reopened - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139880,16 +140362,16 @@ webhooks: changes: type: object properties: - new_discussion: *829 - new_repository: *809 + new_discussion: *833 + new_repository: *813 required: - new_discussion - new_repository - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139972,10 +140454,10 @@ webhooks: type: string enum: - unanswered - discussion: *829 - old_answer: *831 - organization: *808 - repository: *809 + discussion: *833 + old_answer: *835 + organization: *812 + repository: *813 sender: *4 required: - action @@ -140057,12 +140539,12 @@ webhooks: type: string enum: - unlabeled - discussion: *829 - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + label: *836 + organization: *812 + repository: *813 sender: *4 required: - action @@ -140145,11 +140627,11 @@ webhooks: type: string enum: - unlocked - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -140231,11 +140713,11 @@ webhooks: type: string enum: - unpinned - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -140304,7 +140786,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *819 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140367,7 +140849,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *821 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140433,7 +140915,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *817 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140499,7 +140981,7 @@ webhooks: required: true content: application/json: - schema: *814 + schema: *818 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140565,7 +141047,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *819 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140631,7 +141113,7 @@ webhooks: required: true content: application/json: - schema: *816 + schema: *820 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140697,7 +141179,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *821 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140764,7 +141246,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *806 + enterprise: *810 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -141442,9 +141924,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *807 - organization: *808 - repository: *809 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - forkee @@ -141590,9 +142072,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 pages: description: The pages that were updated. type: array @@ -141630,7 +142112,7 @@ webhooks: - action - sha - html_url - repository: *809 + repository: *813 sender: *4 required: - pages @@ -141706,10 +142188,10 @@ webhooks: type: string enum: - created - enterprise: *806 + enterprise: *810 installation: *20 - organization: *808 - repositories: &834 + organization: *812 + repositories: &838 description: An array of repository objects that the installation can access. type: array @@ -141735,8 +142217,8 @@ webhooks: - name - full_name - private - repository: *809 - requester: *833 + repository: *813 + requester: *837 sender: *4 required: - action @@ -141811,11 +142293,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 + enterprise: *810 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *812 + repositories: *838 + repository: *813 requester: type: - 'null' @@ -141892,11 +142374,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *806 + enterprise: *810 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *812 + repositories: *838 + repository: *813 requester: type: - 'null' @@ -141973,10 +142455,10 @@ webhooks: type: string enum: - added - enterprise: *806 + enterprise: *810 installation: *20 - organization: *808 - repositories_added: &835 + organization: *812 + repositories_added: &839 description: An array of repository objects, which were added to the installation. type: array @@ -142022,15 +142504,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *809 - repository_selection: &836 + repository: *813 + repository_selection: &840 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *833 + requester: *837 sender: *4 required: - action @@ -142109,10 +142591,10 @@ webhooks: type: string enum: - removed - enterprise: *806 + enterprise: *810 installation: *20 - organization: *808 - repositories_added: *835 + organization: *812 + repositories_added: *839 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -142139,9 +142621,9 @@ webhooks: - name - full_name - private - repository: *809 - repository_selection: *836 - requester: *833 + repository: *813 + repository_selection: *840 + requester: *837 sender: *4 required: - action @@ -142220,11 +142702,11 @@ webhooks: type: string enum: - suspend - enterprise: *806 + enterprise: *810 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *812 + repositories: *838 + repository: *813 requester: type: - 'null' @@ -142407,10 +142889,10 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 target_type: type: string @@ -142489,11 +142971,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *806 + enterprise: *810 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *812 + repositories: *838 + repository: *813 requester: type: - 'null' @@ -142741,8 +143223,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143559,8 +144041,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143577,7 +144059,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -143921,8 +144403,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -144002,7 +144484,7 @@ webhooks: type: string enum: - deleted - comment: &837 + comment: &841 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -144169,8 +144651,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144983,8 +145465,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145001,7 +145483,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -145347,8 +145829,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -145428,7 +145910,7 @@ webhooks: type: string enum: - edited - changes: &861 + changes: &865 description: The changes to the comment. type: object properties: @@ -145440,9 +145922,9 @@ webhooks: type: string required: - from - comment: *837 - enterprise: *806 - installation: *807 + comment: *841 + enterprise: *810 + installation: *811 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146258,8 +146740,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146276,7 +146758,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -146620,8 +147102,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -146705,15 +147187,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *189 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 + blocking_issue: *189 blocking_issue_repo: *67 - installation: *807 - organization: *808 - repository: *809 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -146801,15 +147283,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *189 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 + blocking_issue: *189 blocking_issue_repo: *67 - installation: *807 - organization: *808 - repository: *809 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -146896,15 +147378,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *189 blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 - installation: *807 - organization: *808 - repository: *809 + blocking_issue: *189 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -146992,15 +147474,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *189 blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 - installation: *807 - organization: *808 - repository: *809 + blocking_issue: *189 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -147085,10 +147567,10 @@ webhooks: type: string enum: - assigned - assignee: *833 - enterprise: *806 - installation: *807 - issue: &840 + assignee: *837 + enterprise: *810 + installation: *811 + issue: &844 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147900,11 +148382,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147921,7 +148403,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -148024,8 +148506,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -148105,8 +148587,8 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -148923,11 +149405,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148944,7 +149426,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -149190,8 +149672,8 @@ webhooks: required: - state - closed_at - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -149270,8 +149752,8 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150079,11 +150561,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150100,7 +150582,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -150202,8 +150684,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -150282,8 +150764,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151114,11 +151596,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151135,7 +151617,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -151216,7 +151698,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &838 + milestone: &842 title: Milestone description: A collection of related issues and pull requests. type: object @@ -151359,8 +151841,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -151459,8 +151941,8 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152272,11 +152754,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152290,7 +152772,7 @@ webhooks: timeline_url: type: string format: uri - type: *331 + type: *336 title: description: Title of the issue type: string @@ -152396,9 +152878,9 @@ webhooks: - active_lock_reason - body - reactions - label: *832 - organization: *808 - repository: *809 + label: *836 + organization: *812 + repository: *813 sender: *4 required: - action @@ -152478,8 +152960,8 @@ webhooks: type: string enum: - labeled - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153290,11 +153772,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153308,7 +153790,7 @@ webhooks: timeline_url: type: string format: uri - type: *331 + type: *336 title: description: Title of the issue type: string @@ -153414,9 +153896,9 @@ webhooks: - active_lock_reason - body - reactions - label: *832 - organization: *808 - repository: *809 + label: *836 + organization: *812 + repository: *813 sender: *4 required: - action @@ -153496,8 +153978,8 @@ webhooks: type: string enum: - locked - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154333,11 +154815,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154351,7 +154833,7 @@ webhooks: timeline_url: type: string format: uri - type: *331 + type: *336 title: description: Title of the issue type: string @@ -154434,8 +154916,8 @@ webhooks: format: uri user_view_type: type: string - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -154514,8 +154996,8 @@ webhooks: type: string enum: - milestoned - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155345,11 +155827,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155366,7 +155848,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -155446,9 +155928,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *838 - organization: *808 - repository: *809 + milestone: *842 + organization: *812 + repository: *813 sender: *4 required: - action @@ -156340,11 +156822,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156440,7 +156922,7 @@ webhooks: required: - login - id - type: *331 + type: *336 required: - id - number @@ -156921,8 +157403,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157734,11 +158216,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157755,7 +158237,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -157857,8 +158339,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -157938,9 +158420,9 @@ webhooks: type: string enum: - pinned - enterprise: *806 - installation: *807 - issue: &839 + enterprise: *810 + installation: *811 + issue: &843 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -158746,11 +159228,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158767,7 +159249,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -158869,8 +159351,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -158949,8 +159431,8 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159784,11 +160266,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159885,9 +160367,9 @@ webhooks: format: uri user_view_type: type: string - type: *331 - organization: *808 - repository: *809 + type: *336 + organization: *812 + repository: *813 sender: *4 required: - action @@ -160776,11 +161258,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160797,7 +161279,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -161379,11 +161861,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *806 - installation: *807 - issue: *839 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + issue: *843 + organization: *812 + repository: *813 sender: *4 required: - action @@ -161463,12 +161945,12 @@ webhooks: type: string enum: - typed - enterprise: *806 - installation: *807 - issue: *840 - type: *331 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + issue: *844 + type: *336 + organization: *812 + repository: *813 sender: *4 required: - action @@ -161549,7 +162031,7 @@ webhooks: type: string enum: - unassigned - assignee: &864 + assignee: &868 title: User type: - object @@ -161621,11 +162103,11 @@ webhooks: required: - login - id - enterprise: *806 - installation: *807 - issue: *840 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + issue: *844 + organization: *812 + repository: *813 sender: *4 required: - action @@ -161704,12 +162186,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *806 - installation: *807 - issue: *840 - label: *832 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + issue: *844 + label: *836 + organization: *812 + repository: *813 sender: *4 required: - action @@ -161789,8 +162271,8 @@ webhooks: type: string enum: - unlocked - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -162624,11 +163106,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162645,7 +163127,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -162725,8 +163207,8 @@ webhooks: format: uri user_view_type: type: string - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -162806,11 +163288,11 @@ webhooks: type: string enum: - unpinned - enterprise: *806 - installation: *807 - issue: *839 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + issue: *843 + organization: *812 + repository: *813 sender: *4 required: - action @@ -162889,12 +163371,12 @@ webhooks: type: string enum: - untyped - enterprise: *806 - installation: *807 - issue: *840 - type: *331 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + issue: *844 + type: *336 + organization: *812 + repository: *813 sender: *4 required: - action @@ -162974,11 +163456,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + label: *836 + organization: *812 + repository: *813 sender: *4 required: - action @@ -163056,11 +163538,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + label: *836 + organization: *812 + repository: *813 sender: *4 required: - action @@ -163170,11 +163652,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + label: *836 + organization: *812 + repository: *813 sender: *4 required: - action @@ -163256,9 +163738,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: &841 + enterprise: *810 + installation: *811 + marketplace_purchase: &845 title: Marketplace Purchase type: object required: @@ -163346,8 +163828,8 @@ webhooks: type: integer unit_count: type: integer - organization: *808 - previous_marketplace_purchase: &842 + organization: *812 + previous_marketplace_purchase: &846 title: Marketplace Purchase type: object properties: @@ -163431,7 +163913,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *813 sender: *4 required: - action @@ -163511,10 +163993,10 @@ webhooks: - changed effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 + enterprise: *810 + installation: *811 + marketplace_purchase: *845 + organization: *812 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163602,7 +164084,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *813 sender: *4 required: - action @@ -163684,10 +164166,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 + enterprise: *810 + installation: *811 + marketplace_purchase: *845 + organization: *812 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163773,7 +164255,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *813 sender: *4 required: - action @@ -163854,8 +164336,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 marketplace_purchase: title: Marketplace Purchase type: object @@ -163941,9 +164423,9 @@ webhooks: type: integer unit_count: type: integer - organization: *808 - previous_marketplace_purchase: *842 - repository: *809 + organization: *812 + previous_marketplace_purchase: *846 + repository: *813 sender: *4 required: - action @@ -164023,12 +164505,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 - previous_marketplace_purchase: *842 - repository: *809 + enterprise: *810 + installation: *811 + marketplace_purchase: *845 + organization: *812 + previous_marketplace_purchase: *846 + repository: *813 sender: *4 required: - action @@ -164130,11 +164612,11 @@ webhooks: type: string required: - to - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + member: *837 + organization: *812 + repository: *813 sender: *4 required: - action @@ -164236,11 +164718,11 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + member: *837 + organization: *812 + repository: *813 sender: *4 required: - action @@ -164319,11 +164801,11 @@ webhooks: type: string enum: - removed - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + member: *837 + organization: *812 + repository: *813 sender: *4 required: - action @@ -164401,11 +164883,11 @@ webhooks: type: string enum: - added - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + member: *837 + organization: *812 + repository: *813 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164483,7 +164965,7 @@ webhooks: required: - login - id - team: &843 + team: &847 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -164713,11 +165195,11 @@ webhooks: type: string enum: - removed - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + member: *837 + organization: *812 + repository: *813 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164796,7 +165278,7 @@ webhooks: required: - login - id - team: *843 + team: *847 required: - action - scope @@ -164878,8 +165360,8 @@ webhooks: type: string enum: - checks_requested - installation: *807 - merge_group: &844 + installation: *811 + merge_group: &848 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -164898,15 +165380,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *503 + head_commit: *508 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -164992,10 +165474,10 @@ webhooks: - merged - invalidated - dequeued - installation: *807 - merge_group: *844 - organization: *808 - repository: *809 + installation: *811 + merge_group: *848 + organization: *812 + repository: *813 sender: *4 required: - action @@ -165068,7 +165550,7 @@ webhooks: type: string enum: - deleted - enterprise: *806 + enterprise: *810 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -165177,12 +165659,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *807 - organization: *808 + installation: *811 + organization: *812 repository: anyOf: - type: 'null' - - *809 + - *813 sender: *4 required: - action @@ -165262,11 +165744,11 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + milestone: *842 + organization: *812 + repository: *813 sender: *4 required: - action @@ -165345,9 +165827,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - milestone: &845 + enterprise: *810 + installation: *811 + milestone: &849 title: Milestone description: A collection of related issues and pull requests. type: object @@ -165489,8 +165971,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -165569,11 +166051,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + milestone: *842 + organization: *812 + repository: *813 sender: *4 required: - action @@ -165683,11 +166165,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + milestone: *842 + organization: *812 + repository: *813 sender: *4 required: - action @@ -165767,11 +166249,11 @@ webhooks: type: string enum: - opened - enterprise: *806 - installation: *807 - milestone: *845 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + milestone: *849 + organization: *812 + repository: *813 sender: *4 required: - action @@ -165850,11 +166332,11 @@ webhooks: type: string enum: - blocked - blocked_user: *833 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + blocked_user: *837 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -165933,11 +166415,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *833 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + blocked_user: *837 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -166016,9 +166498,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - membership: &846 + enterprise: *810 + installation: *811 + membership: &850 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -166128,8 +166610,8 @@ webhooks: - role - organization_url - user - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -166207,11 +166689,11 @@ webhooks: type: string enum: - member_added - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + membership: *850 + organization: *812 + repository: *813 sender: *4 required: - action @@ -166290,8 +166772,8 @@ webhooks: type: string enum: - member_invited - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -166413,10 +166895,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 - user: *833 + user: *837 required: - action - invitation @@ -166494,11 +166976,11 @@ webhooks: type: string enum: - member_removed - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + membership: *850 + organization: *812 + repository: *813 sender: *4 required: - action @@ -166585,11 +167067,11 @@ webhooks: properties: from: type: string - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + membership: *850 + organization: *812 + repository: *813 sender: *4 required: - action @@ -166665,9 +167147,9 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 package: description: Information about the package. type: object @@ -167190,7 +167672,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &847 + items: &851 title: Ruby Gems metadata type: object properties: @@ -167287,7 +167769,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *813 sender: *4 required: - action @@ -167363,9 +167845,9 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 package: description: Information about the package. type: object @@ -167727,7 +168209,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *847 + items: *851 source_url: type: string format: uri @@ -167798,7 +168280,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *813 sender: *4 required: - action @@ -167979,12 +168461,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *806 + enterprise: *810 id: type: integer - installation: *807 - organization: *808 - repository: *809 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - id @@ -168061,7 +168543,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &848 + personal_access_token_request: &852 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -168211,10 +168693,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *806 - organization: *808 + enterprise: *810 + organization: *812 sender: *4 - installation: *807 + installation: *811 required: - action - personal_access_token_request @@ -168291,11 +168773,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *848 - enterprise: *806 - organization: *808 + personal_access_token_request: *852 + enterprise: *810 + organization: *812 sender: *4 - installation: *807 + installation: *811 required: - action - personal_access_token_request @@ -168371,11 +168853,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *848 - enterprise: *806 - organization: *808 + personal_access_token_request: *852 + enterprise: *810 + organization: *812 sender: *4 - installation: *807 + installation: *811 required: - action - personal_access_token_request @@ -168450,11 +168932,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *848 - organization: *808 - enterprise: *806 + personal_access_token_request: *852 + organization: *812 + enterprise: *810 sender: *4 - installation: *807 + installation: *811 required: - action - personal_access_token_request @@ -168559,7 +169041,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *849 + last_response: *853 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -168591,8 +169073,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 zen: description: Random string of GitHub zen. @@ -168837,10 +169319,10 @@ webhooks: - from required: - note - enterprise: *806 - installation: *807 - organization: *808 - project_card: &850 + enterprise: *810 + installation: *811 + organization: *812 + project_card: &854 title: Project Card type: object properties: @@ -168963,7 +169445,7 @@ webhooks: - creator - created_at - updated_at - repository: *809 + repository: *813 sender: *4 required: - action @@ -169044,11 +169526,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project_card: *850 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + project_card: *854 + repository: *813 sender: *4 required: - action @@ -169128,9 +169610,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 project_card: title: Project Card type: object @@ -169260,7 +169742,7 @@ webhooks: repository: anyOf: - type: 'null' - - *809 + - *813 sender: *4 required: - action @@ -169354,11 +169836,11 @@ webhooks: - from required: - note - enterprise: *806 - installation: *807 - organization: *808 - project_card: *850 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + project_card: *854 + repository: *813 sender: *4 required: - action @@ -169452,9 +169934,9 @@ webhooks: - from required: - column_id - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 project_card: allOf: - title: Project Card @@ -169651,7 +170133,7 @@ webhooks: type: string required: - after_id - repository: *809 + repository: *813 sender: *4 required: - action @@ -169731,10 +170213,10 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - organization: *808 - project: &852 + enterprise: *810 + installation: *811 + organization: *812 + project: &856 title: Project type: object properties: @@ -169861,7 +170343,7 @@ webhooks: - creator - created_at - updated_at - repository: *809 + repository: *813 sender: *4 required: - action @@ -169941,10 +170423,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project_column: &851 + enterprise: *810 + installation: *811 + organization: *812 + project_column: &855 title: Project Column type: object properties: @@ -169984,7 +170466,7 @@ webhooks: - name - created_at - updated_at - repository: *809 + repository: *813 sender: *4 required: - action @@ -170063,14 +170545,14 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 + enterprise: *810 + installation: *811 + organization: *812 + project_column: *855 repository: anyOf: - type: 'null' - - *809 + - *813 sender: *4 required: - action @@ -170159,11 +170641,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + project_column: *855 + repository: *813 sender: *4 required: - action @@ -170243,11 +170725,11 @@ webhooks: type: string enum: - moved - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + project_column: *855 + repository: *813 sender: *4 required: - action @@ -170327,11 +170809,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + project: *856 + repository: *813 sender: *4 required: - action @@ -170411,14 +170893,14 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - project: *852 + enterprise: *810 + installation: *811 + organization: *812 + project: *856 repository: anyOf: - type: 'null' - - *809 + - *813 sender: *4 required: - action @@ -170519,11 +171001,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + project: *856 + repository: *813 sender: *4 required: - action @@ -170602,11 +171084,11 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + project: *856 + repository: *813 sender: *4 required: - action @@ -170687,9 +171169,9 @@ webhooks: type: string enum: - closed - installation: *807 - organization: *808 - projects_v2: *363 + installation: *811 + organization: *812 + projects_v2: *368 sender: *4 required: - action @@ -170770,9 +171252,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2: *363 + installation: *811 + organization: *812 + projects_v2: *368 sender: *4 required: - action @@ -170853,9 +171335,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2: *363 + installation: *811 + organization: *812 + projects_v2: *368 sender: *4 required: - action @@ -170976,9 +171458,9 @@ webhooks: type: string to: type: string - installation: *807 - organization: *808 - projects_v2: *363 + installation: *811 + organization: *812 + projects_v2: *368 sender: *4 required: - action @@ -171061,7 +171543,7 @@ webhooks: type: string enum: - archived - changes: &856 + changes: &860 type: object properties: archived_at: @@ -171077,9 +171559,9 @@ webhooks: - string - 'null' format: date-time - installation: *807 - organization: *808 - projects_v2_item: &853 + installation: *811 + organization: *812 + projects_v2_item: &857 title: Projects v2 Item description: An item belonging to a project type: object @@ -171097,7 +171579,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *370 + content_type: *375 creator: *4 created_at: type: string @@ -171219,9 +171701,9 @@ webhooks: - 'null' to: type: string - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *811 + organization: *812 + projects_v2_item: *857 sender: *4 required: - action @@ -171303,9 +171785,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *811 + organization: *812 + projects_v2_item: *857 sender: *4 required: - action @@ -171386,9 +171868,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *811 + organization: *812 + projects_v2_item: *857 sender: *4 required: - action @@ -171493,7 +171975,7 @@ webhooks: oneOf: - type: string - type: integer - - &854 + - &858 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -171517,7 +171999,7 @@ webhooks: required: - id - name - - &855 + - &859 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -171557,8 +172039,8 @@ webhooks: oneOf: - type: string - type: integer - - *854 - - *855 + - *858 + - *859 type: - 'null' - string @@ -171581,9 +172063,9 @@ webhooks: - 'null' required: - body - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *811 + organization: *812 + projects_v2_item: *857 sender: *4 required: - action @@ -171680,9 +172162,9 @@ webhooks: type: - string - 'null' - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *811 + organization: *812 + projects_v2_item: *857 sender: *4 required: - action @@ -171765,10 +172247,10 @@ webhooks: type: string enum: - restored - changes: *856 - installation: *807 - organization: *808 - projects_v2_item: *853 + changes: *860 + installation: *811 + organization: *812 + projects_v2_item: *857 sender: *4 required: - action @@ -171850,9 +172332,9 @@ webhooks: type: string enum: - reopened - installation: *807 - organization: *808 - projects_v2: *363 + installation: *811 + organization: *812 + projects_v2: *368 sender: *4 required: - action @@ -171933,9 +172415,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *811 + organization: *812 + projects_v2_status_update: *861 sender: *4 required: - action @@ -172016,9 +172498,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *811 + organization: *812 + projects_v2_status_update: *861 sender: *4 required: - action @@ -172164,9 +172646,9 @@ webhooks: - string - 'null' format: date - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *811 + organization: *812 + projects_v2_status_update: *861 sender: *4 required: - action @@ -172237,10 +172719,10 @@ webhooks: title: public event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - repository @@ -172317,13 +172799,13 @@ webhooks: type: string enum: - assigned - assignee: *833 - enterprise: *806 - installation: *807 - number: &858 + assignee: *837 + enterprise: *810 + installation: *811 + number: &862 description: The pull request number. type: integer - organization: *808 + organization: *812 pull_request: title: Pull Request type: object @@ -174672,7 +175154,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 sender: *4 required: - action @@ -174754,11 +175236,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 number: type: integer - organization: *808 + organization: *812 pull_request: title: Pull Request type: object @@ -177100,7 +177582,7 @@ webhooks: - draft reason: type: string - repository: *809 + repository: *813 sender: *4 required: - action @@ -177182,11 +177664,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 number: type: integer - organization: *808 + organization: *812 pull_request: title: Pull Request type: object @@ -179528,7 +180010,7 @@ webhooks: - draft reason: type: string - repository: *809 + repository: *813 sender: *4 required: - action @@ -179610,13 +180092,13 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: &859 + enterprise: *810 + installation: *811 + number: *862 + organization: *812 + pull_request: &863 allOf: - - *658 + - *663 - type: object properties: allow_auto_merge: @@ -179678,7 +180160,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *809 + repository: *813 sender: *4 required: - action @@ -179759,12 +180241,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *810 + installation: *811 + number: *862 + organization: *812 + pull_request: *863 + repository: *813 sender: *4 required: - action @@ -179844,11 +180326,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *806 - milestone: *368 - number: *858 - organization: *808 - pull_request: &860 + enterprise: *810 + milestone: *373 + number: *862 + organization: *812 + pull_request: &864 title: Pull Request type: object properties: @@ -182175,7 +182657,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 sender: *4 required: - action @@ -182254,11 +182736,11 @@ webhooks: type: string enum: - dequeued - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 number: type: integer - organization: *808 + organization: *812 pull_request: title: Pull Request type: object @@ -184604,7 +185086,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *809 + repository: *813 sender: *4 required: - action @@ -184728,12 +185210,12 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *810 + installation: *811 + number: *862 + organization: *812 + pull_request: *863 + repository: *813 sender: *4 required: - action @@ -184813,11 +185295,11 @@ webhooks: type: string enum: - enqueued - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 number: type: integer - organization: *808 + organization: *812 pull_request: title: Pull Request type: object @@ -187148,7 +187630,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 sender: *4 required: - action @@ -187228,11 +187710,11 @@ webhooks: type: string enum: - labeled - enterprise: *806 - installation: *807 - label: *832 - number: *858 - organization: *808 + enterprise: *810 + installation: *811 + label: *836 + number: *862 + organization: *812 pull_request: title: Pull Request type: object @@ -189580,7 +190062,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 sender: *4 required: - action @@ -189661,10 +190143,10 @@ webhooks: type: string enum: - locked - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *810 + installation: *811 + number: *862 + organization: *812 pull_request: title: Pull Request type: object @@ -192010,7 +192492,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 sender: *4 required: - action @@ -192090,12 +192572,12 @@ webhooks: type: string enum: - milestoned - enterprise: *806 - milestone: *368 - number: *858 - organization: *808 - pull_request: *860 - repository: *809 + enterprise: *810 + milestone: *373 + number: *862 + organization: *812 + pull_request: *864 + repository: *813 sender: *4 required: - action @@ -192174,12 +192656,12 @@ webhooks: type: string enum: - opened - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *810 + installation: *811 + number: *862 + organization: *812 + pull_request: *863 + repository: *813 sender: *4 required: - action @@ -192260,12 +192742,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *810 + installation: *811 + number: *862 + organization: *812 + pull_request: *863 + repository: *813 sender: *4 required: - action @@ -192345,12 +192827,12 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *810 + installation: *811 + number: *862 + organization: *812 + pull_request: *863 + repository: *813 sender: *4 required: - action @@ -192725,9 +193207,9 @@ webhooks: - start_side - side - reactions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 pull_request: type: object properties: @@ -194957,7 +195439,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *813 sender: *4 required: - action @@ -195037,7 +195519,7 @@ webhooks: type: string enum: - deleted - comment: &862 + comment: &866 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 +195812,9 @@ webhooks: - start_side - side - reactions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 pull_request: type: object properties: @@ -197550,7 +198032,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *813 sender: *4 required: - action @@ -197630,11 +198112,11 @@ webhooks: type: string enum: - edited - changes: *861 - comment: *862 - enterprise: *806 - installation: *807 - organization: *808 + changes: *865 + comment: *866 + enterprise: *810 + installation: *811 + organization: *812 pull_request: type: object properties: @@ -199855,7 +200337,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *813 sender: *4 required: - action @@ -199936,9 +200418,9 @@ webhooks: type: string enum: - dismissed - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 pull_request: title: Simple Pull Request type: object @@ -202171,7 +202653,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *813 review: description: The review that was affected. type: object @@ -202422,9 +202904,9 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 pull_request: title: Simple Pull Request type: object @@ -204538,8 +205020,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 - review: &863 + repository: *813 + review: &867 description: The review that was affected. type: object properties: @@ -204777,12 +205259,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 number: description: The pull request number. type: integer - organization: *808 + organization: *812 pull_request: title: Pull Request type: object @@ -207129,7 +207611,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 requested_reviewer: title: User type: @@ -207215,12 +207697,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 number: description: The pull request number. type: integer - organization: *808 + organization: *812 pull_request: title: Pull Request type: object @@ -209574,7 +210056,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 requested_team: title: Team description: Groups of organization members that gives permissions @@ -209769,12 +210251,12 @@ webhooks: type: string enum: - review_requested - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 number: description: The pull request number. type: integer - organization: *808 + organization: *812 pull_request: title: Pull Request type: object @@ -212123,7 +212605,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 requested_reviewer: title: User type: @@ -212210,12 +212692,12 @@ webhooks: type: string enum: - review_requested - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 number: description: The pull request number. type: integer - organization: *808 + organization: *812 pull_request: title: Pull Request type: object @@ -214555,7 +215037,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 requested_team: title: Team description: Groups of organization members that gives permissions @@ -214739,9 +215221,9 @@ webhooks: type: string enum: - submitted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 pull_request: title: Simple Pull Request type: object @@ -216977,8 +217459,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 - review: *863 + repository: *813 + review: *867 sender: *4 required: - action @@ -217058,9 +217540,9 @@ webhooks: type: string enum: - resolved - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 pull_request: title: Simple Pull Request type: object @@ -219191,7 +219673,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *813 sender: *4 thread: type: object @@ -219588,9 +220070,9 @@ webhooks: type: string enum: - unresolved - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 pull_request: title: Simple Pull Request type: object @@ -221704,7 +222186,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *813 sender: *4 thread: type: object @@ -222103,10 +222585,10 @@ webhooks: type: string before: type: string - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *810 + installation: *811 + number: *862 + organization: *812 pull_request: title: Pull Request type: object @@ -224441,7 +224923,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 sender: *4 required: - action @@ -224523,11 +225005,11 @@ webhooks: type: string enum: - unassigned - assignee: *864 - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + assignee: *868 + enterprise: *810 + installation: *811 + number: *862 + organization: *812 pull_request: title: Pull Request type: object @@ -226877,7 +227359,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 sender: *4 required: - action @@ -226956,11 +227438,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *806 - installation: *807 - label: *832 - number: *858 - organization: *808 + enterprise: *810 + installation: *811 + label: *836 + number: *862 + organization: *812 pull_request: title: Pull Request type: object @@ -229299,7 +229781,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 sender: *4 required: - action @@ -229380,10 +229862,10 @@ webhooks: type: string enum: - unlocked - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *810 + installation: *811 + number: *862 + organization: *812 pull_request: title: Pull Request type: object @@ -231712,7 +232194,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 sender: *4 required: - action @@ -231915,7 +232397,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *806 + enterprise: *810 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -232010,8 +232492,8 @@ webhooks: - url - author - committer - installation: *807 - organization: *808 + installation: *811 + organization: *812 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -232599,9 +233081,9 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 registry_package: type: object properties: @@ -233078,7 +233560,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *847 + items: *851 summary: type: string tag_name: @@ -233134,7 +233616,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *813 sender: *4 required: - action @@ -233212,9 +233694,9 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 registry_package: type: object properties: @@ -233526,7 +234008,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *847 + items: *851 summary: type: string tag_name: @@ -233576,7 +234058,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *813 sender: *4 required: - action @@ -233653,10 +234135,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - release: &865 + enterprise: *810 + installation: *811 + organization: *812 + release: &869 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -233987,7 +234469,7 @@ webhooks: - updated_at - zipball_url - body - repository: *809 + repository: *813 sender: *4 required: - action @@ -234064,11 +234546,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + release: *869 + repository: *813 sender: *4 required: - action @@ -234185,11 +234667,11 @@ webhooks: type: boolean required: - to - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + release: *869 + repository: *813 sender: *4 required: - action @@ -234267,9 +234749,9 @@ webhooks: type: string enum: - prereleased - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -234605,7 +235087,7 @@ webhooks: - string - 'null' format: uri - repository: *809 + repository: *813 sender: *4 required: - action @@ -234681,10 +235163,10 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - release: &866 + enterprise: *810 + installation: *811 + organization: *812 + release: &870 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -235017,7 +235499,7 @@ webhooks: - string - 'null' format: uri - repository: *809 + repository: *813 sender: *4 required: - action @@ -235093,11 +235575,11 @@ webhooks: type: string enum: - released - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + release: *869 + repository: *813 sender: *4 required: - action @@ -235173,11 +235655,11 @@ webhooks: type: string enum: - unpublished - enterprise: *806 - installation: *807 - organization: *808 - release: *866 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + release: *870 + repository: *813 sender: *4 required: - action @@ -235253,11 +235735,11 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_advisory: *711 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + repository_advisory: *716 sender: *4 required: - action @@ -235333,11 +235815,11 @@ webhooks: type: string enum: - reported - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_advisory: *711 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + repository_advisory: *716 sender: *4 required: - action @@ -235413,10 +235895,10 @@ webhooks: type: string enum: - archived - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -235493,10 +235975,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -235574,10 +236056,10 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -235662,10 +236144,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: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -235780,10 +236262,10 @@ webhooks: - 'null' items: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -235855,10 +236337,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 status: type: string @@ -235939,10 +236421,10 @@ webhooks: type: string enum: - privatized - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -236019,10 +236501,10 @@ webhooks: type: string enum: - publicized - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -236116,10 +236598,10 @@ webhooks: - name required: - repository - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -236199,11 +236681,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_ruleset: *158 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + repository_ruleset: *163 sender: *4 required: - action @@ -236281,11 +236763,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_ruleset: *158 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + repository_ruleset: *163 sender: *4 required: - action @@ -236363,11 +236845,11 @@ webhooks: type: string enum: - edited - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_ruleset: *158 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + repository_ruleset: *163 changes: type: object properties: @@ -236386,16 +236868,16 @@ webhooks: properties: added: type: array - items: *132 + items: *137 deleted: type: array - items: *132 + items: *137 updated: type: array items: type: object properties: - condition: *132 + condition: *137 changes: type: object properties: @@ -236428,16 +236910,16 @@ webhooks: properties: added: type: array - items: *679 + items: *684 deleted: type: array - items: *679 + items: *684 updated: type: array items: type: object properties: - rule: *679 + rule: *684 changes: type: object properties: @@ -236674,10 +237156,10 @@ webhooks: - from required: - owner - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -236755,10 +237237,10 @@ webhooks: type: string enum: - unarchived - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -236836,7 +237318,7 @@ webhooks: type: string enum: - create - alert: &867 + alert: &871 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -236960,10 +237442,10 @@ webhooks: type: string enum: - open - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -237173,10 +237655,10 @@ webhooks: type: string enum: - dismissed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -237254,11 +237736,11 @@ webhooks: type: string enum: - reopen - alert: *867 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *871 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -237460,10 +237942,10 @@ webhooks: enum: - fixed - open - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -237541,17 +238023,17 @@ webhooks: type: string enum: - created - alert: &868 + alert: &872 type: object properties: - number: *109 - created_at: *116 + number: *114 + created_at: *121 updated_at: anyOf: - type: 'null' - - *117 - url: *114 - html_url: *115 + - *122 + url: *119 + html_url: *120 locations_url: type: string format: uri @@ -237655,10 +238137,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -237739,11 +238221,11 @@ webhooks: type: string enum: - created - alert: *868 - installation: *807 - location: *869 - organization: *808 - repository: *809 + alert: *872 + installation: *811 + location: *873 + organization: *812 + repository: *813 sender: *4 required: - location @@ -237981,11 +238463,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *872 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -238063,11 +238545,11 @@ webhooks: type: string enum: - reopened - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *872 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -238145,11 +238627,11 @@ webhooks: type: string enum: - resolved - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *872 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -238227,11 +238709,11 @@ webhooks: type: string enum: - validated - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *872 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -238361,10 +238843,10 @@ webhooks: - organization - enterprise - - repository: *809 - enterprise: *806 - installation: *807 - organization: *808 + repository: *813 + enterprise: *810 + installation: *811 + organization: *812 sender: *4 required: - action @@ -238442,11 +238924,11 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - security_advisory: &870 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + security_advisory: &874 description: The details of the security advisory, including summary, description, and severity. type: object @@ -238463,7 +238945,7 @@ webhooks: required: - vector_string - score - cvss_severities: *111 + cvss_severities: *116 cwes: type: array items: @@ -238632,11 +239114,11 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - security_advisory: *870 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + security_advisory: *874 sender: *4 required: - action @@ -238709,10 +239191,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -238730,7 +239212,7 @@ webhooks: required: - vector_string - score - cvss_severities: *111 + cvss_severities: *116 cwes: type: array items: @@ -238898,11 +239380,11 @@ webhooks: from: type: object properties: - security_and_analysis: *377 - enterprise: *806 - installation: *807 - organization: *808 - repository: *443 + security_and_analysis: *382 + enterprise: *810 + installation: *811 + organization: *812 + repository: *448 sender: *4 required: - changes @@ -238980,12 +239462,12 @@ webhooks: type: string enum: - cancelled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 - sponsorship: &871 + sponsorship: &875 type: object properties: created_at: @@ -239290,12 +239772,12 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 - sponsorship: *871 + sponsorship: *875 required: - action - sponsorship @@ -239383,12 +239865,12 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 - sponsorship: *871 + sponsorship: *875 required: - action - changes @@ -239465,17 +239947,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &872 + effective_date: &876 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: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 - sponsorship: *871 + sponsorship: *875 required: - action - sponsorship @@ -239549,7 +240031,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &873 + changes: &877 type: object properties: tier: @@ -239593,13 +240075,13 @@ webhooks: - from required: - tier - effective_date: *872 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + effective_date: *876 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 - sponsorship: *871 + sponsorship: *875 required: - action - changes @@ -239676,13 +240158,13 @@ webhooks: type: string enum: - tier_changed - changes: *873 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + changes: *877 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 - sponsorship: *871 + sponsorship: *875 required: - action - changes @@ -239756,10 +240238,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -239843,10 +240325,10 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -240280,15 +240762,15 @@ webhooks: type: - string - 'null' - enterprise: *806 + enterprise: *810 id: description: The unique identifier of the status. type: integer - installation: *807 + installation: *811 name: type: string - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 sha: description: The Commit SHA. @@ -240398,15 +240880,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 + parent_issue: *189 parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 - installation: *807 - organization: *808 - repository: *809 + sub_issue: *189 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -240490,15 +240972,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 + parent_issue: *189 parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 - installation: *807 - organization: *808 - repository: *809 + sub_issue: *189 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -240582,15 +241064,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 + sub_issue: *189 sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 - installation: *807 - organization: *808 - repository: *809 + parent_issue: *189 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -240674,15 +241156,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 + sub_issue: *189 sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 - installation: *807 - organization: *808 - repository: *809 + parent_issue: *189 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -240759,12 +241241,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 - team: &874 + team: &878 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -240994,9 +241476,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 repository: title: Repository description: A git repository @@ -241466,7 +241948,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *878 required: - action - team @@ -241542,9 +242024,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 repository: title: Repository description: A git repository @@ -242014,7 +242496,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *878 required: - action - team @@ -242091,9 +242573,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 repository: title: Repository description: A git repository @@ -242563,7 +243045,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *878 required: - action - team @@ -242707,9 +243189,9 @@ webhooks: - from required: - permissions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 repository: title: Repository description: A git repository @@ -243179,7 +243661,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *878 required: - action - changes @@ -243257,9 +243739,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 repository: title: Repository description: A git repository @@ -243729,7 +244211,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *878 required: - action - team @@ -243805,10 +244287,10 @@ webhooks: type: string enum: - started - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -243881,17 +244363,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *806 + enterprise: *810 inputs: type: - object - 'null' additionalProperties: true - installation: *807 - organization: *808 + installation: *811 + organization: *812 ref: type: string - repository: *809 + repository: *813 sender: *4 workflow: type: string @@ -243973,10 +244455,10 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 workflow_job: allOf: @@ -244232,7 +244714,7 @@ webhooks: type: string required: - conclusion - deployment: *569 + deployment: *574 required: - action - repository @@ -244311,10 +244793,10 @@ webhooks: type: string enum: - in_progress - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 workflow_job: allOf: @@ -244596,7 +245078,7 @@ webhooks: required: - status - steps - deployment: *569 + deployment: *574 required: - action - repository @@ -244675,10 +245157,10 @@ webhooks: type: string enum: - queued - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 workflow_job: type: object @@ -244824,7 +245306,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *569 + deployment: *574 required: - action - repository @@ -244903,10 +245385,10 @@ webhooks: type: string enum: - waiting - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 workflow_job: type: object @@ -245053,7 +245535,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *569 + deployment: *574 required: - action - repository @@ -245133,12 +245615,12 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 - workflow: *828 + workflow: *832 workflow_run: title: Workflow Run type: object @@ -246157,12 +246639,12 @@ webhooks: type: string enum: - in_progress - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 - workflow: *828 + workflow: *832 workflow_run: title: Workflow Run type: object @@ -247166,12 +247648,12 @@ webhooks: type: string enum: - requested - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 - workflow: *828 + workflow: *832 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 8d97d0fbd..4c3f98c57 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -188,6 +188,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -45110,6 +45114,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 +45907,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -59938,7 +60571,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "secret-scanning", "subcategory": "secret-scanning" @@ -60968,6 +61601,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 +63532,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 +63715,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 +63723,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 +63731,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 +65263,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", @@ -66119,8 +66775,904 @@ } }, { - "name": "username", - "description": "The handle for the GitHub user account.", + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "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": { @@ -66130,40 +67682,14 @@ ], "responses": { "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "description": "Successfully unassigned the enterprise team from the organization." } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "subcategory": "enterprise-team-organizations" } } }, @@ -66413,6 +67939,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -114540,7 +116076,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -114684,7 +116220,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 +116228,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 +116236,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -135677,6 +137213,110 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -158163,29 +159803,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -217689,17 +219306,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 +228296,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 +406827,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 +406854,6 @@ "schema": { "type": "string" } - }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } } ], "responses": { @@ -631363,7 +632955,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/enterprise-cloud@latest//get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -805632,17 +807224,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 +816187,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 +844870,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 +845001,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 +845009,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 +845017,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index f0616924a..90d229331 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -99,6 +99,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -703,7 +705,7 @@ paths: required: - vector_string - score - cvss_severities: &111 + cvss_severities: &116 type: - object - 'null' @@ -750,7 +752,7 @@ paths: required: - vector_string - score - epss: &112 + epss: &117 type: - object - 'null' @@ -913,7 +915,7 @@ paths: - subscriptions_url - type - url - type: &397 + type: &402 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: &231 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 + - &718 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 + - &314 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: &315 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: &316 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1808,7 +1810,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &723 + schema: &728 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: &230 title: Validation Error description: Validation Error type: object @@ -1911,7 +1913,7 @@ paths: description: Response content: application/json: - schema: &312 + schema: &317 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2046,7 +2048,7 @@ paths: - request - response examples: - default: &313 + default: &318 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2250,7 +2252,7 @@ paths: parameters: - *17 - *19 - - &189 + - &195 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) @@ -3036,7 +3038,7 @@ paths: license: anyOf: - type: 'null' - - &186 + - &192 title: License Simple description: License Simple type: object @@ -7785,7 +7787,7 @@ paths: description: Response content: application/json: - schema: &225 + schema: &232 type: object properties: total_active_caches_count: @@ -7800,7 +7802,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &226 + default: &233 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -8005,7 +8007,7 @@ paths: - public_ip_enabled - platform examples: - default: &227 + default: &234 value: total_count: 2 runners: @@ -8295,7 +8297,7 @@ paths: description: Response content: application/json: - schema: &228 + schema: &235 type: object properties: public_ips: @@ -8322,7 +8324,7 @@ paths: required: - public_ips examples: - default: &229 + default: &236 value: public_ips: current_usage: 17 @@ -8362,7 +8364,7 @@ paths: type: array items: *45 examples: - default: &230 + default: &237 value: id: 4-core cpu_cores: 4 @@ -8620,7 +8622,7 @@ paths: - all - local_only - selected - selected_actions_url: &233 + selected_actions_url: &240 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` @@ -8700,7 +8702,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &235 + schema: &242 type: object properties: days: @@ -8718,7 +8720,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &724 + '401': &729 description: Authorization failure '404': *6 x-github: @@ -8746,7 +8748,7 @@ paths: required: true content: application/json: - schema: &236 + schema: &243 type: object properties: days: @@ -8795,7 +8797,7 @@ paths: required: - approval_policy examples: - default: &237 + default: &244 value: approval_policy: first_time_contributors '404': *6 @@ -8853,7 +8855,7 @@ paths: description: Response content: application/json: - schema: &238 + schema: &245 type: object required: - run_workflows_from_fork_pull_requests @@ -8907,7 +8909,7 @@ paths: required: true content: application/json: - schema: &239 + schema: &246 type: object required: - run_workflows_from_fork_pull_requests @@ -9343,7 +9345,7 @@ paths: description: Success response content: application/json: - schema: &242 + schema: &249 type: object properties: default_workflow_permissions: &56 @@ -9391,7 +9393,7 @@ paths: required: true content: application/json: - schema: &243 + schema: &250 type: object properties: default_workflow_permissions: *56 @@ -10236,7 +10238,7 @@ paths: application/json: schema: type: array - items: &247 + items: &254 title: Runner Application description: Runner Application type: object @@ -10261,7 +10263,7 @@ paths: - download_url - filename examples: - default: &248 + default: &255 value: - os: osx architecture: x64 @@ -10345,7 +10347,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &249 + '201': &256 description: Response content: application/json: @@ -10464,7 +10466,7 @@ paths: - token - expires_at examples: - default: &250 + default: &257 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10504,7 +10506,7 @@ paths: application/json: schema: *68 examples: - default: &251 + default: &258 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10536,7 +10538,7 @@ paths: application/json: schema: *65 examples: - default: &252 + default: &259 value: id: 23 name: MBP @@ -10752,7 +10754,7 @@ paths: - *39 - *64 responses: - '200': &253 + '200': &260 description: Response content: application/json: @@ -10808,7 +10810,7 @@ paths: parameters: - *39 - *64 - - &254 + - &261 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10905,7 +10907,7 @@ paths: required: true content: application/json: - schema: &261 + schema: &268 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11556,7 +11558,7 @@ paths: required: false schema: type: string - - &262 + - &269 name: include description: |- The event types to include: @@ -11574,7 +11576,7 @@ paths: - web - git - all - - &263 + - &270 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 +11584,7 @@ paths: required: false schema: type: string - - &264 + - &271 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 +11592,7 @@ paths: required: false schema: type: string - - &265 + - &272 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 +11614,7 @@ paths: application/json: schema: type: array - items: &266 + items: &273 type: object properties: "@timestamp": @@ -11734,7 +11736,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &267 + default: &274 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12402,7 +12404,7 @@ paths: application/json: schema: type: array - items: &268 + items: &275 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12574,7 +12576,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &269 + default: &276 value: - id: 21 number: 42 @@ -12679,7 +12681,7 @@ paths: application/json: schema: type: array - items: &271 + items: &278 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12810,7 +12812,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &272 + default: &279 value: - id: 21 number: 42 @@ -12895,7 +12897,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &277 + - &284 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`, @@ -12905,7 +12907,7 @@ paths: schema: &100 type: string description: The name of the tool used to generate the code scanning analysis. - - &278 + - &285 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 @@ -12929,7 +12931,7 @@ paths: be returned. in: query required: false - schema: &279 + schema: &286 type: string description: State of a code scanning alert. enum: @@ -12954,36 +12956,36 @@ paths: application/json: schema: type: array - items: &280 + items: &287 type: object properties: - number: &109 + number: &114 type: integer description: The security alert number. readOnly: true - created_at: &116 + created_at: &121 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: &122 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: &119 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &115 + html_url: &120 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &509 + instances_url: &514 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -12999,7 +13001,7 @@ paths: - dismissed - fixed - - fixed_at: &119 + fixed_at: &124 type: - string - 'null' @@ -13011,7 +13013,7 @@ paths: anyOf: - type: 'null' - *4 - dismissed_at: &118 + dismissed_at: &123 type: - string - 'null' @@ -13019,7 +13021,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &510 + dismissed_reason: &515 type: - string - 'null' @@ -13030,14 +13032,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &511 + dismissed_comment: &516 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &512 + rule: &517 type: object properties: id: @@ -13098,7 +13100,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &513 + tool: &518 type: object properties: name: *100 @@ -13109,15 +13111,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *101 - most_recent_instance: &514 + most_recent_instance: &519 type: object properties: - ref: &507 + ref: &512 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &524 + analysis_key: &529 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13128,7 +13130,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &525 + category: &530 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13519,7 +13521,7 @@ paths: - most_recent_instance - repository examples: - default: &281 + default: &288 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -13750,7 +13752,7 @@ paths: headers: Link: *41 '404': *6 - '503': &163 + '503': &168 description: Service unavailable content: application/json: @@ -14178,7 +14180,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &282 + code_scanning_options: &289 type: - object - 'null' @@ -14376,7 +14378,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &291 type: array description: A list of default code security configurations items: @@ -14392,7 +14394,7 @@ paths: default configuration: *103 examples: - default: &285 + default: &292 value: - default_for_new_repos: public configuration: @@ -14719,7 +14721,7 @@ paths: - *39 - *105 responses: - '204': &129 + '204': &134 description: A header with no content is returned. '400': *14 '403': *27 @@ -14846,7 +14848,7 @@ paths: default: value: default_for_new_repos: all - configuration: &283 + configuration: &290 value: id: 1325 target_type: organization @@ -14931,7 +14933,7 @@ paths: application/json: schema: type: array - items: &286 + items: &293 type: object description: Repositories associated with a code security configuration and attachment status @@ -14955,7 +14957,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &287 + repository: &294 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15438,7 +15440,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &120 + items: &125 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -15456,7 +15458,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &273 + - &280 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15533,7 +15535,7 @@ paths: parent: anyOf: - type: 'null' - - &344 + - &349 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -15651,7 +15653,7 @@ paths: - slug - parent - type - - &174 + - &179 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -15774,7 +15776,7 @@ paths: - created_at additionalProperties: false examples: - default: &121 + default: &126 value: total_seats: 2 seats: @@ -16226,7 +16228,7 @@ paths: application/json: schema: type: array - items: &171 + items: &176 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16541,7 +16543,7 @@ paths: - date additionalProperties: true examples: - default: &172 + default: &177 value: - date: '2024-06-24' total_active_users: 24 @@ -16643,7 +16645,7 @@ paths: '500': *38 '403': *27 '404': *6 - '422': &173 + '422': &178 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16654,6 +16656,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 + - &109 + 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: &110 + 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: &111 + 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: &112 + 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: &113 + 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 + - *109 + responses: + '200': + description: Response + content: + application/json: + schema: *110 + examples: + default: *111 + '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: *112 + examples: + default: *113 + '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 +16882,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &294 + - &301 name: state in: query description: |- @@ -16682,7 +16891,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &295 + - &302 name: severity in: query description: |- @@ -16691,7 +16900,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &296 + - &303 name: ecosystem in: query description: |- @@ -16700,14 +16909,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &297 + - &304 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 + - &305 name: epss_percentage in: query description: |- @@ -16719,7 +16928,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 + - &565 name: has in: query description: |- @@ -16733,7 +16942,7 @@ paths: type: string enum: - patch - - &299 + - &306 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16743,7 +16952,7 @@ paths: enum: - development - runtime - - &300 + - &307 name: sort in: query description: |- @@ -16761,31 +16970,6 @@ paths: - *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 - *17 responses: '200': @@ -16794,11 +16978,11 @@ paths: application/json: schema: type: array - items: &303 + items: &308 type: object description: A Dependabot alert. properties: - number: *109 + number: *114 state: type: string description: The state of the Dependabot alert. @@ -16813,7 +16997,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &110 + package: &115 type: object description: Details for the vulnerable package. readOnly: true @@ -16861,7 +17045,7 @@ paths: - direct - transitive - - security_advisory: &561 + security_advisory: &566 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -16892,13 +17076,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &113 + items: &118 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *110 + package: *115 severity: type: string description: The severity of the vulnerability. @@ -16966,8 +17150,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *111 - epss: *112 + cvss_severities: *116 + epss: *117 cwes: type: array description: Details for the advisory pertaining to Common @@ -17067,12 +17251,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: *118 + url: *119 + html_url: *120 + created_at: *121 + updated_at: *122 + dismissed_at: *123 dismissed_by: anyOf: - type: 'null' @@ -17096,8 +17280,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *119 - auto_dismissed_at: &562 + fixed_at: *124 + auto_dismissed_at: &567 type: - string - 'null' @@ -17124,7 +17308,7 @@ paths: - repository additionalProperties: false examples: - default: &304 + default: &309 value: - number: 2 state: dismissed @@ -17541,7 +17725,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 + - &183 name: username description: The handle for the GitHub user account. in: path @@ -17563,9 +17747,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *120 + items: *125 examples: - default: *121 + default: *126 '500': *38 '401': *23 '403': *27 @@ -17608,7 +17792,7 @@ paths: type: integer network_configurations: type: array - items: &122 + items: &127 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -17653,7 +17837,7 @@ paths: - name - created_on examples: - default: &407 + default: &412 value: total_count: 2 network_configurations: @@ -17731,9 +17915,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *127 examples: - default: &123 + default: &128 value: id: 123456789ABCDEF name: My network configuration @@ -17760,7 +17944,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 + - &129 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -17772,9 +17956,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *127 examples: - default: *123 + default: *128 headers: Link: *41 x-github: @@ -17794,7 +17978,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 + - *129 requestBody: required: true content: @@ -17833,9 +18017,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *127 examples: - default: *123 + default: *128 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17853,7 +18037,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 + - *129 responses: '204': description: Response @@ -17876,7 +18060,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 + - &413 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17888,7 +18072,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &414 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17927,7 +18111,7 @@ paths: - subnet_id - region examples: - default: &410 + default: &415 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -17962,7 +18146,7 @@ paths: application/json: schema: type: array - items: &125 + items: &130 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -18038,7 +18222,7 @@ paths: - property_name - value_type examples: - default: &126 + default: &131 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -18095,7 +18279,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *125 + items: *130 minItems: 1 maxItems: 100 required: @@ -18125,9 +18309,9 @@ paths: application/json: schema: type: array - items: *125 + items: *130 examples: - default: *126 + default: *131 '403': *27 '404': *6 x-github: @@ -18151,7 +18335,7 @@ paths: parameters: - *39 - *76 - - &127 + - &132 name: custom_property_name description: The custom property name in: path @@ -18163,9 +18347,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *130 examples: - default: &128 + default: &133 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -18198,15 +18382,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 + - *132 responses: '200': description: Response content: application/json: - schema: *125 + schema: *130 examples: - default: *128 + default: *133 '403': *27 '404': *6 x-github: @@ -18228,12 +18412,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 + - *132 requestBody: required: true content: application/json: - schema: &375 + schema: &380 title: Custom Property Set Payload description: Custom property set payload type: object @@ -18306,9 +18490,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *130 examples: - default: *128 + default: *133 '403': *27 '404': *6 x-github: @@ -18330,9 +18514,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 + - *132 responses: - '204': *129 + '204': *134 '403': *27 '404': *6 x-github: @@ -18372,7 +18556,7 @@ paths: - push - repository default: branch - enforcement: &136 + enforcement: &141 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -18385,7 +18569,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &137 + items: &142 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -18427,7 +18611,7 @@ paths: - pull_request - exempt default: always - conditions: &160 + conditions: &165 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -18441,7 +18625,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &130 + - &135 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -18467,7 +18651,7 @@ paths: type: string required: - organization_name - - &133 + - &138 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -18496,7 +18680,7 @@ paths: is prevented. required: - repository_name - - &132 + - &137 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -18524,8 +18708,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *130 - - &135 + - *135 + - &140 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -18538,7 +18722,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &131 + items: &136 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -18569,16 +18753,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *131 + items: *136 required: - repository_property - - *132 + - *137 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &134 + - &139 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -18595,25 +18779,25 @@ paths: type: integer required: - organization_id - - *133 - - *132 + - *138 + - *137 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *134 - - *135 - - *132 + - *139 + - *140 + - *137 rules: type: array description: An array of rules within the ruleset. - items: &161 + items: &166 title: Repository Rule type: object description: A repository rule. oneOf: - - &138 + - &143 title: creation description: Only allow users with bypass permission to create matching refs. @@ -18625,7 +18809,7 @@ paths: type: string enum: - creation - - &139 + - &144 title: update description: Only allow users with bypass permission to update matching refs. @@ -18646,7 +18830,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &140 + - &145 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -18658,7 +18842,7 @@ paths: type: string enum: - deletion - - &141 + - &146 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -18670,7 +18854,7 @@ paths: type: string enum: - required_linear_history - - &142 + - &147 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -18694,7 +18878,7 @@ paths: type: string required: - required_deployment_environments - - &143 + - &148 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -18706,7 +18890,7 @@ paths: type: string enum: - required_signatures - - &144 + - &149 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 +18950,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &145 + - &150 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 +18997,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &146 + - &151 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -18825,7 +19009,7 @@ paths: type: string enum: - non_fast_forward - - &147 + - &152 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -18861,7 +19045,7 @@ paths: required: - operator - pattern - - &148 + - &153 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -18897,7 +19081,7 @@ paths: required: - operator - pattern - - &149 + - &154 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -18933,7 +19117,7 @@ paths: required: - operator - pattern - - &150 + - &155 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -18969,7 +19153,7 @@ paths: required: - operator - pattern - - &151 + - &156 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -19005,7 +19189,7 @@ paths: required: - operator - pattern - - &152 + - &157 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 +19213,7 @@ paths: type: string required: - restricted_file_paths - - &153 + - &158 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 +19237,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &154 + - &159 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -19076,7 +19260,7 @@ paths: type: string required: - restricted_file_extensions - - &155 + - &160 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -19100,7 +19284,7 @@ paths: maximum: 100 required: - max_file_size - - &156 + - &161 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -19149,7 +19333,7 @@ paths: - repository_id required: - workflows - - &157 + - &162 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -19235,7 +19419,7 @@ paths: description: Response content: application/json: - schema: &158 + schema: &163 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -19270,11 +19454,11 @@ paths: source: type: string description: The name of the source - enforcement: *136 + enforcement: *141 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 + items: *142 current_user_can_bypass: type: string description: |- @@ -19306,8 +19490,8 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - *132 - - &380 + - *137 + - &385 title: Organization ruleset conditions type: object description: |- @@ -19321,14 +19505,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *132 - - *133 + - *137 + - *138 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *132 + - *137 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -19350,23 +19534,23 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *132 - - *135 + - *137 + - *140 type: - 'null' - object rules: type: array - items: &679 + items: &684 title: Repository Rule type: object description: A repository rule. oneOf: - - *138 - - *139 - - *140 - - *141 - - &676 + - *143 + - *144 + - *145 + - *146 + - &681 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -19444,11 +19628,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *142 - - *143 - - *144 - - *145 - - *146 - *147 - *148 - *149 @@ -19460,7 +19639,12 @@ paths: - *155 - *156 - *157 - - &677 + - *158 + - *159 + - *160 + - *161 + - *162 + - &682 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 +19674,7 @@ paths: type: string format: date-time examples: - default: &159 + default: &164 value: id: 21 name: super cool ruleset @@ -19549,9 +19733,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: *159 + default: *164 '404': *6 '500': *38 x-github: @@ -19595,16 +19779,16 @@ paths: - tag - push - repository - enforcement: *136 + enforcement: *141 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *160 + items: *142 + conditions: *165 rules: description: An array of rules within the ruleset. type: array - items: *161 + items: *166 examples: default: value: @@ -19628,9 +19812,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: *159 + default: *164 '404': *6 '500': *38 x-github: @@ -19692,7 +19876,7 @@ paths: application/json: schema: type: array - items: &162 + items: &167 title: Ruleset version type: object description: The historical version of a ruleset @@ -19716,7 +19900,7 @@ paths: type: string format: date-time examples: - default: &383 + default: &388 value: - version_id: 3 actor: @@ -19769,9 +19953,9 @@ paths: description: Response content: application/json: - schema: &384 + schema: &389 allOf: - - *162 + - *167 - type: object required: - state @@ -19824,7 +20008,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 + - &390 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19835,7 +20019,7 @@ paths: enum: - open - resolved - - &386 + - &391 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19845,7 +20029,7 @@ paths: required: false schema: type: string - - &387 + - &392 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19854,7 +20038,7 @@ paths: required: false schema: type: string - - &388 + - &393 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. @@ -19870,7 +20054,7 @@ paths: - *17 - *97 - *98 - - &389 + - &394 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19879,7 +20063,7 @@ paths: required: false schema: type: string - - &390 + - &395 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19888,7 +20072,7 @@ paths: schema: type: boolean default: false - - &391 + - &396 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19897,7 +20081,7 @@ paths: schema: type: boolean default: false - - &392 + - &397 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19913,30 +20097,30 @@ paths: application/json: schema: type: array - items: &393 + items: &398 type: object properties: - number: *109 - created_at: *116 + number: *114 + created_at: *121 updated_at: anyOf: - type: 'null' - - *117 - url: *114 - html_url: *115 + - *122 + url: *119 + html_url: *120 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &691 + state: &696 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: &697 type: - string - 'null' @@ -20043,14 +20227,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &693 + - &698 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &695 + - &700 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 +20291,7 @@ paths: - blob_url - commit_sha - commit_url - - &696 + - &701 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 +20352,7 @@ paths: - page_url - commit_sha - commit_url - - &697 + - &702 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 +20367,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &698 + - &703 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 +20382,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &699 + - &704 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 +20397,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &700 + - &705 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 +20412,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &701 + - &706 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 +20427,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &702 + - &707 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 +20442,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &703 + - &708 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 +20457,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &704 + - &709 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 +20472,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &705 + - &710 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 +20487,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &706 + - &711 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 +20502,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &707 + - &712 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 +20527,7 @@ paths: - type: 'null' - *4 examples: - default: &394 + default: &399 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -20521,9 +20705,9 @@ paths: headers: Link: *41 '404': *6 - '503': *163 + '503': *168 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: false category: secret-scanning subcategory: secret-scanning @@ -20552,13 +20736,13 @@ paths: description: Response content: application/json: - schema: &395 + schema: &400 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: &170 type: - string - 'null' @@ -20568,7 +20752,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &164 + items: &169 type: object properties: token_type: @@ -20637,9 +20821,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *164 + items: *169 examples: - default: &396 + default: &401 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -20694,7 +20878,7 @@ paths: schema: type: object properties: - pattern_config_version: *165 + pattern_config_version: *170 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -20720,7 +20904,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *165 + custom_pattern_version: *170 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -20783,7 +20967,7 @@ paths: description: Response content: application/json: - schema: &398 + schema: &403 type: object properties: total_minutes_used: @@ -20853,7 +21037,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &399 + default: &404 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20884,7 +21068,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 + - &405 name: advanced_security_product in: query description: | @@ -20904,7 +21088,7 @@ paths: description: Success content: application/json: - schema: &401 + schema: &406 type: object properties: total_advanced_security_committers: @@ -20967,7 +21151,7 @@ paths: required: - repositories examples: - default: &402 + default: &407 value: total_advanced_security_committers: 2 total_count: 2 @@ -21006,6 +21190,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 +21272,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21208,7 +21402,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id parameters: - *39 - - &168 + - &173 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -21220,7 +21414,7 @@ paths: description: Response when getting a cost center content: application/json: - schema: &166 + schema: &171 type: object properties: id: @@ -21260,7 +21454,7 @@ paths: - name - resources examples: - default: &167 + default: &172 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -21274,7 +21468,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21324,15 +21518,15 @@ paths: description: Response when updating a cost center content: application/json: - schema: *166 + schema: *171 examples: - default: *167 + default: *172 '400': *14 '403': *27 '404': *6 '409': *107 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21350,7 +21544,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center parameters: - *39 - - *168 + - *173 responses: '200': description: Response when deleting a cost center @@ -21389,7 +21583,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21410,7 +21604,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center parameters: - *39 - - *168 + - *173 requestBody: required: true content: @@ -21483,7 +21677,7 @@ paths: '403': *27 '409': *107 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21503,7 +21697,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center parameters: - *39 - - *168 + - *173 requestBody: required: true content: @@ -21550,7 +21744,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21581,7 +21775,7 @@ paths: description: Response content: application/json: - schema: &403 + schema: &408 type: object properties: total_gigabytes_bandwidth_used: @@ -21599,7 +21793,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &404 + default: &409 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -21612,8 +21806,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 +21818,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 + - &174 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 +21827,7 @@ paths: required: false schema: type: integer - - &213 + - &220 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 +21836,7 @@ paths: required: false schema: type: integer - - &170 + - &175 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 +21852,21 @@ paths: required: false schema: type: string - - &214 + - &221 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &215 + - &222 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &216 + - &223 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -21754,19 +21950,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 +22005,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21840,7 +22036,7 @@ paths: description: Response content: application/json: - schema: &405 + schema: &410 type: object properties: days_left_in_billing_cycle: @@ -21858,7 +22054,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &406 + default: &411 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -21883,8 +22079,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 + - *174 + - &224 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 +22089,8 @@ paths: required: false schema: type: integer - - *170 - - &218 + - *175 + - &225 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 +22111,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &219 + schema: &226 type: object properties: usageItems: @@ -21968,7 +22164,7 @@ paths: - netAmount - organizationName examples: - default: &220 + default: &227 value: usageItems: - date: '2023-08-01' @@ -21985,7 +22181,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -22056,13 +22252,13 @@ paths: application/json: schema: type: array - items: *171 + items: *176 examples: - default: *172 + default: *177 '500': *38 '403': *27 '404': *6 - '422': *173 + '422': *178 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -22089,9 +22285,9 @@ paths: application/json: schema: type: array - items: *174 + items: *179 examples: - default: &175 + default: &180 value: - id: 1 name: Justice League @@ -22148,6 +22344,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 +22375,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *179 examples: - default: *175 + default: *180 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22187,7 +22395,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 + - &181 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 +22414,7 @@ paths: type: array items: *4 examples: - default: &177 + default: &182 value: - login: octocat id: 1 @@ -22245,7 +22453,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *39 - - *176 + - *181 requestBody: required: true content: @@ -22276,7 +22484,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22294,7 +22502,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *39 - - *176 + - *181 requestBody: required: true content: @@ -22325,7 +22533,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22343,8 +22551,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *39 - - *176 - - *178 + - *181 + - *183 responses: '200': description: User is a member of the enterprise team. @@ -22352,7 +22560,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &179 + exampleKey1: &184 value: login: octocat id: 1 @@ -22388,8 +22596,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *39 - - *176 - - *178 + - *181 + - *183 responses: '201': description: Successfully added team member @@ -22397,7 +22605,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *179 + exampleKey1: *184 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22415,8 +22623,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *39 - - *176 - - *178 + - *181 + - *183 responses: '204': description: Response @@ -22426,6 +22634,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 + - *181 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: *62 + examples: + default: &185 + 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 + - *181 + 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: *62 + examples: + default: &219 + 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 + - *181 + 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 + - *181 + - *76 + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: *62 + examples: + default: *185 + '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 + - *181 + - *76 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *62 + examples: + default: *185 + 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 + - *181 + - *76 + 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 +22870,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *39 - - &180 + - &186 name: team_slug description: The slug of the team name. in: path @@ -22453,9 +22882,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *179 examples: - default: *175 + default: *180 headers: Link: *41 '403': *27 @@ -22475,7 +22904,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *39 - - *180 + - *186 requestBody: required: true content: @@ -22503,6 +22932,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 +22962,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *179 examples: - default: *175 + default: *180 headers: Link: *41 '403': *27 @@ -22546,7 +22987,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *39 - - *180 + - *186 responses: '204': description: Response @@ -22645,7 +23086,7 @@ paths: application/json: schema: type: array - items: &208 + items: &214 title: Event description: Event type: object @@ -22656,7 +23097,7 @@ paths: type: - string - 'null' - actor: &181 + actor: &187 title: Actor description: Actor type: object @@ -22697,7 +23138,7 @@ paths: - id - name - url - org: *181 + org: *187 payload: oneOf: - title: CreateEvent @@ -22744,7 +23185,7 @@ paths: properties: action: type: string - discussion: &829 + discussion: &833 title: Discussion description: A Discussion in a repository. type: object @@ -23041,7 +23482,7 @@ paths: - id labels: type: array - items: &182 + items: &188 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -23124,7 +23565,7 @@ paths: properties: action: type: string - issue: &183 + issue: &189 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -23247,7 +23688,7 @@ paths: milestone: anyOf: - type: 'null' - - &368 + - &373 title: Milestone description: A collection of related issues and pull requests. @@ -23419,7 +23860,7 @@ paths: timeline_url: type: string format: uri - type: &331 + type: &336 title: Issue Type description: The type of issue. type: @@ -23478,7 +23919,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &184 + author_association: &190 title: author_association type: string description: How the author is associated with the @@ -23494,7 +23935,7 @@ paths: - OWNER examples: - OWNER - reactions: &185 + reactions: &191 title: Reaction Rollup type: object properties: @@ -23530,7 +23971,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &751 + sub_issues_summary: &756 title: Sub-issues Summary type: object properties: @@ -23551,7 +23992,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &752 + issue_dependencies_summary: &757 title: Issue Dependencies Summary type: object properties: @@ -23570,7 +24011,7 @@ paths: - total_blocking issue_field_values: type: array - items: &753 + items: &758 title: Issue Field Value description: A value assigned to an issue field type: object @@ -23670,10 +24111,10 @@ paths: assignees: type: array items: *4 - label: *182 + label: *188 labels: type: array - items: *182 + items: *188 required: - action - issue @@ -23682,8 +24123,8 @@ paths: properties: action: type: string - issue: *183 - comment: &617 + issue: *189 + comment: &622 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -23733,12 +24174,12 @@ paths: issue_url: type: string format: uri - author_association: *184 + author_association: *190 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *185 + reactions: *191 required: - id - node_id @@ -23917,7 +24358,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *192 allow_forking: type: boolean is_template: @@ -24008,7 +24449,7 @@ paths: type: string number: type: integer - pull_request: &187 + pull_request: &193 title: Pull Request Minimal type: object properties: @@ -24079,10 +24520,10 @@ paths: assignees: type: array items: *4 - label: *182 + label: *188 labels: type: array - items: *182 + items: *188 required: - action - number @@ -24092,7 +24533,7 @@ paths: properties: action: type: string - pull_request: *187 + pull_request: *193 comment: type: object properties: @@ -24346,7 +24787,7 @@ paths: - pull_request updated_at: type: string - pull_request: *187 + pull_request: *193 required: - action - review @@ -24395,7 +24836,7 @@ paths: updated_at: type: string format: date-time - reactions: *185 + reactions: *191 required: - action - comment @@ -24406,7 +24847,7 @@ paths: type: string release: allOf: - - &669 + - &674 title: Release description: A release. type: object @@ -24488,7 +24929,7 @@ paths: author: *4 assets: type: array - items: &670 + items: &675 title: Release Asset description: Data related to a release. type: object @@ -24563,7 +25004,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *185 + reactions: *191 required: - assets_url - upload_url @@ -24656,7 +25097,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24746,7 +25187,7 @@ paths: _links: type: object properties: - timeline: &188 + timeline: &194 title: Link With Type description: Hypermedia Link with Type type: object @@ -24758,17 +25199,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: *194 + security_advisories: *194 + current_user: *194 + current_user_public: *194 + current_user_actor: *194 + current_user_organization: *194 current_user_organizations: type: array - items: *188 - repository_discussions: *188 - repository_discussions_category: *188 + items: *194 + repository_discussions: *194 + repository_discussions_category: *194 required: - timeline - user @@ -24830,7 +25271,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 + - *195 - *17 - *19 responses: @@ -24840,7 +25281,7 @@ paths: application/json: schema: type: array - items: &190 + items: &196 title: Base Gist description: Base Gist type: object @@ -24937,7 +25378,7 @@ paths: - created_at - updated_at examples: - default: &191 + default: &197 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -25061,7 +25502,7 @@ paths: description: Response content: application/json: - schema: &192 + schema: &198 title: Gist Simple description: Gist Simple type: object @@ -25079,7 +25520,7 @@ paths: url: type: string format: uri - user: &765 + user: &770 title: Public User description: Public User type: object @@ -25453,7 +25894,7 @@ paths: truncated: type: boolean examples: - default: &193 + default: &199 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -25557,7 +25998,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *189 + - *195 - *17 - *19 responses: @@ -25567,9 +26008,9 @@ paths: application/json: schema: type: array - items: *190 + items: *196 examples: - default: *191 + default: *197 headers: Link: *41 '422': *15 @@ -25591,7 +26032,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *189 + - *195 - *17 - *19 responses: @@ -25601,9 +26042,9 @@ paths: application/json: schema: type: array - items: *190 + items: *196 examples: - default: *191 + default: *197 headers: Link: *41 '401': *23 @@ -25631,7 +26072,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &194 + - &200 name: gist_id description: The unique identifier of the gist. in: path @@ -25643,10 +26084,10 @@ paths: description: Response content: application/json: - schema: *192 + schema: *198 examples: - default: *193 - '403': &197 + default: *199 + '403': &203 description: Forbidden Gist content: application/json: @@ -25695,7 +26136,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *194 + - *200 requestBody: required: true content: @@ -25759,9 +26200,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *198 examples: - updateGist: *193 + updateGist: *199 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -25919,7 +26360,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *194 + - *200 responses: '204': description: Response @@ -25948,7 +26389,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *194 + - *200 - *17 - *19 responses: @@ -25958,7 +26399,7 @@ paths: application/json: schema: type: array - items: &195 + items: &201 title: Gist Comment description: A comment made to a gist. type: object @@ -25996,7 +26437,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *184 + author_association: *190 required: - url - id @@ -26061,7 +26502,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *194 + - *200 requestBody: required: true content: @@ -26087,9 +26528,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *201 examples: - default: &196 + default: &202 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -26147,8 +26588,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *194 - - &198 + - *200 + - &204 name: comment_id description: The unique identifier of the comment. in: path @@ -26161,12 +26602,12 @@ paths: description: Response content: application/json: - schema: *195 + schema: *201 examples: - default: *196 + default: *202 '304': *35 '404': *6 - '403': *197 + '403': *203 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26188,8 +26629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *194 - - *198 + - *200 + - *204 requestBody: required: true content: @@ -26215,9 +26656,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *201 examples: - default: *196 + default: *202 '404': *6 x-github: githubCloudOnly: false @@ -26234,8 +26675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *194 - - *198 + - *200 + - *204 responses: '204': description: Response @@ -26258,7 +26699,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *194 + - *200 - *17 - *19 responses: @@ -26359,7 +26800,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *194 + - *200 - *17 - *19 responses: @@ -26369,7 +26810,7 @@ paths: application/json: schema: type: array - items: *192 + items: *198 examples: default: value: @@ -26434,13 +26875,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *194 + - *200 responses: '201': description: Response content: application/json: - schema: *190 + schema: *196 examples: default: value: @@ -26511,7 +26952,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 + - *200 responses: '204': description: Response if gist is starred @@ -26541,7 +26982,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *194 + - *200 responses: '204': description: Response @@ -26563,7 +27004,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *194 + - *200 responses: '204': description: Response @@ -26592,7 +27033,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *194 + - *200 - name: sha in: path required: true @@ -26603,9 +27044,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *198 examples: - default: *193 + default: *199 '422': *15 '404': *6 '403': *27 @@ -26974,7 +27415,7 @@ paths: - closed - all default: open - - &334 + - &339 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -26993,7 +27434,7 @@ paths: - comments default: created - *99 - - *189 + - *195 - name: collab in: query required: false @@ -27023,9 +27464,9 @@ paths: application/json: schema: type: array - items: *183 + items: *189 examples: - default: &335 + default: &340 value: - id: 1 node_id: MDU6SXNzdWUx @@ -27305,7 +27746,7 @@ paths: application/json: schema: type: array - items: *186 + items: *192 examples: default: value: @@ -27603,7 +28044,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &199 + X-CommonMarker-Version: &205 example: 0.17.4 schema: type: string @@ -27658,7 +28099,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *199 + X-CommonMarker-Version: *205 content: text/html: schema: @@ -27687,7 +28128,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 + - &208 name: account_id description: account_id parameter in: path @@ -27699,7 +28140,7 @@ paths: description: Response content: application/json: - schema: &201 + schema: &207 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -27733,7 +28174,7 @@ paths: - 'null' id: type: integer - plan: &200 + plan: &206 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -27836,7 +28277,7 @@ paths: - 'null' updated_at: type: string - plan: *200 + plan: *206 required: - url - id @@ -27844,7 +28285,7 @@ paths: - login - marketplace_purchase examples: - default: &203 + default: &209 value: url: https://api.github.com/orgs/github type: Organization @@ -27929,9 +28370,9 @@ paths: application/json: schema: type: array - items: *200 + items: *206 examples: - default: &204 + default: &210 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -27971,14 +28412,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &205 + - &211 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &206 + - &212 name: sort description: The property to sort the results by. in: query @@ -28008,9 +28449,9 @@ paths: application/json: schema: type: array - items: *201 + items: *207 examples: - default: &207 + default: &213 value: - url: https://api.github.com/orgs/github type: Organization @@ -28084,15 +28525,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 + - *208 responses: '200': description: Response content: application/json: - schema: *201 + schema: *207 examples: - default: *203 + default: *209 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -28124,9 +28565,9 @@ paths: application/json: schema: type: array - items: *200 + items: *206 examples: - default: *204 + default: *210 headers: Link: *41 '401': *23 @@ -28149,8 +28590,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 + - *211 + - *212 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -28170,9 +28611,9 @@ paths: application/json: schema: type: array - items: *201 + items: *207 examples: - default: *207 + default: *213 headers: Link: *41 '401': *23 @@ -28437,14 +28878,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 + - &435 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &431 + - &436 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -28461,7 +28902,7 @@ paths: application/json: schema: type: array - items: *208 + items: *214 examples: default: value: @@ -28506,7 +28947,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &444 + '301': &449 description: Moved permanently content: application/json: @@ -28528,7 +28969,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 + - &650 name: all description: If `true`, show notifications marked as read. in: query @@ -28536,7 +28977,7 @@ paths: schema: type: boolean default: false - - &646 + - &651 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -28545,8 +28986,8 @@ paths: schema: type: boolean default: false - - *189 - - &647 + - *195 + - &652 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 +29012,14 @@ paths: application/json: schema: type: array - items: &209 + items: &215 title: Thread description: Thread type: object properties: id: type: string - repository: &246 + repository: &253 title: Minimal Repository description: Minimal Repository type: object @@ -28917,7 +29358,7 @@ paths: type: boolean examples: - false - security_and_analysis: &377 + security_and_analysis: &382 type: - object - 'null' @@ -29090,7 +29531,7 @@ paths: - url - subscription_url examples: - default: &648 + default: &653 value: - id: '1' repository: @@ -29256,7 +29697,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &210 + - &216 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 +29711,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *215 examples: default: value: @@ -29373,7 +29814,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *210 + - *216 responses: '205': description: Reset Content @@ -29396,7 +29837,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *210 + - *216 responses: '204': description: No content @@ -29419,13 +29860,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 + - *216 responses: '200': description: Response content: application/json: - schema: &211 + schema: &217 title: Thread Subscription description: Thread Subscription type: object @@ -29469,7 +29910,7 @@ paths: - url - subscribed examples: - default: &212 + default: &218 value: subscribed: true ignored: false @@ -29500,7 +29941,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *210 + - *216 requestBody: required: false content: @@ -29521,9 +29962,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *217 examples: - default: *212 + default: *218 '304': *35 '403': *27 '401': *23 @@ -29546,7 +29987,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *210 + - *216 responses: '204': description: Response @@ -29643,20 +30084,7 @@ paths: type: array items: *62 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: *219 headers: Link: example: ; rel="next" @@ -29708,7 +30136,7 @@ paths: - 3 custom_roles: type: array - items: &289 + items: &296 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -29757,7 +30185,7 @@ paths: - created_at - updated_at examples: - default: &290 + default: &297 value: id: 8030 name: Security Engineer @@ -30058,9 +30486,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -30069,12 +30498,12 @@ paths: 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 + - *174 + - *220 + - *175 + - *221 + - *222 + - *223 responses: '200': description: Response when getting a billing premium request usage report @@ -30130,19 +30559,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 +30614,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30206,22 +30635,22 @@ paths: 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 + - *174 + - *224 + - *175 + - *225 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *219 + schema: *226 examples: - default: *220 + default: *227 '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30253,7 +30682,7 @@ paths: description: Response content: application/json: - schema: &221 + schema: &228 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 +31092,7 @@ paths: - updated_at - archived_at examples: - default-response: &222 + default-response: &229 value: login: github id: 1 @@ -30989,17 +31418,17 @@ paths: description: Response content: application/json: - schema: *221 + schema: *228 examples: - default: *222 + default: *229 '422': description: Validation failed content: application/json: schema: oneOf: - - *223 - - *224 + - *230 + - *231 '409': *107 x-github: githubCloudOnly: false @@ -31054,9 +31483,9 @@ paths: description: Response content: application/json: - schema: *225 + schema: *232 examples: - default: *226 + default: *233 headers: Link: *41 x-github: @@ -31097,7 +31526,7 @@ paths: type: integer repository_cache_usages: type: array - items: &449 + items: &454 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -31175,7 +31604,7 @@ paths: type: array items: *42 examples: - default: *227 + default: *234 headers: Link: *41 x-github: @@ -31359,9 +31788,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *235 examples: - default: *229 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31397,7 +31826,7 @@ paths: type: array items: *45 examples: - default: *230 + default: *237 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31580,7 +32009,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &231 + schema: &238 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -31594,7 +32023,7 @@ paths: required: - include_claim_keys examples: - default: &232 + default: &239 value: include_claim_keys: - repo @@ -31621,15 +32050,15 @@ paths: required: true content: application/json: - schema: *231 + schema: *238 examples: - default: *232 + default: *239 responses: '201': description: Empty response content: application/json: - schema: &257 + schema: &264 title: Empty Object description: An object without any properties. type: object @@ -31668,7 +32097,7 @@ paths: schema: type: object properties: - enabled_repositories: &234 + enabled_repositories: &241 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -31682,7 +32111,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *49 - selected_actions_url: *233 + selected_actions_url: *240 sha_pinning_required: *50 required: - enabled_repositories @@ -31724,7 +32153,7 @@ paths: schema: type: object properties: - enabled_repositories: *234 + enabled_repositories: *241 allowed_actions: *49 sha_pinning_required: *50 required: @@ -31760,7 +32189,7 @@ paths: description: Response content: application/json: - schema: *235 + schema: *242 examples: response: summary: Example response @@ -31791,7 +32220,7 @@ paths: required: true content: application/json: - schema: *236 + schema: *243 examples: application/json: value: @@ -31829,7 +32258,7 @@ paths: application/json: schema: *51 examples: - default: *237 + default: *244 '404': *6 x-github: enabledForGitHubApps: true @@ -31886,7 +32315,7 @@ paths: description: Response content: application/json: - schema: *238 + schema: *245 examples: default: *52 '403': *27 @@ -31911,7 +32340,7 @@ paths: required: true content: application/json: - schema: *239 + schema: *246 examples: default: *52 responses: @@ -31963,7 +32392,7 @@ paths: type: array items: *67 examples: - default: &241 + default: &248 value: total_count: 1 repositories: @@ -32148,7 +32577,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *76 - - &240 + - &247 name: repository_id description: The unique identifier of the repository. in: path @@ -32177,7 +32606,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *76 - - *240 + - *247 responses: '204': description: Response @@ -32373,7 +32802,7 @@ paths: type: array items: *67 examples: - default: *241 + default: *248 '403': *27 '404': *6 x-github: @@ -32442,7 +32871,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *76 - - *240 + - *247 responses: '204': description: No content @@ -32469,7 +32898,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *76 - - *240 + - *247 responses: '204': description: No content @@ -32503,7 +32932,7 @@ paths: description: Response content: application/json: - schema: *242 + schema: *249 examples: default: *58 x-github: @@ -32537,7 +32966,7 @@ paths: required: false content: application/json: - schema: *243 + schema: *250 examples: default: *58 x-github: @@ -32584,7 +33013,7 @@ paths: type: number runner_groups: type: array - items: &244 + items: &251 type: object properties: id: @@ -32774,9 +33203,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *251 examples: - default: &245 + default: &252 value: id: 2 name: octo-runner-group @@ -32818,7 +33247,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *251 examples: default: value: @@ -32911,9 +33340,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *251 examples: - default: *245 + default: *252 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -32977,7 +33406,7 @@ paths: type: array items: *42 examples: - default: *227 + default: *234 headers: Link: *41 x-github: @@ -33018,9 +33447,9 @@ paths: type: number repositories: type: array - items: *246 + items: *253 examples: - default: &768 + default: &773 value: total_count: 1 repositories: @@ -33319,7 +33748,7 @@ paths: parameters: - *76 - *61 - - *240 + - *247 responses: '204': description: Response @@ -33343,7 +33772,7 @@ paths: parameters: - *76 - *61 - - *240 + - *247 responses: '204': description: Response @@ -33561,9 +33990,9 @@ paths: application/json: schema: type: array - items: *247 + items: *254 examples: - default: *248 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33628,7 +34057,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *249 + '201': *256 '404': *6 '422': *7 '409': *107 @@ -33667,7 +34096,7 @@ paths: application/json: schema: *68 examples: - default: *250 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33703,7 +34132,7 @@ paths: application/json: schema: *68 examples: - default: *251 + default: *258 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33734,7 +34163,7 @@ paths: application/json: schema: *65 examples: - default: *252 + default: *259 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33909,7 +34338,7 @@ paths: - *76 - *64 responses: - '200': *253 + '200': *260 '404': *6 x-github: githubCloudOnly: false @@ -33938,7 +34367,7 @@ paths: parameters: - *76 - *64 - - *254 + - *261 responses: '200': *70 '404': *6 @@ -33983,7 +34412,7 @@ paths: type: integer secrets: type: array - items: &255 + items: &262 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -34064,7 +34493,7 @@ paths: description: Response content: application/json: - schema: &469 + schema: &474 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -34099,7 +34528,7 @@ paths: - key_id - key examples: - default: &470 + default: &475 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34125,7 +34554,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *76 - - &256 + - &263 name: secret_name description: The name of the secret. in: path @@ -34137,7 +34566,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *262 examples: default: value: @@ -34168,7 +34597,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *76 - - *256 + - *263 requestBody: required: true content: @@ -34225,7 +34654,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -34252,7 +34681,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *76 - - *256 + - *263 responses: '204': description: Response @@ -34279,7 +34708,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *263 - *19 - *17 responses: @@ -34297,9 +34726,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *253 examples: - default: &260 + default: &267 value: total_count: 1 repositories: @@ -34392,7 +34821,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *263 requestBody: required: true content: @@ -34445,7 +34874,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *256 + - *263 - name: repository_id in: path required: true @@ -34479,7 +34908,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *256 + - *263 - name: repository_id in: path required: true @@ -34512,7 +34941,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *76 - - &454 + - &459 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 +34965,7 @@ paths: type: integer variables: type: array - items: &258 + items: &265 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -34674,7 +35103,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -34700,7 +35129,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *76 - - &259 + - &266 name: name description: The name of the variable. in: path @@ -34712,7 +35141,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *265 examples: default: value: @@ -34743,7 +35172,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *76 - - *259 + - *266 requestBody: required: true content: @@ -34806,7 +35235,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *76 - - *259 + - *266 responses: '204': description: Response @@ -34833,7 +35262,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *76 - - *259 + - *266 - *19 - *17 responses: @@ -34851,9 +35280,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *253 examples: - default: *260 + default: *267 '409': description: Response when the visibility of the variable is not set to `selected` @@ -34880,7 +35309,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *76 - - *259 + - *266 requestBody: required: true content: @@ -34930,7 +35359,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *76 - - *259 + - *266 - name: repository_id in: path required: true @@ -34965,7 +35394,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *76 - - *259 + - *266 - name: repository_id in: path required: true @@ -35023,7 +35452,7 @@ paths: required: true content: application/json: - schema: *261 + schema: *268 examples: default: *74 parameters: @@ -35325,12 +35754,12 @@ paths: required: - subject_digests examples: - default: &796 + default: &800 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &797 + withPredicateType: &801 value: subject_digests: - sha256:abc123 @@ -35389,7 +35818,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &798 + default: &802 value: attestations_subject_digests: - sha256:abc: @@ -35582,6 +36011,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 + - *97 + - *98 + - *76 + - 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 @@ -35685,7 +36165,7 @@ paths: initiator: type: string examples: - default: &483 + default: &488 value: attestations: - bundle: @@ -35811,10 +36291,10 @@ paths: required: false schema: type: string - - *262 - - *263 - - *264 - - *265 + - *269 + - *270 + - *271 + - *272 - *17 responses: '200': @@ -35823,9 +36303,9 @@ paths: application/json: schema: type: array - items: *266 + items: *273 examples: - default: *267 + default: *274 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -35854,7 +36334,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35874,7 +36354,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *76 - - *178 + - *183 responses: '204': description: If the user is blocked @@ -35900,7 +36380,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - *76 - - *178 + - *183 responses: '204': description: Response @@ -35921,7 +36401,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *76 - - *178 + - *183 responses: '204': description: Response @@ -35948,7 +36428,7 @@ paths: subcategory: bypass-requests parameters: - *76 - - &270 + - &277 name: repository_name description: The name of the repository to filter on. in: query @@ -35967,9 +36447,9 @@ paths: application/json: schema: type: array - items: *268 + items: *275 examples: - default: *269 + default: *276 '404': *6 '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": @@ -35993,7 +36473,7 @@ paths: subcategory: delegated-bypass parameters: - *76 - - *270 + - *277 - *92 - *93 - *94 @@ -36007,9 +36487,9 @@ paths: application/json: schema: type: array - items: *271 + items: *278 examples: - default: *272 + default: *279 '404': *6 '500': *38 "/orgs/{org}/campaigns": @@ -36036,7 +36516,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &274 + schema: &281 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -36062,7 +36542,7 @@ paths: application/json: schema: type: array - items: &275 + items: &282 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -36093,7 +36573,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *273 + items: *280 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -36112,7 +36592,7 @@ paths: - string - 'null' format: date-time - state: *274 + state: *281 contact_link: description: The contact link of the campaign. type: @@ -36210,7 +36690,7 @@ paths: headers: Link: *41 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36329,9 +36809,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *282 examples: - default: &276 + default: &283 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -36380,7 +36860,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36414,16 +36894,16 @@ paths: description: Response content: application/json: - schema: *275 + schema: *282 examples: - default: *276 + default: *283 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36494,7 +36974,7 @@ paths: - string - 'null' format: uri - state: *274 + state: *281 examples: default: value: @@ -36504,9 +36984,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *282 examples: - default: *276 + default: *283 '400': description: Bad Request content: @@ -36518,7 +36998,7 @@ paths: content: application/json: schema: *3 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36550,7 +37030,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36573,8 +37053,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *76 - - *277 - - *278 + - *284 + - *285 - *97 - *98 - *19 @@ -36585,7 +37065,7 @@ paths: be returned. in: query required: false - schema: *279 + schema: *286 - name: sort description: The property by which to sort the results. in: query @@ -36601,7 +37081,7 @@ paths: be returned. in: query required: false - schema: &508 + schema: &513 type: string description: Severity of a code scanning alert. enum: @@ -36619,13 +37099,13 @@ paths: application/json: schema: type: array - items: *280 + items: *287 examples: - default: *281 + default: *288 headers: Link: *41 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36836,7 +37316,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *282 + code_scanning_options: *289 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -36979,7 +37459,7 @@ paths: application/json: schema: *103 examples: - default: *283 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37007,9 +37487,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *291 examples: - default: *285 + default: *292 '304': *35 '403': *27 '404': *6 @@ -37061,7 +37541,7 @@ paths: - 32 - 91 responses: - '204': *129 + '204': *134 '400': *14 '403': *27 '404': *6 @@ -37096,7 +37576,7 @@ paths: application/json: schema: *103 examples: - default: *283 + default: *290 '304': *35 '403': *27 '404': *6 @@ -37380,7 +37860,7 @@ paths: - *76 - *105 responses: - '204': *129 + '204': *134 '400': *14 '403': *27 '404': *6 @@ -37518,7 +37998,7 @@ paths: default: value: default_for_new_repos: all - configuration: *283 + configuration: *290 '403': *27 '404': *6 x-github: @@ -37571,13 +38051,13 @@ paths: application/json: schema: type: array - items: *286 + items: *293 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *287 + repository: *294 '403': *27 '404': *6 x-github: @@ -37617,7 +38097,7 @@ paths: type: integer codespaces: type: array - items: &336 + items: &341 type: object title: Codespace description: A codespace. @@ -37648,11 +38128,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *246 + repository: *253 machine: anyOf: - type: 'null' - - &537 + - &542 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -37939,7 +38419,7 @@ paths: - pulls_url - recent_folders examples: - default: &337 + default: &342 value: total_count: 3 codespaces: @@ -38563,7 +39043,7 @@ paths: type: integer secrets: type: array - items: &288 + items: &295 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -38604,7 +39084,7 @@ paths: - updated_at - visibility examples: - default: &538 + default: &543 value: total_count: 2 secrets: @@ -38642,7 +39122,7 @@ paths: description: Response content: application/json: - schema: &539 + schema: &544 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -38677,7 +39157,7 @@ paths: - key_id - key examples: - default: &540 + default: &545 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38701,15 +39181,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *76 - - *256 + - *263 responses: '200': description: Response content: application/json: - schema: *288 + schema: *295 examples: - default: &542 + default: &547 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -38737,7 +39217,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *76 - - *256 + - *263 requestBody: required: true content: @@ -38792,7 +39272,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -38819,7 +39299,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *76 - - *256 + - *263 responses: '204': description: Response @@ -38845,7 +39325,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *263 - *19 - *17 responses: @@ -38863,9 +39343,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *253 examples: - default: *260 + default: *267 '404': *6 x-github: githubCloudOnly: false @@ -38888,7 +39368,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *263 requestBody: required: true content: @@ -38939,7 +39419,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *256 + - *263 - name: repository_id in: path required: true @@ -38973,7 +39453,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *256 + - *263 - name: repository_id in: path required: true @@ -39176,9 +39656,9 @@ paths: currently being billed. seats: type: array - items: *120 + items: *125 examples: - default: *121 + default: *126 headers: Link: *41 '500': *38 @@ -39562,13 +40042,13 @@ paths: application/json: schema: type: array - items: *171 + items: *176 examples: - default: *172 + default: *177 '500': *38 '403': *27 '404': *6 - '422': *173 + '422': *178 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39796,7 +40276,7 @@ paths: - 3 custom_roles: type: array - items: *289 + items: *296 examples: default: value: @@ -39888,7 +40368,7 @@ paths: required: true content: application/json: - schema: &292 + schema: &299 type: object properties: name: @@ -39930,9 +40410,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *296 examples: - default: *290 + default: *297 '422': *15 '404': *6 x-github: @@ -39957,7 +40437,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *76 - - &291 + - &298 name: role_id description: The unique identifier of the role. in: path @@ -39969,9 +40449,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *296 examples: - default: *290 + default: *297 '404': *6 x-github: githubCloudOnly: true @@ -39994,12 +40474,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *76 - - *291 + - *298 requestBody: required: true content: application/json: - schema: &293 + schema: &300 type: object properties: name: @@ -40038,9 +40518,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *296 examples: - default: *290 + default: *297 '422': *15 '404': *6 x-github: @@ -40065,7 +40545,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *76 - - *291 + - *298 responses: '204': description: Response @@ -40098,7 +40578,7 @@ paths: required: true content: application/json: - schema: *292 + schema: *299 examples: default: value: @@ -40112,9 +40592,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *296 examples: - default: *290 + default: *297 '422': *15 '404': *6 x-github: @@ -40145,15 +40625,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *76 - - *291 + - *298 responses: '200': description: Response content: application/json: - schema: *289 + schema: *296 examples: - default: *290 + default: *297 '404': *6 x-github: githubCloudOnly: true @@ -40182,12 +40662,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *76 - - *291 + - *298 requestBody: required: true content: application/json: - schema: *293 + schema: *300 examples: default: value: @@ -40202,9 +40682,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *296 examples: - default: *290 + default: *297 '422': *15 '404': *6 x-github: @@ -40235,7 +40715,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *76 - - *291 + - *298 responses: '204': description: Response @@ -40264,11 +40744,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *76 - - *294 - - *295 - - *296 - - *297 - - *298 + - *301 + - *302 + - *303 + - *304 + - *305 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -40306,13 +40786,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *299 - - *300 + - *306 + - *307 - *99 - *97 - *98 - - *301 - - *302 - *17 responses: '200': @@ -40321,9 +40799,9 @@ paths: application/json: schema: type: array - items: *303 + items: *308 examples: - default: *304 + default: *309 '304': *35 '400': *14 '403': *27 @@ -40367,7 +40845,7 @@ paths: type: integer secrets: type: array - items: &305 + items: &310 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -40446,7 +40924,7 @@ paths: description: Response content: application/json: - schema: &565 + schema: &570 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -40465,7 +40943,7 @@ paths: - key_id - key examples: - default: &566 + default: &571 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -40489,13 +40967,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *76 - - *256 + - *263 responses: '200': description: Response content: application/json: - schema: *305 + schema: *310 examples: default: value: @@ -40524,7 +41002,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *76 - - *256 + - *263 requestBody: required: true content: @@ -40583,7 +41061,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -40608,7 +41086,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *76 - - *256 + - *263 responses: '204': description: Response @@ -40633,7 +41111,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *263 - *19 - *17 responses: @@ -40651,9 +41129,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *253 examples: - default: *260 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40675,7 +41153,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *263 requestBody: required: true content: @@ -40726,7 +41204,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *256 + - *263 - name: repository_id in: path required: true @@ -40758,7 +41236,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *256 + - *263 - name: repository_id in: path required: true @@ -40795,7 +41273,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *76 - - &574 + - &579 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -40803,7 +41281,7 @@ paths: required: false schema: type: string - - &575 + - &580 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -40811,7 +41289,7 @@ paths: required: false schema: type: string - - &576 + - &581 name: time_period description: |- The time period to filter by. @@ -40827,7 +41305,7 @@ paths: - week - month default: month - - &577 + - &582 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -40842,7 +41320,7 @@ paths: - denied - all default: all - - *270 + - *277 - *17 - *19 responses: @@ -40852,7 +41330,7 @@ paths: application/json: schema: type: array - items: &578 + items: &583 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -41015,7 +41493,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &579 + default: &584 value: - id: 21 number: 42 @@ -41102,11 +41580,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *76 - - *270 + - *277 - *92 - *93 - *94 - - &580 + - &585 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 +41610,7 @@ paths: application/json: schema: type: array - items: &581 + items: &586 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -41259,7 +41737,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &582 + default: &587 value: - id: 21 number: 42 @@ -41347,7 +41825,7 @@ paths: application/json: schema: type: array - items: &346 + items: &351 title: Package description: A software package type: object @@ -41400,7 +41878,7 @@ paths: repository: anyOf: - type: 'null' - - *246 + - *253 created_at: type: string format: date-time @@ -41418,7 +41896,7 @@ paths: - created_at - updated_at examples: - default: &347 + default: &352 value: - id: 197 name: hello_docker @@ -41506,7 +41984,7 @@ paths: application/json: schema: type: array - items: *208 + items: *214 examples: 200-response: value: @@ -41605,7 +42083,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &430 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -41695,7 +42173,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &426 + default: &431 value: group_id: '123' group_name: Octocat admins @@ -41750,7 +42228,7 @@ paths: description: Response content: application/json: - schema: &423 + schema: &428 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -41790,7 +42268,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &424 + default: &429 value: groups: - group_id: '123' @@ -41834,7 +42312,7 @@ paths: application/json: schema: type: array - items: &328 + items: &333 title: Organization Invitation description: Organization Invitation type: object @@ -41888,7 +42366,7 @@ paths: - invitation_teams_url - node_id examples: - default: &329 + default: &334 value: - id: 1 login: monalisa @@ -41955,7 +42433,7 @@ paths: application/json: schema: type: array - items: &378 + items: &383 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -41969,7 +42447,7 @@ paths: - name - description examples: - default: &379 + default: &384 value: - name: add_assignee description: Assign or remove a user @@ -42010,7 +42488,7 @@ paths: application/json: schema: type: array - items: &306 + items: &311 title: Org Hook description: Org Hook type: object @@ -42193,9 +42671,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *311 examples: - default: &307 + default: &312 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -42240,7 +42718,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *76 - - &308 + - &313 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 +42731,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *311 examples: - default: *307 + default: *312 '404': *6 x-github: githubCloudOnly: false @@ -42277,7 +42755,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *76 - - *308 + - *313 requestBody: required: false content: @@ -42323,7 +42801,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *311 examples: default: value: @@ -42363,7 +42841,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *76 - - *308 + - *313 responses: '204': description: Response @@ -42389,7 +42867,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *76 - - *308 + - *313 responses: '200': description: Response @@ -42418,7 +42896,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *76 - - *308 + - *313 requestBody: required: false content: @@ -42467,9 +42945,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *76 - - *308 + - *313 - *17 - - *309 + - *314 responses: '200': description: Response @@ -42477,9 +42955,9 @@ paths: application/json: schema: type: array - items: *310 + items: *315 examples: - default: *311 + default: *316 '400': *14 '422': *15 x-github: @@ -42503,16 +42981,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *76 - - *308 + - *313 - *16 responses: '200': description: Response content: application/json: - schema: *312 + schema: *317 examples: - default: *313 + default: *318 '400': *14 '422': *15 x-github: @@ -42536,7 +43014,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *76 - - *308 + - *313 - *16 responses: '202': *37 @@ -42563,7 +43041,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *76 - - *308 + - *313 responses: '204': description: Response @@ -42586,7 +43064,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *76 - - &318 + - &323 name: actor_type in: path description: The type of the actor @@ -42599,14 +43077,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &319 + - &324 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &314 + - &319 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 +43092,7 @@ paths: required: true schema: type: string - - &315 + - &320 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) @@ -42709,12 +43187,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *76 - - *314 - - *315 + - *319 + - *320 - *19 - *17 - *99 - - &324 + - &329 name: sort description: The property to sort the results by. in: query @@ -42794,14 +43272,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *76 - - *314 - - *315 + - *319 + - *320 responses: '200': description: Response content: application/json: - schema: &316 + schema: &321 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -42817,7 +43295,7 @@ paths: type: integer format: int64 examples: - default: &317 + default: &322 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -42838,23 +43316,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *76 - - &320 + - &325 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *314 - - *315 + - *319 + - *320 responses: '200': description: Response content: application/json: - schema: *316 + schema: *321 examples: - default: *317 + default: *322 x-github: enabledForGitHubApps: true category: orgs @@ -42873,18 +43351,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *76 - - *314 - - *315 - - *318 - *319 + - *320 + - *323 + - *324 responses: '200': description: Response content: application/json: - schema: *316 + schema: *321 examples: - default: *317 + default: *322 x-github: enabledForGitHubApps: true category: orgs @@ -42902,9 +43380,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *76 - - *314 - - *315 - - &321 + - *319 + - *320 + - &326 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -42917,7 +43395,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &327 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -42933,7 +43411,7 @@ paths: type: integer format: int64 examples: - default: &323 + default: &328 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -42970,18 +43448,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *76 + - *325 + - *319 - *320 - - *314 - - *315 - - *321 + - *326 responses: '200': description: Response content: application/json: - schema: *322 + schema: *327 examples: - default: *323 + default: *328 x-github: enabledForGitHubApps: true category: orgs @@ -42999,19 +43477,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *76 - - *318 + - *323 + - *324 - *319 - - *314 - - *315 - - *321 + - *320 + - *326 responses: '200': description: Response content: application/json: - schema: *322 + schema: *327 examples: - default: *323 + default: *328 x-github: enabledForGitHubApps: true category: orgs @@ -43029,13 +43507,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *76 + - *325 + - *319 - *320 - - *314 - - *315 - *19 - *17 - *99 - - *324 + - *329 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -43119,7 +43597,7 @@ paths: application/json: schema: *20 examples: - default: &613 + default: &618 value: id: 1 account: @@ -43285,12 +43763,12 @@ paths: application/json: schema: anyOf: - - &326 + - &331 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &325 + limit: &330 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -43318,7 +43796,7 @@ paths: properties: {} additionalProperties: false examples: - default: &327 + default: &332 value: limit: collaborators_only origin: organization @@ -43347,13 +43825,13 @@ paths: required: true content: application/json: - schema: &614 + schema: &619 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *325 + limit: *330 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -43378,9 +43856,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *331 examples: - default: *327 + default: *332 '422': *15 x-github: githubCloudOnly: false @@ -43458,9 +43936,9 @@ paths: application/json: schema: type: array - items: *328 + items: *333 examples: - default: *329 + default: *334 headers: Link: *41 '404': *6 @@ -43538,7 +44016,7 @@ paths: description: Response content: application/json: - schema: *328 + schema: *333 examples: default: value: @@ -43595,7 +44073,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *76 - - &330 + - &335 name: invitation_id description: The unique identifier of the invitation. in: path @@ -43629,7 +44107,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *76 - - *330 + - *335 - *17 - *19 responses: @@ -43639,9 +44117,9 @@ paths: application/json: schema: type: array - items: *273 + items: *280 examples: - default: &345 + default: &350 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -43684,7 +44162,7 @@ paths: application/json: schema: type: array - items: *331 + items: *336 examples: default: value: @@ -43772,9 +44250,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *336 examples: - default: &332 + default: &337 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -43807,7 +44285,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *76 - - &333 + - &338 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -43863,9 +44341,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *336 examples: - default: *332 + default: *337 '404': *6 '422': *7 x-github: @@ -43890,7 +44368,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *76 - - *333 + - *338 responses: '204': description: Response @@ -43953,7 +44431,7 @@ paths: - closed - all default: open - - *334 + - *339 - name: type description: Can be the name of an issue type. in: query @@ -43972,7 +44450,7 @@ paths: - comments default: created - *99 - - *189 + - *195 - *17 - *19 responses: @@ -43982,9 +44460,9 @@ paths: application/json: schema: type: array - items: *183 + items: *189 examples: - default: *335 + default: *340 headers: Link: *41 '404': *6 @@ -44044,7 +44522,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 '422': *15 @@ -44065,7 +44543,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - *76 - - *178 + - *183 responses: '204': description: Response if requester is an organization member and user is @@ -44100,7 +44578,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - *76 - - *178 + - *183 responses: '204': description: Response @@ -44127,7 +44605,7 @@ paths: - *17 - *19 - *76 - - *178 + - *183 responses: '200': description: Response @@ -44143,9 +44621,9 @@ paths: type: integer codespaces: type: array - items: *336 + items: *341 examples: - default: *337 + default: *342 '304': *35 '500': *38 '401': *23 @@ -44171,8 +44649,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *76 - - *178 - - &338 + - *183 + - &343 name: codespace_name in: path required: true @@ -44206,16 +44684,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *76 - - *178 - - *338 + - *183 + - *343 responses: '200': description: Response content: application/json: - schema: *336 + schema: *341 examples: - default: &536 + default: &541 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -44389,13 +44867,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *76 - - *178 + - *183 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *120 + schema: *125 examples: default: value: @@ -44465,13 +44943,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - *76 - - *178 + - *183 responses: '200': description: Response content: application/json: - schema: &339 + schema: &344 title: Org Membership description: Org Membership type: object @@ -44540,7 +45018,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: &345 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -44609,7 +45087,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - *76 - - *178 + - *183 requestBody: required: false content: @@ -44637,9 +45115,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *344 examples: - response-if-user-already-had-membership-with-organization: *340 + response-if-user-already-had-membership-with-organization: *345 '422': *15 '403': *27 x-github: @@ -44664,7 +45142,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - *76 - - *178 + - *183 responses: '204': description: Response @@ -44711,7 +45189,7 @@ paths: application/json: schema: type: array - items: &341 + items: &346 title: Migration description: A migration. type: object @@ -45049,7 +45527,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *346 examples: default: value: @@ -45228,7 +45706,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *76 - - &342 + - &347 name: migration_id description: The unique identifier of the migration. in: path @@ -45256,7 +45734,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *341 + schema: *346 examples: default: value: @@ -45426,7 +45904,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *76 - - *342 + - *347 responses: '302': description: Response @@ -45448,7 +45926,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *76 - - *342 + - *347 responses: '204': description: Response @@ -45472,8 +45950,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *76 - - *342 - - &780 + - *347 + - &785 name: repo_name description: repo_name parameter in: path @@ -45501,7 +45979,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *76 - - *342 + - *347 - *17 - *19 responses: @@ -45511,9 +45989,9 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: - default: &352 + default: &357 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -45722,7 +46200,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &343 + items: &348 title: Organization Role description: Organization roles type: object @@ -45931,7 +46409,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *348 examples: default: value: @@ -45983,7 +46461,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *76 - - *180 + - *186 responses: '204': description: Response @@ -46009,8 +46487,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *76 - - *180 - - *291 + - *186 + - *298 responses: '204': description: Response @@ -46040,8 +46518,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *76 - - *180 - - *291 + - *186 + - *298 responses: '204': description: Response @@ -46067,7 +46545,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *76 - - *178 + - *183 responses: '204': description: Response @@ -46093,8 +46571,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *76 - - *178 - - *291 + - *183 + - *298 responses: '204': description: Response @@ -46125,8 +46603,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *76 - - *178 - - *291 + - *183 + - *298 responses: '204': description: Response @@ -46155,13 +46633,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *76 - - *291 + - *298 responses: '200': description: Response content: application/json: - schema: *343 + schema: *348 examples: default: value: @@ -46219,7 +46697,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *76 - - *291 + - *298 requestBody: required: true content: @@ -46258,7 +46736,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *348 examples: default: value: @@ -46312,7 +46790,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *76 - - *291 + - *298 responses: '204': description: Response @@ -46338,7 +46816,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *76 - - *291 + - *298 - *17 - *19 responses: @@ -46417,7 +46895,7 @@ paths: parent: anyOf: - type: 'null' - - *344 + - *349 type: description: The ownership type of the team type: string @@ -46450,7 +46928,7 @@ paths: - type - parent examples: - default: *345 + default: *350 headers: Link: *41 '404': @@ -46480,7 +46958,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *76 - - *291 + - *298 - *17 - *19 responses: @@ -46509,7 +46987,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *344 + items: *349 name: type: - string @@ -46626,7 +47104,7 @@ paths: - type - url examples: - default: *177 + default: *182 headers: Link: *41 '404': @@ -46677,7 +47155,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 x-github: @@ -46703,7 +47181,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *76 - - *178 + - *183 requestBody: required: false content: @@ -46761,7 +47239,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *76 - - *178 + - *183 responses: '204': description: Response @@ -46819,7 +47297,7 @@ paths: - nuget - container - *76 - - &782 + - &786 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -46855,12 +47333,12 @@ paths: application/json: schema: type: array - items: *346 + items: *351 examples: - default: *347 + default: *352 '403': *27 '401': *23 - '400': &784 + '400': &788 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -46882,7 +47360,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 + - &353 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,7 +47378,7 @@ paths: - docker - nuget - container - - &349 + - &354 name: package_name description: The name of the package. in: path @@ -46913,7 +47391,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *351 examples: default: value: @@ -46965,8 +47443,8 @@ 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 + - *353 + - *354 - *76 responses: '204': @@ -46999,8 +47477,8 @@ 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 + - *353 + - *354 - *76 - name: token description: package token @@ -47033,8 +47511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *348 - - *349 + - *353 + - *354 - *76 - *19 - *17 @@ -47055,7 +47533,7 @@ paths: application/json: schema: type: array - items: &350 + items: &355 title: Package Version description: A version of a software package type: object @@ -47190,10 +47668,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 + - *353 + - *354 - *76 - - &351 + - &356 name: package_version_id description: Unique identifier of the package version. in: path @@ -47205,7 +47683,7 @@ paths: description: Response content: application/json: - schema: *350 + schema: *355 examples: default: value: @@ -47241,10 +47719,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 + - *353 + - *354 - *76 - - *351 + - *356 responses: '204': description: Response @@ -47276,10 +47754,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 + - *353 + - *354 - *76 - - *351 + - *356 responses: '204': description: Response @@ -47309,7 +47787,7 @@ paths: - *76 - *17 - *19 - - &353 + - &358 name: sort description: The property by which to sort the results. in: query @@ -47320,7 +47798,7 @@ paths: - created_at default: created_at - *99 - - &354 + - &359 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -47332,7 +47810,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &355 + - &360 name: repository description: The name of the repository to use to filter the results. in: query @@ -47341,7 +47819,7 @@ paths: type: string examples: - Hello-World - - &356 + - &361 name: permission description: The permission to use to filter the results. in: query @@ -47350,7 +47828,7 @@ paths: type: string examples: - issues_read - - &357 + - &362 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 +47838,7 @@ paths: schema: type: string format: date-time - - &358 + - &363 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 +47848,7 @@ paths: schema: type: string format: date-time - - &359 + - &364 name: token_id description: The ID of the token in: query @@ -47646,7 +48124,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *129 + '204': *134 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47687,9 +48165,9 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: - default: *352 + default: *357 headers: Link: *41 x-github: @@ -47715,14 +48193,14 @@ paths: - *76 - *17 - *19 - - *353 - - *99 - - *354 - - *355 - - *356 - - *357 - *358 + - *99 - *359 + - *360 + - *361 + - *362 + - *363 + - *364 responses: '500': *38 '422': *15 @@ -47963,7 +48441,7 @@ paths: responses: '500': *38 '404': *6 - '204': *129 + '204': *134 '403': *27 '422': *15 x-github: @@ -48004,9 +48482,9 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: - default: *352 + default: *357 headers: Link: *41 x-github: @@ -48048,7 +48526,7 @@ paths: type: integer configurations: type: array - items: &360 + items: &365 title: Organization private registry description: Private registry configuration for an organization type: object @@ -48307,7 +48785,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &361 + org-private-registry-with-selected-visibility: &366 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -48399,15 +48877,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *76 - - *256 + - *263 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *360 + schema: *365 examples: - default: *361 + default: *366 '404': *6 x-github: githubCloudOnly: false @@ -48429,7 +48907,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *76 - - *256 + - *263 requestBody: required: true content: @@ -48526,7 +49004,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *76 - - *256 + - *263 responses: '204': description: Response @@ -48572,7 +49050,7 @@ paths: application/json: schema: type: array - items: &362 + items: &367 title: Project description: Projects are a way to organize columns and cards of work. @@ -48754,7 +49232,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *367 examples: default: value: @@ -48792,7 +49270,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &441 + '410': &446 description: Gone content: application/json: @@ -48835,7 +49313,7 @@ paths: application/json: schema: type: array - items: &363 + items: &368 title: Projects v2 Project description: A projects v2 project type: object @@ -48909,7 +49387,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &857 + - &861 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -48994,7 +49472,7 @@ paths: - deleted_at - deleted_by examples: - default: &364 + default: &369 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -49097,7 +49575,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &365 + - &370 name: project_number description: The project's number. in: path @@ -49110,9 +49588,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *368 examples: - default: *364 + default: *369 headers: Link: *41 '304': *35 @@ -49134,7 +49612,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *365 + - *370 - *76 - *17 - *97 @@ -49146,7 +49624,7 @@ paths: application/json: schema: type: array - items: &366 + items: &371 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -49296,7 +49774,7 @@ paths: - updated_at - project_url examples: - default: &367 + default: &372 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -49339,8 +49817,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *365 - - &801 + - *370 + - &805 name: field_id description: The unique identifier of the field. in: path @@ -49353,9 +49831,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *371 examples: - default: *367 + default: *372 headers: Link: *41 '304': *35 @@ -49378,7 +49856,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *365 + - *370 - *76 - 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) @@ -49388,17 +49866,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 - *97 - *98 - *17 @@ -49409,7 +49889,7 @@ paths: application/json: schema: type: array - items: &372 + items: &377 title: Projects v2 Item description: An item belonging to a project type: object @@ -49426,7 +49906,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: &375 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -49483,7 +49963,7 @@ paths: - updated_at - archived_at examples: - default: &373 + default: &378 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -50178,7 +50658,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *76 - - *365 + - *370 requestBody: required: true description: Details of the item to add to the project. @@ -50215,7 +50695,7 @@ paths: description: Response content: application/json: - schema: &802 + schema: &806 title: Projects v2 Item description: An item belonging to a project type: object @@ -50228,8 +50708,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *183 - - &549 + - *189 + - &554 title: Pull Request Simple description: Pull Request Simple type: object @@ -50349,7 +50829,7 @@ paths: milestone: anyOf: - type: 'null' - - *368 + - *373 active_lock_reason: type: - string @@ -50404,7 +50884,7 @@ paths: type: - array - 'null' - items: *273 + items: *280 head: type: object properties: @@ -50448,7 +50928,7 @@ paths: _links: type: object properties: - comments: &369 + comments: &374 title: Link description: Hypermedia Link type: object @@ -50457,13 +50937,13 @@ paths: type: string required: - href - commits: *369 - statuses: *369 - html: *369 - issue: *369 - review_comments: *369 - review_comment: *369 - self: *369 + commits: *374 + statuses: *374 + html: *374 + issue: *374 + review_comments: *374 + review_comment: *374 + self: *374 required: - comments - commits @@ -50473,8 +50953,8 @@ paths: - review_comments - review_comment - self - author_association: *184 - auto_merge: &655 + author_association: *190 + auto_merge: &660 title: Auto merge description: The status of auto merging a pull request. type: @@ -50576,7 +51056,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *370 + content_type: *375 creator: *4 created_at: type: string @@ -50613,7 +51093,7 @@ paths: - updated_at - archived_at examples: - issue: &371 + issue: &376 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -50668,7 +51148,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: *376 '304': *35 '403': *27 '401': *23 @@ -50688,9 +51168,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 + - *370 - *76 - - &374 + - &379 name: item_id description: The unique identifier of the project item. in: path @@ -50698,25 +51178,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: *377 examples: - default: *373 + default: *378 headers: Link: *41 '304': *35 @@ -50737,9 +51219,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *365 + - *370 - *76 - - *374 + - *379 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -50812,13 +51294,13 @@ paths: description: Response content: application/json: - schema: *372 + schema: *377 examples: - text_field: *373 - number_field: *373 - date_field: *373 - single_select_field: *373 - iteration_field: *373 + text_field: *378 + number_field: *378 + date_field: *378 + single_select_field: *378 + iteration_field: *378 '401': *23 '403': *27 '404': *6 @@ -50838,9 +51320,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *365 + - *370 - *76 - - *374 + - *379 responses: '204': description: Response @@ -50872,9 +51354,9 @@ paths: application/json: schema: type: array - items: *125 + items: *130 examples: - default: *126 + default: *131 '403': *27 '404': *6 x-github: @@ -50912,7 +51394,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *125 + items: *130 minItems: 1 maxItems: 100 required: @@ -50942,9 +51424,9 @@ paths: application/json: schema: type: array - items: *125 + items: *130 examples: - default: *126 + default: *131 '403': *27 '404': *6 x-github: @@ -50966,15 +51448,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *76 - - *127 + - *132 responses: '200': description: Response content: application/json: - schema: *125 + schema: *130 examples: - default: *128 + default: *133 '403': *27 '404': *6 x-github: @@ -50998,12 +51480,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *76 - - *127 + - *132 requestBody: required: true content: application/json: - schema: *375 + schema: *380 examples: default: value: @@ -51019,9 +51501,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *130 examples: - default: *128 + default: *133 '403': *27 '404': *6 x-github: @@ -51045,9 +51527,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *76 - - *127 + - *132 responses: - '204': *129 + '204': *134 '403': *27 '404': *6 x-github: @@ -51109,7 +51591,7 @@ paths: - octocat/Hello-World properties: type: array - items: &376 + items: &381 title: Custom Property Value description: Custom property name and associated value type: object @@ -51199,7 +51681,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *376 + items: *381 required: - repository_names - properties @@ -51252,7 +51734,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 x-github: @@ -51272,7 +51754,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *76 - - *178 + - *183 responses: '204': description: Response if user is a public member @@ -51297,7 +51779,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *76 - - *178 + - *183 responses: '204': description: Response @@ -51319,7 +51801,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *76 - - *178 + - *183 responses: '204': description: Response @@ -51390,9 +51872,9 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: - default: *352 + default: *357 headers: Link: *41 x-github: @@ -51596,7 +52078,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &448 title: Full Repository description: Full Repository type: object @@ -52042,7 +52524,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *192 organization: anyOf: - type: 'null' @@ -52061,7 +52543,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &554 + code_of_conduct: &559 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -52091,7 +52573,7 @@ paths: - key - name - html_url - security_and_analysis: *377 + security_and_analysis: *382 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -52175,7 +52657,7 @@ paths: - network_count - subscribers_count examples: - default: &445 + default: &450 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -52701,9 +53183,9 @@ paths: application/json: schema: type: array - items: *378 + items: *383 examples: - default: *379 + default: *384 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -52728,7 +53210,7 @@ paths: - *76 - *17 - *19 - - &678 + - &683 name: targets description: | A comma-separated list of rule targets to filter by. @@ -52747,7 +53229,7 @@ paths: application/json: schema: type: array - items: *158 + items: *163 examples: default: value: @@ -52815,25 +53297,20 @@ paths: - push - repository default: branch - enforcement: *136 + enforcement: *141 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *380 + items: *142 + conditions: *385 rules: type: array description: An array of rules within the ruleset. - items: &382 + items: &387 title: Repository Rule type: object description: A repository rule. oneOf: - - *138 - - *139 - - *140 - - *141 - - *142 - *143 - *144 - *145 @@ -52849,6 +53326,11 @@ paths: - *155 - *156 - *157 + - *158 + - *159 + - *160 + - *161 + - *162 required: - name - enforcement @@ -52886,9 +53368,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: &381 + default: &386 value: id: 21 name: super cool ruleset @@ -52943,7 +53425,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *76 - - &680 + - &685 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 +53435,16 @@ paths: schema: type: string x-multi-segment: true - - *270 + - *277 - *94 - - &681 + - &686 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 + - &687 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52982,7 +53464,7 @@ paths: description: Response content: application/json: - schema: &683 + schema: &688 title: Rule Suites description: Response type: array @@ -53038,7 +53520,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &684 + default: &689 value: - id: 21 actor_id: 12 @@ -53082,7 +53564,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *76 - - &685 + - &690 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -53098,7 +53580,7 @@ paths: description: Response content: application/json: - schema: &686 + schema: &691 title: Rule Suite description: Response type: object @@ -53205,7 +53687,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &687 + default: &692 value: id: 21 actor_id: 12 @@ -53278,9 +53760,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: *381 + default: *386 '404': *6 '500': *38 put: @@ -53324,16 +53806,16 @@ paths: - tag - push - repository - enforcement: *136 + enforcement: *141 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *380 + items: *142 + conditions: *385 rules: description: An array of rules within the ruleset. type: array - items: *382 + items: *387 examples: default: value: @@ -53368,9 +53850,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: *381 + default: *386 '404': *6 '500': *38 delete: @@ -53427,9 +53909,9 @@ paths: application/json: schema: type: array - items: *162 + items: *167 examples: - default: *383 + default: *388 '404': *6 '500': *38 x-github: @@ -53466,7 +53948,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *389 examples: default: value: @@ -53529,14 +54011,14 @@ paths: 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 + - *390 + - *391 + - *392 + - *393 - *99 - *19 - *17 - - &689 + - &694 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 +54028,7 @@ paths: required: false schema: type: string - - &690 + - &695 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 +54038,10 @@ paths: required: false schema: type: string - - *389 - - *390 - - *391 - - *392 + - *394 + - *395 + - *396 + - *397 responses: '200': description: Response @@ -53567,13 +54049,13 @@ paths: application/json: schema: type: array - items: *393 + items: *398 examples: - default: *394 + default: *399 headers: Link: *41 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53604,9 +54086,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *400 examples: - default: *396 + default: *401 '403': *27 '404': *6 patch: @@ -53635,7 +54117,7 @@ paths: schema: type: object properties: - pattern_config_version: *165 + pattern_config_version: *170 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -53661,7 +54143,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *165 + custom_pattern_version: *170 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -53759,7 +54241,7 @@ paths: application/json: schema: type: array - items: &711 + items: &716 description: A repository security advisory. type: object properties: @@ -53967,7 +54449,7 @@ paths: required: - vector_string - score - cvss_severities: *111 + cvss_severities: *116 cwes: type: - array @@ -54003,7 +54485,7 @@ paths: login: type: string description: The username of the user credited. - type: *397 + type: *402 credits_detailed: type: - array @@ -54014,7 +54496,7 @@ paths: type: object properties: user: *4 - type: *397 + type: *402 state: type: string description: The state of the user's acceptance of the @@ -54040,7 +54522,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *273 + items: *280 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -54078,7 +54560,7 @@ paths: - private_fork additionalProperties: false examples: - default: &712 + default: &717 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -54465,9 +54947,9 @@ paths: application/json: schema: type: array - items: *344 + items: *349 examples: - default: *345 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54491,7 +54973,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *76 - - *180 + - *186 responses: '204': description: Response @@ -54517,7 +54999,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *76 - - *180 + - *186 responses: '204': description: Response @@ -54552,9 +55034,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *403 examples: - default: *399 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54579,7 +55061,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *76 - - *400 + - *405 - *17 - *19 responses: @@ -54587,9 +55069,9 @@ paths: description: Success content: application/json: - schema: *401 + schema: *406 examples: - default: *402 + default: *407 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54617,9 +55099,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *408 examples: - default: *404 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54647,9 +55129,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *410 examples: - default: *406 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54795,9 +55277,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *253 examples: - default: *260 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54866,7 +55348,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *76 - - *240 + - *247 responses: '204': description: Response @@ -54889,7 +55371,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *76 - - *240 + - *247 responses: '204': description: Response @@ -54930,9 +55412,9 @@ paths: type: integer network_configurations: type: array - items: *122 + items: *127 examples: - default: *407 + default: *412 headers: Link: *41 x-github: @@ -54995,9 +55477,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *127 examples: - default: *123 + default: *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55018,15 +55500,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *76 - - *124 + - *129 responses: '200': description: Response content: application/json: - schema: *122 + schema: *127 examples: - default: *123 + default: *128 headers: Link: *41 x-github: @@ -55048,7 +55530,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *76 - - *124 + - *129 requestBody: required: true content: @@ -55087,9 +55569,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *127 examples: - default: *123 + default: *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55109,7 +55591,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *76 - - *124 + - *129 responses: '204': description: Response @@ -55133,15 +55615,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *76 - - *408 + - *413 responses: '200': description: Response content: application/json: - schema: *409 + schema: *414 examples: - default: *410 + default: *415 headers: Link: *41 x-github: @@ -55179,7 +55661,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &437 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -55231,7 +55713,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &433 + default: &438 value: groups: - group_id: '123' @@ -55277,7 +55759,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *76 - - *180 + - *186 - 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 +55791,13 @@ paths: application/json: schema: type: array - items: *171 + items: *176 examples: - default: *172 + default: *177 '500': *38 '403': *27 '404': *6 - '422': *173 + '422': *178 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55343,9 +55825,9 @@ paths: application/json: schema: type: array - items: *273 + items: *280 examples: - default: *345 + default: *350 headers: Link: *41 '403': *27 @@ -55439,7 +55921,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &416 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -55513,7 +55995,7 @@ paths: parent: anyOf: - type: 'null' - - *344 + - *349 members_count: type: integer examples: @@ -55838,7 +56320,7 @@ paths: - repos_count - organization examples: - default: &412 + default: &417 value: id: 1 node_id: MDQ6VGVhbTE= @@ -55909,15 +56391,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *76 - - *180 + - *186 responses: '200': description: Response content: application/json: - schema: *411 + schema: *416 examples: - default: *412 + default: *417 '404': *6 x-github: githubCloudOnly: false @@ -55939,7 +56421,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *76 - - *180 + - *186 requestBody: required: false content: @@ -56002,16 +56484,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *411 + schema: *416 examples: - default: *412 + default: *417 '201': description: Response content: application/json: - schema: *411 + schema: *416 examples: - default: *412 + default: *417 '404': *6 '422': *15 '403': *27 @@ -56037,7 +56519,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *76 - - *180 + - *186 responses: '204': description: Response @@ -56064,7 +56546,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *76 - - *180 + - *186 - *99 - *17 - *19 @@ -56081,7 +56563,7 @@ paths: application/json: schema: type: array - items: &413 + items: &418 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -56172,7 +56654,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *185 + reactions: *191 required: - author - body @@ -56192,7 +56674,7 @@ paths: - updated_at - url examples: - default: &755 + default: &760 value: - author: login: octocat @@ -56267,7 +56749,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *76 - - *180 + - *186 requestBody: required: true content: @@ -56301,9 +56783,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *418 examples: - default: &414 + default: &419 value: author: login: octocat @@ -56376,8 +56858,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *76 - - *180 - - &415 + - *186 + - &420 name: discussion_number description: The number that identifies the discussion. in: path @@ -56389,9 +56871,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *418 examples: - default: *414 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56414,8 +56896,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *76 - - *180 - - *415 + - *186 + - *420 requestBody: required: false content: @@ -56438,9 +56920,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *418 examples: - default: &756 + default: &761 value: author: login: octocat @@ -56511,8 +56993,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *76 - - *180 - - *415 + - *186 + - *420 responses: '204': description: Response @@ -56539,8 +57021,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *76 - - *180 - - *415 + - *186 + - *420 - *99 - *17 - *19 @@ -56551,7 +57033,7 @@ paths: application/json: schema: type: array - items: &416 + items: &421 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -56616,7 +57098,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *185 + reactions: *191 required: - author - body @@ -56631,7 +57113,7 @@ paths: - updated_at - url examples: - default: &757 + default: &762 value: - author: login: octocat @@ -56700,8 +57182,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *76 - - *180 - - *415 + - *186 + - *420 requestBody: required: true content: @@ -56723,9 +57205,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *421 examples: - default: &417 + default: &422 value: author: login: octocat @@ -56792,9 +57274,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *76 - - *180 - - *415 - - &418 + - *186 + - *420 + - &423 name: comment_number description: The number that identifies the comment. in: path @@ -56806,9 +57288,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *421 examples: - default: *417 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56831,9 +57313,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *76 - - *180 - - *415 - - *418 + - *186 + - *420 + - *423 requestBody: required: true content: @@ -56855,9 +57337,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *421 examples: - default: &758 + default: &763 value: author: login: octocat @@ -56922,9 +57404,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *76 - - *180 - - *415 - - *418 + - *186 + - *420 + - *423 responses: '204': description: Response @@ -56951,9 +57433,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *76 - - *180 - - *415 - - *418 + - *186 + - *420 + - *423 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -56979,7 +57461,7 @@ paths: application/json: schema: type: array - items: &419 + items: &424 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -57023,7 +57505,7 @@ paths: - content - created_at examples: - default: &421 + default: &426 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -57074,9 +57556,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *76 - - *180 - - *415 - - *418 + - *186 + - *420 + - *423 requestBody: required: true content: @@ -57109,9 +57591,9 @@ paths: team discussion comment content: application/json: - schema: *419 + schema: *424 examples: - default: &420 + default: &425 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -57140,9 +57622,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57166,10 +57648,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *76 - - *180 - - *415 - - *418 - - &422 + - *186 + - *420 + - *423 + - &427 name: reaction_id description: The unique identifier of the reaction. in: path @@ -57202,8 +57684,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *76 - - *180 - - *415 + - *186 + - *420 - 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 +57711,9 @@ paths: application/json: schema: type: array - items: *419 + items: *424 examples: - default: *421 + default: *426 headers: Link: *41 x-github: @@ -57258,8 +57740,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *76 - - *180 - - *415 + - *186 + - *420 requestBody: required: true content: @@ -57291,16 +57773,16 @@ paths: description: Response content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '201': description: Response content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -57324,9 +57806,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *76 - - *180 - - *415 - - *422 + - *186 + - *420 + - *427 responses: '204': description: Response @@ -57350,15 +57832,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *76 - - *180 + - *186 responses: '200': description: Response content: application/json: - schema: *423 + schema: *428 examples: - default: *424 + default: *429 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57378,7 +57860,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *76 - - *180 + - *186 requestBody: required: true content: @@ -57402,9 +57884,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *430 examples: - default: *426 + default: *431 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -57424,7 +57906,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *76 - - *180 + - *186 responses: '204': description: Response @@ -57449,7 +57931,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *76 - - *180 + - *186 - *17 - *19 responses: @@ -57459,9 +57941,9 @@ paths: application/json: schema: type: array - items: *328 + items: *333 examples: - default: *329 + default: *334 headers: Link: *41 x-github: @@ -57484,7 +57966,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *76 - - *180 + - *186 - name: role description: Filters members returned by their role in the team. in: query @@ -57507,7 +57989,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 x-github: @@ -57538,14 +58020,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *76 - - *180 - - *178 + - *186 + - *183 responses: '200': description: Response content: application/json: - schema: &427 + schema: &432 title: Team Membership description: Team Membership type: object @@ -57573,7 +58055,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &759 + response-if-user-is-a-team-maintainer: &764 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57610,8 +58092,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *76 - - *180 - - *178 + - *186 + - *183 requestBody: required: false content: @@ -57636,9 +58118,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *432 examples: - response-if-users-membership-with-team-is-now-pending: &760 + response-if-users-membership-with-team-is-now-pending: &765 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57674,8 +58156,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *76 - - *180 - - *178 + - *186 + - *183 responses: '204': description: Response @@ -57701,7 +58183,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *76 - - *180 + - *186 - *17 - *19 responses: @@ -57711,7 +58193,7 @@ paths: application/json: schema: type: array - items: &428 + items: &433 title: Team Project description: A team's access to a project. type: object @@ -57780,7 +58262,7 @@ paths: - updated_at - permissions examples: - default: &761 + default: &766 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57844,8 +58326,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *76 - - *180 - - &429 + - *186 + - &434 name: project_id description: The unique identifier of the project. in: path @@ -57857,9 +58339,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *433 examples: - default: &762 + default: &767 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57922,8 +58404,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *76 - - *180 - - *429 + - *186 + - *434 requestBody: required: false content: @@ -57991,8 +58473,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *76 - - *180 - - *429 + - *186 + - *434 responses: '204': description: Response @@ -58020,7 +58502,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *76 - - *180 + - *186 - *17 - *19 responses: @@ -58030,9 +58512,9 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: - default: *352 + default: *357 headers: Link: *41 x-github: @@ -58062,15 +58544,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *76 - - *180 - - *430 - - *431 + - *186 + - *435 + - *436 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &763 + schema: &768 title: Team Repository description: A team's access to a repository. type: object @@ -58096,7 +58578,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *192 forks: type: integer permissions: @@ -58712,9 +59194,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *76 - - *180 - - *430 - - *431 + - *186 + - *435 + - *436 requestBody: required: false content: @@ -58760,9 +59242,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *76 - - *180 - - *430 - - *431 + - *186 + - *435 + - *436 responses: '204': description: Response @@ -58789,15 +59271,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *76 - - *180 + - *186 responses: '200': description: Response content: application/json: - schema: *432 + schema: *437 examples: - default: *433 + default: *438 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -58820,7 +59302,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *76 - - *180 + - *186 requestBody: required: true content: @@ -58863,7 +59345,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *437 examples: default: value: @@ -58896,7 +59378,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *76 - - *180 + - *186 - *17 - *19 responses: @@ -58906,9 +59388,9 @@ paths: application/json: schema: type: array - items: *273 + items: *280 examples: - response-if-child-teams-exist: &764 + response-if-child-teams-exist: &769 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -59035,7 +59517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &434 + - &439 name: card_id description: The unique identifier of the card. in: path @@ -59047,7 +59529,7 @@ paths: description: Response content: application/json: - schema: &435 + schema: &440 title: Project Card description: Project cards represent a scope of work. type: object @@ -59122,7 +59604,7 @@ paths: - created_at - updated_at examples: - default: &436 + default: &441 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -59178,7 +59660,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 + - *439 requestBody: required: false content: @@ -59208,9 +59690,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *440 examples: - default: *436 + default: *441 '304': *35 '403': *27 '401': *23 @@ -59237,7 +59719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *434 + - *439 responses: '204': description: Response @@ -59281,7 +59763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *434 + - *439 requestBody: required: true content: @@ -59394,7 +59876,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &437 + - &442 name: column_id description: The unique identifier of the column. in: path @@ -59406,7 +59888,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &443 title: Project Column description: Project columns contain cards of work. type: object @@ -59460,7 +59942,7 @@ paths: - created_at - updated_at examples: - default: &439 + default: &444 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -59495,7 +59977,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 + - *442 requestBody: required: true content: @@ -59520,9 +60002,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *443 examples: - default: *439 + default: *444 '304': *35 '403': *27 '401': *23 @@ -59547,7 +60029,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *437 + - *442 responses: '204': description: Response @@ -59576,7 +60058,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *437 + - *442 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -59597,7 +60079,7 @@ paths: application/json: schema: type: array - items: *435 + items: *440 examples: default: value: @@ -59656,7 +60138,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *437 + - *442 requestBody: required: true content: @@ -59700,9 +60182,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *440 examples: - default: *436 + default: *441 '304': *35 '403': *27 '401': *23 @@ -59712,8 +60194,8 @@ paths: application/json: schema: oneOf: - - *223 - - *224 + - *230 + - *231 '503': description: Response content: @@ -59758,7 +60240,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *437 + - *442 requestBody: required: true content: @@ -59819,15 +60301,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *429 + - *434 responses: '200': description: Response content: application/json: - schema: *362 + schema: *367 examples: - default: &440 + default: &445 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -59884,7 +60366,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *429 + - *434 requestBody: required: false content: @@ -59933,9 +60415,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *367 examples: - default: *440 + default: *445 '404': description: Not Found if the authenticated user does not have access to the project @@ -59956,7 +60438,7 @@ paths: items: type: string '401': *23 - '410': *441 + '410': *446 '422': *7 x-github: githubCloudOnly: false @@ -59979,7 +60461,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *429 + - *434 responses: '204': description: Delete Success @@ -60000,7 +60482,7 @@ paths: items: type: string '401': *23 - '410': *441 + '410': *446 '404': *6 x-github: githubCloudOnly: false @@ -60024,7 +60506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *429 + - *434 - 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 +60533,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 '404': *6 @@ -60081,8 +60563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *429 - - *178 + - *434 + - *183 requestBody: required: false content: @@ -60136,8 +60618,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 + - *434 + - *183 responses: '204': description: Response @@ -60168,8 +60650,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 + - *434 + - *183 responses: '200': description: Response @@ -60239,7 +60721,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *429 + - *434 - *17 - *19 responses: @@ -60249,7 +60731,7 @@ paths: application/json: schema: type: array - items: *438 + items: *443 examples: default: value: @@ -60287,7 +60769,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *429 + - *434 requestBody: required: true content: @@ -60311,7 +60793,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *443 examples: default: value: @@ -60376,7 +60858,7 @@ paths: resources: type: object properties: - core: &442 + core: &447 title: Rate Limit type: object properties: @@ -60393,21 +60875,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: *447 + search: *447 + code_search: *447 + source_import: *447 + integration_manifest: *447 + code_scanning_upload: *447 + actions_runner_registration: *447 + scim: *447 + dependency_snapshots: *447 + dependency_sbom: *447 + code_scanning_autofix: *447 required: - core - search - rate: *442 + rate: *447 required: - rate - resources @@ -60512,14 +60994,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *443 + schema: *448 examples: default-response: summary: Default response @@ -61024,7 +61506,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *444 + '301': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61042,8 +61524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: false content: @@ -61301,10 +61783,10 @@ paths: description: Response content: application/json: - schema: *443 + schema: *448 examples: - default: *445 - '307': &446 + default: *450 + '307': &451 description: Temporary Redirect content: application/json: @@ -61333,8 +61815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *430 - - *431 + - *435 + - *436 responses: '204': description: Response @@ -61356,7 +61838,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *446 + '307': *451 '404': *6 '409': *107 x-github: @@ -61380,11 +61862,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 + - *435 + - *436 - *17 - *19 - - &461 + - &466 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -61407,7 +61889,7 @@ paths: type: integer artifacts: type: array - items: &447 + items: &452 title: Artifact description: An artifact type: object @@ -61502,7 +61984,7 @@ paths: - expires_at - updated_at examples: - default: &462 + default: &467 value: total_count: 2 artifacts: @@ -61563,9 +62045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *430 - - *431 - - &448 + - *435 + - *436 + - &453 name: artifact_id description: The unique identifier of the artifact. in: path @@ -61577,7 +62059,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *452 examples: default: value: @@ -61615,9 +62097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *430 - - *431 - - *448 + - *435 + - *436 + - *453 responses: '204': description: Response @@ -61641,9 +62123,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *430 - - *431 - - *448 + - *435 + - *436 + - *453 - name: archive_format in: path required: true @@ -61657,7 +62139,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': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61680,14 +62162,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 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *449 + schema: *454 examples: default: value: @@ -61713,11 +62195,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 + - *435 + - *436 - *17 - *19 - - &450 + - &455 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 @@ -61751,7 +62233,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &456 title: Repository actions caches description: Repository actions caches type: object @@ -61801,7 +62283,7 @@ paths: - total_count - actions_caches examples: - default: &452 + default: &457 value: total_count: 1 actions_caches: @@ -61833,23 +62315,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 + - *435 + - *436 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *450 + - *455 responses: '200': description: Response content: application/json: - schema: *451 + schema: *456 examples: - default: *452 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61869,8 +62351,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 + - *435 + - *436 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -61901,9 +62383,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 + - *435 + - *436 + - &458 name: job_id description: The unique identifier of the job. in: path @@ -61915,7 +62397,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &470 title: Job description: Information of a job execution in a workflow run type: object @@ -62262,9 +62744,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 + - *435 + - *436 + - *458 responses: '302': description: Response @@ -62292,9 +62774,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 + - *435 + - *436 + - *458 requestBody: required: false content: @@ -62316,7 +62798,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -62340,8 +62822,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 + - *435 + - *436 responses: '200': description: Status response @@ -62391,8 +62873,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 + - *435 + - *436 requestBody: required: true content: @@ -62426,7 +62908,7 @@ paths: description: Empty response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -62455,8 +62937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -62474,7 +62956,7 @@ paths: type: integer secrets: type: array - items: &467 + items: &472 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -62495,7 +62977,7 @@ paths: - created_at - updated_at examples: - default: &468 + default: &473 value: total_count: 2 secrets: @@ -62528,9 +63010,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 + - *435 + - *436 + - *459 - *19 responses: '200': @@ -62547,7 +63029,7 @@ paths: type: integer variables: type: array - items: &471 + items: &476 title: Actions Variable type: object properties: @@ -62581,7 +63063,7 @@ paths: - created_at - updated_at examples: - default: &472 + default: &477 value: total_count: 2 variables: @@ -62614,8 +63096,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 + - *435 + - *436 responses: '200': description: Response @@ -62624,11 +63106,11 @@ paths: schema: type: object properties: - enabled: &455 + enabled: &460 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *49 - selected_actions_url: *233 + selected_actions_url: *240 sha_pinning_required: *50 required: - enabled @@ -62659,8 +63141,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 + - *435 + - *436 responses: '204': description: Response @@ -62671,7 +63153,7 @@ paths: schema: type: object properties: - enabled: *455 + enabled: *460 allowed_actions: *49 sha_pinning_required: *50 required: @@ -62704,14 +63186,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 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: &456 + schema: &461 type: object properties: access_level: @@ -62729,7 +63211,7 @@ paths: required: - access_level examples: - default: &457 + default: &462 value: access_level: organization x-github: @@ -62754,15 +63236,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 + - *435 + - *436 requestBody: required: true content: application/json: - schema: *456 + schema: *461 examples: - default: *457 + default: *462 responses: '204': description: Response @@ -62786,14 +63268,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 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *235 + schema: *242 examples: default: value: @@ -62817,8 +63299,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 + - *435 + - *436 responses: '204': description: Empty response for successful settings update @@ -62828,7 +63310,7 @@ paths: required: true content: application/json: - schema: *236 + schema: *243 examples: default: summary: Set retention days @@ -62852,8 +63334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response @@ -62861,7 +63343,7 @@ paths: application/json: schema: *51 examples: - default: *237 + default: *244 '404': *6 x-github: enabledForGitHubApps: true @@ -62880,8 +63362,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 + - *435 + - *436 responses: '204': description: Response @@ -62915,14 +63397,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *238 + schema: *245 examples: default: *52 '403': *27 @@ -62944,13 +63426,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: application/json: - schema: *239 + schema: *246 examples: default: *52 responses: @@ -62976,8 +63458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response @@ -63008,8 +63490,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 + - *435 + - *436 responses: '204': description: Response @@ -63041,14 +63523,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *242 + schema: *249 examples: default: *58 x-github: @@ -63071,8 +63553,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 + - *435 + - *436 responses: '204': description: Success response @@ -63083,7 +63565,7 @@ paths: required: true content: application/json: - schema: *243 + schema: *250 examples: default: *58 x-github: @@ -63112,8 +63594,8 @@ paths: in: query schema: type: string - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -63157,8 +63639,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 + - *435 + - *436 responses: '200': description: Response @@ -63166,9 +63648,9 @@ paths: application/json: schema: type: array - items: *247 + items: *254 examples: - default: *248 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63190,8 +63672,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 + - *435 + - *436 requestBody: required: true content: @@ -63234,7 +63716,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *249 + '201': *256 '404': *6 '422': *7 '409': *107 @@ -63265,8 +63747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 responses: '201': description: Response @@ -63274,7 +63756,7 @@ paths: application/json: schema: *68 examples: - default: *250 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63302,8 +63784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 responses: '201': description: Response @@ -63311,7 +63793,7 @@ paths: application/json: schema: *68 examples: - default: *251 + default: *258 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63333,8 +63815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 - *64 responses: '200': @@ -63343,7 +63825,7 @@ paths: application/json: schema: *65 examples: - default: *252 + default: *259 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63364,8 +63846,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *430 - - *431 + - *435 + - *436 - *64 responses: '204': @@ -63392,8 +63874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 - *64 responses: '200': *70 @@ -63418,8 +63900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 - *64 requestBody: required: true @@ -63468,8 +63950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 - *64 requestBody: required: true @@ -63519,11 +64001,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 + - *435 + - *436 - *64 responses: - '200': *253 + '200': *260 '404': *6 x-github: githubCloudOnly: false @@ -63550,10 +64032,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *430 - - *431 + - *435 + - *436 - *64 - - *254 + - *261 responses: '200': *70 '404': *6 @@ -63581,9 +64063,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 + - *435 + - *436 + - &480 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 +64073,7 @@ paths: required: false schema: type: string - - &476 + - &481 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -63599,7 +64081,7 @@ paths: required: false schema: type: string - - &477 + - &482 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 +64090,7 @@ paths: required: false schema: type: string - - &478 + - &483 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 +64117,7 @@ paths: - pending - *17 - *19 - - &479 + - &484 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 +64126,7 @@ paths: schema: type: string format: date-time - - &458 + - &463 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -63653,13 +64135,13 @@ paths: schema: type: boolean default: false - - &480 + - &485 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &481 + - &486 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -63682,7 +64164,7 @@ paths: type: integer workflow_runs: type: array - items: &459 + items: &464 title: Workflow Run description: An invocation of a workflow type: object @@ -63799,7 +64281,7 @@ paths: type: - array - 'null' - items: *187 + items: *193 created_at: type: string format: date-time @@ -63860,7 +64342,7 @@ paths: head_commit: anyOf: - type: 'null' - - &503 + - &508 title: Simple Commit description: A commit. type: object @@ -63934,8 +64416,8 @@ paths: - timestamp - author - committer - repository: *246 - head_repository: *246 + repository: *253 + head_repository: *253 head_repository_id: type: integer examples: @@ -63975,7 +64457,7 @@ paths: - workflow_url - pull_requests examples: - default: &482 + default: &487 value: total_count: 1 workflow_runs: @@ -64211,24 +64693,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 + - *435 + - *436 + - &465 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *458 + - *463 responses: '200': description: Response content: application/json: - schema: *459 + schema: *464 examples: - default: &463 + default: &468 value: id: 30433642 name: Build @@ -64469,9 +64951,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 + - *435 + - *436 + - *465 responses: '204': description: Response @@ -64494,9 +64976,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 + - *435 + - *436 + - *465 responses: '200': description: Response @@ -64624,15 +65106,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 + - *435 + - *436 + - *465 responses: '201': description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -64659,12 +65141,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 + - *435 + - *436 + - *465 - *17 - *19 - - *461 + - *466 responses: '200': description: Response @@ -64680,9 +65162,9 @@ paths: type: integer artifacts: type: array - items: *447 + items: *452 examples: - default: *462 + default: *467 headers: Link: *41 x-github: @@ -64706,25 +65188,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 + - *435 + - *436 + - *465 + - &469 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *458 + - *463 responses: '200': description: Response content: application/json: - schema: *459 + schema: *464 examples: - default: *463 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64747,10 +65229,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 + - *435 + - *436 + - *465 + - *469 - *17 - *19 responses: @@ -64768,9 +65250,9 @@ paths: type: integer jobs: type: array - items: *465 + items: *470 examples: - default: &466 + default: &471 value: total_count: 1 jobs: @@ -64883,10 +65365,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 + - *435 + - *436 + - *465 + - *469 responses: '302': description: Response @@ -64914,15 +65396,15 @@ 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 + - *435 + - *436 + - *465 responses: '202': description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -64949,9 +65431,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 + - *435 + - *436 + - *465 requestBody: required: true content: @@ -65018,15 +65500,15 @@ 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 + - *435 + - *436 + - *465 responses: '202': description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -65053,9 +65535,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 + - *435 + - *436 + - *465 - 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 +65567,9 @@ paths: type: integer jobs: type: array - items: *465 + items: *470 examples: - default: *466 + default: *471 headers: Link: *41 x-github: @@ -65112,9 +65594,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 + - *435 + - *436 + - *465 responses: '302': description: Response @@ -65141,9 +65623,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 + - *435 + - *436 + - *465 responses: '204': description: Response @@ -65170,9 +65652,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 + - *435 + - *436 + - *465 responses: '200': description: Response @@ -65241,7 +65723,7 @@ paths: items: type: object properties: - type: &583 + type: &588 type: string description: The type of reviewer. enum: @@ -65252,7 +65734,7 @@ paths: reviewer: anyOf: - *4 - - *273 + - *280 required: - environment - wait_timer @@ -65327,9 +65809,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 + - *435 + - *436 + - *465 requestBody: required: true content: @@ -65379,7 +65861,7 @@ paths: application/json: schema: type: array - items: &569 + items: &574 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -65491,7 +65973,7 @@ paths: - created_at - updated_at examples: - default: &570 + default: &575 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -65547,9 +66029,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 + - *435 + - *436 + - *465 requestBody: required: false content: @@ -65571,7 +66053,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -65594,9 +66076,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 + - *435 + - *436 + - *465 requestBody: required: false content: @@ -65618,7 +66100,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -65651,9 +66133,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 + - *435 + - *436 + - *465 responses: '200': description: Response @@ -65790,8 +66272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -65809,9 +66291,9 @@ paths: type: integer secrets: type: array - items: *467 + items: *472 examples: - default: *468 + default: *473 headers: Link: *41 x-github: @@ -65836,16 +66318,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 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *469 + schema: *474 examples: - default: *470 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65867,17 +66349,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 + - *435 + - *436 + - *263 responses: '200': description: Response content: application/json: - schema: *467 + schema: *472 examples: - default: &596 + default: &601 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -65903,9 +66385,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 + - *435 + - *436 + - *263 requestBody: required: true content: @@ -65936,7 +66418,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -65962,9 +66444,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 + - *435 + - *436 + - *263 responses: '204': description: Response @@ -65989,9 +66471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *430 - - *431 - - *454 + - *435 + - *436 + - *459 - *19 responses: '200': @@ -66008,9 +66490,9 @@ paths: type: integer variables: type: array - items: *471 + items: *476 examples: - default: *472 + default: *477 headers: Link: *41 x-github: @@ -66033,8 +66515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -66061,7 +66543,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -66086,17 +66568,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 + - *435 + - *436 + - *266 responses: '200': description: Response content: application/json: - schema: *471 + schema: *476 examples: - default: &597 + default: &602 value: name: USERNAME value: octocat @@ -66122,9 +66604,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 + - *435 + - *436 + - *266 requestBody: required: true content: @@ -66166,9 +66648,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 + - *435 + - *436 + - *266 responses: '204': description: Response @@ -66193,8 +66675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -66212,7 +66694,7 @@ paths: type: integer workflows: type: array - items: &473 + items: &478 title: Workflow description: A GitHub Actions workflow type: object @@ -66330,9 +66812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *430 - - *431 - - &474 + - *435 + - *436 + - &479 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -66347,7 +66829,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *478 examples: default: value: @@ -66380,9 +66862,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *430 - - *431 - - *474 + - *435 + - *436 + - *479 responses: '204': description: Response @@ -66407,9 +66889,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 + - *435 + - *436 + - *479 responses: '204': description: Response @@ -66460,9 +66942,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *430 - - *431 - - *474 + - *435 + - *436 + - *479 responses: '204': description: Response @@ -66489,19 +66971,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 - - *17 - - *19 + - *435 + - *436 - *479 - - *458 - *480 - *481 + - *482 + - *483 + - *17 + - *19 + - *484 + - *463 + - *485 + - *486 responses: '200': description: Response @@ -66517,9 +66999,9 @@ paths: type: integer workflow_runs: type: array - items: *459 + items: *464 examples: - default: *482 + default: *487 headers: Link: *41 x-github: @@ -66552,9 +67034,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *430 - - *431 - - *474 + - *435 + - *436 + - *479 responses: '200': description: Response @@ -66615,8 +67097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *430 - - *431 + - *435 + - *436 - *99 - *17 - *97 @@ -66784,8 +67266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -66797,7 +67279,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 '404': *6 @@ -66822,8 +67304,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 + - *435 + - *436 - name: assignee in: path required: true @@ -66859,8 +67341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -66972,8 +67454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *97 - *98 @@ -67029,7 +67511,7 @@ paths: initiator: type: string examples: - default: *483 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67049,8 +67531,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 + - *435 + - *436 responses: '200': description: Response @@ -67058,7 +67540,7 @@ paths: application/json: schema: type: array - items: &484 + items: &489 title: Autolink reference description: An autolink reference. type: object @@ -67117,8 +67599,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 + - *435 + - *436 requestBody: required: true content: @@ -67157,9 +67639,9 @@ paths: description: response content: application/json: - schema: *484 + schema: *489 examples: - default: &485 + default: &490 value: id: 1 key_prefix: TICKET- @@ -67190,9 +67672,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 + - *435 + - *436 + - &491 name: autolink_id description: The unique identifier of the autolink. in: path @@ -67204,9 +67686,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *489 examples: - default: *485 + default: *490 '404': *6 x-github: githubCloudOnly: false @@ -67226,9 +67708,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 + - *435 + - *436 + - *491 responses: '204': description: Response @@ -67252,8 +67734,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 + - *435 + - *436 responses: '200': description: Response if Dependabot is enabled @@ -67303,8 +67785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *430 - - *431 + - *435 + - *436 responses: '204': description: Response @@ -67325,8 +67807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *430 - - *431 + - *435 + - *436 responses: '204': description: Response @@ -67346,8 +67828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *430 - - *431 + - *435 + - *436 - 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 +67867,7 @@ paths: - url protected: type: boolean - protection: &488 + protection: &493 title: Branch Protection description: Branch Protection type: object @@ -67428,7 +67910,7 @@ paths: required: - contexts - checks - enforce_admins: &491 + enforce_admins: &496 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -67445,7 +67927,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &493 + required_pull_request_reviews: &498 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -67467,7 +67949,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *273 + items: *280 apps: description: The list of apps with review dismissal access. @@ -67499,7 +67981,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *273 + items: *280 apps: description: The list of apps allowed to bypass pull request requirements. @@ -67529,7 +68011,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &490 + restrictions: &495 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -67592,7 +68074,7 @@ paths: type: string teams: type: array - items: *273 + items: *280 apps: type: array items: @@ -67822,9 +68304,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *430 - - *431 - - &489 + - *435 + - *436 + - &494 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 +68320,14 @@ paths: description: Response content: application/json: - schema: &499 + schema: &504 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &545 + commit: &550 title: Commit description: Commit type: object @@ -67884,7 +68366,7 @@ paths: author: anyOf: - type: 'null' - - &487 + - &492 title: Git User description: Metaproperties for Git author/committer information. @@ -67905,7 +68387,7 @@ paths: committer: anyOf: - type: 'null' - - *487 + - *492 message: type: string examples: @@ -67929,7 +68411,7 @@ paths: required: - sha - url - verification: &603 + verification: &608 title: Verification type: object properties: @@ -67965,14 +68447,14 @@ paths: author: oneOf: - *4 - - *257 + - *264 type: - 'null' - object committer: oneOf: - *4 - - *257 + - *264 type: - 'null' - object @@ -68009,7 +68491,7 @@ paths: type: integer files: type: array - items: &556 + items: &561 title: Diff Entry description: Diff Entry type: object @@ -68105,7 +68587,7 @@ paths: - self protected: type: boolean - protection: *488 + protection: *493 protection_url: type: string format: uri @@ -68214,7 +68696,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *444 + '301': *449 '404': *6 x-github: githubCloudOnly: false @@ -68236,15 +68718,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 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *488 + schema: *493 examples: default: value: @@ -68438,9 +68920,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 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -68700,7 +69182,7 @@ paths: url: type: string format: uri - required_status_checks: &496 + required_status_checks: &501 title: Status Check Policy description: Status Check Policy type: object @@ -68781,7 +69263,7 @@ paths: items: *4 teams: type: array - items: *273 + items: *280 apps: type: array items: *5 @@ -68799,7 +69281,7 @@ paths: items: *4 teams: type: array - items: *273 + items: *280 apps: type: array items: *5 @@ -68859,7 +69341,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *490 + restrictions: *495 required_conversation_resolution: type: object properties: @@ -68971,9 +69453,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 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -68998,17 +69480,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 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *491 + schema: *496 examples: - default: &492 + default: &497 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -69030,17 +69512,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 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *491 + schema: *496 examples: - default: *492 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69059,9 +69541,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 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -69086,17 +69568,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 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *493 + schema: *498 examples: - default: &494 + default: &499 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -69192,9 +69674,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 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -69292,9 +69774,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *498 examples: - default: *494 + default: *499 '422': *15 x-github: githubCloudOnly: false @@ -69315,9 +69797,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 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -69344,17 +69826,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 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *491 + schema: *496 examples: - default: &495 + default: &500 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -69377,17 +69859,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 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *491 + schema: *496 examples: - default: *495 + default: *500 '404': *6 x-github: githubCloudOnly: false @@ -69407,9 +69889,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 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -69434,17 +69916,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 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *496 + schema: *501 examples: - default: &497 + default: &502 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -69470,9 +69952,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 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -69524,9 +70006,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *501 examples: - default: *497 + default: *502 '404': *6 '422': *15 x-github: @@ -69548,9 +70030,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 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -69574,9 +70056,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 + - *435 + - *436 + - *494 responses: '200': description: Response @@ -69610,9 +70092,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 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -69679,9 +70161,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 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -69745,9 +70227,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 + - *435 + - *436 + - *494 requestBody: content: application/json: @@ -69813,15 +70295,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 + - *435 + - *436 + - *494 responses: '200': description: Response content: application/json: - schema: *490 + schema: *495 examples: default: value: @@ -69912,9 +70394,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 + - *435 + - *436 + - *494 responses: '204': description: Response @@ -69937,9 +70419,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 + - *435 + - *436 + - *494 responses: '200': description: Response @@ -69949,7 +70431,7 @@ paths: type: array items: *5 examples: - default: &498 + default: &503 value: - id: 1 slug: octoapp @@ -70006,9 +70488,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 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -70042,7 +70524,7 @@ paths: type: array items: *5 examples: - default: *498 + default: *503 '422': *15 x-github: githubCloudOnly: false @@ -70063,9 +70545,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 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -70099,7 +70581,7 @@ paths: type: array items: *5 examples: - default: *498 + default: *503 '422': *15 x-github: githubCloudOnly: false @@ -70120,9 +70602,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 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -70156,7 +70638,7 @@ paths: type: array items: *5 examples: - default: *498 + default: *503 '422': *15 x-github: githubCloudOnly: false @@ -70178,9 +70660,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 + - *435 + - *436 + - *494 responses: '200': description: Response @@ -70188,9 +70670,9 @@ paths: application/json: schema: type: array - items: *273 + items: *280 examples: - default: *345 + default: *350 '404': *6 x-github: githubCloudOnly: false @@ -70210,9 +70692,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 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -70248,9 +70730,9 @@ paths: application/json: schema: type: array - items: *273 + items: *280 examples: - default: *345 + default: *350 '422': *15 x-github: githubCloudOnly: false @@ -70271,9 +70753,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 + - *435 + - *436 + - *494 requestBody: required: false content: @@ -70309,9 +70791,9 @@ paths: application/json: schema: type: array - items: *273 + items: *280 examples: - default: *345 + default: *350 '422': *15 x-github: githubCloudOnly: false @@ -70332,9 +70814,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 + - *435 + - *436 + - *494 requestBody: content: application/json: @@ -70369,9 +70851,9 @@ paths: application/json: schema: type: array - items: *273 + items: *280 examples: - default: *345 + default: *350 '422': *15 x-github: githubCloudOnly: false @@ -70393,9 +70875,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 + - *435 + - *436 + - *494 responses: '200': description: Response @@ -70405,7 +70887,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 '404': *6 x-github: githubCloudOnly: false @@ -70429,9 +70911,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 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -70464,7 +70946,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 '422': *15 x-github: githubCloudOnly: false @@ -70489,9 +70971,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 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -70524,7 +71006,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 '422': *15 x-github: githubCloudOnly: false @@ -70549,9 +71031,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 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -70584,7 +71066,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 '422': *15 x-github: githubCloudOnly: false @@ -70611,9 +71093,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *430 - - *431 - - *489 + - *435 + - *436 + - *494 requestBody: required: true content: @@ -70635,7 +71117,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *504 examples: default: value: @@ -70749,8 +71231,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *430 - - *431 + - *435 + - *436 - *92 - *93 - *94 @@ -70764,9 +71246,9 @@ paths: application/json: schema: type: array - items: *268 + items: *275 examples: - default: *269 + default: *276 '404': *6 '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -70786,8 +71268,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *430 - - *431 + - *435 + - *436 - name: bypass_request_number in: path required: true @@ -70801,7 +71283,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *275 examples: default: value: @@ -70860,8 +71342,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 + - *435 + - *436 - *92 - *93 - *94 @@ -70875,9 +71357,9 @@ paths: application/json: schema: type: array - items: *271 + items: *278 examples: - default: *272 + default: *279 '404': *6 '403': *27 '500': *38 @@ -70901,8 +71383,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 + - *435 + - *436 - name: bypass_request_number in: path required: true @@ -70914,7 +71396,7 @@ paths: description: A single bypass request. content: application/json: - schema: *271 + schema: *278 examples: default: value: @@ -70972,8 +71454,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 + - *435 + - *436 - name: bypass_request_number in: path required: true @@ -71044,8 +71526,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 + - *435 + - *436 - name: bypass_response_id in: path required: true @@ -71078,8 +71560,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -71358,7 +71840,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &505 title: CheckRun description: A check performed on the code of a given code change type: object @@ -71493,8 +71975,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *187 - deployment: &818 + items: *193 + deployment: &822 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -71781,9 +72263,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 + - *435 + - *436 + - &506 name: check_run_id description: The unique identifier of the check run. in: path @@ -71795,9 +72277,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *505 examples: - default: &502 + default: &507 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -71897,9 +72379,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 + - *435 + - *436 + - *506 requestBody: required: true content: @@ -72139,9 +72621,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *505 examples: - default: *502 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72161,9 +72643,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 + - *435 + - *436 + - *506 - *17 - *19 responses: @@ -72273,15 +72755,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 + - *435 + - *436 + - *506 responses: '201': description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -72319,8 +72801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -72342,7 +72824,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &504 + schema: &509 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -72424,12 +72906,12 @@ paths: type: - array - 'null' - items: *187 + items: *193 app: anyOf: - type: 'null' - *5 - repository: *246 + repository: *253 created_at: type: - string @@ -72440,7 +72922,7 @@ paths: - string - 'null' format: date-time - head_commit: *503 + head_commit: *508 latest_check_runs_count: type: integer check_runs_url: @@ -72468,7 +72950,7 @@ paths: - check_runs_url - pull_requests examples: - default: &505 + default: &510 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -72759,9 +73241,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *504 + schema: *509 examples: - default: *505 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72780,8 +73262,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 + - *435 + - *436 requestBody: required: true content: @@ -72842,7 +73324,7 @@ paths: required: - app_id - setting - repository: *246 + repository: *253 examples: default: value: @@ -73090,9 +73572,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 + - *435 + - *436 + - &511 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -73104,9 +73586,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *509 examples: - default: *505 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73129,17 +73611,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 + - *435 + - *436 + - *511 + - &556 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &552 + - &557 name: status description: Returns check runs with the specified `status`. in: query @@ -73178,9 +73660,9 @@ paths: type: integer check_runs: type: array - items: *500 + items: *505 examples: - default: &553 + default: &558 value: total_count: 1 check_runs: @@ -73282,15 +73764,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 + - *435 + - *436 + - *511 responses: '201': description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -73317,21 +73799,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *430 - - *431 - - *277 - - *278 + - *435 + - *436 + - *284 + - *285 - *19 - *17 - - &522 + - &527 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: *512 + - &528 name: pr description: The number of the pull request for the results you want to list. in: query @@ -73356,13 +73838,13 @@ paths: be returned. in: query required: false - schema: *279 + schema: *286 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *508 + schema: *513 responses: '200': description: Response @@ -73373,24 +73855,24 @@ paths: items: type: object properties: - number: *109 - created_at: *116 - updated_at: *117 - url: *114 - html_url: *115 - instances_url: *509 + number: *114 + created_at: *121 + updated_at: *122 + url: *119 + html_url: *120 + instances_url: *514 state: *102 - fixed_at: *119 + fixed_at: *124 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: *123 + dismissed_reason: *515 + dismissed_comment: *516 + rule: *517 + tool: *518 + most_recent_instance: *519 dismissal_approved_by: anyOf: - type: 'null' @@ -73513,14 +73995,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &515 + '403': &520 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73540,9 +74022,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 + - *435 + - *436 + - &521 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -73550,30 +74032,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *109 + schema: *114 responses: '200': description: Response content: application/json: - schema: &517 + schema: &522 type: object properties: - number: *109 - created_at: *116 - updated_at: *117 - url: *114 - html_url: *115 - instances_url: *509 + number: *114 + created_at: *121 + updated_at: *122 + url: *119 + html_url: *120 + instances_url: *514 state: *102 - fixed_at: *119 + fixed_at: *124 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *118 - dismissed_reason: *510 - dismissed_comment: *511 + dismissed_at: *123 + dismissed_reason: *515 + dismissed_comment: *516 rule: type: object properties: @@ -73635,8 +74117,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *513 - most_recent_instance: *514 + tool: *518 + most_recent_instance: *519 dismissal_approved_by: anyOf: - type: 'null' @@ -73732,9 +74214,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *515 + '403': *520 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73752,9 +74234,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 + - *435 + - *436 + - *521 requestBody: required: true content: @@ -73769,8 +74251,8 @@ paths: enum: - open - dismissed - dismissed_reason: *510 - dismissed_comment: *511 + dismissed_reason: *515 + dismissed_comment: *516 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -73789,7 +74271,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *522 examples: default: value: @@ -73865,14 +74347,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &521 + '403': &526 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': *168 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73892,15 +74374,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 + - *435 + - *436 + - *521 responses: '200': description: Response content: application/json: - schema: &518 + schema: &523 type: object properties: status: @@ -73927,13 +74409,13 @@ paths: - description - started_at examples: - default: &519 + default: &524 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &520 + '400': &525 description: Bad Request content: application/json: @@ -73944,9 +74426,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': *520 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73969,29 +74451,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 + - *435 + - *436 + - *521 responses: '200': description: OK content: application/json: - schema: *518 + schema: *523 examples: - default: *519 + default: *524 '202': description: Accepted content: application/json: - schema: *518 + schema: *523 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *520 + '400': *525 '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 +74483,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74023,9 +74505,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 + - *435 + - *436 + - *521 requestBody: required: false content: @@ -74071,12 +74553,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *520 - '403': *521 + '400': *525 + '403': *526 '404': *6 '422': description: Unprocessable Entity - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74096,13 +74578,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 + - *435 + - *436 + - *521 - *19 - *17 - - *522 - - *523 + - *527 + - *528 responses: '200': description: Response @@ -74110,7 +74592,7 @@ paths: application/json: schema: type: array - items: *514 + items: *519 examples: default: value: @@ -74149,9 +74631,9 @@ paths: end_column: 50 classifications: - source - '403': *515 + '403': *520 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74183,25 +74665,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *430 - - *431 - - *277 - - *278 + - *435 + - *436 + - *284 + - *285 - *19 - *17 - - *523 + - *528 - 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: *512 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &526 + schema: &531 type: string description: An identifier for the upload. examples: @@ -74223,23 +74705,23 @@ paths: application/json: schema: type: array - items: &527 + items: &532 type: object properties: - ref: *507 - commit_sha: &535 + ref: *512 + commit_sha: &540 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: *529 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *525 + category: *530 error: type: string examples: @@ -74264,8 +74746,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *526 - tool: *513 + sarif_id: *531 + tool: *518 deletable: type: boolean warning: @@ -74327,9 +74809,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *515 + '403': *520 '404': *6 - '503': *163 + '503': *168 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74363,8 +74845,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 + - *435 + - *436 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74377,7 +74859,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *532 examples: response: summary: application/json response @@ -74431,14 +74913,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *515 + '403': *520 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *163 + '503': *168 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74518,8 +75000,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 + - *435 + - *436 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74575,9 +75057,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': *526 '404': *6 - '503': *163 + '503': *168 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74597,8 +75079,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 + - *435 + - *436 responses: '200': description: Response @@ -74606,7 +75088,7 @@ paths: application/json: schema: type: array - items: &528 + items: &533 title: CodeQL Database description: A CodeQL database. type: object @@ -74718,9 +75200,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': *520 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74747,8 +75229,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 + - *435 + - *436 - name: language in: path description: The language of the CodeQL database. @@ -74760,7 +75242,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *533 examples: default: value: @@ -74792,11 +75274,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': &563 description: Found - '403': *515 + '403': *520 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74816,8 +75298,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 + - *435 + - *436 - name: language in: path description: The language of the CodeQL database. @@ -74827,9 +75309,9 @@ paths: responses: '204': description: Response - '403': *521 + '403': *526 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74855,8 +75337,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 + - *435 + - *436 requestBody: required: true content: @@ -74865,7 +75347,7 @@ paths: type: object additionalProperties: false properties: - language: &529 + language: &534 type: string description: The language targeted by the CodeQL query enum: @@ -74944,7 +75426,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &533 + schema: &538 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -74954,7 +75436,7 @@ paths: description: The ID of the variant analysis. controller_repo: *108 actor: *4 - query_language: *529 + query_language: *534 query_pack_url: type: string description: The download url for the query pack. @@ -75002,7 +75484,7 @@ paths: items: type: object properties: - repository: &530 + repository: &535 title: Repository Identifier description: Repository Identifier type: object @@ -75044,7 +75526,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &534 + analysis_status: &539 type: string description: The new status of the CodeQL variant analysis repository task. @@ -75076,7 +75558,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: &536 type: object properties: repository_count: @@ -75091,7 +75573,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: *535 required: - repository_count - repositories @@ -75114,8 +75596,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *531 - over_limit_repos: *531 + no_codeql_db_repos: *536 + over_limit_repos: *536 required: - access_mismatch_repos - not_found_repos @@ -75131,7 +75613,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &532 + value: &537 summary: Default response value: id: 1 @@ -75283,17 +75765,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *532 + value: *537 repository_lists: summary: Response for a successful variant analysis submission - value: *532 + value: *537 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75314,8 +75796,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 + - *435 + - *436 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -75327,11 +75809,11 @@ paths: description: Response content: application/json: - schema: *533 + schema: *538 examples: - default: *532 + default: *537 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75352,7 +75834,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 + - *435 - name: repo in: path description: The name of the controller repository. @@ -75387,7 +75869,7 @@ paths: type: object properties: repository: *108 - analysis_status: *534 + analysis_status: *539 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -75491,7 +75973,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75512,8 +75994,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 + - *435 + - *436 responses: '200': description: Response @@ -75606,9 +76088,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *515 + '403': *520 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75627,8 +76109,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 + - *435 + - *436 requestBody: required: true content: @@ -75697,7 +76179,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -75722,7 +76204,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *521 + '403': *526 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -75736,7 +76218,7 @@ paths: content: application/json: schema: *3 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75793,8 +76275,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 + - *435 + - *436 requestBody: required: true content: @@ -75802,7 +76284,7 @@ paths: schema: type: object properties: - commit_sha: *535 + commit_sha: *540 ref: type: string description: |- @@ -75862,7 +76344,7 @@ paths: schema: type: object properties: - id: *526 + id: *531 url: type: string description: The REST API URL for checking the status of the upload. @@ -75876,11 +76358,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': *526 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *163 + '503': *168 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -75899,8 +76381,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 + - *435 + - *436 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75948,10 +76430,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': *520 '404': description: Not Found if the sarif id does not match any upload - '503': *163 + '503': *168 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -75973,8 +76455,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 + - *435 + - *436 responses: '200': description: Response @@ -76030,7 +76512,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': *134 '304': *35 '403': *27 '404': *6 @@ -76055,8 +76537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *430 - - *431 + - *435 + - *436 - 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 +76666,8 @@ paths: parameters: - *17 - *19 - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response @@ -76201,7 +76683,7 @@ paths: type: integer codespaces: type: array - items: *336 + items: *341 examples: default: value: @@ -76499,8 +76981,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 + - *435 + - *436 requestBody: required: true content: @@ -76564,22 +77046,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *341 examples: - default: *536 + default: *541 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *341 examples: - default: *536 + default: *541 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76603,8 +77085,8 @@ paths: parameters: - *17 - *19 - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response @@ -76668,8 +77150,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 + - *435 + - *436 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -76706,9 +77188,9 @@ paths: type: integer machines: type: array - items: *537 + items: *542 examples: - default: &771 + default: &776 value: total_count: 2 machines: @@ -76748,8 +77230,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 + - *435 + - *436 - 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 +77318,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 + - *435 + - *436 - 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 +77367,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76906,8 +77388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -76925,7 +77407,7 @@ paths: type: integer secrets: type: array - items: &541 + items: &546 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76946,7 +77428,7 @@ paths: - created_at - updated_at examples: - default: *538 + default: *543 headers: Link: *41 x-github: @@ -76969,16 +77451,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 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *539 + schema: *544 examples: - default: *540 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76998,17 +77480,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 + - *435 + - *436 + - *263 responses: '200': description: Response content: application/json: - schema: *541 + schema: *546 examples: - default: *542 + default: *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77028,9 +77510,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 + - *435 + - *436 + - *263 requestBody: required: true content: @@ -77058,7 +77540,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -77082,9 +77564,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 + - *435 + - *436 + - *263 responses: '204': description: Response @@ -77112,8 +77594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *430 - - *431 + - *435 + - *436 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -77151,7 +77633,7 @@ paths: application/json: schema: type: array - items: &543 + items: &548 title: Collaborator description: Collaborator type: object @@ -77344,9 +77826,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 + - *435 + - *436 + - *183 responses: '204': description: Response if user is a collaborator @@ -77392,9 +77874,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 + - *435 + - *436 + - *183 requestBody: required: false content: @@ -77420,7 +77902,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &616 + schema: &621 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -77432,7 +77914,7 @@ paths: format: int64 examples: - 42 - repository: *246 + repository: *253 invitee: anyOf: - type: 'null' @@ -77608,7 +78090,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: *230 '403': *27 x-github: triggersNotification: true @@ -77648,9 +78130,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 + - *435 + - *436 + - *183 responses: '204': description: No Content when collaborator was removed from the repository. @@ -77681,9 +78163,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 + - *435 + - *436 + - *183 responses: '200': description: if user has admin permissions @@ -77703,7 +78185,7 @@ paths: user: anyOf: - type: 'null' - - *543 + - *548 required: - permission - role_name @@ -77757,8 +78239,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 + - *435 + - *436 - *17 - *19 responses: @@ -77768,7 +78250,7 @@ paths: application/json: schema: type: array - items: &544 + items: &549 title: Commit Comment description: Commit Comment type: object @@ -77809,8 +78291,8 @@ paths: updated_at: type: string format: date-time - author_association: *184 - reactions: *185 + author_association: *190 + reactions: *191 required: - url - html_url @@ -77826,7 +78308,7 @@ paths: - created_at - updated_at examples: - default: &547 + default: &552 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 +78367,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 + - *435 + - *436 + - *204 responses: '200': description: Response content: application/json: - schema: *544 + schema: *549 examples: - default: &548 + default: &553 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 +78434,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 + - *435 + - *436 + - *204 requestBody: required: true content: @@ -77976,7 +78458,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *549 examples: default: value: @@ -78027,9 +78509,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 + - *435 + - *436 + - *204 responses: '204': description: Response @@ -78050,9 +78532,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 + - *435 + - *436 + - *204 - 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 +78560,9 @@ paths: application/json: schema: type: array - items: *419 + items: *424 examples: - default: *421 + default: *426 headers: Link: *41 '404': *6 @@ -78101,9 +78583,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 + - *435 + - *436 + - *204 requestBody: required: true content: @@ -78135,16 +78617,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '201': description: Reaction created content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -78166,10 +78648,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 + - *435 + - *436 + - *204 + - *427 responses: '204': description: Response @@ -78218,8 +78700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *430 - - *431 + - *435 + - *436 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -78275,9 +78757,9 @@ paths: application/json: schema: type: array - items: *545 + items: *550 examples: - default: &662 + default: &667 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78371,9 +78853,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 + - *435 + - *436 + - &551 name: commit_sha description: The SHA of the commit. in: path @@ -78445,9 +78927,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *430 - - *431 - - *546 + - *435 + - *436 + - *551 - *17 - *19 responses: @@ -78457,9 +78939,9 @@ paths: application/json: schema: type: array - items: *544 + items: *549 examples: - default: *547 + default: *552 headers: Link: *41 x-github: @@ -78487,9 +78969,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 + - *435 + - *436 + - *551 requestBody: required: true content: @@ -78524,9 +79006,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *549 examples: - default: *548 + default: *553 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78554,9 +79036,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 + - *435 + - *436 + - *551 - *17 - *19 responses: @@ -78566,9 +79048,9 @@ paths: application/json: schema: type: array - items: *549 + items: *554 examples: - default: &654 + default: &659 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79105,11 +79587,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *430 - - *431 + - *435 + - *436 - *19 - *17 - - &550 + - &555 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 +79606,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *550 examples: - default: &642 + default: &647 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79213,7 +79695,7 @@ paths: '422': *15 '404': *6 '500': *38 - '503': *163 + '503': *168 '409': *107 x-github: githubCloudOnly: false @@ -79239,11 +79721,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 + - *435 + - *436 + - *555 + - *556 + - *557 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -79277,9 +79759,9 @@ paths: type: integer check_runs: type: array - items: *500 + items: *505 examples: - default: *553 + default: *558 headers: Link: *41 x-github: @@ -79304,9 +79786,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 + - *435 + - *436 + - *555 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -79314,7 +79796,7 @@ paths: schema: type: integer example: 1 - - *551 + - *556 - *17 - *19 responses: @@ -79332,7 +79814,7 @@ paths: type: integer check_suites: type: array - items: *504 + items: *509 examples: default: value: @@ -79532,9 +80014,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 + - *435 + - *436 + - *555 - *17 - *19 responses: @@ -79605,7 +80087,7 @@ paths: type: string total_count: type: integer - repository: *246 + repository: *253 commit_url: type: string format: uri @@ -79736,9 +80218,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 + - *435 + - *436 + - *555 - *17 - *19 responses: @@ -79748,7 +80230,7 @@ paths: application/json: schema: type: array - items: &716 + items: &721 title: Status description: The status of a commit. type: object @@ -79829,7 +80311,7 @@ paths: site_admin: false headers: Link: *41 - '301': *444 + '301': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79857,8 +80339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response @@ -79891,11 +80373,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *554 + - *559 code_of_conduct_file: anyOf: - type: 'null' - - &555 + - &560 title: Community Health File type: object properties: @@ -79911,23 +80393,23 @@ paths: license: anyOf: - type: 'null' - - *186 + - *192 contributing: anyOf: - type: 'null' - - *555 + - *560 readme: anyOf: - type: 'null' - - *555 + - *560 issue_template: anyOf: - type: 'null' - - *555 + - *560 pull_request_template: anyOf: - type: 'null' - - *555 + - *560 required: - code_of_conduct - code_of_conduct_file @@ -80056,8 +80538,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *430 - - *431 + - *435 + - *436 - *19 - *17 - name: basehead @@ -80105,8 +80587,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *545 - merge_base_commit: *545 + base_commit: *550 + merge_base_commit: *550 status: type: string enum: @@ -80130,10 +80612,10 @@ paths: - 6 commits: type: array - items: *545 + items: *550 files: type: array - items: *556 + items: *561 required: - url - html_url @@ -80377,7 +80859,7 @@ paths: module Test" '404': *6 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80419,8 +80901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *430 - - *431 + - *435 + - *436 - name: path description: path parameter in: path @@ -80573,7 +81055,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &557 + response-if-content-is-a-file: &562 summary: Response if content is a file value: type: file @@ -80710,7 +81192,7 @@ paths: - size - type - url - - &667 + - &672 title: Content File description: Content File type: object @@ -80928,7 +81410,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *557 + response-if-content-is-a-file: *562 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80997,7 +81479,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *558 + '302': *563 '304': *35 x-github: githubCloudOnly: false @@ -81020,8 +81502,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 + - *435 + - *436 - name: path description: path parameter in: path @@ -81116,7 +81598,7 @@ paths: description: Response content: application/json: - schema: &559 + schema: &564 title: File Commit description: File Commit type: object @@ -81272,7 +81754,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *564 examples: example-for-creating-a-file: value: @@ -81326,7 +81808,7 @@ paths: schema: oneOf: - *3 - - &598 + - &603 description: Repository rule violation was detected type: object properties: @@ -81347,7 +81829,7 @@ paths: items: type: object properties: - placeholder_id: &708 + placeholder_id: &713 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -81379,8 +81861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *430 - - *431 + - *435 + - *436 - name: path description: path parameter in: path @@ -81441,7 +81923,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *564 examples: default: value: @@ -81476,7 +81958,7 @@ paths: '422': *15 '404': *6 '409': *107 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81496,8 +81978,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *430 - - *431 + - *435 + - *436 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -81621,31 +82103,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 + - *435 + - *436 + - *301 + - *302 + - *303 + - *304 - 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 + - *305 + - *565 + - *306 + - *307 - *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 - 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)." @@ -81656,8 +82130,6 @@ paths: default: 30 - *97 - *98 - - *301 - - *302 responses: '200': description: Response @@ -81665,11 +82137,11 @@ paths: application/json: schema: type: array - items: &563 + items: &568 type: object description: A Dependabot alert. properties: - number: *109 + number: *114 state: type: string description: The state of the Dependabot alert. @@ -81684,7 +82156,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *110 + package: *115 manifest_path: type: string description: The full path to the dependency manifest file, @@ -81715,13 +82187,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: *566 + security_vulnerability: *118 + url: *119 + html_url: *120 + created_at: *121 + updated_at: *122 + dismissed_at: *123 dismissed_by: anyOf: - type: 'null' @@ -81745,8 +82217,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *119 - auto_dismissed_at: *562 + fixed_at: *124 + auto_dismissed_at: *567 required: - number - state @@ -81976,9 +82448,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 + - *435 + - *436 + - &569 name: alert_number in: path description: |- @@ -81987,13 +82459,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *109 + schema: *114 responses: '200': description: Response content: application/json: - schema: *563 + schema: *568 examples: default: value: @@ -82106,9 +82578,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 + - *435 + - *436 + - *569 requestBody: required: true content: @@ -82153,7 +82625,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *568 examples: default: value: @@ -82282,8 +82754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -82301,7 +82773,7 @@ paths: type: integer secrets: type: array - items: &567 + items: &572 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82355,16 +82827,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 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *565 + schema: *570 examples: - default: *566 + default: *571 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82384,15 +82856,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 + - *435 + - *436 + - *263 responses: '200': description: Response content: application/json: - schema: *567 + schema: *572 examples: default: value: @@ -82418,9 +82890,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 + - *435 + - *436 + - *263 requestBody: required: true content: @@ -82448,7 +82920,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -82472,9 +82944,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 + - *435 + - *436 + - *263 responses: '204': description: Response @@ -82496,8 +82968,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 + - *435 + - *436 - 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 +83143,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 + - *435 + - *436 responses: '200': description: Response @@ -82932,8 +83404,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 + - *435 + - *436 requestBody: required: true content: @@ -83016,7 +83488,7 @@ paths: - version - url additionalProperties: false - metadata: &568 + metadata: &573 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83055,7 +83527,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *568 + metadata: *573 resolved: type: object description: A collection of resolved package dependencies. @@ -83069,7 +83541,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *568 + metadata: *573 relationship: type: string description: A notation of whether a dependency is requested @@ -83202,8 +83674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *430 - - *431 + - *435 + - *436 - name: sha description: The SHA recorded at creation time. in: query @@ -83244,9 +83716,9 @@ paths: application/json: schema: type: array - items: *569 + items: *574 examples: - default: *570 + default: *575 headers: Link: *41 x-github: @@ -83312,8 +83784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -83395,7 +83867,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *574 examples: simple-example: summary: Simple example @@ -83468,9 +83940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *430 - - *431 - - &571 + - *435 + - *436 + - &576 name: deployment_id description: deployment_id parameter in: path @@ -83482,7 +83954,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *574 examples: default: value: @@ -83547,9 +84019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *430 - - *431 - - *571 + - *435 + - *436 + - *576 responses: '204': description: Response @@ -83571,9 +84043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *430 - - *431 - - *571 + - *435 + - *436 + - *576 - *17 - *19 responses: @@ -83583,7 +84055,7 @@ paths: application/json: schema: type: array - items: &572 + items: &577 title: Deployment Status description: The status of a deployment. type: object @@ -83747,9 +84219,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 + - *435 + - *436 + - *576 requestBody: required: true content: @@ -83824,9 +84296,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *577 examples: - default: &573 + default: &578 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -83882,9 +84354,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 + - *435 + - *436 + - *576 - name: status_id in: path required: true @@ -83895,9 +84367,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *577 examples: - default: *573 + default: *578 '404': *6 x-github: githubCloudOnly: false @@ -83924,12 +84396,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 - - *574 - - *575 - - *576 - - *577 + - *435 + - *436 + - *579 + - *580 + - *581 + - *582 - *17 - *19 responses: @@ -83939,9 +84411,9 @@ paths: application/json: schema: type: array - items: *578 + items: *583 examples: - default: *579 + default: *584 '404': *6 '403': *27 '500': *38 @@ -83965,8 +84437,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *435 + - *436 - name: alert_number in: path required: true @@ -83978,7 +84450,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *578 + schema: *583 examples: default: value: @@ -84034,8 +84506,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *435 + - *436 - name: alert_number in: path required: true @@ -84094,12 +84566,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *435 + - *436 - *92 - *93 - *94 - - *580 + - *585 - *17 - *19 responses: @@ -84109,9 +84581,9 @@ paths: application/json: schema: type: array - items: *581 + items: *586 examples: - default: *582 + default: *587 '404': *6 '403': *27 '500': *38 @@ -84136,8 +84608,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *435 + - *436 - name: alert_number in: path required: true @@ -84149,7 +84621,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *581 + schema: *586 examples: default: value: @@ -84207,8 +84679,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *435 + - *436 - name: alert_number in: path required: true @@ -84277,8 +84749,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 + - *435 + - *436 requestBody: required: true content: @@ -84335,8 +84807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -84354,7 +84826,7 @@ paths: - 5 environments: type: array - items: &584 + items: &589 title: Environment description: Details of a deployment environment type: object @@ -84416,7 +84888,7 @@ paths: type: string examples: - wait_timer - wait_timer: &586 + wait_timer: &591 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -84458,11 +84930,11 @@ paths: items: type: object properties: - type: *583 + type: *588 reviewer: anyOf: - *4 - - *273 + - *280 required: - id - node_id @@ -84485,7 +84957,7 @@ paths: - id - node_id - type - deployment_branch_policy: &587 + deployment_branch_policy: &592 type: - object - 'null' @@ -84602,9 +85074,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *430 - - *431 - - &585 + - *435 + - *436 + - &590 name: environment_name in: path required: true @@ -84617,9 +85089,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *589 examples: - default: &588 + default: &593 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -84703,9 +85175,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 + - *435 + - *436 + - *590 requestBody: required: false content: @@ -84715,7 +85187,7 @@ paths: - object - 'null' properties: - wait_timer: *586 + wait_timer: *591 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -84734,14 +85206,14 @@ paths: items: type: object properties: - type: *583 + type: *588 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: *592 additionalProperties: false examples: default: @@ -84761,9 +85233,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *589 examples: - default: *588 + default: *593 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -84787,9 +85259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *430 - - *431 - - *585 + - *435 + - *436 + - *590 responses: '204': description: Default response @@ -84814,9 +85286,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 + - *435 + - *436 + - *590 - *17 - *19 responses: @@ -84835,7 +85307,7 @@ paths: - 2 branch_policies: type: array - items: &589 + items: &594 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -84896,9 +85368,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 + - *435 + - *436 + - *590 requestBody: required: true content: @@ -84946,9 +85418,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *594 examples: - example-wildcard: &590 + example-wildcard: &595 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -84990,10 +85462,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 + - *435 + - *436 + - *590 + - &596 name: branch_policy_id in: path required: true @@ -85005,9 +85477,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *594 examples: - default: *590 + default: *595 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85026,10 +85498,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 + - *435 + - *436 + - *590 + - *596 requestBody: required: true content: @@ -85058,9 +85530,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *594 examples: - default: *590 + default: *595 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85079,10 +85551,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 + - *435 + - *436 + - *590 + - *596 responses: '204': description: Response @@ -85107,9 +85579,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 + - *590 + - *436 + - *435 responses: '200': description: List of deployment protection rules @@ -85126,7 +85598,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &592 + items: &597 title: Deployment protection rule description: Deployment protection rule type: object @@ -85148,7 +85620,7 @@ paths: for the environment. examples: - true - app: &593 + app: &598 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -85251,9 +85723,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 + - *590 + - *436 + - *435 requestBody: content: application/json: @@ -85274,9 +85746,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *592 + schema: *597 examples: - default: &594 + default: &599 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -85311,9 +85783,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 + - *590 + - *436 + - *435 - *19 - *17 responses: @@ -85333,7 +85805,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *593 + items: *598 examples: default: value: @@ -85368,10 +85840,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 + - *435 + - *436 + - *590 + - &600 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -85383,9 +85855,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *597 examples: - default: *594 + default: *599 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85406,10 +85878,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 + - *590 + - *436 + - *435 + - *600 responses: '204': description: Response @@ -85435,9 +85907,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *430 - - *431 - - *585 + - *435 + - *436 + - *590 - *17 - *19 responses: @@ -85455,9 +85927,9 @@ paths: type: integer secrets: type: array - items: *467 + items: *472 examples: - default: *468 + default: *473 headers: Link: *41 x-github: @@ -85482,17 +85954,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 + - *435 + - *436 + - *590 responses: '200': description: Response content: application/json: - schema: *469 + schema: *474 examples: - default: *470 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85514,18 +85986,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 + - *435 + - *436 + - *590 + - *263 responses: '200': description: Response content: application/json: - schema: *467 + schema: *472 examples: - default: *596 + default: *601 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85547,10 +86019,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 + - *435 + - *436 + - *590 + - *263 requestBody: required: true content: @@ -85581,7 +86053,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -85607,10 +86079,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 + - *435 + - *436 + - *590 + - *263 responses: '204': description: Default response @@ -85635,10 +86107,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 + - *435 + - *436 + - *590 + - *459 - *19 responses: '200': @@ -85655,9 +86127,9 @@ paths: type: integer variables: type: array - items: *471 + items: *476 examples: - default: *472 + default: *477 headers: Link: *41 x-github: @@ -85680,9 +86152,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 + - *435 + - *436 + - *590 requestBody: required: true content: @@ -85709,7 +86181,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -85734,18 +86206,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 + - *435 + - *436 + - *590 + - *266 responses: '200': description: Response content: application/json: - schema: *471 + schema: *476 examples: - default: *597 + default: *602 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85766,10 +86238,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 + - *435 + - *436 + - *266 + - *590 requestBody: required: true content: @@ -85811,10 +86283,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 + - *435 + - *436 + - *266 + - *590 responses: '204': description: Response @@ -85836,8 +86308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -85847,7 +86319,7 @@ paths: application/json: schema: type: array - items: *208 + items: *214 examples: 200-response: value: @@ -85905,8 +86377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *430 - - *431 + - *435 + - *436 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -85928,7 +86400,7 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: default: value: @@ -86065,8 +86537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: false content: @@ -86099,9 +86571,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *448 examples: - default: *445 + default: *450 '400': *14 '422': *15 '403': *27 @@ -86122,8 +86594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -86182,8 +86654,8 @@ paths: application/json: schema: oneOf: - - *223 - - *598 + - *230 + - *603 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86208,8 +86680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *430 - - *431 + - *435 + - *436 - name: file_sha in: path required: true @@ -86309,8 +86781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -86419,7 +86891,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &604 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -86646,15 +87118,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 + - *435 + - *436 + - *551 responses: '200': description: Response content: application/json: - schema: *599 + schema: *604 examples: default: value: @@ -86710,9 +87182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *430 - - *431 - - &600 + - *435 + - *436 + - &605 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 +87201,7 @@ paths: application/json: schema: type: array - items: &601 + items: &606 title: Git Reference description: Git references within a repository type: object @@ -86805,17 +87277,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *430 - - *431 - - *600 + - *435 + - *436 + - *605 responses: '200': description: Response content: application/json: - schema: *601 + schema: *606 examples: - default: &602 + default: &607 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -86844,8 +87316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -86874,9 +87346,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *606 examples: - default: *602 + default: *607 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -86902,9 +87374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *430 - - *431 - - *600 + - *435 + - *436 + - *605 requestBody: required: true content: @@ -86933,9 +87405,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *606 examples: - default: *602 + default: *607 '422': *15 '409': *107 x-github: @@ -86953,9 +87425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *430 - - *431 - - *600 + - *435 + - *436 + - *605 responses: '204': description: Response @@ -87010,8 +87482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -87078,7 +87550,7 @@ paths: description: Response content: application/json: - schema: &604 + schema: &609 title: Git Tag description: Metadata for a Git tag type: object @@ -87134,7 +87606,7 @@ paths: - sha - type - url - verification: *603 + verification: *608 required: - sha - url @@ -87144,7 +87616,7 @@ paths: - tag - message examples: - default: &605 + default: &610 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -87217,8 +87689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *430 - - *431 + - *435 + - *436 - name: tag_sha in: path required: true @@ -87229,9 +87701,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *609 examples: - default: *605 + default: *610 '404': *6 '409': *107 x-github: @@ -87255,8 +87727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -87330,7 +87802,7 @@ paths: description: Response content: application/json: - schema: &606 + schema: &611 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -87432,8 +87904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *430 - - *431 + - *435 + - *436 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -87456,7 +87928,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *611 examples: default-response: summary: Default response @@ -87515,8 +87987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -87526,7 +87998,7 @@ paths: application/json: schema: type: array - items: &607 + items: &612 title: Webhook description: Webhooks for repositories. type: object @@ -87589,7 +88061,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &849 + last_response: &853 title: Hook Response type: object properties: @@ -87666,8 +88138,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: false content: @@ -87720,9 +88192,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *612 examples: - default: &608 + default: &613 value: type: Repository id: 12345678 @@ -87770,17 +88242,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 + - *435 + - *436 + - *313 responses: '200': description: Response content: application/json: - schema: *607 + schema: *612 examples: - default: *608 + default: *613 '404': *6 x-github: githubCloudOnly: false @@ -87800,9 +88272,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 + - *435 + - *436 + - *313 requestBody: required: true content: @@ -87847,9 +88319,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *612 examples: - default: *608 + default: *613 '422': *15 '404': *6 x-github: @@ -87870,9 +88342,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 + - *435 + - *436 + - *313 responses: '204': description: Response @@ -87896,9 +88368,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 + - *435 + - *436 + - *313 responses: '200': description: Response @@ -87925,9 +88397,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 + - *435 + - *436 + - *313 requestBody: required: false content: @@ -87971,11 +88443,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 + - *435 + - *436 + - *313 - *17 - - *309 + - *314 responses: '200': description: Response @@ -87983,9 +88455,9 @@ paths: application/json: schema: type: array - items: *310 + items: *315 examples: - default: *311 + default: *316 '400': *14 '422': *15 x-github: @@ -88004,18 +88476,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 + - *435 + - *436 + - *313 - *16 responses: '200': description: Response content: application/json: - schema: *312 + schema: *317 examples: - default: *313 + default: *318 '400': *14 '422': *15 x-github: @@ -88034,9 +88506,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 + - *435 + - *436 + - *313 - *16 responses: '202': *37 @@ -88059,9 +88531,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 + - *435 + - *436 + - *313 responses: '204': description: Response @@ -88086,9 +88558,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 + - *435 + - *436 + - *313 responses: '204': description: Response @@ -88111,8 +88583,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 + - *435 + - *436 responses: '200': description: Response if immutable releases are enabled @@ -88160,10 +88632,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *430 - - *431 + - *435 + - *436 responses: - '204': *129 + '204': *134 '409': *107 x-github: githubCloudOnly: false @@ -88181,10 +88653,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *430 - - *431 + - *435 + - *436 responses: - '204': *129 + '204': *134 '409': *107 x-github: githubCloudOnly: false @@ -88239,14 +88711,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 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: &609 + schema: &614 title: Import description: A repository import from an external source. type: object @@ -88353,7 +88825,7 @@ paths: - html_url - authors_url examples: - default: &612 + default: &617 value: vcs: subversion use_lfs: true @@ -88369,7 +88841,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': &615 description: Unavailable due to service under maintenance. content: application/json: @@ -88398,8 +88870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -88447,7 +88919,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *614 examples: default: value: @@ -88472,7 +88944,7 @@ paths: type: string '422': *15 '404': *6 - '503': *610 + '503': *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88500,8 +88972,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: false content: @@ -88553,7 +89025,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *614 examples: example-1: summary: Example 1 @@ -88601,7 +89073,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': *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88624,12 +89096,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *430 - - *431 + - *435 + - *436 responses: '204': description: Response - '503': *610 + '503': *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88655,9 +89127,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 + - *435 + - *436 + - &797 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -88671,7 +89143,7 @@ paths: application/json: schema: type: array - items: &611 + items: &616 title: Porter Author description: Porter Author type: object @@ -88725,7 +89197,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': *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88750,8 +89222,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 + - *435 + - *436 - name: author_id in: path required: true @@ -88781,7 +89253,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *616 examples: default: value: @@ -88794,7 +89266,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *610 + '503': *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88818,8 +89290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response @@ -88860,7 +89332,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *610 + '503': *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88888,8 +89360,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 + - *435 + - *436 requestBody: required: true content: @@ -88916,11 +89388,11 @@ paths: description: Response content: application/json: - schema: *609 + schema: *614 examples: - default: *612 + default: *617 '422': *15 - '503': *610 + '503': *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88943,8 +89415,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 + - *435 + - *436 responses: '200': description: Response @@ -88952,8 +89424,8 @@ paths: application/json: schema: *20 examples: - default: *613 - '301': *444 + default: *618 + '301': *449 '404': *6 x-github: githubCloudOnly: false @@ -88973,8 +89445,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 + - *435 + - *436 responses: '200': description: Response @@ -88982,12 +89454,12 @@ paths: application/json: schema: anyOf: - - *326 + - *331 - type: object properties: {} additionalProperties: false examples: - default: &615 + default: &620 value: limit: collaborators_only origin: repository @@ -89012,13 +89484,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 + - *435 + - *436 requestBody: required: true content: application/json: - schema: *614 + schema: *619 examples: default: summary: Example request body @@ -89030,9 +89502,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *331 examples: - default: *615 + default: *620 '409': description: Response x-github: @@ -89054,8 +89526,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 + - *435 + - *436 responses: '204': description: Response @@ -89078,8 +89550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -89089,9 +89561,9 @@ paths: application/json: schema: type: array - items: *616 + items: *621 examples: - default: &786 + default: &790 value: - id: 1 repository: @@ -89222,9 +89694,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 + - *435 + - *436 + - *335 requestBody: required: false content: @@ -89253,7 +89725,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *621 examples: default: value: @@ -89384,9 +89856,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 + - *435 + - *436 + - *335 responses: '204': description: Response @@ -89417,8 +89889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *430 - - *431 + - *435 + - *436 - 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 +89938,7 @@ paths: required: false schema: type: string - - *334 + - *339 - name: sort description: What to sort results by. in: query @@ -89479,7 +89951,7 @@ paths: - comments default: created - *99 - - *189 + - *195 - *17 - *19 responses: @@ -89489,9 +89961,9 @@ paths: application/json: schema: type: array - items: *183 + items: *189 examples: - default: &623 + default: &628 value: - id: 1 node_id: MDU6SXNzdWUx @@ -89639,7 +90111,7 @@ paths: state_reason: completed headers: Link: *41 - '301': *444 + '301': *449 '422': *15 '404': *6 x-github: @@ -89668,8 +90140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -89759,9 +90231,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: &620 + default: &625 value: id: 1 node_id: MDU6SXNzdWUx @@ -89915,9 +90387,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *163 + '503': *168 '404': *6 - '410': *441 + '410': *446 x-github: triggersNotification: true githubCloudOnly: false @@ -89945,9 +90417,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 + - *435 + - *436 + - *212 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -89957,7 +90429,7 @@ paths: enum: - asc - desc - - *189 + - *195 - *17 - *19 responses: @@ -89967,9 +90439,9 @@ paths: application/json: schema: type: array - items: *617 + items: *622 examples: - default: &622 + default: &627 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90027,17 +90499,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 + - *435 + - *436 + - *204 responses: '200': description: Response content: application/json: - schema: *617 + schema: *622 examples: - default: &618 + default: &623 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90091,9 +90563,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 + - *435 + - *436 + - *204 requestBody: required: true content: @@ -90115,9 +90587,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *622 examples: - default: *618 + default: *623 '422': *15 x-github: githubCloudOnly: false @@ -90135,9 +90607,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 + - *435 + - *436 + - *204 responses: '204': description: Response @@ -90157,9 +90629,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 + - *435 + - *436 + - *204 - 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 +90657,9 @@ paths: application/json: schema: type: array - items: *419 + items: *424 examples: - default: *421 + default: *426 headers: Link: *41 '404': *6 @@ -90208,9 +90680,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 + - *435 + - *436 + - *204 requestBody: required: true content: @@ -90242,16 +90714,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '201': description: Reaction created content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -90273,10 +90745,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 + - *435 + - *436 + - *204 + - *427 responses: '204': description: Response @@ -90296,8 +90768,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 + - *435 + - *436 - *17 - *19 responses: @@ -90307,7 +90779,7 @@ paths: application/json: schema: type: array - items: &619 + items: &624 title: Issue Event description: Issue Event type: object @@ -90354,7 +90826,7 @@ paths: issue: anyOf: - type: 'null' - - *183 + - *189 label: title: Issue Event Label description: Issue Event Label @@ -90387,7 +90859,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *273 + requested_team: *280 dismissed_review: title: Issue Event Dismissed Review type: object @@ -90454,7 +90926,7 @@ paths: required: - from - to - author_association: *184 + author_association: *190 lock_reason: type: - string @@ -90646,8 +91118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *430 - - *431 + - *435 + - *436 - name: event_id in: path required: true @@ -90658,7 +91130,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *624 examples: default: value: @@ -90851,7 +91323,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *441 + '410': *446 '403': *27 x-github: githubCloudOnly: false @@ -90885,9 +91357,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *430 - - *431 - - &621 + - *435 + - *436 + - &626 name: issue_number description: The number that identifies the issue. in: path @@ -90899,12 +91371,12 @@ paths: description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: *620 - '301': *444 + default: *625 + '301': *449 '404': *6 - '410': *441 + '410': *446 '304': *35 x-github: githubCloudOnly: false @@ -90929,9 +91401,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *430 - - *431 - - *621 + - *435 + - *436 + - *626 requestBody: required: false content: @@ -91050,15 +91522,15 @@ paths: description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: *620 + default: *625 '422': *15 - '503': *163 + '503': *168 '403': *27 - '301': *444 + '301': *449 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91076,9 +91548,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 + - *435 + - *436 + - *626 requestBody: required: false content: @@ -91104,9 +91576,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: *620 + default: *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91122,9 +91594,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 + - *435 + - *436 + - *626 requestBody: content: application/json: @@ -91149,9 +91621,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: *620 + default: *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91173,9 +91645,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 + - *435 + - *436 + - *626 - name: assignee in: path required: true @@ -91215,10 +91687,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 + - *435 + - *436 + - *626 + - *195 - *17 - *19 responses: @@ -91228,13 +91700,13 @@ paths: application/json: schema: type: array - items: *617 + items: *622 examples: - default: *622 + default: *627 headers: Link: *41 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91263,9 +91735,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 + - *435 + - *436 + - *626 requestBody: required: true content: @@ -91287,16 +91759,16 @@ paths: description: Response content: application/json: - schema: *617 + schema: *622 examples: - default: *618 + default: *623 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *441 + '410': *446 '422': *15 '404': *6 x-github: @@ -91324,9 +91796,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 + - *435 + - *436 + - *626 - *17 - *19 responses: @@ -91336,14 +91808,14 @@ paths: application/json: schema: type: array - items: *183 + items: *189 examples: - default: *623 + default: *628 headers: Link: *41 - '301': *444 + '301': *449 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91371,9 +91843,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 + - *435 + - *436 + - *626 requestBody: required: true content: @@ -91395,17 +91867,17 @@ paths: description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: *620 + default: *625 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *444 + '301': *449 '403': *27 - '410': *441 + '410': *446 '422': *15 '404': *6 x-github: @@ -91436,9 +91908,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 + - *435 + - *436 + - *626 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -91450,15 +91922,15 @@ paths: description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: *620 - '301': *444 + default: *625 + '301': *449 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *441 + '410': *446 x-github: triggersNotification: true githubCloudOnly: false @@ -91484,9 +91956,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 + - *435 + - *436 + - *626 - *17 - *19 responses: @@ -91496,14 +91968,14 @@ paths: application/json: schema: type: array - items: *183 + items: *189 examples: - default: *623 + default: *628 headers: Link: *41 - '301': *444 + '301': *449 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91520,9 +91992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *430 - - *431 - - *621 + - *435 + - *436 + - *626 - *17 - *19 responses: @@ -91536,7 +92008,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &625 + - &630 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -91585,7 +92057,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &626 + - &631 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -91713,7 +92185,7 @@ paths: - performed_via_github_app - assignee - assigner - - &627 + - &632 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -91759,7 +92231,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &628 + - &633 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -91805,7 +92277,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &629 + - &634 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -91854,7 +92326,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &630 + - &635 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -91883,7 +92355,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *273 + requested_team: *280 requested_reviewer: *4 required: - review_requester @@ -91896,7 +92368,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &631 + - &636 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -91925,7 +92397,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *273 + requested_team: *280 requested_reviewer: *4 required: - review_requester @@ -91938,7 +92410,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &632 + - &637 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -91994,7 +92466,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &633 + - &638 title: Locked Issue Event description: Locked Issue Event type: object @@ -92039,7 +92511,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &634 + - &639 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -92100,7 +92572,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &635 + - &640 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -92161,7 +92633,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &636 + - &641 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -92222,7 +92694,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &637 + - &642 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -92315,7 +92787,7 @@ paths: color: red headers: Link: *41 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92332,9 +92804,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 + - *435 + - *436 + - *626 - *17 - *19 responses: @@ -92344,9 +92816,9 @@ paths: application/json: schema: type: array - items: *182 + items: *188 examples: - default: &624 + default: &629 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92364,9 +92836,9 @@ paths: default: false headers: Link: *41 - '301': *444 + '301': *449 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92383,9 +92855,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 + - *435 + - *436 + - *626 requestBody: required: false content: @@ -92444,12 +92916,12 @@ paths: application/json: schema: type: array - items: *182 + items: *188 examples: - default: *624 - '301': *444 + default: *629 + '301': *449 '404': *6 - '410': *441 + '410': *446 '422': *15 x-github: githubCloudOnly: false @@ -92466,9 +92938,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 + - *435 + - *436 + - *626 requestBody: required: false content: @@ -92528,12 +93000,12 @@ paths: application/json: schema: type: array - items: *182 + items: *188 examples: - default: *624 - '301': *444 + default: *629 + '301': *449 '404': *6 - '410': *441 + '410': *446 '422': *15 x-github: githubCloudOnly: false @@ -92550,15 +93022,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 + - *435 + - *436 + - *626 responses: '204': description: Response - '301': *444 + '301': *449 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92577,9 +93049,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 + - *435 + - *436 + - *626 - name: name in: path required: true @@ -92592,7 +93064,7 @@ paths: application/json: schema: type: array - items: *182 + items: *188 examples: default: value: @@ -92603,9 +93075,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *444 + '301': *449 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92625,9 +93097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *430 - - *431 - - *621 + - *435 + - *436 + - *626 requestBody: required: false content: @@ -92656,7 +93128,7 @@ paths: '204': description: Response '403': *27 - '410': *441 + '410': *446 '404': *6 '422': *15 x-github: @@ -92674,9 +93146,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *430 - - *431 - - *621 + - *435 + - *436 + - *626 responses: '204': description: Response @@ -92706,20 +93178,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 + - *435 + - *436 + - *626 responses: '200': description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: *620 - '301': *444 + default: *625 + '301': *449 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92736,9 +93208,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 + - *435 + - *436 + - *626 - 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 +93236,13 @@ paths: application/json: schema: type: array - items: *419 + items: *424 examples: - default: *421 + default: *426 headers: Link: *41 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92788,9 +93260,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 + - *435 + - *436 + - *626 requestBody: required: true content: @@ -92822,16 +93294,16 @@ paths: description: Response content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '201': description: Response content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -92853,10 +93325,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 + - *435 + - *436 + - *626 + - *427 responses: '204': description: Response @@ -92885,9 +93357,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 + - *435 + - *436 + - *626 requestBody: required: true content: @@ -92909,9 +93381,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: *620 + default: *625 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -92944,9 +93416,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 + - *435 + - *436 + - *626 - *17 - *19 responses: @@ -92956,13 +93428,13 @@ paths: application/json: schema: type: array - items: *183 + items: *189 examples: - default: *623 + default: *628 headers: Link: *41 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92990,9 +93462,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 + - *435 + - *436 + - *626 requestBody: required: true content: @@ -93019,16 +93491,16 @@ paths: description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: *620 + default: *625 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *441 + '410': *446 '422': *15 '404': *6 x-github: @@ -93048,9 +93520,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 + - *435 + - *436 + - *626 requestBody: required: true content: @@ -93081,13 +93553,13 @@ paths: description: Response content: application/json: - schema: *183 + schema: *189 examples: - default: *620 + default: *625 '403': *27 '404': *6 '422': *7 - '503': *163 + '503': *168 x-github: triggersNotification: true githubCloudOnly: false @@ -93105,9 +93577,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 + - *435 + - *436 + - *626 - *17 - *19 responses: @@ -93122,11 +93594,6 @@ paths: description: Timeline Event type: object anyOf: - - *625 - - *626 - - *627 - - *628 - - *629 - *630 - *631 - *632 @@ -93135,6 +93602,11 @@ paths: - *635 - *636 - *637 + - *638 + - *639 + - *640 + - *641 + - *642 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -93182,12 +93654,12 @@ paths: issue_url: type: string format: uri - author_association: *184 + author_association: *190 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *185 + reactions: *191 required: - event - actor @@ -93218,7 +93690,7 @@ paths: properties: type: type: string - issue: *183 + issue: *189 required: - event - created_at @@ -93440,7 +93912,7 @@ paths: type: string body_text: type: string - author_association: *184 + author_association: *190 required: - event - id @@ -93463,7 +93935,7 @@ paths: type: string comments: type: array - items: &656 + items: &661 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -93568,7 +94040,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *184 + author_association: *190 _links: type: object properties: @@ -93663,7 +94135,7 @@ paths: enum: - line - file - reactions: *185 + reactions: *191 body_html: type: string examples: @@ -93701,7 +94173,7 @@ paths: type: string comments: type: array - items: *544 + items: *549 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -93976,7 +94448,7 @@ paths: headers: Link: *41 '404': *6 - '410': *441 + '410': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93993,8 +94465,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 + - *435 + - *436 - *17 - *19 responses: @@ -94004,7 +94476,7 @@ paths: application/json: schema: type: array - items: &638 + items: &643 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -94072,8 +94544,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 + - *435 + - *436 requestBody: required: true content: @@ -94109,9 +94581,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *643 examples: - default: &639 + default: &644 value: id: 1 key: ssh-rsa AAA... @@ -94145,9 +94617,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 + - *435 + - *436 + - &645 name: key_id description: The unique identifier of the key. in: path @@ -94159,9 +94631,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *643 examples: - default: *639 + default: *644 '404': *6 x-github: githubCloudOnly: false @@ -94179,9 +94651,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 + - *435 + - *436 + - *645 responses: '204': description: Response @@ -94201,8 +94673,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 + - *435 + - *436 - *17 - *19 responses: @@ -94212,9 +94684,9 @@ paths: application/json: schema: type: array - items: *182 + items: *188 examples: - default: *624 + default: *629 headers: Link: *41 '404': *6 @@ -94235,8 +94707,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -94272,9 +94744,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *188 examples: - default: &641 + default: &646 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94306,8 +94778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *430 - - *431 + - *435 + - *436 - name: name in: path required: true @@ -94318,9 +94790,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *188 examples: - default: *641 + default: *646 '404': *6 x-github: githubCloudOnly: false @@ -94337,8 +94809,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *430 - - *431 + - *435 + - *436 - name: name in: path required: true @@ -94377,7 +94849,7 @@ paths: description: Response content: application/json: - schema: *182 + schema: *188 examples: default: value: @@ -94403,8 +94875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *430 - - *431 + - *435 + - *436 - name: name in: path required: true @@ -94430,8 +94902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response @@ -94467,8 +94939,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 + - *435 + - *436 responses: '202': *37 '403': @@ -94496,8 +94968,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 + - *435 + - *436 responses: '204': description: Response @@ -94523,9 +94995,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 + - *435 + - *436 + - *527 responses: '200': description: Response @@ -94591,7 +95063,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *192 required: - _links - git_url @@ -94672,8 +95144,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 + - *435 + - *436 requestBody: required: true content: @@ -94738,8 +95210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -94773,9 +95245,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *545 + schema: *550 examples: - default: *642 + default: *647 '204': description: Response when already merged '404': @@ -94800,8 +95272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *430 - - *431 + - *435 + - *436 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -94842,7 +95314,7 @@ paths: application/json: schema: type: array - items: *368 + items: *373 examples: default: value: @@ -94898,8 +95370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -94939,9 +95411,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *373 examples: - default: &643 + default: &648 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 +95472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *430 - - *431 - - &644 + - *435 + - *436 + - &649 name: milestone_number description: The number that identifies the milestone. in: path @@ -95014,9 +95486,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *373 examples: - default: *643 + default: *648 '404': *6 x-github: githubCloudOnly: false @@ -95033,9 +95505,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *430 - - *431 - - *644 + - *435 + - *436 + - *649 requestBody: required: false content: @@ -95073,9 +95545,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *373 examples: - default: *643 + default: *648 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95091,9 +95563,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *430 - - *431 - - *644 + - *435 + - *436 + - *649 responses: '204': description: Response @@ -95114,9 +95586,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 + - *435 + - *436 + - *649 - *17 - *19 responses: @@ -95126,9 +95598,9 @@ paths: application/json: schema: type: array - items: *182 + items: *188 examples: - default: *624 + default: *629 headers: Link: *41 x-github: @@ -95147,12 +95619,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 + - *435 + - *436 + - *650 + - *651 + - *195 + - *652 - *17 - *19 responses: @@ -95162,9 +95634,9 @@ paths: application/json: schema: type: array - items: *209 + items: *215 examples: - default: *648 + default: *653 headers: Link: *41 x-github: @@ -95188,8 +95660,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 + - *435 + - *436 requestBody: required: false content: @@ -95247,14 +95719,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 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: &649 + schema: &654 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -95398,7 +95870,7 @@ paths: - custom_404 - public examples: - default: &650 + default: &655 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -95439,8 +95911,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 + - *435 + - *436 requestBody: required: true content: @@ -95495,9 +95967,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *654 examples: - default: *650 + default: *655 '422': *15 '409': *107 x-github: @@ -95520,8 +95992,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 + - *435 + - *436 requestBody: required: true content: @@ -95629,8 +96101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *430 - - *431 + - *435 + - *436 responses: '204': description: Response @@ -95656,8 +96128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -95667,7 +96139,7 @@ paths: application/json: schema: type: array - items: &651 + items: &656 title: Page Build description: Page Build type: object @@ -95759,8 +96231,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 + - *435 + - *436 responses: '201': description: Response @@ -95807,16 +96279,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *651 + schema: *656 examples: - default: &652 + default: &657 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -95864,8 +96336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *430 - - *431 + - *435 + - *436 - name: build_id in: path required: true @@ -95876,9 +96348,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *656 examples: - default: *652 + default: *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95898,8 +96370,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 + - *435 + - *436 requestBody: required: true content: @@ -96007,9 +96479,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 + - *435 + - *436 + - &658 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -96067,11 +96539,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 + - *435 + - *436 + - *658 responses: - '204': *129 + '204': *134 '404': *6 x-github: githubCloudOnly: false @@ -96096,8 +96568,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 + - *435 + - *436 responses: '200': description: Response @@ -96365,7 +96837,7 @@ paths: description: Empty response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -96392,8 +96864,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 + - *435 + - *436 responses: '200': description: Private vulnerability reporting status @@ -96430,10 +96902,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 + - *435 + - *436 responses: - '204': *129 + '204': *134 '422': *14 x-github: githubCloudOnly: false @@ -96452,10 +96924,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 + - *435 + - *436 responses: - '204': *129 + '204': *134 '422': *14 x-github: githubCloudOnly: false @@ -96476,8 +96948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *430 - - *431 + - *435 + - *436 - name: state description: Indicates the state of the projects to return. in: query @@ -96498,7 +96970,7 @@ paths: application/json: schema: type: array - items: *362 + items: *367 examples: default: value: @@ -96538,7 +97010,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *441 + '410': *446 '422': *7 x-github: githubCloudOnly: false @@ -96561,8 +97033,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 + - *435 + - *436 requestBody: required: true content: @@ -96588,13 +97060,13 @@ paths: description: Response content: application/json: - schema: *362 + schema: *367 examples: - default: *440 + default: *445 '401': *23 '403': *27 '404': *6 - '410': *441 + '410': *446 '422': *7 x-github: githubCloudOnly: false @@ -96617,8 +97089,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 + - *435 + - *436 responses: '200': description: Response @@ -96626,7 +97098,7 @@ paths: application/json: schema: type: array - items: *376 + items: *381 examples: default: value: @@ -96657,8 +97129,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 + - *435 + - *436 requestBody: required: true content: @@ -96670,7 +97142,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *376 + items: *381 required: - properties examples: @@ -96720,8 +97192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *430 - - *431 + - *435 + - *436 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -96781,9 +97253,9 @@ paths: application/json: schema: type: array - items: *549 + items: *554 examples: - default: *654 + default: *659 headers: Link: *41 '304': *35 @@ -96815,8 +97287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -96883,7 +97355,7 @@ paths: description: Response content: application/json: - schema: &658 + schema: &663 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -97012,7 +97484,7 @@ paths: milestone: anyOf: - type: 'null' - - *368 + - *373 active_lock_reason: type: - string @@ -97067,7 +97539,7 @@ paths: type: - array - 'null' - items: *344 + items: *349 head: type: object properties: @@ -97105,14 +97577,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: *374 + commits: *374 + statuses: *374 + html: *374 + issue: *374 + review_comments: *374 + review_comment: *374 + self: *374 required: - comments - commits @@ -97122,8 +97594,8 @@ paths: - review_comments - review_comment - self - author_association: *184 - auto_merge: *655 + author_association: *190 + auto_merge: *660 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -97225,7 +97697,7 @@ paths: - merged_by - review_comments examples: - default: &659 + default: &664 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -97752,8 +98224,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 + - *435 + - *436 - name: sort in: query required: false @@ -97772,7 +98244,7 @@ paths: enum: - asc - desc - - *189 + - *195 - *17 - *19 responses: @@ -97782,9 +98254,9 @@ paths: application/json: schema: type: array - items: *656 + items: *661 examples: - default: &661 + default: &666 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97861,17 +98333,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 + - *435 + - *436 + - *204 responses: '200': description: Response content: application/json: - schema: *656 + schema: *661 examples: - default: &657 + default: &662 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97946,9 +98418,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 + - *435 + - *436 + - *204 requestBody: required: true content: @@ -97970,9 +98442,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *661 examples: - default: *657 + default: *662 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97988,9 +98460,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 + - *435 + - *436 + - *204 responses: '204': description: Response @@ -98011,9 +98483,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 + - *435 + - *436 + - *204 - 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 +98511,9 @@ paths: application/json: schema: type: array - items: *419 + items: *424 examples: - default: *421 + default: *426 headers: Link: *41 '404': *6 @@ -98062,9 +98534,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 + - *435 + - *436 + - *204 requestBody: required: true content: @@ -98096,16 +98568,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '201': description: Reaction created content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -98127,10 +98599,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 + - *435 + - *436 + - *204 + - *427 responses: '204': description: Response @@ -98173,9 +98645,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 + - *435 + - *436 + - &665 name: pull_number description: The number that identifies the pull request. in: path @@ -98188,9 +98660,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *658 + schema: *663 examples: - default: *659 + default: *664 '304': *35 '404': *6 '406': @@ -98199,7 +98671,7 @@ paths: application/json: schema: *3 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98225,9 +98697,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 + - *435 + - *436 + - *665 requestBody: required: false content: @@ -98269,9 +98741,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *663 examples: - default: *659 + default: *664 '422': *15 '403': *27 x-github: @@ -98293,9 +98765,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 + - *435 + - *436 + - *665 requestBody: required: true content: @@ -98356,21 +98828,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *341 examples: - default: *536 + default: *541 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *341 examples: - default: *536 + default: *541 '401': *23 '403': *27 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98396,10 +98868,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 + - *435 + - *436 + - *665 + - *212 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -98409,7 +98881,7 @@ paths: enum: - asc - desc - - *189 + - *195 - *17 - *19 responses: @@ -98419,9 +98891,9 @@ paths: application/json: schema: type: array - items: *656 + items: *661 examples: - default: *661 + default: *666 headers: Link: *41 x-github: @@ -98454,9 +98926,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 + - *435 + - *436 + - *665 requestBody: required: true content: @@ -98562,7 +99034,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *661 examples: example-for-a-multi-line-comment: value: @@ -98650,10 +99122,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 + - *435 + - *436 + - *665 + - *204 requestBody: required: true content: @@ -98675,7 +99147,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *661 examples: default: value: @@ -98761,9 +99233,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 + - *435 + - *436 + - *665 - *17 - *19 responses: @@ -98773,9 +99245,9 @@ paths: application/json: schema: type: array - items: *545 + items: *550 examples: - default: *662 + default: *667 headers: Link: *41 x-github: @@ -98805,9 +99277,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 + - *435 + - *436 + - *665 - *17 - *19 responses: @@ -98817,7 +99289,7 @@ paths: application/json: schema: type: array - items: *556 + items: *561 examples: default: value: @@ -98836,7 +99308,7 @@ paths: Link: *41 '422': *15 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98855,9 +99327,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 + - *435 + - *436 + - *665 responses: '204': description: Response if pull request has been merged @@ -98880,9 +99352,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 + - *435 + - *436 + - *665 requestBody: required: false content: @@ -98994,9 +99466,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 + - *435 + - *436 + - *665 responses: '200': description: Response @@ -99012,7 +99484,7 @@ paths: items: *4 teams: type: array - items: *273 + items: *280 required: - users - teams @@ -99071,9 +99543,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 + - *435 + - *436 + - *665 requestBody: required: false content: @@ -99110,7 +99582,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *554 examples: default: value: @@ -99646,9 +100118,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 + - *435 + - *436 + - *665 requestBody: required: true content: @@ -99682,7 +100154,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *554 examples: default: value: @@ -100187,9 +100659,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 + - *435 + - *436 + - *665 - *17 - *19 responses: @@ -100199,7 +100671,7 @@ paths: application/json: schema: type: array - items: &663 + items: &668 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -100273,7 +100745,7 @@ paths: type: string body_text: type: string - author_association: *184 + author_association: *190 required: - id - node_id @@ -100355,9 +100827,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 + - *435 + - *436 + - *665 requestBody: required: false content: @@ -100447,9 +100919,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *668 examples: - default: &665 + default: &670 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100512,10 +100984,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 + - *435 + - *436 + - *665 + - &669 name: review_id description: The unique identifier of the review. in: path @@ -100527,9 +100999,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *668 examples: - default: &666 + default: &671 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100588,10 +101060,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 + - *435 + - *436 + - *665 + - *669 requestBody: required: true content: @@ -100614,7 +101086,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *668 examples: default: value: @@ -100676,18 +101148,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 + - *435 + - *436 + - *665 + - *669 responses: '200': description: Response content: application/json: - schema: *663 + schema: *668 examples: - default: *665 + default: *670 '422': *7 '404': *6 x-github: @@ -100714,10 +101186,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 + - *435 + - *436 + - *665 + - *669 - *17 - *19 responses: @@ -100811,13 +101283,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *184 + author_association: *190 _links: type: object properties: - self: *369 - html: *369 - pull_request: *369 + self: *374 + html: *374 + pull_request: *374 required: - self - html @@ -100826,7 +101298,7 @@ paths: type: string body_html: type: string - reactions: *185 + reactions: *191 side: description: The side of the first line of the range for a multi-line comment. @@ -100975,10 +101447,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 + - *435 + - *436 + - *665 + - *669 requestBody: required: true content: @@ -101007,7 +101479,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *668 examples: default: value: @@ -101070,10 +101542,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 + - *435 + - *436 + - *665 + - *669 requestBody: required: true content: @@ -101108,9 +101580,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *668 examples: - default: *666 + default: *671 '404': *6 '422': *7 '403': *27 @@ -101132,9 +101604,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 + - *435 + - *436 + - *665 requestBody: required: false content: @@ -101198,8 +101670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *430 - - *431 + - *435 + - *436 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -101212,9 +101684,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *672 examples: - default: &668 + default: &673 value: type: file encoding: base64 @@ -101256,8 +101728,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 + - *435 + - *436 - name: dir description: The alternate path to look for a README file in: path @@ -101277,9 +101749,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *672 examples: - default: *668 + default: *673 '404': *6 '422': *15 x-github: @@ -101301,8 +101773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -101312,7 +101784,7 @@ paths: application/json: schema: type: array - items: *669 + items: *674 examples: default: value: @@ -101406,8 +101878,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -101483,9 +101955,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *674 examples: - default: &673 + default: &678 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 +102062,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 + - *435 + - *436 + - &676 name: asset_id description: The unique identifier of the asset. in: path @@ -101604,9 +102076,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *675 examples: - default: &672 + default: &677 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 +102113,7 @@ paths: type: User site_admin: false '404': *6 - '302': *558 + '302': *563 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101657,9 +102129,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 + - *435 + - *436 + - *676 requestBody: required: false content: @@ -101688,9 +102160,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *675 examples: - default: *672 + default: *677 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101706,9 +102178,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 + - *435 + - *436 + - *676 responses: '204': description: Response @@ -101732,8 +102204,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 + - *435 + - *436 requestBody: required: true content: @@ -101819,16 +102291,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response content: application/json: - schema: *669 + schema: *674 examples: - default: *673 + default: *678 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101845,8 +102317,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 + - *435 + - *436 - name: tag description: tag parameter in: path @@ -101859,9 +102331,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *674 examples: - default: *673 + default: *678 '404': *6 x-github: githubCloudOnly: false @@ -101883,9 +102355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *430 - - *431 - - &674 + - *435 + - *436 + - &679 name: release_id description: The unique identifier of the release. in: path @@ -101899,9 +102371,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: *674 examples: - default: *673 + default: *678 '401': description: Unauthorized x-github: @@ -101919,9 +102391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *430 - - *431 - - *674 + - *435 + - *436 + - *679 requestBody: required: false content: @@ -101985,9 +102457,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *674 examples: - default: *673 + default: *678 '404': description: Not Found if the discussion category name is invalid content: @@ -102008,9 +102480,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *430 - - *431 - - *674 + - *435 + - *436 + - *679 responses: '204': description: Response @@ -102030,9 +102502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *430 - - *431 - - *674 + - *435 + - *436 + - *679 - *17 - *19 responses: @@ -102042,7 +102514,7 @@ paths: application/json: schema: type: array - items: *670 + items: *675 examples: default: value: @@ -102124,9 +102596,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 + - *435 + - *436 + - *679 - name: name in: query required: true @@ -102152,7 +102624,7 @@ paths: description: Response for successful upload content: application/json: - schema: *670 + schema: *675 examples: response-for-successful-upload: value: @@ -102207,9 +102679,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 + - *435 + - *436 + - *679 - 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 +102705,9 @@ paths: application/json: schema: type: array - items: *419 + items: *424 examples: - default: *421 + default: *426 headers: Link: *41 '404': *6 @@ -102256,9 +102728,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 + - *435 + - *436 + - *679 requestBody: required: true content: @@ -102288,16 +102760,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '201': description: Reaction created content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 '422': *15 x-github: githubCloudOnly: false @@ -102319,10 +102791,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 + - *435 + - *436 + - *679 + - *427 responses: '204': description: Response @@ -102346,9 +102818,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 + - *435 + - *436 + - *494 - *17 - *19 responses: @@ -102364,8 +102836,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *138 - - &675 + - *143 + - &680 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -102384,69 +102856,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *139 - - *675 - - allOf: - - *140 - - *675 - - allOf: - - *141 - - *675 - - allOf: - - *676 - - *675 - - allOf: - - *142 - - *675 - - allOf: - - *143 - - *675 - allOf: - *144 - - *675 + - *680 - allOf: - *145 - - *675 + - *680 - allOf: - *146 - - *675 + - *680 + - allOf: + - *681 + - *680 - allOf: - *147 - - *675 + - *680 - allOf: - *148 - - *675 + - *680 - allOf: - *149 - - *675 + - *680 - allOf: - *150 - - *675 + - *680 - allOf: - *151 - - *675 + - *680 - allOf: - *152 - - *675 + - *680 - allOf: - *153 - - *675 + - *680 - allOf: - *154 - - *675 + - *680 - allOf: - *155 - - *675 + - *680 - allOf: - *156 - - *675 + - *680 - allOf: - *157 - - *675 + - *680 + - allOf: + - *158 + - *680 + - allOf: + - *159 + - *680 + - allOf: + - *160 + - *680 - allOf: - - *677 - - *675 + - *161 + - *680 + - allOf: + - *162 + - *680 + - allOf: + - *682 + - *680 examples: default: value: @@ -102485,8 +102957,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 - name: includes_parents @@ -102497,7 +102969,7 @@ paths: schema: type: boolean default: true - - *678 + - *683 responses: '200': description: Response @@ -102505,7 +102977,7 @@ paths: application/json: schema: type: array - items: *158 + items: *163 examples: default: value: @@ -102552,8 +103024,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *435 + - *436 requestBody: description: Request body required: true @@ -102573,16 +103045,16 @@ paths: - tag - push default: branch - enforcement: *136 + enforcement: *141 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *132 + items: *142 + conditions: *137 rules: type: array description: An array of rules within the ruleset. - items: *679 + items: *684 required: - name - enforcement @@ -102613,9 +103085,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: &688 + default: &693 value: id: 42 name: super cool ruleset @@ -102662,12 +103134,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 + - *435 + - *436 + - *685 - *94 - - *681 - - *682 + - *686 + - *687 - *17 - *19 responses: @@ -102675,9 +103147,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *688 examples: - default: *684 + default: *689 '404': *6 '500': *38 x-github: @@ -102698,17 +103170,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 + - *435 + - *436 + - *690 responses: '200': description: Response content: application/json: - schema: *686 + schema: *691 examples: - default: *687 + default: *692 '404': *6 '500': *38 x-github: @@ -102736,8 +103208,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *435 + - *436 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102757,9 +103229,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: *688 + default: *693 '404': *6 '500': *38 put: @@ -102777,8 +103249,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *435 + - *436 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102803,16 +103275,16 @@ paths: - branch - tag - push - enforcement: *136 + enforcement: *141 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *132 + items: *142 + conditions: *137 rules: description: An array of rules within the ruleset. type: array - items: *679 + items: *684 examples: default: value: @@ -102840,9 +103312,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *163 examples: - default: *688 + default: *693 '404': *6 '500': *38 delete: @@ -102860,8 +103332,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *435 + - *436 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102884,8 +103356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 - name: ruleset_id @@ -102901,9 +103373,9 @@ paths: application/json: schema: type: array - items: *162 + items: *167 examples: - default: *383 + default: *388 '404': *6 '500': *38 x-github: @@ -102922,8 +103394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *430 - - *431 + - *435 + - *436 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102941,7 +103413,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *389 examples: default: value: @@ -102996,21 +103468,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 - - *19 - - *17 - - *689 - - *690 - - *389 + - *435 + - *436 - *390 - *391 - *392 + - *393 + - *99 + - *19 + - *17 + - *694 + - *695 + - *394 + - *395 + - *396 + - *397 responses: '200': description: Response @@ -103018,24 +103490,24 @@ paths: application/json: schema: type: array - items: &694 + items: &699 type: object properties: - number: *109 - created_at: *116 + number: *114 + created_at: *121 updated_at: anyOf: - type: 'null' - - *117 - url: *114 - html_url: *115 + - *122 + url: *119 + html_url: *120 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *691 - resolution: *692 + state: *696 + resolution: *697 resolved_at: type: - string @@ -103129,7 +103601,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *693 + - *698 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -103252,7 +103724,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103274,16 +103746,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 + - *435 + - *436 + - *521 + - *397 responses: '200': description: Response content: application/json: - schema: *694 + schema: *699 examples: default: value: @@ -103314,7 +103786,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103335,9 +103807,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 + - *435 + - *436 + - *521 requestBody: required: true content: @@ -103345,8 +103817,8 @@ paths: schema: type: object properties: - state: *691 - resolution: *692 + state: *696 + resolution: *697 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -103365,7 +103837,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *699 examples: default: value: @@ -103418,7 +103890,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *163 + '503': *168 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -103440,9 +103912,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 + - *435 + - *436 + - *521 - *19 - *17 responses: @@ -103453,7 +103925,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &869 + items: &873 type: object properties: type: @@ -103480,11 +103952,6 @@ paths: - commit details: oneOf: - - *695 - - *696 - - *697 - - *698 - - *699 - *700 - *701 - *702 @@ -103493,6 +103960,11 @@ paths: - *705 - *706 - *707 + - *708 + - *709 + - *710 + - *711 + - *712 examples: default: value: @@ -103556,7 +104028,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103578,8 +104050,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 + - *435 + - *436 requestBody: required: true content: @@ -103587,14 +104059,14 @@ paths: schema: type: object properties: - reason: &709 + reason: &714 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *708 + placeholder_id: *713 required: - reason - placeholder_id @@ -103611,7 +104083,7 @@ paths: schema: type: object properties: - reason: *709 + reason: *714 expire_at: type: - string @@ -103635,7 +104107,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *163 + '503': *168 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -103647,6 +104119,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 +104130,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 + - *435 + - *436 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *163 + '503': *168 '200': description: Response content: @@ -103671,7 +104146,7 @@ paths: properties: incremental_scans: type: array - items: &710 + items: &715 description: Information on a single scan performed by secret scanning on the repository type: object @@ -103699,15 +104174,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *710 + items: *715 backfill_scans: type: array - items: *710 + items: *715 custom_pattern_backfill_scans: type: array items: allOf: - - *710 + - *715 - type: object properties: pattern_name: @@ -103777,8 +104252,8 @@ 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 + - *435 + - *436 - *99 - name: sort description: The property to sort the results by. @@ -103822,9 +104297,9 @@ paths: application/json: schema: type: array - items: *711 + items: *716 examples: - default: *712 + default: *717 '400': *14 '404': *6 x-github: @@ -103847,8 +104322,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 + - *435 + - *436 requestBody: required: true content: @@ -103928,7 +104403,7 @@ paths: login: type: string description: The username of the user credited. - type: *397 + type: *402 required: - login - type @@ -104018,9 +104493,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *716 examples: - default: &714 + default: &719 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -104253,8 +104728,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 + - *435 + - *436 requestBody: required: true content: @@ -104367,7 +104842,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *716 examples: default: value: @@ -104514,17 +104989,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 + - *435 + - *436 + - *718 responses: '200': description: Response content: application/json: - schema: *711 + schema: *716 examples: - default: *714 + default: *719 '403': *27 '404': *6 x-github: @@ -104548,9 +105023,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 + - *435 + - *436 + - *718 requestBody: required: true content: @@ -104630,7 +105105,7 @@ paths: login: type: string description: The username of the user credited. - type: *397 + type: *402 required: - login - type @@ -104721,17 +105196,17 @@ paths: description: Response content: application/json: - schema: *711 + schema: *716 examples: - default: *714 - add_credit: *714 + default: *719 + add_credit: *719 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *223 + schema: *230 examples: invalid_state_transition: value: @@ -104762,9 +105237,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 + - *435 + - *436 + - *718 responses: '202': *37 '400': *14 @@ -104791,17 +105266,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 + - *435 + - *436 + - *718 responses: '202': description: Response content: application/json: - schema: *443 + schema: *448 examples: - default: *445 + default: *450 '400': *14 '422': *15 '403': *27 @@ -104827,8 +105302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -104924,8 +105399,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 + - *435 + - *436 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -104934,7 +105409,7 @@ paths: application/json: schema: type: array - items: &715 + items: &720 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -104947,7 +105422,7 @@ paths: - 1124 - -435 '202': *37 - '204': *129 + '204': *134 '422': description: Repository contains more than 10,000 commits x-github: @@ -104967,8 +105442,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 + - *435 + - *436 responses: '200': description: Response @@ -105019,7 +105494,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *129 + '204': *134 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105046,8 +105521,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 + - *435 + - *436 responses: '200': description: Response @@ -105119,7 +105594,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *129 + '204': *134 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105141,8 +105616,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 + - *435 + - *436 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -105296,8 +105771,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 + - *435 + - *436 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -105307,7 +105782,7 @@ paths: application/json: schema: type: array - items: *715 + items: *720 examples: default: value: @@ -105320,7 +105795,7 @@ paths: - - 0 - 2 - 21 - '204': *129 + '204': *134 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105340,8 +105815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *430 - - *431 + - *435 + - *436 - name: sha in: path required: true @@ -105397,7 +105872,7 @@ paths: description: Response content: application/json: - schema: *716 + schema: *721 examples: default: value: @@ -105451,8 +105926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -105464,7 +105939,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 x-github: @@ -105484,14 +105959,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &717 + schema: &722 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -105564,8 +106039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: false content: @@ -105591,7 +106066,7 @@ paths: description: Response content: application/json: - schema: *717 + schema: *722 examples: default: value: @@ -105618,8 +106093,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *430 - - *431 + - *435 + - *436 responses: '204': description: Response @@ -105639,8 +106114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -105722,8 +106197,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 + - *435 + - *436 responses: '200': description: Response @@ -105731,7 +106206,7 @@ paths: application/json: schema: type: array - items: &718 + items: &723 title: Tag protection description: Tag protection type: object @@ -105788,8 +106263,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 + - *435 + - *436 requestBody: required: true content: @@ -105812,7 +106287,7 @@ paths: description: Response content: application/json: - schema: *718 + schema: *723 examples: default: value: @@ -105843,8 +106318,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 + - *435 + - *436 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -105881,8 +106356,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 + - *435 + - *436 - name: ref in: path required: true @@ -105918,8 +106393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *430 - - *431 + - *435 + - *436 - *17 - *19 responses: @@ -105929,9 +106404,9 @@ paths: application/json: schema: type: array - items: *273 + items: *280 examples: - default: *345 + default: *350 headers: Link: *41 '404': *6 @@ -105951,8 +106426,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *430 - - *431 + - *435 + - *436 - *19 - *17 responses: @@ -105960,7 +106435,7 @@ paths: description: Response content: application/json: - schema: &719 + schema: &724 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -105972,7 +106447,7 @@ paths: required: - names examples: - default: &720 + default: &725 value: names: - octocat @@ -105995,8 +106470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -106027,9 +106502,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *724 examples: - default: *720 + default: *725 '404': *6 '422': *7 x-github: @@ -106050,9 +106525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *430 - - *431 - - &721 + - *435 + - *436 + - &726 name: per description: The time frame to display results for. in: query @@ -106083,7 +106558,7 @@ paths: - 128 clones: type: array - items: &722 + items: &727 title: Traffic type: object properties: @@ -106170,8 +106645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response @@ -106265,8 +106740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *430 - - *431 + - *435 + - *436 responses: '200': description: Response @@ -106329,9 +106804,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *430 - - *431 - - *721 + - *435 + - *436 + - *726 responses: '200': description: Response @@ -106352,7 +106827,7 @@ paths: - 3782 views: type: array - items: *722 + items: *727 required: - uniques - count @@ -106429,8 +106904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *430 - - *431 + - *435 + - *436 requestBody: required: true content: @@ -106466,7 +106941,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *253 examples: default: value: @@ -106704,8 +107179,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 + - *435 + - *436 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -106728,8 +107203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *430 - - *431 + - *435 + - *436 responses: '204': description: Response @@ -106751,8 +107226,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *430 - - *431 + - *435 + - *436 responses: '204': description: Response @@ -106778,8 +107253,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 + - *435 + - *436 - name: ref in: path required: true @@ -106871,9 +107346,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *448 examples: - default: *445 + default: *450 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -106914,7 +107389,7 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: default: value: @@ -107024,7 +107499,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &730 + - &735 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -107034,7 +107509,7 @@ paths: type: string examples: - members - - &735 + - &740 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -107046,7 +107521,7 @@ paths: format: int32 examples: - 1 - - &736 + - &741 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -107090,7 +107565,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &725 + items: &730 allOf: - type: object required: @@ -107172,7 +107647,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: &742 type: object description: The metadata associated with the creation/updates to the user. @@ -107237,30 +107712,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &726 + '400': &731 description: Bad request content: application/json: - schema: *723 + schema: *728 application/scim+json: - schema: *723 - '401': *724 - '403': &727 + schema: *728 + '401': *729 + '403': &732 description: Permission denied - '429': &728 + '429': &733 description: Too many requests content: application/json: - schema: *723 + schema: *728 application/scim+json: - schema: *723 - '500': &729 + schema: *728 + '500': &734 description: Internal server error content: application/json: - schema: *723 + schema: *728 application/scim+json: - schema: *723 + schema: *728 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107284,7 +107759,7 @@ paths: required: true content: application/json: - schema: &733 + schema: &738 type: object required: - schemas @@ -107348,9 +107823,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *725 + schema: *730 examples: - group: &731 + group: &736 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -107369,13 +107844,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': *731 + '401': *729 + '403': *732 + '409': &739 description: Duplicate record detected - '429': *728 - '500': *729 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107392,7 +107867,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 + - &737 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -107401,22 +107876,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *730 + - *735 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *725 + schema: *730 examples: - default: *731 - '400': *726 - '401': *724 - '403': *727 + default: *736 + '400': *731 + '401': *729 + '403': *732 '404': *6 - '429': *728 - '500': *729 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107435,13 +107910,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 + - *737 - *39 requestBody: required: true content: application/json: - schema: *733 + schema: *738 examples: group: summary: Group @@ -107467,17 +107942,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *725 + schema: *730 examples: - group: *731 - groupWithMembers: *731 - '400': *726 - '401': *724 - '403': *727 + group: *736 + groupWithMembers: *736 + '400': *731 + '401': *729 + '403': *732 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *739 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107501,13 +107976,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 + - *737 - *39 requestBody: required: true content: application/json: - schema: &744 + schema: &749 type: object required: - Operations @@ -107567,17 +108042,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *725 + schema: *730 examples: - updateGroup: *731 - addMembers: *731 - '400': *726 - '401': *724 - '403': *727 + updateGroup: *736 + addMembers: *736 + '400': *731 + '401': *729 + '403': *732 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *739 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107593,17 +108068,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 + - *737 - *39 responses: '204': description: Group was deleted, no content - '400': *726 - '401': *724 - '403': *727 + '400': *731 + '401': *729 + '403': *732 '404': *6 - '429': *728 - '500': *729 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107637,8 +108112,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *735 - - *736 + - *740 + - *741 - *39 responses: '200': @@ -107672,7 +108147,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &739 + items: &744 allOf: - type: object required: @@ -107764,7 +108239,7 @@ paths: address. examples: - true - roles: &738 + roles: &743 type: array description: The roles assigned to the user. items: @@ -107823,7 +108298,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *737 + meta: *742 startIndex: type: integer description: A starting index for the returned page @@ -107862,11 +108337,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *726 - '401': *724 - '403': *727 - '429': *728 - '500': *729 + '400': *731 + '401': *729 + '403': *732 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107890,7 +108365,7 @@ paths: required: true content: application/json: - schema: &742 + schema: &747 type: object required: - schemas @@ -107983,9 +108458,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *738 + roles: *743 examples: - user: &743 + user: &748 summary: User value: schemas: @@ -108032,9 +108507,9 @@ paths: description: User has been created content: application/scim+json: - schema: *739 + schema: *744 examples: - user: &740 + user: &745 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108060,13 +108535,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: *745 + '400': *731 + '401': *729 + '403': *732 + '409': *739 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108083,7 +108558,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 + - &746 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -108096,15 +108571,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *739 + schema: *744 examples: - default: *740 - '400': *726 - '401': *724 - '403': *727 + default: *745 + '400': *731 + '401': *729 + '403': *732 '404': *6 - '429': *728 - '500': *729 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108126,30 +108601,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 + - *746 - *39 requestBody: required: true content: application/json: - schema: *742 + schema: *747 examples: - user: *743 + user: *748 responses: '200': description: User was updated content: application/scim+json: - schema: *739 + schema: *744 examples: - user: *740 - '400': *726 - '401': *724 - '403': *727 + user: *745 + '400': *731 + '401': *729 + '403': *732 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *739 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108184,13 +108659,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 + - *746 - *39 requestBody: required: true content: application/json: - schema: *744 + schema: *749 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -108230,18 +108705,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *739 + schema: *744 examples: - userMultiValuedProperties: *740 - userSingleValuedProperties: *740 - disableUser: *740 - '400': *726 - '401': *724 - '403': *727 + userMultiValuedProperties: *745 + userSingleValuedProperties: *745 + disableUser: *745 + '400': *731 + '401': *729 + '403': *732 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *739 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108261,17 +108736,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 + - *746 - *39 responses: '204': description: User was deleted, no content - '400': *726 - '401': *724 - '403': *727 + '400': *731 + '401': *729 + '403': *732 '404': *6 - '429': *728 - '500': *729 + '429': *733 + '500': *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108362,7 +108837,7 @@ paths: - 1 Resources: type: array - items: &745 + items: &750 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -108609,22 +109084,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': &751 description: Resource not found content: application/json: - schema: *723 + schema: *728 application/scim+json: - schema: *723 - '403': &747 + schema: *728 + '403': &752 description: Forbidden content: application/json: - schema: *723 + schema: *728 application/scim+json: - schema: *723 - '400': *726 - '429': *728 + schema: *728 + '400': *731 + '429': *733 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -108650,9 +109125,9 @@ paths: description: Response content: application/scim+json: - schema: *745 + schema: *750 examples: - default: &748 + default: &753 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108675,17 +109150,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': *751 + '403': *752 + '500': *734 '409': description: Conflict content: application/json: - schema: *723 + schema: *728 application/scim+json: - schema: *723 - '400': *726 + schema: *728 + '400': *731 requestBody: required: true content: @@ -108785,17 +109260,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *76 - - *741 + - *746 responses: '200': description: Response content: application/scim+json: - schema: *745 + schema: *750 examples: - default: *748 - '404': *746 - '403': *747 + default: *753 + '404': *751 + '403': *752 '304': *35 x-github: githubCloudOnly: true @@ -108819,18 +109294,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *76 - - *741 + - *746 responses: '200': description: Response content: application/scim+json: - schema: *745 + schema: *750 examples: - default: *748 + default: *753 '304': *35 - '404': *746 - '403': *747 + '404': *751 + '403': *752 requestBody: required: true content: @@ -108945,19 +109420,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *76 - - *741 + - *746 responses: '200': description: Response content: application/scim+json: - schema: *745 + schema: *750 examples: - default: *748 + default: *753 '304': *35 - '404': *746 - '403': *747 - '400': *726 + '404': *751 + '403': *752 + '400': *731 '429': description: Response content: @@ -109053,12 +109528,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *76 - - *741 + - *746 responses: '204': description: Response - '404': *746 - '403': *747 + '404': *751 + '403': *752 '304': *35 x-github: githubCloudOnly: true @@ -109173,7 +109648,7 @@ paths: html_url: type: string format: uri - repository: *246 + repository: *253 score: type: number file_size: @@ -109192,7 +109667,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &749 + text_matches: &754 title: Search Result Text Matches type: array items: @@ -109307,7 +109782,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *163 + '503': *168 '422': *15 '403': *27 x-github: @@ -109356,7 +109831,7 @@ paths: enum: - author-date - committer-date - - &750 + - &755 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 +109900,7 @@ paths: committer: anyOf: - type: 'null' - - *487 + - *492 comment_count: type: integer message: @@ -109444,7 +109919,7 @@ paths: url: type: string format: uri - verification: *603 + verification: *608 required: - author - committer @@ -109459,7 +109934,7 @@ paths: committer: anyOf: - type: 'null' - - *487 + - *492 parents: type: array items: @@ -109471,12 +109946,12 @@ paths: type: string sha: type: string - repository: *246 + repository: *253 score: type: number node_id: type: string - text_matches: *749 + text_matches: *754 required: - sha - node_id @@ -109669,7 +110144,7 @@ paths: - interactions - created - updated - - *750 + - *755 - *17 - *19 - name: advanced_search @@ -109766,11 +110241,11 @@ paths: type: - string - 'null' - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: type: string state_reason: @@ -109784,7 +110259,7 @@ paths: milestone: anyOf: - type: 'null' - - *368 + - *373 comments: type: integer created_at: @@ -109798,7 +110273,7 @@ paths: - string - 'null' format: date-time - text_matches: *749 + text_matches: *754 pull_request: type: object properties: @@ -109836,7 +110311,7 @@ paths: type: string score: type: number - author_association: *184 + author_association: *190 draft: type: boolean repository: *67 @@ -109847,12 +110322,12 @@ paths: timeline_url: type: string format: uri - type: *331 + type: *336 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *185 + reactions: *191 required: - assignee - closed_at @@ -109968,7 +110443,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *163 + '503': *168 '422': *15 '304': *35 '403': *27 @@ -110021,7 +110496,7 @@ paths: enum: - created - updated - - *750 + - *755 - *17 - *19 responses: @@ -110066,7 +110541,7 @@ paths: - 'null' score: type: number - text_matches: *749 + text_matches: *754 required: - id - node_id @@ -110152,7 +110627,7 @@ paths: - forks - help-wanted-issues - updated - - *750 + - *755 - *17 - *19 responses: @@ -110371,7 +110846,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *192 permissions: type: object properties: @@ -110389,7 +110864,7 @@ paths: - admin - pull - push - text_matches: *749 + text_matches: *754 temp_clone_token: type: string allow_merge_commit: @@ -110592,7 +111067,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *163 + '503': *168 '422': *15 '304': *35 x-github: @@ -110698,7 +111173,7 @@ paths: - string - 'null' format: uri - text_matches: *749 + text_matches: *754 related: type: - array @@ -110893,7 +111368,7 @@ paths: - followers - repositories - joined - - *750 + - *755 - *17 - *19 responses: @@ -111003,7 +111478,7 @@ paths: type: - boolean - 'null' - text_matches: *749 + text_matches: *754 blog: type: - string @@ -111065,7 +111540,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *163 + '503': *168 '422': *15 x-github: githubCloudOnly: false @@ -111085,7 +111560,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &754 + - &759 name: team_id description: The unique identifier of the team. in: path @@ -111097,9 +111572,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *416 examples: - default: *412 + default: *417 '404': *6 x-github: githubCloudOnly: false @@ -111126,7 +111601,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *754 + - *759 requestBody: required: true content: @@ -111190,16 +111665,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *411 + schema: *416 examples: - default: *412 + default: *417 '201': description: Response content: application/json: - schema: *411 + schema: *416 examples: - default: *412 + default: *417 '404': *6 '422': *15 '403': *27 @@ -111227,7 +111702,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *754 + - *759 responses: '204': description: Response @@ -111258,7 +111733,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *754 + - *759 - *99 - *17 - *19 @@ -111269,9 +111744,9 @@ paths: application/json: schema: type: array - items: *413 + items: *418 examples: - default: *755 + default: *760 headers: Link: *41 x-github: @@ -111300,7 +111775,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *754 + - *759 requestBody: required: true content: @@ -111334,9 +111809,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *418 examples: - default: *414 + default: *419 x-github: triggersNotification: true githubCloudOnly: false @@ -111363,16 +111838,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *754 - - *415 + - *759 + - *420 responses: '200': description: Response content: application/json: - schema: *413 + schema: *418 examples: - default: *414 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111397,8 +111872,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *754 - - *415 + - *759 + - *420 requestBody: required: false content: @@ -111421,9 +111896,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *418 examples: - default: *756 + default: *761 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111448,8 +111923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *754 - - *415 + - *759 + - *420 responses: '204': description: Response @@ -111478,8 +111953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *754 - - *415 + - *759 + - *420 - *99 - *17 - *19 @@ -111490,9 +111965,9 @@ paths: application/json: schema: type: array - items: *416 + items: *421 examples: - default: *757 + default: *762 headers: Link: *41 x-github: @@ -111521,8 +111996,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 + - *759 + - *420 requestBody: required: true content: @@ -111544,9 +112019,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *421 examples: - default: *417 + default: *422 x-github: triggersNotification: true githubCloudOnly: false @@ -111573,17 +112048,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 + - *759 + - *420 + - *423 responses: '200': description: Response content: application/json: - schema: *416 + schema: *421 examples: - default: *417 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111608,9 +112083,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 + - *759 + - *420 + - *423 requestBody: required: true content: @@ -111632,9 +112107,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *421 examples: - default: *758 + default: *763 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111659,9 +112134,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 + - *759 + - *420 + - *423 responses: '204': description: Response @@ -111690,9 +112165,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 + - *759 + - *420 + - *423 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -111718,9 +112193,9 @@ paths: application/json: schema: type: array - items: *419 + items: *424 examples: - default: *421 + default: *426 headers: Link: *41 x-github: @@ -111749,9 +112224,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 + - *759 + - *420 + - *423 requestBody: required: true content: @@ -111783,9 +112258,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111811,8 +112286,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 + - *759 + - *420 - 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 +112313,9 @@ paths: application/json: schema: type: array - items: *419 + items: *424 examples: - default: *421 + default: *426 headers: Link: *41 x-github: @@ -111869,8 +112344,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 + - *759 + - *420 requestBody: required: true content: @@ -111902,9 +112377,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111928,7 +112403,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *754 + - *759 - *17 - *19 responses: @@ -111938,9 +112413,9 @@ paths: application/json: schema: type: array - items: *328 + items: *333 examples: - default: *329 + default: *334 headers: Link: *41 x-github: @@ -111966,7 +112441,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *754 + - *759 - name: role description: Filters members returned by their role in the team. in: query @@ -111989,7 +112464,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 '404': *6 @@ -112017,8 +112492,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *754 - - *178 + - *759 + - *183 responses: '204': description: if user is a member @@ -112054,8 +112529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *754 - - *178 + - *759 + - *183 responses: '204': description: Response @@ -112094,8 +112569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *754 - - *178 + - *759 + - *183 responses: '204': description: Response @@ -112131,16 +112606,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 + - *759 + - *183 responses: '200': description: Response content: application/json: - schema: *427 + schema: *432 examples: - response-if-user-is-a-team-maintainer: *759 + response-if-user-is-a-team-maintainer: *764 '404': *6 x-github: githubCloudOnly: false @@ -112173,8 +112648,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 + - *759 + - *183 requestBody: required: false content: @@ -112199,9 +112674,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *432 examples: - response-if-users-membership-with-team-is-now-pending: *760 + response-if-users-membership-with-team-is-now-pending: *765 '403': description: Forbidden if team synchronization is set up '422': @@ -112235,8 +112710,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 + - *759 + - *183 responses: '204': description: Response @@ -112264,7 +112739,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *754 + - *759 - *17 - *19 responses: @@ -112274,9 +112749,9 @@ paths: application/json: schema: type: array - items: *428 + items: *433 examples: - default: *761 + default: *766 headers: Link: *41 '404': *6 @@ -112302,16 +112777,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 + - *759 + - *434 responses: '200': description: Response content: application/json: - schema: *428 + schema: *433 examples: - default: *762 + default: *767 '404': description: Not Found if project is not managed by this team x-github: @@ -112335,8 +112810,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 + - *759 + - *434 requestBody: required: false content: @@ -112403,8 +112878,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 + - *759 + - *434 responses: '204': description: Response @@ -112431,7 +112906,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *754 + - *759 - *17 - *19 responses: @@ -112441,9 +112916,9 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: - default: *352 + default: *357 headers: Link: *41 '404': *6 @@ -112473,15 +112948,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 + - *759 + - *435 + - *436 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *763 + schema: *768 examples: alternative-response-with-extra-repository-information: value: @@ -112632,9 +113107,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 + - *759 + - *435 + - *436 requestBody: required: false content: @@ -112684,9 +113159,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 + - *759 + - *435 + - *436 responses: '204': description: Response @@ -112715,15 +113190,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 + - *759 responses: '200': description: Response content: application/json: - schema: *432 + schema: *437 examples: - default: *433 + default: *438 '403': *27 '404': *6 x-github: @@ -112750,7 +113225,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 + - *759 requestBody: required: true content: @@ -112811,7 +113286,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *437 examples: default: value: @@ -112842,7 +113317,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *754 + - *759 - *17 - *19 responses: @@ -112852,9 +113327,9 @@ paths: application/json: schema: type: array - items: *273 + items: *280 examples: - response-if-child-teams-exist: *764 + response-if-child-teams-exist: *769 headers: Link: *41 '404': *6 @@ -112887,7 +113362,7 @@ paths: application/json: schema: oneOf: - - &766 + - &771 title: Private User description: Private User type: object @@ -113137,7 +113612,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *765 + - *770 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -113297,7 +113772,7 @@ paths: description: Response content: application/json: - schema: *766 + schema: *771 examples: default: value: @@ -113376,7 +113851,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 '304': *35 '404': *6 '403': *27 @@ -113399,7 +113874,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 + - *183 responses: '204': description: If the user is blocked @@ -113427,7 +113902,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *178 + - *183 responses: '204': description: Response @@ -113451,7 +113926,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *178 + - *183 responses: '204': description: Response @@ -113500,9 +113975,9 @@ paths: type: integer codespaces: type: array - items: *336 + items: *341 examples: - default: *337 + default: *342 '304': *35 '500': *38 '401': *23 @@ -113641,21 +114116,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *341 examples: - default: *536 + default: *541 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *341 examples: - default: *536 + default: *541 '401': *23 '403': *27 '404': *6 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113695,7 +114170,7 @@ paths: type: integer secrets: type: array - items: &767 + items: &772 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -113737,7 +114212,7 @@ paths: - visibility - selected_repositories_url examples: - default: *538 + default: *543 headers: Link: *41 x-github: @@ -113809,13 +114284,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 + - *263 responses: '200': description: Response content: application/json: - schema: *767 + schema: *772 examples: default: value: @@ -113845,7 +114320,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 + - *263 requestBody: required: true content: @@ -113890,7 +114365,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -113918,7 +114393,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 + - *263 responses: '204': description: Response @@ -113943,7 +114418,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 + - *263 responses: '200': description: Response @@ -113959,9 +114434,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *253 examples: - default: *768 + default: *773 '401': *23 '403': *27 '404': *6 @@ -113986,7 +114461,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 + - *263 requestBody: required: true content: @@ -114040,7 +114515,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 + - *263 - name: repository_id in: path required: true @@ -114073,7 +114548,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 + - *263 - name: repository_id in: path required: true @@ -114105,15 +114580,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 + - *343 responses: '200': description: Response content: application/json: - schema: *336 + schema: *341 examples: - default: *536 + default: *541 '304': *35 '500': *38 '401': *23 @@ -114139,7 +114614,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 + - *343 requestBody: required: false content: @@ -114169,9 +114644,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *341 examples: - default: *536 + default: *541 '401': *23 '403': *27 '404': *6 @@ -114193,7 +114668,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 + - *343 responses: '202': *37 '304': *35 @@ -114222,13 +114697,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 + - *343 responses: '202': description: Response content: application/json: - schema: &769 + schema: &774 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -114281,7 +114756,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &770 + default: &775 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -114313,7 +114788,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 + - *343 - name: export_id in: path required: true @@ -114326,9 +114801,9 @@ paths: description: Response content: application/json: - schema: *769 + schema: *774 examples: - default: *770 + default: *775 '404': *6 x-github: githubCloudOnly: false @@ -114349,7 +114824,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 + - *343 responses: '200': description: Response @@ -114365,9 +114840,9 @@ paths: type: integer machines: type: array - items: *537 + items: *542 examples: - default: *771 + default: *776 '304': *35 '500': *38 '401': *23 @@ -114396,7 +114871,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 + - *343 requestBody: required: true content: @@ -114452,11 +114927,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *443 + repository: *448 machine: anyOf: - type: 'null' - - *537 + - *542 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -115253,15 +115728,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 + - *343 responses: '200': description: Response content: application/json: - schema: *336 + schema: *341 examples: - default: *536 + default: *541 '304': *35 '500': *38 '400': *14 @@ -115293,15 +115768,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 + - *343 responses: '200': description: Response content: application/json: - schema: *336 + schema: *341 examples: - default: *536 + default: *541 '500': *38 '401': *23 '403': *27 @@ -115331,9 +115806,9 @@ paths: application/json: schema: type: array - items: *346 + items: *351 examples: - default: &783 + default: &787 value: - id: 197 name: hello_docker @@ -115434,7 +115909,7 @@ paths: application/json: schema: type: array - items: &772 + items: &777 title: Email description: Email type: object @@ -115504,9 +115979,9 @@ paths: application/json: schema: type: array - items: *772 + items: *777 examples: - default: &785 + default: &789 value: - email: octocat@github.com verified: true @@ -115583,7 +116058,7 @@ paths: application/json: schema: type: array - items: *772 + items: *777 examples: default: value: @@ -115695,7 +116170,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 '304': *35 @@ -115728,7 +116203,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 '304': *35 @@ -115750,7 +116225,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 + - *183 responses: '204': description: if the person is followed by the authenticated user @@ -115780,7 +116255,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *178 + - *183 responses: '204': description: Response @@ -115805,7 +116280,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *178 + - *183 responses: '204': description: Response @@ -115841,7 +116316,7 @@ paths: application/json: schema: type: array - items: &773 + items: &778 title: GPG Key description: A unique encryption key type: object @@ -115986,7 +116461,7 @@ paths: - subkeys - revoked examples: - default: &799 + default: &803 value: - id: 3 name: Octocat's GPG Key @@ -116071,9 +116546,9 @@ paths: description: Response content: application/json: - schema: *773 + schema: *778 examples: - default: &774 + default: &779 value: id: 3 name: Octocat's GPG Key @@ -116130,7 +116605,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 + - &780 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -116142,9 +116617,9 @@ paths: description: Response content: application/json: - schema: *773 + schema: *778 examples: - default: *774 + default: *779 '404': *6 '304': *35 '403': *27 @@ -116167,7 +116642,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 + - *780 responses: '204': description: Response @@ -116358,7 +116833,7 @@ paths: type: array items: *67 examples: - default: *241 + default: *248 headers: Link: *41 '404': *6 @@ -116383,7 +116858,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *240 + - *247 responses: '204': description: Response @@ -116409,7 +116884,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *240 + - *247 responses: '204': description: Response @@ -116443,12 +116918,12 @@ paths: application/json: schema: anyOf: - - *326 + - *331 - type: object properties: {} additionalProperties: false examples: - default: *327 + default: *332 '204': description: Response when there are no restrictions x-github: @@ -116472,7 +116947,7 @@ paths: required: true content: application/json: - schema: *614 + schema: *619 examples: default: value: @@ -116483,7 +116958,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *331 examples: default: value: @@ -116564,7 +117039,7 @@ paths: - closed - all default: open - - *334 + - *339 - name: sort description: What to sort results by. in: query @@ -116577,7 +117052,7 @@ paths: - comments default: created - *99 - - *189 + - *195 - *17 - *19 responses: @@ -116587,9 +117062,9 @@ paths: application/json: schema: type: array - items: *183 + items: *189 examples: - default: *335 + default: *340 headers: Link: *41 '404': *6 @@ -116622,7 +117097,7 @@ paths: application/json: schema: type: array - items: &776 + items: &781 title: Key description: Key type: object @@ -116725,9 +117200,9 @@ paths: description: Response content: application/json: - schema: *776 + schema: *781 examples: - default: &777 + default: &782 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116760,15 +117235,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 + - *645 responses: '200': description: Response content: application/json: - schema: *776 + schema: *781 examples: - default: *777 + default: *782 '404': *6 '304': *35 '403': *27 @@ -116791,7 +117266,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 + - *645 responses: '204': description: Response @@ -116824,7 +117299,7 @@ paths: application/json: schema: type: array - items: &778 + items: &783 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -116892,7 +117367,7 @@ paths: - id - type - login - plan: *200 + plan: *206 required: - billing_cycle - next_billing_date @@ -116903,7 +117378,7 @@ paths: - account - plan examples: - default: &779 + default: &784 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -116965,9 +117440,9 @@ paths: application/json: schema: type: array - items: *778 + items: *783 examples: - default: *779 + default: *784 headers: Link: *41 '304': *35 @@ -117007,7 +117482,7 @@ paths: application/json: schema: type: array - items: *339 + items: *344 examples: default: value: @@ -117115,7 +117590,7 @@ paths: description: Response content: application/json: - schema: *339 + schema: *344 examples: default: value: @@ -117198,7 +117673,7 @@ paths: description: Response content: application/json: - schema: *339 + schema: *344 examples: default: value: @@ -117266,7 +117741,7 @@ paths: application/json: schema: type: array - items: *341 + items: *346 examples: default: value: @@ -117528,7 +118003,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *346 examples: default: value: @@ -117708,7 +118183,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *342 + - *347 - name: exclude in: query required: false @@ -117721,7 +118196,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *346 examples: default: value: @@ -117915,7 +118390,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *342 + - *347 responses: '302': description: Response @@ -117941,7 +118416,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *342 + - *347 responses: '204': description: Response @@ -117970,8 +118445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *342 - - *780 + - *347 + - *785 responses: '204': description: Response @@ -117995,7 +118470,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 + - *347 - *17 - *19 responses: @@ -118005,9 +118480,9 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: - default: *352 + default: *357 headers: Link: *41 '404': *6 @@ -118044,7 +118519,7 @@ paths: type: array items: *62 examples: - default: *781 + default: *219 headers: Link: *41 '304': *35 @@ -118086,7 +118561,7 @@ paths: - docker - nuget - container - - *782 + - *786 - *19 - *17 responses: @@ -118096,10 +118571,10 @@ paths: application/json: schema: type: array - items: *346 + items: *351 examples: - default: *783 - '400': *784 + default: *787 + '400': *788 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118119,16 +118594,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 + - *353 + - *354 responses: '200': description: Response content: application/json: - schema: *346 + schema: *351 examples: - default: &800 + default: &804 value: id: 40201 name: octo-name @@ -118241,8 +118716,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 + - *353 + - *354 responses: '204': description: Response @@ -118272,8 +118747,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 + - *353 + - *354 - name: token description: package token schema: @@ -118305,8 +118780,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 + - *353 + - *354 - *19 - *17 - name: state @@ -118326,7 +118801,7 @@ paths: application/json: schema: type: array - items: *350 + items: *355 examples: default: value: @@ -118375,15 +118850,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 + - *353 + - *354 + - *356 responses: '200': description: Response content: application/json: - schema: *350 + schema: *355 examples: default: value: @@ -118419,9 +118894,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 + - *353 + - *354 + - *356 responses: '204': description: Response @@ -118451,9 +118926,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 + - *353 + - *354 + - *356 responses: '204': description: Response @@ -118511,7 +118986,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *367 examples: default: value: @@ -118583,9 +119058,9 @@ paths: application/json: schema: type: array - items: *772 + items: *777 examples: - default: *785 + default: *789 headers: Link: *41 '304': *35 @@ -118698,7 +119173,7 @@ paths: type: array items: *67 examples: - default: &792 + default: &796 summary: Default response value: - id: 1296269 @@ -119016,9 +119491,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *448 examples: - default: *445 + default: *450 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -119056,9 +119531,9 @@ paths: application/json: schema: type: array - items: *616 + items: *621 examples: - default: *786 + default: *790 headers: Link: *41 '304': *35 @@ -119081,7 +119556,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *330 + - *335 responses: '204': description: Response @@ -119104,7 +119579,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *330 + - *335 responses: '204': description: Response @@ -119137,7 +119612,7 @@ paths: application/json: schema: type: array - items: &787 + items: &791 title: Social account description: Social media account type: object @@ -119154,7 +119629,7 @@ paths: - provider - url examples: - default: &788 + default: &792 value: - provider: twitter url: https://twitter.com/github @@ -119217,9 +119692,9 @@ paths: application/json: schema: type: array - items: *787 + items: *791 examples: - default: *788 + default: *792 '422': *15 '304': *35 '404': *6 @@ -119307,7 +119782,7 @@ paths: application/json: schema: type: array - items: &789 + items: &793 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -119327,7 +119802,7 @@ paths: - title - created_at examples: - default: &803 + default: &807 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119394,9 +119869,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *793 examples: - default: &790 + default: &794 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119427,7 +119902,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 + - &795 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -119439,9 +119914,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *793 examples: - default: *790 + default: *794 '404': *6 '304': *35 '403': *27 @@ -119464,7 +119939,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 + - *795 responses: '204': description: Response @@ -119493,7 +119968,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 + - &808 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 @@ -119518,11 +119993,11 @@ paths: type: array items: *67 examples: - default-response: *792 + default-response: *796 application/vnd.github.v3.star+json: schema: type: array - items: &805 + items: &809 title: Starred Repository description: Starred Repository type: object @@ -119678,8 +120153,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 + - *435 + - *436 responses: '204': description: Response if this repository is starred by you @@ -119707,8 +120182,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 + - *435 + - *436 responses: '204': description: Response @@ -119732,8 +120207,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 + - *435 + - *436 responses: '204': description: Response @@ -119766,9 +120241,9 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: - default: *352 + default: *357 headers: Link: *41 '304': *35 @@ -119805,7 +120280,7 @@ paths: application/json: schema: type: array - items: *411 + items: *416 examples: default: value: @@ -119883,7 +120358,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 + - *208 responses: '200': description: Response @@ -119891,10 +120366,10 @@ paths: application/json: schema: oneOf: - - *766 - - *765 + - *771 + - *770 examples: - default-response: &794 + default-response: &798 summary: Default response value: login: octocat @@ -119929,7 +120404,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: &799 summary: Response with GitHub plan information value: login: octocat @@ -119989,7 +120464,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *793 + - *797 - *17 responses: '200': @@ -120000,7 +120475,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: example: ; rel="next" @@ -120030,7 +120505,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *178 + - *183 responses: '200': description: Response @@ -120038,11 +120513,11 @@ paths: application/json: schema: oneOf: - - *766 - - *765 + - *771 + - *770 examples: - default-response: *794 - response-with-git-hub-plan-information: *795 + default-response: *798 + response-with-git-hub-plan-information: *799 '404': *6 x-github: githubCloudOnly: false @@ -120068,7 +120543,7 @@ paths: - *17 - *97 - *98 - - *178 + - *183 requestBody: required: true content: @@ -120091,8 +120566,8 @@ paths: required: - subject_digests examples: - default: *796 - withPredicateType: *797 + default: *800 + withPredicateType: *801 responses: '200': description: Response @@ -120146,7 +120621,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *798 + default: *802 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120164,7 +120639,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *178 + - *183 requestBody: required: true content: @@ -120229,7 +120704,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *178 + - *183 - name: subject_digest description: Subject Digest in: path @@ -120260,7 +120735,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *178 + - *183 - name: attestation_id description: Attestation ID in: path @@ -120298,7 +120773,7 @@ paths: - *17 - *97 - *98 - - *178 + - *183 - name: subject_digest description: Subject Digest in: path @@ -120350,12 +120825,12 @@ paths: initiator: type: string examples: - default: *483 + default: *488 '201': description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -120381,7 +120856,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 + - *183 responses: '200': description: Response @@ -120389,9 +120864,9 @@ paths: application/json: schema: type: array - items: *346 + items: *351 examples: - default: *783 + default: *787 '403': *27 '401': *23 x-github: @@ -120414,7 +120889,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 + - *183 - *17 - *19 responses: @@ -120424,7 +120899,7 @@ paths: application/json: schema: type: array - items: *208 + items: *214 examples: default: value: @@ -120486,7 +120961,7 @@ 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 + - *183 - *76 - *17 - *19 @@ -120497,7 +120972,7 @@ paths: application/json: schema: type: array - items: *208 + items: *214 examples: default: value: @@ -120574,7 +121049,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 + - *183 - *17 - *19 responses: @@ -120584,7 +121059,7 @@ paths: application/json: schema: type: array - items: *208 + items: *214 examples: default: value: @@ -120642,7 +121117,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *178 + - *183 - *17 - *19 responses: @@ -120654,7 +121129,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 x-github: @@ -120673,7 +121148,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 + - *183 - *17 - *19 responses: @@ -120685,7 +121160,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *182 headers: Link: *41 x-github: @@ -120704,7 +121179,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 + - *183 - name: target_user in: path required: true @@ -120731,8 +121206,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 + - *183 + - *195 - *17 - *19 responses: @@ -120742,9 +121217,9 @@ paths: application/json: schema: type: array - items: *190 + items: *196 examples: - default: *191 + default: *197 headers: Link: *41 '422': *15 @@ -120765,7 +121240,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 + - *183 - *17 - *19 responses: @@ -120775,9 +121250,9 @@ paths: application/json: schema: type: array - items: *773 + items: *778 examples: - default: *799 + default: *803 headers: Link: *41 x-github: @@ -120801,7 +121276,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 + - *183 - 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 +121348,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 + - *183 responses: '200': description: Response @@ -120881,7 +121356,7 @@ paths: application/json: schema: *20 examples: - default: *613 + default: *618 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120899,7 +121374,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 + - *183 - *17 - *19 responses: @@ -120955,7 +121430,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *178 + - *183 - *17 - *19 responses: @@ -120967,7 +121442,7 @@ paths: type: array items: *62 examples: - default: *781 + default: *219 headers: Link: *41 x-github: @@ -121006,8 +121481,8 @@ paths: - docker - nuget - container - - *782 - - *178 + - *786 + - *183 - *19 - *17 responses: @@ -121017,12 +121492,12 @@ paths: application/json: schema: type: array - items: *346 + items: *351 examples: - default: *783 + default: *787 '403': *27 '401': *23 - '400': *784 + '400': *788 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121042,17 +121517,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 + - *353 + - *354 + - *183 responses: '200': description: Response content: application/json: - schema: *346 + schema: *351 examples: - default: *800 + default: *804 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121073,9 +121548,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 + - *353 + - *354 + - *183 responses: '204': description: Response @@ -121107,9 +121582,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 + - *353 + - *354 + - *183 - name: token description: package token schema: @@ -121141,9 +121616,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 + - *353 + - *354 + - *183 responses: '200': description: Response @@ -121151,7 +121626,7 @@ paths: application/json: schema: type: array - items: *350 + items: *355 examples: default: value: @@ -121209,16 +121684,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 + - *353 + - *354 + - *356 + - *183 responses: '200': description: Response content: application/json: - schema: *350 + schema: *355 examples: default: value: @@ -121253,10 +121728,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 + - *353 + - *354 + - *183 + - *356 responses: '204': description: Response @@ -121288,10 +121763,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 + - *353 + - *354 + - *183 + - *356 responses: '204': description: Response @@ -121317,7 +121792,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects parameters: - - *178 + - *183 - name: state description: Indicates the state of the projects to return. in: query @@ -121338,7 +121813,7 @@ paths: application/json: schema: type: array - items: *362 + items: *367 examples: default: value: @@ -121396,7 +121871,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *178 + - *183 - name: q description: Limit results to projects of the specified type. in: query @@ -121413,9 +121888,9 @@ paths: application/json: schema: type: array - items: *363 + items: *368 examples: - default: *364 + default: *369 headers: Link: *41 '304': *35 @@ -121437,16 +121912,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *365 - - *178 + - *370 + - *183 responses: '200': description: Response content: application/json: - schema: *363 + schema: *368 examples: - default: *364 + default: *369 headers: Link: *41 '304': *35 @@ -121468,8 +121943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *365 - - *178 + - *370 + - *183 - *17 - *97 - *98 @@ -121480,9 +121955,9 @@ paths: application/json: schema: type: array - items: *366 + items: *371 examples: - default: *367 + default: *372 headers: Link: *41 '304': *35 @@ -121504,17 +121979,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 + - *370 + - *805 + - *183 responses: '200': description: Response content: application/json: - schema: *366 + schema: *371 examples: - default: *367 + default: *372 headers: Link: *41 '304': *35 @@ -121537,8 +122012,8 @@ 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 + - *370 + - *183 - *97 - *98 - *17 @@ -121550,17 +122025,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 +122045,9 @@ paths: application/json: schema: type: array - items: *372 + items: *377 examples: - default: *373 + default: *378 headers: Link: *41 '304': *35 @@ -121591,8 +122068,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 + - *183 + - *370 requestBody: required: true description: Details of the item to add to the project. @@ -121629,10 +122106,10 @@ paths: description: Response content: application/json: - schema: *802 + schema: *806 examples: - issue: *371 - pull_request: *371 + issue: *376 + pull_request: *376 '304': *35 '403': *27 '401': *23 @@ -121652,29 +122129,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 + - *370 + - *183 + - *379 - 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: *377 examples: - default: *373 + default: *378 headers: Link: *41 '304': *35 @@ -121695,9 +122174,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 + - *370 + - *183 + - *379 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -121770,13 +122249,13 @@ paths: description: Response content: application/json: - schema: *372 + schema: *377 examples: - text_field: *373 - number_field: *373 - date_field: *373 - single_select_field: *373 - iteration_field: *373 + text_field: *378 + number_field: *378 + date_field: *378 + single_select_field: *378 + iteration_field: *378 '401': *23 '403': *27 '404': *6 @@ -121796,9 +122275,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 + - *370 + - *183 + - *379 responses: '204': description: Response @@ -121825,7 +122304,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 + - *183 - *17 - *19 responses: @@ -121835,7 +122314,7 @@ paths: application/json: schema: type: array - items: *208 + items: *214 examples: default: value: @@ -121900,7 +122379,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 + - *183 - *17 - *19 responses: @@ -121910,7 +122389,7 @@ paths: application/json: schema: type: array - items: *208 + items: *214 examples: default: value: @@ -121973,7 +122452,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *178 + - *183 - name: type description: Limit results to repositories of the specified type. in: query @@ -122016,9 +122495,9 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: - default: *352 + default: *357 headers: Link: *41 x-github: @@ -122042,15 +122521,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 + - *183 responses: '200': description: Response content: application/json: - schema: *398 + schema: *403 examples: - default: *399 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122072,15 +122551,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 + - *183 responses: '200': description: Response content: application/json: - schema: *403 + schema: *408 examples: - default: *404 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122089,7 +122568,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 +122579,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 + - *183 + - *174 + - *220 + - *175 + - *222 + - *223 responses: '200': description: Response when getting a billing premium request usage report @@ -122155,19 +122637,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 +122692,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122232,15 +122714,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 + - *183 responses: '200': description: Response content: application/json: - schema: *405 + schema: *410 examples: - default: *406 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122260,11 +122742,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 + - *183 + - *174 + - *224 + - *175 + - *225 responses: '200': description: Response when getting a billing usage report @@ -122335,7 +122817,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122353,7 +122835,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 + - *183 - *17 - *19 responses: @@ -122363,9 +122845,9 @@ paths: application/json: schema: type: array - items: *787 + items: *791 examples: - default: *788 + default: *792 headers: Link: *41 x-github: @@ -122385,7 +122867,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 + - *183 - *17 - *19 responses: @@ -122395,9 +122877,9 @@ paths: application/json: schema: type: array - items: *789 + items: *793 examples: - default: *803 + default: *807 headers: Link: *41 x-github: @@ -122421,8 +122903,8 @@ 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 + - *183 + - *808 - *99 - *17 - *19 @@ -122434,11 +122916,11 @@ paths: schema: anyOf: - type: array - items: *805 + items: *809 - type: array items: *67 examples: - default-response: *792 + default-response: *796 headers: Link: *41 x-github: @@ -122457,7 +122939,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 + - *183 - *17 - *19 responses: @@ -122467,9 +122949,9 @@ paths: application/json: schema: type: array - items: *246 + items: *253 examples: - default: *352 + default: *357 headers: Link: *41 x-github: @@ -122598,7 +123080,7 @@ webhooks: type: string enum: - disabled - enterprise: &806 + enterprise: &810 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -122667,7 +123149,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &807 + installation: &811 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -122688,7 +123170,7 @@ webhooks: required: - id - node_id - organization: &808 + organization: &812 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -122761,7 +123243,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &809 + repository: &813 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -122790,7 +123272,7 @@ webhooks: license: anyOf: - type: 'null' - - *186 + - *192 organization: anyOf: - type: 'null' @@ -123674,10 +124156,10 @@ webhooks: type: string enum: - enabled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -123753,11 +124235,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: &810 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + rule: &814 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 +124462,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: *810 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + rule: *814 sender: *4 required: - action @@ -124172,11 +124654,11 @@ webhooks: - everyone required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: *810 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + rule: *814 sender: *4 required: - action @@ -124247,7 +124729,7 @@ webhooks: required: true content: application/json: - schema: &813 + schema: &817 title: Exemption request cancellation event type: object properties: @@ -124255,11 +124737,11 @@ webhooks: type: string enum: - cancelled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: &811 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + exemption_request: &815 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -124497,7 +124979,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &812 + items: &816 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -124607,7 +125089,7 @@ webhooks: required: true content: application/json: - schema: &814 + schema: &818 title: Exemption request completed event type: object properties: @@ -124615,11 +125097,11 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + exemption_request: *815 sender: *4 required: - action @@ -124689,7 +125171,7 @@ webhooks: required: true content: application/json: - schema: &815 + schema: &819 title: Exemption request created event type: object properties: @@ -124697,11 +125179,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + exemption_request: *815 sender: *4 required: - action @@ -124771,7 +125253,7 @@ webhooks: required: true content: application/json: - schema: &816 + schema: &820 title: Exemption response dismissed event type: object properties: @@ -124779,12 +125261,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 - exemption_response: *812 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + exemption_request: *815 + exemption_response: *816 sender: *4 required: - action @@ -124856,7 +125338,7 @@ webhooks: required: true content: application/json: - schema: &817 + schema: &821 title: Exemption response submitted event type: object properties: @@ -124864,12 +125346,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 - exemption_response: *812 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + exemption_request: *815 + exemption_response: *816 sender: *4 required: - action @@ -124942,7 +125424,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *817 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125009,7 +125491,7 @@ webhooks: required: true content: application/json: - schema: *814 + schema: *818 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125076,7 +125558,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *819 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125143,7 +125625,7 @@ webhooks: required: true content: application/json: - schema: *816 + schema: *820 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125211,7 +125693,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *821 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125289,7 +125771,7 @@ webhooks: type: string enum: - completed - check_run: &819 + check_run: &823 title: CheckRun description: A check performed on the code of a given code change type: object @@ -125354,8 +125836,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *187 - repository: *246 + items: *193 + repository: *253 status: type: string enum: @@ -125399,7 +125881,7 @@ webhooks: - examples: - neutral - deployment: *818 + deployment: *822 details_url: type: string examples: @@ -125459,7 +125941,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *187 + items: *193 started_at: type: string format: date-time @@ -125497,10 +125979,10 @@ webhooks: - output - app - pull_requests - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + installation: *811 + enterprise: *810 + organization: *812 + repository: *813 sender: *4 required: - check_run @@ -125893,11 +126375,11 @@ webhooks: type: string enum: - created - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *823 + installation: *811 + enterprise: *810 + organization: *812 + repository: *813 sender: *4 required: - check_run @@ -126293,11 +126775,11 @@ webhooks: type: string enum: - requested_action - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *823 + installation: *811 + enterprise: *810 + organization: *812 + repository: *813 requested_action: description: The action requested by the user. type: object @@ -126702,11 +127184,11 @@ webhooks: type: string enum: - rerequested - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *823 + installation: *811 + enterprise: *810 + organization: *812 + repository: *813 sender: *4 required: - check_run @@ -127698,10 +128180,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -128386,10 +128868,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -129068,10 +129550,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -129240,7 +129722,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *516 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -129392,20 +129874,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &820 + commit_oid: &824 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: *810 + installation: *811 + organization: *812 + ref: &825 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: *813 sender: *4 required: - action @@ -129572,7 +130054,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *516 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -129813,12 +130295,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *824 + enterprise: *810 + installation: *811 + organization: *812 + ref: *825 + repository: *813 sender: *4 required: - action @@ -129916,7 +130398,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *511 + dismissed_comment: *516 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 +130583,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *824 + enterprise: *810 + installation: *811 + organization: *812 + ref: *825 + repository: *813 sender: *4 required: - action @@ -130275,7 +130757,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *516 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -130452,12 +130934,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *824 + enterprise: *810 + installation: *811 + organization: *812 + ref: *825 + repository: *813 sender: *4 required: - action @@ -130560,7 +131042,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *511 + dismissed_comment: *516 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 +131222,9 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 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 +131232,7 @@ webhooks: type: - string - 'null' - repository: *809 + repository: *813 sender: *4 required: - action @@ -130849,7 +131331,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *511 + dismissed_comment: *516 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 +131478,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *824 + enterprise: *810 + installation: *811 + organization: *812 + ref: *825 + repository: *813 sender: *4 required: - action @@ -131263,10 +131745,10 @@ webhooks: - updated_at - author_association - body - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -131347,18 +131829,18 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *808 - pusher_type: &822 + organization: *812 + pusher_type: &826 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &823 + ref: &827 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -131368,7 +131850,7 @@ webhooks: enum: - tag - branch - repository: *809 + repository: *813 sender: *4 required: - ref @@ -131450,10 +131932,10 @@ webhooks: type: string enum: - created - definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + definition: *130 + enterprise: *810 + installation: *811 + organization: *812 sender: *4 required: - action @@ -131538,9 +132020,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 sender: *4 required: - action @@ -131617,10 +132099,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + definition: *130 + enterprise: *810 + installation: *811 + organization: *812 sender: *4 required: - action @@ -131697,10 +132179,10 @@ webhooks: type: string enum: - updated - definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + definition: *130 + enterprise: *810 + installation: *811 + organization: *812 sender: *4 required: - action @@ -131777,19 +132259,19 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - repository: *809 - organization: *808 + enterprise: *810 + installation: *811 + repository: *813 + organization: *812 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *376 + items: *381 old_property_values: type: array description: The old custom property values for the repository. - items: *376 + items: *381 required: - action - repository @@ -131865,18 +132347,18 @@ webhooks: title: delete event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - pusher_type: *822 - ref: *823 + enterprise: *810 + installation: *811 + organization: *812 + pusher_type: *826 + ref: *827 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *809 + repository: *813 sender: *4 required: - ref @@ -131960,11 +132442,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *568 + installation: *811 + organization: *812 + enterprise: *810 + repository: *813 sender: *4 required: - action @@ -132048,11 +132530,11 @@ webhooks: type: string enum: - auto_reopened - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *568 + installation: *811 + organization: *812 + enterprise: *810 + repository: *813 sender: *4 required: - action @@ -132136,11 +132618,11 @@ webhooks: type: string enum: - created - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *568 + installation: *811 + organization: *812 + enterprise: *810 + repository: *813 sender: *4 required: - action @@ -132222,11 +132704,11 @@ webhooks: type: string enum: - dismissed - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *568 + installation: *811 + organization: *812 + enterprise: *810 + repository: *813 sender: *4 required: - action @@ -132308,11 +132790,11 @@ webhooks: type: string enum: - fixed - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *568 + installation: *811 + organization: *812 + enterprise: *810 + repository: *813 sender: *4 required: - action @@ -132395,11 +132877,11 @@ webhooks: type: string enum: - reintroduced - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *568 + installation: *811 + organization: *812 + enterprise: *810 + repository: *813 sender: *4 required: - action @@ -132481,11 +132963,11 @@ webhooks: type: string enum: - reopened - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *568 + installation: *811 + organization: *812 + enterprise: *810 + repository: *813 sender: *4 required: - action @@ -132562,9 +133044,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - key: &824 + enterprise: *810 + installation: *811 + key: &828 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 +133084,8 @@ webhooks: - verified - created_at - read_only - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -132680,11 +133162,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - key: *824 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + key: *828 + organization: *812 + repository: *813 sender: *4 required: - action @@ -133256,12 +133738,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 - workflow: &828 + workflow: &832 title: Workflow type: - object @@ -133999,13 +134481,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *569 + deployment: *574 pull_requests: type: array - items: *658 - repository: *809 - organization: *808 - installation: *807 + items: *663 + repository: *813 + organization: *812 + installation: *811 sender: *4 responses: '200': @@ -134076,7 +134558,7 @@ webhooks: type: string enum: - approved - approver: &825 + approver: &829 type: object properties: avatar_url: @@ -134119,11 +134601,11 @@ webhooks: type: string comment: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - reviewers: &826 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + reviewers: &830 type: array items: type: object @@ -134204,7 +134686,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &827 + workflow_job_run: &831 type: object properties: conclusion: @@ -134950,18 +135432,18 @@ webhooks: type: string enum: - rejected - approver: *825 + approver: *829 comment: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - reviewers: *826 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + reviewers: *830 sender: *4 since: type: string - workflow_job_run: *827 + workflow_job_run: *831 workflow_job_runs: type: array items: @@ -135678,13 +136160,13 @@ webhooks: type: string enum: - requested - enterprise: *806 + enterprise: *810 environment: type: string - installation: *807 - organization: *808 - repository: *809 - requestor: &833 + installation: *811 + organization: *812 + repository: *813 + requestor: &837 title: User type: - object @@ -137627,12 +138109,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 - workflow: *828 + workflow: *832 workflow_run: title: Deployment Workflow Run type: @@ -138323,7 +138805,7 @@ webhooks: type: string enum: - answered - answer: &831 + answer: &835 type: object properties: author_association: @@ -138483,11 +138965,11 @@ webhooks: - created_at - updated_at - body - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -138614,11 +139096,11 @@ webhooks: - from required: - category - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -138701,11 +139183,11 @@ webhooks: type: string enum: - closed - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -138787,7 +139269,7 @@ webhooks: type: string enum: - created - comment: &830 + comment: &834 type: object properties: author_association: @@ -138947,11 +139429,11 @@ webhooks: - updated_at - body - reactions - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139034,12 +139516,12 @@ webhooks: type: string enum: - deleted - comment: *830 - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + comment: *834 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139134,12 +139616,12 @@ webhooks: - from required: - body - comment: *830 - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + comment: *834 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139223,11 +139705,11 @@ webhooks: type: string enum: - created - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139309,11 +139791,11 @@ webhooks: type: string enum: - deleted - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139413,11 +139895,11 @@ webhooks: type: string required: - from - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139499,10 +139981,10 @@ webhooks: type: string enum: - labeled - discussion: *829 - enterprise: *806 - installation: *807 - label: &832 + discussion: *833 + enterprise: *810 + installation: *811 + label: &836 title: Label type: object properties: @@ -139535,8 +140017,8 @@ webhooks: - color - default - description - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139619,11 +140101,11 @@ webhooks: type: string enum: - locked - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139705,11 +140187,11 @@ webhooks: type: string enum: - pinned - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139791,11 +140273,11 @@ webhooks: type: string enum: - reopened - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139880,16 +140362,16 @@ webhooks: changes: type: object properties: - new_discussion: *829 - new_repository: *809 + new_discussion: *833 + new_repository: *813 required: - new_discussion - new_repository - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -139972,10 +140454,10 @@ webhooks: type: string enum: - unanswered - discussion: *829 - old_answer: *831 - organization: *808 - repository: *809 + discussion: *833 + old_answer: *835 + organization: *812 + repository: *813 sender: *4 required: - action @@ -140057,12 +140539,12 @@ webhooks: type: string enum: - unlabeled - discussion: *829 - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + label: *836 + organization: *812 + repository: *813 sender: *4 required: - action @@ -140145,11 +140627,11 @@ webhooks: type: string enum: - unlocked - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -140231,11 +140713,11 @@ webhooks: type: string enum: - unpinned - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *833 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -140304,7 +140786,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *819 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140367,7 +140849,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *821 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140433,7 +140915,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *817 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140499,7 +140981,7 @@ webhooks: required: true content: application/json: - schema: *814 + schema: *818 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140565,7 +141047,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *819 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140631,7 +141113,7 @@ webhooks: required: true content: application/json: - schema: *816 + schema: *820 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140697,7 +141179,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *821 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140764,7 +141246,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *806 + enterprise: *810 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -141442,9 +141924,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *807 - organization: *808 - repository: *809 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - forkee @@ -141590,9 +142072,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 pages: description: The pages that were updated. type: array @@ -141630,7 +142112,7 @@ webhooks: - action - sha - html_url - repository: *809 + repository: *813 sender: *4 required: - pages @@ -141706,10 +142188,10 @@ webhooks: type: string enum: - created - enterprise: *806 + enterprise: *810 installation: *20 - organization: *808 - repositories: &834 + organization: *812 + repositories: &838 description: An array of repository objects that the installation can access. type: array @@ -141735,8 +142217,8 @@ webhooks: - name - full_name - private - repository: *809 - requester: *833 + repository: *813 + requester: *837 sender: *4 required: - action @@ -141811,11 +142293,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 + enterprise: *810 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *812 + repositories: *838 + repository: *813 requester: type: - 'null' @@ -141892,11 +142374,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *806 + enterprise: *810 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *812 + repositories: *838 + repository: *813 requester: type: - 'null' @@ -141973,10 +142455,10 @@ webhooks: type: string enum: - added - enterprise: *806 + enterprise: *810 installation: *20 - organization: *808 - repositories_added: &835 + organization: *812 + repositories_added: &839 description: An array of repository objects, which were added to the installation. type: array @@ -142022,15 +142504,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *809 - repository_selection: &836 + repository: *813 + repository_selection: &840 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *833 + requester: *837 sender: *4 required: - action @@ -142109,10 +142591,10 @@ webhooks: type: string enum: - removed - enterprise: *806 + enterprise: *810 installation: *20 - organization: *808 - repositories_added: *835 + organization: *812 + repositories_added: *839 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -142139,9 +142621,9 @@ webhooks: - name - full_name - private - repository: *809 - repository_selection: *836 - requester: *833 + repository: *813 + repository_selection: *840 + requester: *837 sender: *4 required: - action @@ -142220,11 +142702,11 @@ webhooks: type: string enum: - suspend - enterprise: *806 + enterprise: *810 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *812 + repositories: *838 + repository: *813 requester: type: - 'null' @@ -142407,10 +142889,10 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 target_type: type: string @@ -142489,11 +142971,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *806 + enterprise: *810 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *812 + repositories: *838 + repository: *813 requester: type: - 'null' @@ -142741,8 +143223,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143559,8 +144041,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143577,7 +144059,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -143921,8 +144403,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -144002,7 +144484,7 @@ webhooks: type: string enum: - deleted - comment: &837 + comment: &841 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -144169,8 +144651,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144983,8 +145465,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145001,7 +145483,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -145347,8 +145829,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -145428,7 +145910,7 @@ webhooks: type: string enum: - edited - changes: &861 + changes: &865 description: The changes to the comment. type: object properties: @@ -145440,9 +145922,9 @@ webhooks: type: string required: - from - comment: *837 - enterprise: *806 - installation: *807 + comment: *841 + enterprise: *810 + installation: *811 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146258,8 +146740,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146276,7 +146758,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -146620,8 +147102,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -146705,15 +147187,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *189 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 + blocking_issue: *189 blocking_issue_repo: *67 - installation: *807 - organization: *808 - repository: *809 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -146801,15 +147283,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *189 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 + blocking_issue: *189 blocking_issue_repo: *67 - installation: *807 - organization: *808 - repository: *809 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -146896,15 +147378,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *189 blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 - installation: *807 - organization: *808 - repository: *809 + blocking_issue: *189 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -146992,15 +147474,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *189 blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 - installation: *807 - organization: *808 - repository: *809 + blocking_issue: *189 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -147085,10 +147567,10 @@ webhooks: type: string enum: - assigned - assignee: *833 - enterprise: *806 - installation: *807 - issue: &840 + assignee: *837 + enterprise: *810 + installation: *811 + issue: &844 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147900,11 +148382,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147921,7 +148403,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -148024,8 +148506,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -148105,8 +148587,8 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -148923,11 +149405,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148944,7 +149426,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -149190,8 +149672,8 @@ webhooks: required: - state - closed_at - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -149270,8 +149752,8 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150079,11 +150561,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150100,7 +150582,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -150202,8 +150684,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -150282,8 +150764,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151114,11 +151596,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151135,7 +151617,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -151216,7 +151698,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &838 + milestone: &842 title: Milestone description: A collection of related issues and pull requests. type: object @@ -151359,8 +151841,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -151459,8 +151941,8 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152272,11 +152754,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152290,7 +152772,7 @@ webhooks: timeline_url: type: string format: uri - type: *331 + type: *336 title: description: Title of the issue type: string @@ -152396,9 +152878,9 @@ webhooks: - active_lock_reason - body - reactions - label: *832 - organization: *808 - repository: *809 + label: *836 + organization: *812 + repository: *813 sender: *4 required: - action @@ -152478,8 +152960,8 @@ webhooks: type: string enum: - labeled - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153290,11 +153772,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153308,7 +153790,7 @@ webhooks: timeline_url: type: string format: uri - type: *331 + type: *336 title: description: Title of the issue type: string @@ -153414,9 +153896,9 @@ webhooks: - active_lock_reason - body - reactions - label: *832 - organization: *808 - repository: *809 + label: *836 + organization: *812 + repository: *813 sender: *4 required: - action @@ -153496,8 +153978,8 @@ webhooks: type: string enum: - locked - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154333,11 +154815,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154351,7 +154833,7 @@ webhooks: timeline_url: type: string format: uri - type: *331 + type: *336 title: description: Title of the issue type: string @@ -154434,8 +154916,8 @@ webhooks: format: uri user_view_type: type: string - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -154514,8 +154996,8 @@ webhooks: type: string enum: - milestoned - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155345,11 +155827,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155366,7 +155848,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -155446,9 +155928,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *838 - organization: *808 - repository: *809 + milestone: *842 + organization: *812 + repository: *813 sender: *4 required: - action @@ -156340,11 +156822,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156440,7 +156922,7 @@ webhooks: required: - login - id - type: *331 + type: *336 required: - id - number @@ -156921,8 +157403,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157734,11 +158216,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157755,7 +158237,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -157857,8 +158339,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -157938,9 +158420,9 @@ webhooks: type: string enum: - pinned - enterprise: *806 - installation: *807 - issue: &839 + enterprise: *810 + installation: *811 + issue: &843 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -158746,11 +159228,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158767,7 +159249,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -158869,8 +159351,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -158949,8 +159431,8 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159784,11 +160266,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159885,9 +160367,9 @@ webhooks: format: uri user_view_type: type: string - type: *331 - organization: *808 - repository: *809 + type: *336 + organization: *812 + repository: *813 sender: *4 required: - action @@ -160776,11 +161258,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160797,7 +161279,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -161379,11 +161861,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *806 - installation: *807 - issue: *839 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + issue: *843 + organization: *812 + repository: *813 sender: *4 required: - action @@ -161463,12 +161945,12 @@ webhooks: type: string enum: - typed - enterprise: *806 - installation: *807 - issue: *840 - type: *331 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + issue: *844 + type: *336 + organization: *812 + repository: *813 sender: *4 required: - action @@ -161549,7 +162031,7 @@ webhooks: type: string enum: - unassigned - assignee: &864 + assignee: &868 title: User type: - object @@ -161621,11 +162103,11 @@ webhooks: required: - login - id - enterprise: *806 - installation: *807 - issue: *840 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + issue: *844 + organization: *812 + repository: *813 sender: *4 required: - action @@ -161704,12 +162186,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *806 - installation: *807 - issue: *840 - label: *832 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + issue: *844 + label: *836 + organization: *812 + repository: *813 sender: *4 required: - action @@ -161789,8 +162271,8 @@ webhooks: type: string enum: - unlocked - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -162624,11 +163106,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *756 + issue_dependencies_summary: *757 issue_field_values: type: array - items: *753 + items: *758 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162645,7 +163127,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *336 updated_at: type: string format: date-time @@ -162725,8 +163207,8 @@ webhooks: format: uri user_view_type: type: string - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -162806,11 +163288,11 @@ webhooks: type: string enum: - unpinned - enterprise: *806 - installation: *807 - issue: *839 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + issue: *843 + organization: *812 + repository: *813 sender: *4 required: - action @@ -162889,12 +163371,12 @@ webhooks: type: string enum: - untyped - enterprise: *806 - installation: *807 - issue: *840 - type: *331 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + issue: *844 + type: *336 + organization: *812 + repository: *813 sender: *4 required: - action @@ -162974,11 +163456,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + label: *836 + organization: *812 + repository: *813 sender: *4 required: - action @@ -163056,11 +163538,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + label: *836 + organization: *812 + repository: *813 sender: *4 required: - action @@ -163170,11 +163652,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + label: *836 + organization: *812 + repository: *813 sender: *4 required: - action @@ -163256,9 +163738,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: &841 + enterprise: *810 + installation: *811 + marketplace_purchase: &845 title: Marketplace Purchase type: object required: @@ -163346,8 +163828,8 @@ webhooks: type: integer unit_count: type: integer - organization: *808 - previous_marketplace_purchase: &842 + organization: *812 + previous_marketplace_purchase: &846 title: Marketplace Purchase type: object properties: @@ -163431,7 +163913,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *813 sender: *4 required: - action @@ -163511,10 +163993,10 @@ webhooks: - changed effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 + enterprise: *810 + installation: *811 + marketplace_purchase: *845 + organization: *812 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163602,7 +164084,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *813 sender: *4 required: - action @@ -163684,10 +164166,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 + enterprise: *810 + installation: *811 + marketplace_purchase: *845 + organization: *812 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163773,7 +164255,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *813 sender: *4 required: - action @@ -163854,8 +164336,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 marketplace_purchase: title: Marketplace Purchase type: object @@ -163941,9 +164423,9 @@ webhooks: type: integer unit_count: type: integer - organization: *808 - previous_marketplace_purchase: *842 - repository: *809 + organization: *812 + previous_marketplace_purchase: *846 + repository: *813 sender: *4 required: - action @@ -164023,12 +164505,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 - previous_marketplace_purchase: *842 - repository: *809 + enterprise: *810 + installation: *811 + marketplace_purchase: *845 + organization: *812 + previous_marketplace_purchase: *846 + repository: *813 sender: *4 required: - action @@ -164130,11 +164612,11 @@ webhooks: type: string required: - to - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + member: *837 + organization: *812 + repository: *813 sender: *4 required: - action @@ -164236,11 +164718,11 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + member: *837 + organization: *812 + repository: *813 sender: *4 required: - action @@ -164319,11 +164801,11 @@ webhooks: type: string enum: - removed - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + member: *837 + organization: *812 + repository: *813 sender: *4 required: - action @@ -164401,11 +164883,11 @@ webhooks: type: string enum: - added - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + member: *837 + organization: *812 + repository: *813 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164483,7 +164965,7 @@ webhooks: required: - login - id - team: &843 + team: &847 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -164713,11 +165195,11 @@ webhooks: type: string enum: - removed - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + member: *837 + organization: *812 + repository: *813 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164796,7 +165278,7 @@ webhooks: required: - login - id - team: *843 + team: *847 required: - action - scope @@ -164878,8 +165360,8 @@ webhooks: type: string enum: - checks_requested - installation: *807 - merge_group: &844 + installation: *811 + merge_group: &848 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -164898,15 +165380,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *503 + head_commit: *508 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -164992,10 +165474,10 @@ webhooks: - merged - invalidated - dequeued - installation: *807 - merge_group: *844 - organization: *808 - repository: *809 + installation: *811 + merge_group: *848 + organization: *812 + repository: *813 sender: *4 required: - action @@ -165068,7 +165550,7 @@ webhooks: type: string enum: - deleted - enterprise: *806 + enterprise: *810 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -165177,12 +165659,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *807 - organization: *808 + installation: *811 + organization: *812 repository: anyOf: - type: 'null' - - *809 + - *813 sender: *4 required: - action @@ -165262,11 +165744,11 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + milestone: *842 + organization: *812 + repository: *813 sender: *4 required: - action @@ -165345,9 +165827,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - milestone: &845 + enterprise: *810 + installation: *811 + milestone: &849 title: Milestone description: A collection of related issues and pull requests. type: object @@ -165489,8 +165971,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -165569,11 +166051,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + milestone: *842 + organization: *812 + repository: *813 sender: *4 required: - action @@ -165683,11 +166165,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + milestone: *842 + organization: *812 + repository: *813 sender: *4 required: - action @@ -165767,11 +166249,11 @@ webhooks: type: string enum: - opened - enterprise: *806 - installation: *807 - milestone: *845 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + milestone: *849 + organization: *812 + repository: *813 sender: *4 required: - action @@ -165850,11 +166332,11 @@ webhooks: type: string enum: - blocked - blocked_user: *833 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + blocked_user: *837 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -165933,11 +166415,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *833 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + blocked_user: *837 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -166016,9 +166498,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - membership: &846 + enterprise: *810 + installation: *811 + membership: &850 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -166128,8 +166610,8 @@ webhooks: - role - organization_url - user - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 required: - action @@ -166207,11 +166689,11 @@ webhooks: type: string enum: - member_added - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + membership: *850 + organization: *812 + repository: *813 sender: *4 required: - action @@ -166290,8 +166772,8 @@ webhooks: type: string enum: - member_invited - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -166413,10 +166895,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 - user: *833 + user: *837 required: - action - invitation @@ -166494,11 +166976,11 @@ webhooks: type: string enum: - member_removed - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + membership: *850 + organization: *812 + repository: *813 sender: *4 required: - action @@ -166585,11 +167067,11 @@ webhooks: properties: from: type: string - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + membership: *850 + organization: *812 + repository: *813 sender: *4 required: - action @@ -166665,9 +167147,9 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 package: description: Information about the package. type: object @@ -167190,7 +167672,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &847 + items: &851 title: Ruby Gems metadata type: object properties: @@ -167287,7 +167769,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *813 sender: *4 required: - action @@ -167363,9 +167845,9 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 package: description: Information about the package. type: object @@ -167727,7 +168209,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *847 + items: *851 source_url: type: string format: uri @@ -167798,7 +168280,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *813 sender: *4 required: - action @@ -167979,12 +168461,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *806 + enterprise: *810 id: type: integer - installation: *807 - organization: *808 - repository: *809 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - id @@ -168061,7 +168543,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &848 + personal_access_token_request: &852 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -168211,10 +168693,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *806 - organization: *808 + enterprise: *810 + organization: *812 sender: *4 - installation: *807 + installation: *811 required: - action - personal_access_token_request @@ -168291,11 +168773,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *848 - enterprise: *806 - organization: *808 + personal_access_token_request: *852 + enterprise: *810 + organization: *812 sender: *4 - installation: *807 + installation: *811 required: - action - personal_access_token_request @@ -168371,11 +168853,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *848 - enterprise: *806 - organization: *808 + personal_access_token_request: *852 + enterprise: *810 + organization: *812 sender: *4 - installation: *807 + installation: *811 required: - action - personal_access_token_request @@ -168450,11 +168932,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *848 - organization: *808 - enterprise: *806 + personal_access_token_request: *852 + organization: *812 + enterprise: *810 sender: *4 - installation: *807 + installation: *811 required: - action - personal_access_token_request @@ -168559,7 +169041,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *849 + last_response: *853 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -168591,8 +169073,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 zen: description: Random string of GitHub zen. @@ -168837,10 +169319,10 @@ webhooks: - from required: - note - enterprise: *806 - installation: *807 - organization: *808 - project_card: &850 + enterprise: *810 + installation: *811 + organization: *812 + project_card: &854 title: Project Card type: object properties: @@ -168963,7 +169445,7 @@ webhooks: - creator - created_at - updated_at - repository: *809 + repository: *813 sender: *4 required: - action @@ -169044,11 +169526,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project_card: *850 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + project_card: *854 + repository: *813 sender: *4 required: - action @@ -169128,9 +169610,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 project_card: title: Project Card type: object @@ -169260,7 +169742,7 @@ webhooks: repository: anyOf: - type: 'null' - - *809 + - *813 sender: *4 required: - action @@ -169354,11 +169836,11 @@ webhooks: - from required: - note - enterprise: *806 - installation: *807 - organization: *808 - project_card: *850 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + project_card: *854 + repository: *813 sender: *4 required: - action @@ -169452,9 +169934,9 @@ webhooks: - from required: - column_id - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 project_card: allOf: - title: Project Card @@ -169651,7 +170133,7 @@ webhooks: type: string required: - after_id - repository: *809 + repository: *813 sender: *4 required: - action @@ -169731,10 +170213,10 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - organization: *808 - project: &852 + enterprise: *810 + installation: *811 + organization: *812 + project: &856 title: Project type: object properties: @@ -169861,7 +170343,7 @@ webhooks: - creator - created_at - updated_at - repository: *809 + repository: *813 sender: *4 required: - action @@ -169941,10 +170423,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project_column: &851 + enterprise: *810 + installation: *811 + organization: *812 + project_column: &855 title: Project Column type: object properties: @@ -169984,7 +170466,7 @@ webhooks: - name - created_at - updated_at - repository: *809 + repository: *813 sender: *4 required: - action @@ -170063,14 +170545,14 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 + enterprise: *810 + installation: *811 + organization: *812 + project_column: *855 repository: anyOf: - type: 'null' - - *809 + - *813 sender: *4 required: - action @@ -170159,11 +170641,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + project_column: *855 + repository: *813 sender: *4 required: - action @@ -170243,11 +170725,11 @@ webhooks: type: string enum: - moved - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + project_column: *855 + repository: *813 sender: *4 required: - action @@ -170327,11 +170809,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + project: *856 + repository: *813 sender: *4 required: - action @@ -170411,14 +170893,14 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - project: *852 + enterprise: *810 + installation: *811 + organization: *812 + project: *856 repository: anyOf: - type: 'null' - - *809 + - *813 sender: *4 required: - action @@ -170519,11 +171001,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + project: *856 + repository: *813 sender: *4 required: - action @@ -170602,11 +171084,11 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + project: *856 + repository: *813 sender: *4 required: - action @@ -170687,9 +171169,9 @@ webhooks: type: string enum: - closed - installation: *807 - organization: *808 - projects_v2: *363 + installation: *811 + organization: *812 + projects_v2: *368 sender: *4 required: - action @@ -170770,9 +171252,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2: *363 + installation: *811 + organization: *812 + projects_v2: *368 sender: *4 required: - action @@ -170853,9 +171335,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2: *363 + installation: *811 + organization: *812 + projects_v2: *368 sender: *4 required: - action @@ -170976,9 +171458,9 @@ webhooks: type: string to: type: string - installation: *807 - organization: *808 - projects_v2: *363 + installation: *811 + organization: *812 + projects_v2: *368 sender: *4 required: - action @@ -171061,7 +171543,7 @@ webhooks: type: string enum: - archived - changes: &856 + changes: &860 type: object properties: archived_at: @@ -171077,9 +171559,9 @@ webhooks: - string - 'null' format: date-time - installation: *807 - organization: *808 - projects_v2_item: &853 + installation: *811 + organization: *812 + projects_v2_item: &857 title: Projects v2 Item description: An item belonging to a project type: object @@ -171097,7 +171579,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *370 + content_type: *375 creator: *4 created_at: type: string @@ -171219,9 +171701,9 @@ webhooks: - 'null' to: type: string - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *811 + organization: *812 + projects_v2_item: *857 sender: *4 required: - action @@ -171303,9 +171785,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *811 + organization: *812 + projects_v2_item: *857 sender: *4 required: - action @@ -171386,9 +171868,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *811 + organization: *812 + projects_v2_item: *857 sender: *4 required: - action @@ -171493,7 +171975,7 @@ webhooks: oneOf: - type: string - type: integer - - &854 + - &858 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -171517,7 +171999,7 @@ webhooks: required: - id - name - - &855 + - &859 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -171557,8 +172039,8 @@ webhooks: oneOf: - type: string - type: integer - - *854 - - *855 + - *858 + - *859 type: - 'null' - string @@ -171581,9 +172063,9 @@ webhooks: - 'null' required: - body - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *811 + organization: *812 + projects_v2_item: *857 sender: *4 required: - action @@ -171680,9 +172162,9 @@ webhooks: type: - string - 'null' - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *811 + organization: *812 + projects_v2_item: *857 sender: *4 required: - action @@ -171765,10 +172247,10 @@ webhooks: type: string enum: - restored - changes: *856 - installation: *807 - organization: *808 - projects_v2_item: *853 + changes: *860 + installation: *811 + organization: *812 + projects_v2_item: *857 sender: *4 required: - action @@ -171850,9 +172332,9 @@ webhooks: type: string enum: - reopened - installation: *807 - organization: *808 - projects_v2: *363 + installation: *811 + organization: *812 + projects_v2: *368 sender: *4 required: - action @@ -171933,9 +172415,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *811 + organization: *812 + projects_v2_status_update: *861 sender: *4 required: - action @@ -172016,9 +172498,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *811 + organization: *812 + projects_v2_status_update: *861 sender: *4 required: - action @@ -172164,9 +172646,9 @@ webhooks: - string - 'null' format: date - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *811 + organization: *812 + projects_v2_status_update: *861 sender: *4 required: - action @@ -172237,10 +172719,10 @@ webhooks: title: public event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - repository @@ -172317,13 +172799,13 @@ webhooks: type: string enum: - assigned - assignee: *833 - enterprise: *806 - installation: *807 - number: &858 + assignee: *837 + enterprise: *810 + installation: *811 + number: &862 description: The pull request number. type: integer - organization: *808 + organization: *812 pull_request: title: Pull Request type: object @@ -174672,7 +175154,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 sender: *4 required: - action @@ -174754,11 +175236,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 number: type: integer - organization: *808 + organization: *812 pull_request: title: Pull Request type: object @@ -177100,7 +177582,7 @@ webhooks: - draft reason: type: string - repository: *809 + repository: *813 sender: *4 required: - action @@ -177182,11 +177664,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 number: type: integer - organization: *808 + organization: *812 pull_request: title: Pull Request type: object @@ -179528,7 +180010,7 @@ webhooks: - draft reason: type: string - repository: *809 + repository: *813 sender: *4 required: - action @@ -179610,13 +180092,13 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: &859 + enterprise: *810 + installation: *811 + number: *862 + organization: *812 + pull_request: &863 allOf: - - *658 + - *663 - type: object properties: allow_auto_merge: @@ -179678,7 +180160,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *809 + repository: *813 sender: *4 required: - action @@ -179759,12 +180241,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *810 + installation: *811 + number: *862 + organization: *812 + pull_request: *863 + repository: *813 sender: *4 required: - action @@ -179844,11 +180326,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *806 - milestone: *368 - number: *858 - organization: *808 - pull_request: &860 + enterprise: *810 + milestone: *373 + number: *862 + organization: *812 + pull_request: &864 title: Pull Request type: object properties: @@ -182175,7 +182657,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 sender: *4 required: - action @@ -182254,11 +182736,11 @@ webhooks: type: string enum: - dequeued - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 number: type: integer - organization: *808 + organization: *812 pull_request: title: Pull Request type: object @@ -184604,7 +185086,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *809 + repository: *813 sender: *4 required: - action @@ -184728,12 +185210,12 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *810 + installation: *811 + number: *862 + organization: *812 + pull_request: *863 + repository: *813 sender: *4 required: - action @@ -184813,11 +185295,11 @@ webhooks: type: string enum: - enqueued - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 number: type: integer - organization: *808 + organization: *812 pull_request: title: Pull Request type: object @@ -187148,7 +187630,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 sender: *4 required: - action @@ -187228,11 +187710,11 @@ webhooks: type: string enum: - labeled - enterprise: *806 - installation: *807 - label: *832 - number: *858 - organization: *808 + enterprise: *810 + installation: *811 + label: *836 + number: *862 + organization: *812 pull_request: title: Pull Request type: object @@ -189580,7 +190062,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 sender: *4 required: - action @@ -189661,10 +190143,10 @@ webhooks: type: string enum: - locked - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *810 + installation: *811 + number: *862 + organization: *812 pull_request: title: Pull Request type: object @@ -192010,7 +192492,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 sender: *4 required: - action @@ -192090,12 +192572,12 @@ webhooks: type: string enum: - milestoned - enterprise: *806 - milestone: *368 - number: *858 - organization: *808 - pull_request: *860 - repository: *809 + enterprise: *810 + milestone: *373 + number: *862 + organization: *812 + pull_request: *864 + repository: *813 sender: *4 required: - action @@ -192174,12 +192656,12 @@ webhooks: type: string enum: - opened - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *810 + installation: *811 + number: *862 + organization: *812 + pull_request: *863 + repository: *813 sender: *4 required: - action @@ -192260,12 +192742,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *810 + installation: *811 + number: *862 + organization: *812 + pull_request: *863 + repository: *813 sender: *4 required: - action @@ -192345,12 +192827,12 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *810 + installation: *811 + number: *862 + organization: *812 + pull_request: *863 + repository: *813 sender: *4 required: - action @@ -192725,9 +193207,9 @@ webhooks: - start_side - side - reactions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 pull_request: type: object properties: @@ -194957,7 +195439,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *813 sender: *4 required: - action @@ -195037,7 +195519,7 @@ webhooks: type: string enum: - deleted - comment: &862 + comment: &866 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 +195812,9 @@ webhooks: - start_side - side - reactions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 pull_request: type: object properties: @@ -197550,7 +198032,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *813 sender: *4 required: - action @@ -197630,11 +198112,11 @@ webhooks: type: string enum: - edited - changes: *861 - comment: *862 - enterprise: *806 - installation: *807 - organization: *808 + changes: *865 + comment: *866 + enterprise: *810 + installation: *811 + organization: *812 pull_request: type: object properties: @@ -199855,7 +200337,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *813 sender: *4 required: - action @@ -199936,9 +200418,9 @@ webhooks: type: string enum: - dismissed - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 pull_request: title: Simple Pull Request type: object @@ -202171,7 +202653,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *813 review: description: The review that was affected. type: object @@ -202422,9 +202904,9 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 pull_request: title: Simple Pull Request type: object @@ -204538,8 +205020,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 - review: &863 + repository: *813 + review: &867 description: The review that was affected. type: object properties: @@ -204777,12 +205259,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 number: description: The pull request number. type: integer - organization: *808 + organization: *812 pull_request: title: Pull Request type: object @@ -207129,7 +207611,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 requested_reviewer: title: User type: @@ -207215,12 +207697,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 number: description: The pull request number. type: integer - organization: *808 + organization: *812 pull_request: title: Pull Request type: object @@ -209574,7 +210056,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 requested_team: title: Team description: Groups of organization members that gives permissions @@ -209769,12 +210251,12 @@ webhooks: type: string enum: - review_requested - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 number: description: The pull request number. type: integer - organization: *808 + organization: *812 pull_request: title: Pull Request type: object @@ -212123,7 +212605,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 requested_reviewer: title: User type: @@ -212210,12 +212692,12 @@ webhooks: type: string enum: - review_requested - enterprise: *806 - installation: *807 + enterprise: *810 + installation: *811 number: description: The pull request number. type: integer - organization: *808 + organization: *812 pull_request: title: Pull Request type: object @@ -214555,7 +215037,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 requested_team: title: Team description: Groups of organization members that gives permissions @@ -214739,9 +215221,9 @@ webhooks: type: string enum: - submitted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 pull_request: title: Simple Pull Request type: object @@ -216977,8 +217459,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 - review: *863 + repository: *813 + review: *867 sender: *4 required: - action @@ -217058,9 +217540,9 @@ webhooks: type: string enum: - resolved - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 pull_request: title: Simple Pull Request type: object @@ -219191,7 +219673,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *813 sender: *4 thread: type: object @@ -219588,9 +220070,9 @@ webhooks: type: string enum: - unresolved - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 pull_request: title: Simple Pull Request type: object @@ -221704,7 +222186,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *813 sender: *4 thread: type: object @@ -222103,10 +222585,10 @@ webhooks: type: string before: type: string - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *810 + installation: *811 + number: *862 + organization: *812 pull_request: title: Pull Request type: object @@ -224441,7 +224923,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 sender: *4 required: - action @@ -224523,11 +225005,11 @@ webhooks: type: string enum: - unassigned - assignee: *864 - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + assignee: *868 + enterprise: *810 + installation: *811 + number: *862 + organization: *812 pull_request: title: Pull Request type: object @@ -226877,7 +227359,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 sender: *4 required: - action @@ -226956,11 +227438,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *806 - installation: *807 - label: *832 - number: *858 - organization: *808 + enterprise: *810 + installation: *811 + label: *836 + number: *862 + organization: *812 pull_request: title: Pull Request type: object @@ -229299,7 +229781,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 sender: *4 required: - action @@ -229380,10 +229862,10 @@ webhooks: type: string enum: - unlocked - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *810 + installation: *811 + number: *862 + organization: *812 pull_request: title: Pull Request type: object @@ -231712,7 +232194,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *813 sender: *4 required: - action @@ -231915,7 +232397,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *806 + enterprise: *810 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -232010,8 +232492,8 @@ webhooks: - url - author - committer - installation: *807 - organization: *808 + installation: *811 + organization: *812 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -232599,9 +233081,9 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 registry_package: type: object properties: @@ -233078,7 +233560,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *847 + items: *851 summary: type: string tag_name: @@ -233134,7 +233616,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *813 sender: *4 required: - action @@ -233212,9 +233694,9 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 registry_package: type: object properties: @@ -233526,7 +234008,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *847 + items: *851 summary: type: string tag_name: @@ -233576,7 +234058,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *813 sender: *4 required: - action @@ -233653,10 +234135,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - release: &865 + enterprise: *810 + installation: *811 + organization: *812 + release: &869 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -233987,7 +234469,7 @@ webhooks: - updated_at - zipball_url - body - repository: *809 + repository: *813 sender: *4 required: - action @@ -234064,11 +234546,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + release: *869 + repository: *813 sender: *4 required: - action @@ -234185,11 +234667,11 @@ webhooks: type: boolean required: - to - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + release: *869 + repository: *813 sender: *4 required: - action @@ -234267,9 +234749,9 @@ webhooks: type: string enum: - prereleased - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -234605,7 +235087,7 @@ webhooks: - string - 'null' format: uri - repository: *809 + repository: *813 sender: *4 required: - action @@ -234681,10 +235163,10 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - release: &866 + enterprise: *810 + installation: *811 + organization: *812 + release: &870 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -235017,7 +235499,7 @@ webhooks: - string - 'null' format: uri - repository: *809 + repository: *813 sender: *4 required: - action @@ -235093,11 +235575,11 @@ webhooks: type: string enum: - released - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + release: *869 + repository: *813 sender: *4 required: - action @@ -235173,11 +235655,11 @@ webhooks: type: string enum: - unpublished - enterprise: *806 - installation: *807 - organization: *808 - release: *866 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + release: *870 + repository: *813 sender: *4 required: - action @@ -235253,11 +235735,11 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_advisory: *711 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + repository_advisory: *716 sender: *4 required: - action @@ -235333,11 +235815,11 @@ webhooks: type: string enum: - reported - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_advisory: *711 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + repository_advisory: *716 sender: *4 required: - action @@ -235413,10 +235895,10 @@ webhooks: type: string enum: - archived - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -235493,10 +235975,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -235574,10 +236056,10 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -235662,10 +236144,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: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -235780,10 +236262,10 @@ webhooks: - 'null' items: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -235855,10 +236337,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 status: type: string @@ -235939,10 +236421,10 @@ webhooks: type: string enum: - privatized - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -236019,10 +236501,10 @@ webhooks: type: string enum: - publicized - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -236116,10 +236598,10 @@ webhooks: - name required: - repository - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -236199,11 +236681,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_ruleset: *158 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + repository_ruleset: *163 sender: *4 required: - action @@ -236281,11 +236763,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_ruleset: *158 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + repository_ruleset: *163 sender: *4 required: - action @@ -236363,11 +236845,11 @@ webhooks: type: string enum: - edited - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_ruleset: *158 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + repository_ruleset: *163 changes: type: object properties: @@ -236386,16 +236868,16 @@ webhooks: properties: added: type: array - items: *132 + items: *137 deleted: type: array - items: *132 + items: *137 updated: type: array items: type: object properties: - condition: *132 + condition: *137 changes: type: object properties: @@ -236428,16 +236910,16 @@ webhooks: properties: added: type: array - items: *679 + items: *684 deleted: type: array - items: *679 + items: *684 updated: type: array items: type: object properties: - rule: *679 + rule: *684 changes: type: object properties: @@ -236674,10 +237156,10 @@ webhooks: - from required: - owner - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -236755,10 +237237,10 @@ webhooks: type: string enum: - unarchived - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -236836,7 +237318,7 @@ webhooks: type: string enum: - create - alert: &867 + alert: &871 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -236960,10 +237442,10 @@ webhooks: type: string enum: - open - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -237173,10 +237655,10 @@ webhooks: type: string enum: - dismissed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -237254,11 +237736,11 @@ webhooks: type: string enum: - reopen - alert: *867 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *871 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -237460,10 +237942,10 @@ webhooks: enum: - fixed - open - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -237541,17 +238023,17 @@ webhooks: type: string enum: - created - alert: &868 + alert: &872 type: object properties: - number: *109 - created_at: *116 + number: *114 + created_at: *121 updated_at: anyOf: - type: 'null' - - *117 - url: *114 - html_url: *115 + - *122 + url: *119 + html_url: *120 locations_url: type: string format: uri @@ -237655,10 +238137,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -237739,11 +238221,11 @@ webhooks: type: string enum: - created - alert: *868 - installation: *807 - location: *869 - organization: *808 - repository: *809 + alert: *872 + installation: *811 + location: *873 + organization: *812 + repository: *813 sender: *4 required: - location @@ -237981,11 +238463,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *872 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -238063,11 +238545,11 @@ webhooks: type: string enum: - reopened - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *872 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -238145,11 +238627,11 @@ webhooks: type: string enum: - resolved - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *872 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -238227,11 +238709,11 @@ webhooks: type: string enum: - validated - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *872 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -238361,10 +238843,10 @@ webhooks: - organization - enterprise - - repository: *809 - enterprise: *806 - installation: *807 - organization: *808 + repository: *813 + enterprise: *810 + installation: *811 + organization: *812 sender: *4 required: - action @@ -238442,11 +238924,11 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - security_advisory: &870 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + security_advisory: &874 description: The details of the security advisory, including summary, description, and severity. type: object @@ -238463,7 +238945,7 @@ webhooks: required: - vector_string - score - cvss_severities: *111 + cvss_severities: *116 cwes: type: array items: @@ -238632,11 +239114,11 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - security_advisory: *870 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 + security_advisory: *874 sender: *4 required: - action @@ -238709,10 +239191,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -238730,7 +239212,7 @@ webhooks: required: - vector_string - score - cvss_severities: *111 + cvss_severities: *116 cwes: type: array items: @@ -238898,11 +239380,11 @@ webhooks: from: type: object properties: - security_and_analysis: *377 - enterprise: *806 - installation: *807 - organization: *808 - repository: *443 + security_and_analysis: *382 + enterprise: *810 + installation: *811 + organization: *812 + repository: *448 sender: *4 required: - changes @@ -238980,12 +239462,12 @@ webhooks: type: string enum: - cancelled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 - sponsorship: &871 + sponsorship: &875 type: object properties: created_at: @@ -239290,12 +239772,12 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 - sponsorship: *871 + sponsorship: *875 required: - action - sponsorship @@ -239383,12 +239865,12 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 - sponsorship: *871 + sponsorship: *875 required: - action - changes @@ -239465,17 +239947,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &872 + effective_date: &876 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: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 - sponsorship: *871 + sponsorship: *875 required: - action - sponsorship @@ -239549,7 +240031,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &873 + changes: &877 type: object properties: tier: @@ -239593,13 +240075,13 @@ webhooks: - from required: - tier - effective_date: *872 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + effective_date: *876 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 - sponsorship: *871 + sponsorship: *875 required: - action - changes @@ -239676,13 +240158,13 @@ webhooks: type: string enum: - tier_changed - changes: *873 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + changes: *877 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 - sponsorship: *871 + sponsorship: *875 required: - action - changes @@ -239756,10 +240238,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -239843,10 +240325,10 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -240280,15 +240762,15 @@ webhooks: type: - string - 'null' - enterprise: *806 + enterprise: *810 id: description: The unique identifier of the status. type: integer - installation: *807 + installation: *811 name: type: string - organization: *808 - repository: *809 + organization: *812 + repository: *813 sender: *4 sha: description: The Commit SHA. @@ -240398,15 +240880,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 + parent_issue: *189 parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 - installation: *807 - organization: *808 - repository: *809 + sub_issue: *189 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -240490,15 +240972,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 + parent_issue: *189 parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 - installation: *807 - organization: *808 - repository: *809 + sub_issue: *189 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -240582,15 +241064,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 + sub_issue: *189 sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 - installation: *807 - organization: *808 - repository: *809 + parent_issue: *189 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -240674,15 +241156,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 + sub_issue: *189 sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 - installation: *807 - organization: *808 - repository: *809 + parent_issue: *189 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -240759,12 +241241,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 - team: &874 + team: &878 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -240994,9 +241476,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 repository: title: Repository description: A git repository @@ -241466,7 +241948,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *878 required: - action - team @@ -241542,9 +242024,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 repository: title: Repository description: A git repository @@ -242014,7 +242496,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *878 required: - action - team @@ -242091,9 +242573,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 repository: title: Repository description: A git repository @@ -242563,7 +243045,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *878 required: - action - team @@ -242707,9 +243189,9 @@ webhooks: - from required: - permissions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 repository: title: Repository description: A git repository @@ -243179,7 +243661,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *878 required: - action - changes @@ -243257,9 +243739,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *810 + installation: *811 + organization: *812 repository: title: Repository description: A git repository @@ -243729,7 +244211,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *878 required: - action - team @@ -243805,10 +244287,10 @@ webhooks: type: string enum: - started - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 required: - action @@ -243881,17 +244363,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *806 + enterprise: *810 inputs: type: - object - 'null' additionalProperties: true - installation: *807 - organization: *808 + installation: *811 + organization: *812 ref: type: string - repository: *809 + repository: *813 sender: *4 workflow: type: string @@ -243973,10 +244455,10 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 workflow_job: allOf: @@ -244232,7 +244714,7 @@ webhooks: type: string required: - conclusion - deployment: *569 + deployment: *574 required: - action - repository @@ -244311,10 +244793,10 @@ webhooks: type: string enum: - in_progress - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *810 + installation: *811 + organization: *812 + repository: *813 sender: *4 workflow_job: allOf: @@ -244596,7 +245078,7 @@ webhooks: required: - status - steps - deployment: *569 + deployment: *574 required: - action - repository @@ -244675,10 +245157,10 @@ w{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}