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..bc8dff44e 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 @@ -3212,12 +3212,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -3263,98 +3257,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", @@ -7306,7 +7208,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 +12718,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/orgs#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": "orgs" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -16474,12 +16447,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -23109,7 +23076,7 @@ }, { "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`", "in": "query", "required": false, "schema": { @@ -23117,10 +23084,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] + } } }, { @@ -44473,16 +44437,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 +44452,6 @@ }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" } ], "responses": { @@ -61643,7 +61591,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" ], @@ -75281,185 +75229,182 @@ "schema": { "type": "string" } - }, - { - "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", - "in": "query", - "required": false, - "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/projects-v2-item-with-content" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/projects-v2-item-with-content" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects", - "subcategory": "items" - } - }, - "post": { - "summary": "Add item to user owned project", - "description": "Add an issue or pull request item to the specified user owned project.", - "tags": [ - "projects" - ], - "operationId": "projects/add-item-for-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/items#add-item-to-user-owned-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - }, - { - "$ref": "#/components/parameters/project-number" - } - ], - "requestBody": { - "required": true, - "description": "Details of the item to add to the project.", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The numeric ID of the issue or pull request to add to the project." - } - }, - "required": [ - "type", - "id" - ] - }, - "examples": { - "issue": { - "value": { - "type": "Issue", - "id": 3 - } - }, - "pull_request": { - "value": { - "type": "PullRequest", - "id": 3 - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/projects-v2-item-simple" - }, - "examples": { - "issue": { - "$ref": "#/components/examples/projects-v2-item-simple" - }, - "pull_request": { - "$ref": "#/components/examples/projects-v2-item-simple" - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects", - "subcategory": "items" - } - } - }, - "/users/{username}/projectsV2/{project_number}/items/{item_id}": { - "get": { - "summary": "Get an item for a user owned project", - "description": "Get a specific item from a user-owned project.", - "tags": [ - "projects" - ], - "operationId": "projects/get-user-item", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-number" - }, - { - "$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.\n\nExample: `fields[]=123&fields[]=456&fields[]=789`", + "in": "query", + "required": false, + "schema": { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/projects-v2-item-with-content" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/projects-v2-item-with-content" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + }, + "post": { + "summary": "Add item to user owned project", + "description": "Add an issue or pull request item to the specified user owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/add-item-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#add-item-to-user-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "description": "Details of the item to add to the project.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The numeric ID of the issue or pull request to add to the project." + } + }, + "required": [ + "type", + "id" + ] + }, + "examples": { + "issue": { + "value": { + "type": "Issue", + "id": 3 + } + }, + "pull_request": { + "value": { + "type": "PullRequest", + "id": 3 + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-item-simple" + }, + "examples": { + "issue": { + "$ref": "#/components/examples/projects-v2-item-simple" + }, + "pull_request": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + } + }, + "/users/{username}/projectsV2/{project_number}/items/{item_id}": { + "get": { + "summary": "Get an item for a user owned project", + "description": "Get a specific item from a user-owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/get-user-item", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/project-number" + }, + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/item-id" }, { "name": "fields", @@ -76022,7 +75967,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 +105699,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", @@ -112449,6 +111822,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 +119305,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", @@ -288819,192 +288773,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": [ { @@ -291971,6 +291739,18 @@ ] } }, + "list-attestation-repositories": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + }, "list-attestations": { "value": { "attestations": [ @@ -296857,6 +296637,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 +317985,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.", @@ -318966,6 +318825,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 +318888,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..dfc874a2b 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 @@ -2302,8 +2302,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 +2329,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 @@ -5139,9 +5082,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 +9165,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/orgs#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: orgs "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -11974,8 +11965,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,8 +16681,10 @@ 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` in: query required: false schema: @@ -16701,8 +16692,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/per-page" @@ -32333,14 +32322,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 +32332,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 +44614,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,8 +54440,10 @@ 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` in: query required: false schema: @@ -54467,8 +54451,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 responses: '200': description: Response @@ -54950,7 +54932,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 +76451,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 @@ -81357,6 +80924,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 +86520,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 @@ -212583,181 +212575,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 @@ -215296,6 +215113,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 +219341,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 +237796,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 @@ -238622,6 +238517,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 +238577,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..bc8dff44e 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -3212,12 +3212,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -3263,98 +3257,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", @@ -7306,7 +7208,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 +12718,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/orgs#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": "orgs" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -16474,12 +16447,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -23109,7 +23076,7 @@ }, { "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`", "in": "query", "required": false, "schema": { @@ -23117,10 +23084,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] + } } }, { @@ -44473,16 +44437,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 +44452,6 @@ }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" } ], "responses": { @@ -61643,7 +61591,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" ], @@ -75281,185 +75229,182 @@ "schema": { "type": "string" } - }, - { - "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", - "in": "query", - "required": false, - "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/projects-v2-item-with-content" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/projects-v2-item-with-content" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects", - "subcategory": "items" - } - }, - "post": { - "summary": "Add item to user owned project", - "description": "Add an issue or pull request item to the specified user owned project.", - "tags": [ - "projects" - ], - "operationId": "projects/add-item-for-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/items#add-item-to-user-owned-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - }, - { - "$ref": "#/components/parameters/project-number" - } - ], - "requestBody": { - "required": true, - "description": "Details of the item to add to the project.", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The numeric ID of the issue or pull request to add to the project." - } - }, - "required": [ - "type", - "id" - ] - }, - "examples": { - "issue": { - "value": { - "type": "Issue", - "id": 3 - } - }, - "pull_request": { - "value": { - "type": "PullRequest", - "id": 3 - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/projects-v2-item-simple" - }, - "examples": { - "issue": { - "$ref": "#/components/examples/projects-v2-item-simple" - }, - "pull_request": { - "$ref": "#/components/examples/projects-v2-item-simple" - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects", - "subcategory": "items" - } - } - }, - "/users/{username}/projectsV2/{project_number}/items/{item_id}": { - "get": { - "summary": "Get an item for a user owned project", - "description": "Get a specific item from a user-owned project.", - "tags": [ - "projects" - ], - "operationId": "projects/get-user-item", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-number" - }, - { - "$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.\n\nExample: `fields[]=123&fields[]=456&fields[]=789`", + "in": "query", + "required": false, + "schema": { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/projects-v2-item-with-content" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/projects-v2-item-with-content" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + }, + "post": { + "summary": "Add item to user owned project", + "description": "Add an issue or pull request item to the specified user owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/add-item-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#add-item-to-user-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "description": "Details of the item to add to the project.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The numeric ID of the issue or pull request to add to the project." + } + }, + "required": [ + "type", + "id" + ] + }, + "examples": { + "issue": { + "value": { + "type": "Issue", + "id": 3 + } + }, + "pull_request": { + "value": { + "type": "PullRequest", + "id": 3 + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-item-simple" + }, + "examples": { + "issue": { + "$ref": "#/components/examples/projects-v2-item-simple" + }, + "pull_request": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + } + }, + "/users/{username}/projectsV2/{project_number}/items/{item_id}": { + "get": { + "summary": "Get an item for a user owned project", + "description": "Get a specific item from a user-owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/get-user-item", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/project-number" + }, + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/item-id" }, { "name": "fields", @@ -76022,7 +75967,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 +105699,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", @@ -112449,6 +111822,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 +119305,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", @@ -288819,192 +288773,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": [ { @@ -291971,6 +291739,18 @@ ] } }, + "list-attestation-repositories": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + }, "list-attestations": { "value": { "attestations": [ @@ -296857,6 +296637,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 +317985,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.", @@ -318966,6 +318825,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 +318888,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..dfc874a2b 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -2302,8 +2302,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 +2329,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 @@ -5139,9 +5082,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 +9165,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/orgs#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: orgs "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -11974,8 +11965,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,8 +16681,10 @@ 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` in: query required: false schema: @@ -16701,8 +16692,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/per-page" @@ -32333,14 +32322,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 +32332,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 +44614,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,8 +54440,10 @@ 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` in: query required: false schema: @@ -54467,8 +54451,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 responses: '200': description: Response @@ -54950,7 +54932,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 +76451,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 @@ -81357,6 +80924,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 +86520,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 @@ -212583,181 +212575,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 @@ -215296,6 +215113,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 +219341,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 +237796,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 @@ -238622,6 +238517,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 +238577,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..8b1e13016 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 @@ -22616,29 +22616,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 +24448,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", @@ -76364,7 +74184,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" ], @@ -96689,354 +94509,564 @@ "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "subject_digests": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of subject digests to fetch attestations for.", - "minItems": 1, - "maxItems": 1024 - }, - "predicate_type": { - "type": "string", - "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types." - } - }, - "required": [ - "subject_digests" - ] - }, - "examples": { - "default": { - "value": { - "subject_digests": [ - "sha256:abc123", - "sha512:def456" - ] - } - }, - "withPredicateType": { - "value": { - "subject_digests": [ - "sha256:abc123", - "sha512:def456" - ], - "predicateType": "provenance" - } - } - } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "subject_digests": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of subject digests to fetch attestations for.", + "minItems": 1, + "maxItems": 1024 + }, + "predicate_type": { + "type": "string", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types." + } + }, + "required": [ + "subject_digests" + ] + }, + "examples": { + "default": { + "value": { + "subject_digests": [ + "sha256:abc123", + "sha512:def456" + ] + } + }, + "withPredicateType": { + "value": { + "subject_digests": [ + "sha256:abc123", + "sha512:def456" + ], + "predicateType": "provenance" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "attestations_subject_digests": { + "type": "object", + "additionalProperties": { + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "bundle": { + "type": "object", + "properties": { + "mediaType": { + "type": "string" + }, + "verificationMaterial": { + "type": "object", + "properties": {}, + "additionalProperties": true + }, + "dsseEnvelope": { + "type": "object", + "properties": {}, + "additionalProperties": true + } + }, + "description": "The bundle of the attestation." + }, + "repository_id": { + "type": "integer" + }, + "bundle_url": { + "type": "string" + } + } + } + }, + "description": "Mapping of subject digest to bundles." + }, + "page_info": { + "type": "object", + "properties": { + "has_next": { + "type": "boolean", + "description": "Indicates whether there is a next page." + }, + "has_previous": { + "type": "boolean", + "description": "Indicates whether there is a previous page." + }, + "next": { + "type": "string", + "description": "The cursor to the next page." + }, + "previous": { + "type": "string", + "description": "The cursor to the previous page." + } + }, + "description": "Information about the current page." + } + } + }, + "examples": { + "default": { + "value": { + "attestations_subject_digests": [ + { + "sha256:abc": [ + { + "bundle": { + "mediaType": "application/vnd.dev.sigstore.bundle.v0.3+json", + "verificationMaterial": { + "tlogEntries": [ + { + "logIndex": "97913980", + "logId": { + "keyId": "wNI9atQGlz+VWfO6LRygH4QUfY/8W4RFwiT5i5WRgB0=" + }, + "kindVersion": { + "kind": "dsse", + "version": "0.0.1" + }, + "integratedTime": "1716998992", + "inclusionPromise": { + "signedEntryTimestamp": "MEYCIQCeEsQAy+qXtULkh52wbnHrkt2R2JQ05P9STK/xmdpQ2AIhANiG5Gw6cQiMnwvUz1+9UKtG/vlC8dduq07wsFOViwSL" + }, + "inclusionProof": { + "logIndex": "93750549", + "rootHash": "KgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=", + "treeSize": "93750551", + "hashes": [ + "8LI21mzwxnUSo0fuZeFsUrz2ujZ4QAL+oGeTG+5toZg=", + "nCb369rcIytNhGwWoqBv+eV49X3ZKpo/HJGKm9V+dck=", + "hnNQ9mUdSwYCfdV21pd87NucrdRRNZATowlaRR1hJ4A=", + "MBhhK33vlD4Tq/JKgAaXUI4VjmosWKe6+7RNpQ2ncNM=", + "XKWUE3stvGV1OHsIGiCGfn047Ok6uD4mFkh7BaicaEc=", + "Tgve40VPFfuei+0nhupdGpfPPR+hPpZjxgTiDT8WNoY=", + "wV+S/7tLtYGzkLaSb6UDqexNyhMvumHK/RpTNvEZuLU=", + "uwaWufty6sn6XqO1Tb9M3Vz6sBKPu0HT36mStxJNd7s=", + "jUfeMOXQP0XF1JAnCEETVbfRKMUwCzrVUzYi8vnDMVs=", + "xQKjzJAwwdlQG/YUYBKPXxbCmhMYKo1wnv+6vDuKWhQ=", + "cX3Agx+hP66t1ZLbX/yHbfjU46/3m/VAmWyG/fhxAVc=", + "sjohk/3DQIfXTgf/5XpwtdF7yNbrf8YykOMHr1CyBYQ=", + "98enzMaC+x5oCMvIZQA5z8vu2apDMCFvE/935NfuPw8=" + ], + "checkpoint": { + "envelope": "rekor.sigstore.dev - 2605736670972794746\\n93750551\\nKgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=\\n\\n— rekor.sigstore.dev wNI9ajBEAiBkLzdjY8A9HReU7rmtjwZ+JpSuYtEr9SmvSwUIW7FBjgIgKo+vhkW3tqc+gc8fw9gza3xLoncA8a+MTaJYCaLGA9c=\\n" + } + }, + "canonicalizedBody": "eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiZHNzZSIsInNwZWMiOnsiZW52ZWxvcGVIYXNoIjp7ImFsZ29yaXRobSI6InNoYTI1NiIsInZhbHVlIjoiM2I1YzkwNDk5MGFiYzE4NjI1ZWE3Njg4MzE1OGEwZmI4MTEwMjM4MGJkNjQwZjI5OWJlMzYwZWVkOTMxNjYwYiJ9LCJwYXlsb2FkSGFzaCI6eyJhbGdvcml0aG0iOiJzaGEyNTYiLCJ2YWx1ZSI6IjM4ZGNlZDJjMzE1MGU2OTQxMDViYjZiNDNjYjY3NzBiZTYzZDdhNGM4NjNiMTc2YTkwMmU1MGQ5ZTAyN2ZiMjMifSwic2lnbmF0dXJlcyI6W3sic2lnbmF0dXJlIjoiTUVRQ0lFR0lHQW03Z1pWTExwc3JQY2puZEVqaXVjdEUyL2M5K2o5S0d2YXp6M3JsQWlBZDZPMTZUNWhrelJNM0liUlB6bSt4VDQwbU5RWnhlZmQ3bGFEUDZ4MlhMUT09IiwidmVyaWZpZXIiOiJMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VkcVZFTkRRbWhUWjBGM1NVSkJaMGxWVjFsNGNVdHpjazFUTTFOMmJEVkphalZQUkdaQ1owMUtUeTlKZDBObldVbExiMXBKZW1vd1JVRjNUWGNLVG5wRlZrMUNUVWRCTVZWRlEyaE5UV015Ykc1ak0xSjJZMjFWZFZwSFZqSk5ValIzU0VGWlJGWlJVVVJGZUZaNllWZGtlbVJIT1hsYVV6RndZbTVTYkFwamJURnNXa2RzYUdSSFZYZElhR05PVFdwUmQwNVVTVFZOVkZsM1QxUlZlVmRvWTA1TmFsRjNUbFJKTlUxVVdYaFBWRlY1VjJwQlFVMUdhM2RGZDFsSUNrdHZXa2w2YWpCRFFWRlpTVXR2V2tsNmFqQkVRVkZqUkZGblFVVmtiV2RvVGs1M00yNVZMMHQxWlZGbmMzQkhTRmMzWjJnNVdFeEVMMWRrU1RoWlRVSUtLekJ3TUZZMGJ6RnJTRzgyWTAweGMwUktaM0pEWjFCUlZYcDRjSFZaZFc4cmVIZFFTSGxzTDJ0RWVXWXpSVXhxYTJGUFEwSlVUWGRuWjFWMlRVRTBSd3BCTVZWa1JIZEZRaTkzVVVWQmQwbElaMFJCVkVKblRsWklVMVZGUkVSQlMwSm5aM0pDWjBWR1FsRmpSRUY2UVdSQ1owNVdTRkUwUlVablVWVnhaa05RQ25aWVMwRjJVelJEWkdoUk1taGlXbGRLVTA5RmRsWnZkMGgzV1VSV1VqQnFRa0puZDBadlFWVXpPVkJ3ZWpGWmEwVmFZalZ4VG1wd1MwWlhhWGhwTkZrS1drUTRkMWRuV1VSV1VqQlNRVkZJTDBKR1FYZFViMXBOWVVoU01HTklUVFpNZVRsdVlWaFNiMlJYU1hWWk1qbDBUREpPYzJGVE9XcGlSMnQyVEcxa2NBcGtSMmd4V1drNU0ySXpTbkphYlhoMlpETk5kbHBIVm5kaVJ6azFZbGRXZFdSRE5UVmlWM2hCWTIxV2JXTjVPVzlhVjBaclkzazVNR051Vm5WaGVrRTFDa0puYjNKQ1owVkZRVmxQTDAxQlJVSkNRM1J2WkVoU2QyTjZiM1pNTTFKMllUSldkVXh0Um1wa1IyeDJZbTVOZFZveWJEQmhTRlpwWkZoT2JHTnRUbllLWW01U2JHSnVVWFZaTWpsMFRVSTRSME5wYzBkQlVWRkNaemM0ZDBGUlNVVkZXR1IyWTIxMGJXSkhPVE5ZTWxKd1l6TkNhR1JIVG05TlJGbEhRMmx6UndwQlVWRkNaemM0ZDBGUlRVVkxSMXBvV2xkWmVWcEhVbXRQUkVacFRVUmplazVxWXpCUFJGRjRUVEpGTTFsNldUQk9iVTVyVFVkS2JWbDZTVEpaZWtGM0NsbFVRWGRIUVZsTFMzZFpRa0pCUjBSMmVrRkNRa0ZSUzFKSFZuZGlSemsxWWxkV2RXUkVRVlpDWjI5eVFtZEZSVUZaVHk5TlFVVkdRa0ZrYW1KSGEzWUtXVEo0Y0UxQ05FZERhWE5IUVZGUlFtYzNPSGRCVVZsRlJVaEtiRnB1VFhaaFIxWm9Xa2hOZG1SSVNqRmliWE4zVDNkWlMwdDNXVUpDUVVkRWRucEJRZ3BEUVZGMFJFTjBiMlJJVW5kamVtOTJURE5TZG1FeVZuVk1iVVpxWkVkc2RtSnVUWFZhTW13d1lVaFdhV1JZVG14amJVNTJZbTVTYkdKdVVYVlpNamwwQ2sxR2QwZERhWE5IUVZGUlFtYzNPSGRCVVd0RlZHZDRUV0ZJVWpCalNFMDJUSGs1Ym1GWVVtOWtWMGwxV1RJNWRFd3lUbk5oVXpscVlrZHJka3h0WkhBS1pFZG9NVmxwT1ROaU0wcHlXbTE0ZG1RelRYWmFSMVozWWtjNU5XSlhWblZrUXpVMVlsZDRRV050Vm0xamVUbHZXbGRHYTJONU9UQmpibFoxWVhwQk5BcENaMjl5UW1kRlJVRlpUeTlOUVVWTFFrTnZUVXRIV21oYVYxbDVXa2RTYTA5RVJtbE5SR042VG1wak1FOUVVWGhOTWtVeldYcFpNRTV0VG10TlIwcHRDbGw2U1RKWmVrRjNXVlJCZDBoUldVdExkMWxDUWtGSFJIWjZRVUpEZDFGUVJFRXhibUZZVW05a1YwbDBZVWM1ZW1SSFZtdE5RMjlIUTJselIwRlJVVUlLWnpjNGQwRlJkMFZJUVhkaFlVaFNNR05JVFRaTWVUbHVZVmhTYjJSWFNYVlpNamwwVERKT2MyRlRPV3BpUjJ0M1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWdwRVVWRnhSRU5vYlZsWFZtMU5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBGSENrTnBjMGRCVVZGQ1p6YzRkMEZSTkVWRlozZFJZMjFXYldONU9XOWFWMFpyWTNrNU1HTnVWblZoZWtGYVFtZHZja0puUlVWQldVOHZUVUZGVUVKQmMwMEtRMVJKZUUxcVdYaE5la0V3VDFSQmJVSm5iM0pDWjBWRlFWbFBMMDFCUlZGQ1FtZE5SbTFvTUdSSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhZ3BpUjJ0M1IwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWUlVVdEVRV2N4VDFSamQwNUVZM2hOVkVKalFtZHZja0puUlVWQldVOHZUVUZGVTBKRk5FMVVSMmd3Q21SSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhbUpIYTNaWk1uaHdUSGsxYm1GWVVtOWtWMGwyWkRJNWVXRXlXbk5pTTJSNlRESlNiR05IZUhZS1pWY3hiR0p1VVhWbFZ6RnpVVWhLYkZwdVRYWmhSMVpvV2toTmRtUklTakZpYlhOM1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWM1VYRkVRMmh0V1ZkV2JRcE5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBWSFEybHpSMEZSVVVKbk56aDNDa0ZTVVVWRmQzZFNaREk1ZVdFeVduTmlNMlJtV2tkc2VtTkhSakJaTW1kM1ZGRlpTMHQzV1VKQ1FVZEVkbnBCUWtaUlVTOUVSREZ2WkVoU2QyTjZiM1lLVERKa2NHUkhhREZaYVRWcVlqSXdkbGt5ZUhCTU1rNXpZVk01YUZrelVuQmlNalY2VEROS01XSnVUWFpQVkVrMFQxUkJNMDVVWXpGTmFUbG9aRWhTYkFwaVdFSXdZM2s0ZUUxQ1dVZERhWE5IUVZGUlFtYzNPSGRCVWxsRlEwRjNSMk5JVm1saVIyeHFUVWxIVEVKbmIzSkNaMFZGUVdSYU5VRm5VVU5DU0RCRkNtVjNRalZCU0dOQk0xUXdkMkZ6WWtoRlZFcHFSMUkwWTIxWFl6TkJjVXBMV0hKcVpWQkxNeTlvTkhCNVowTTRjRGR2TkVGQlFVZFFlRkl4ZW1KblFVRUtRa0ZOUVZORVFrZEJhVVZCS3pobmJGRkplRTlCYUZoQ1FVOVRObE1yT0ZweGQwcGpaSGQzVTNJdlZGZHBhSE16WkV4eFZrRjJiME5KVVVSaWVUbG9NUXBKWTNWRVJYSXJlbk5YYVV3NFVIYzFRMU5VZEd0c2RFbzBNakZ6UlRneFZuWjFOa0Z3VkVGTFFtZG5jV2hyYWs5UVVWRkVRWGRPYmtGRVFtdEJha0VyQ2tSSU4xQXJhR2cwVmtoWFprTlhXSFJ5UzFSdlFrdDFZa0pyUzNCbVYwTlpVWGhxV0UweWRsWXZibEJ4WWxwR1dVOVdXazlpWlRaQlRuSm5lV1J2V1VNS1RVWlZUV0l6ZUhwelJrNVJXWFp6UlZsUGFUSkxibkoyUmpCMFoyOXdiVmhIVm05NmJsb3JjUzh5UVVsRVZ6bEdNVVUzV1RaWk1EWXhaVzkxUVZsa1NBcFhkejA5Q2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLIn1dfX0=" + } + ], + "timestampVerificationData": {}, + "certificate": { + "rawBytes": "MIIGjTCCBhSgAwIBAgIUWYxqKsrMS3Svl5Ij5ODfBgMJO/IwCgYIKoZIzj0EAwMwNzEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MR4wHAYDVQQDExVzaWdzdG9yZS1pbnRlcm1lZGlhdGUwHhcNMjQwNTI5MTYwOTUyWhcNMjQwNTI5MTYxOTUyWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdmghNNw3nU/KueQgspGHW7gh9XLD/WdI8YMB+0p0V4o1kHo6cM1sDJgrCgPQUzxpuYuo+xwPHyl/kDyf3ELjkaOCBTMwggUvMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDAzAdBgNVHQ4EFgQUqfCPvXKAvS4CdhQ2hbZWJSOEvVowHwYDVR0jBBgwFoAU39Ppz1YkEZb5qNjpKFWixi4YZD8wWgYDVR0RAQH/BFAwToZMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA5BgorBgEEAYO/MAEBBCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMB8GCisGAQQBg78wAQIEEXdvcmtmbG93X2Rpc3BhdGNoMDYGCisGAQQBg78wAQMEKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwGAYKKwYBBAGDvzABBAQKRGVwbG95bWVudDAVBgorBgEEAYO/MAEFBAdjbGkvY2xpMB4GCisGAQQBg78wAQYEEHJlZnMvaGVhZHMvdHJ1bmswOwYKKwYBBAGDvzABCAQtDCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMFwGCisGAQQBg78wAQkETgxMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA4BgorBgEEAYO/MAEKBCoMKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwHQYKKwYBBAGDvzABCwQPDA1naXRodWItaG9zdGVkMCoGCisGAQQBg78wAQwEHAwaaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkwOAYKKwYBBAGDvzABDQQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCAGCisGAQQBg78wAQ4EEgwQcmVmcy9oZWFkcy90cnVuazAZBgorBgEEAYO/MAEPBAsMCTIxMjYxMzA0OTAmBgorBgEEAYO/MAEQBBgMFmh0dHBzOi8vZ2l0aHViLmNvbS9jbGkwGAYKKwYBBAGDvzABEQQKDAg1OTcwNDcxMTBcBgorBgEEAYO/MAESBE4MTGh0dHBzOi8vZ2l0aHViLmNvbS9jbGkvY2xpLy5naXRodWIvd29ya2Zsb3dzL2RlcGxveW1lbnQueW1sQHJlZnMvaGVhZHMvdHJ1bmswOAYKKwYBBAGDvzABEwQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCEGCisGAQQBg78wARQEEwwRd29ya2Zsb3dfZGlzcGF0Y2gwTQYKKwYBBAGDvzABFQQ/DD1odHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaS9hY3Rpb25zL3J1bnMvOTI4OTA3NTc1Mi9hdHRlbXB0cy8xMBYGCisGAQQBg78wARYECAwGcHVibGljMIGLBgorBgEEAdZ5AgQCBH0EewB5AHcA3T0wasbHETJjGR4cmWc3AqJKXrjePK3/h4pygC8p7o4AAAGPxR1zbgAABAMASDBGAiEA+8glQIxOAhXBAOS6S+8ZqwJcdwwSr/TWihs3dLqVAvoCIQDby9h1IcuDEr+zsWiL8Pw5CSTtkltJ421sE81Vvu6ApTAKBggqhkjOPQQDAwNnADBkAjA+DH7P+hh4VHWfCWXtrKToBKubBkKpfWCYQxjXM2vV/nPqbZFYOVZObe6ANrgydoYCMFUMb3xzsFNQYvsEYOi2KnrvF0tgopmXGVoznZ+q/2AIDW9F1E7Y6Y061eouAYdHWw==" + } + }, + "dsseEnvelope": { + "payload": "eyJfdHlwZSI6Imh0dHBzOi8vaW4tdG90by5pby9TdGF0ZW1lbnQvdjEiLCJzdWJqZWN0IjpbeyJuYW1lIjoiZ2hfMi41MC4wX3dpbmRvd3NfYXJtNjQuemlwIiwiZGlnZXN0Ijp7InNoYTI1NiI6IjhhYWQxMjBiNDE2Mzg2YjQyNjllZjYyYzhmZGViY2FkMzFhNzA4NDcyOTc4MTdhMTQ5ZGFmOTI3ZWRjODU1NDgifX1dLCJwcmVkaWNhdGVUeXBlIjoiaHR0cHM6Ly9zbHNhLmRldi9wcm92ZW5hbmNlL3YxIiwicHJlZGljYXRlIjp7ImJ1aWxkRGVmaW5pdGlvbiI6eyJidWlsZFR5cGUiOiJodHRwczovL3Nsc2EtZnJhbWV3b3JrLmdpdGh1Yi5pby9naXRodWItYWN0aW9ucy1idWlsZHR5cGVzL3dvcmtmbG93L3YxIiwiZXh0ZXJuYWxQYXJhbWV0ZXJzIjp7IndvcmtmbG93Ijp7InJlZiI6InJlZnMvaGVhZHMvdHJ1bmsiLCJyZXBvc2l0b3J5IjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkiLCJwYXRoIjoiLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWwifX0sImludGVybmFsUGFyYW1ldGVycyI6eyJnaXRodWIiOnsiZXZlbnRfbmFtZSI6IndvcmtmbG93X2Rpc3BhdGNoIiwicmVwb3NpdG9yeV9pZCI6IjIxMjYxMzA0OSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1OTcwNDcxMSJ9fSwicmVzb2x2ZWREZXBlbmRlbmNpZXMiOlt7InVyaSI6ImdpdCtodHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaUByZWZzL2hlYWRzL3RydW5rIiwiZGlnZXN0Ijp7ImdpdENvbW1pdCI6ImZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAifX1dfSwicnVuRGV0YWlscyI6eyJidWlsZGVyIjp7ImlkIjoiaHR0cHM6Ly9naXRodWIuY29tL2FjdGlvbnMvcnVubmVyL2dpdGh1Yi1ob3N0ZWQifSwibWV0YWRhdGEiOnsiaW52b2NhdGlvbklkIjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvYWN0aW9ucy9ydW5zLzkyODkwNzU3NTIvYXR0ZW1wdHMvMSJ9fX19", + "payloadType": "application/vnd.in-toto+json", + "signatures": [ + { + "sig": "MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ==" + } + ] + } + }, + "repository_id": 1 + }, + { + "bundle": { + "mediaType": "application/vnd.dev.sigstore.bundle.v0.3+json", + "verificationMaterial": { + "tlogEntries": [ + { + "logIndex": "97913980", + "logId": { + "keyId": "wNI9atQGlz+VWfO6LRygH4QUfY/8W4RFwiT5i5WRgB0=" + }, + "kindVersion": { + "kind": "dsse", + "version": "0.0.1" + }, + "integratedTime": "1716998992", + "inclusionPromise": { + "signedEntryTimestamp": "MEYCIQCeEsQAy+qXtULkh52wbnHrkt2R2JQ05P9STK/xmdpQ2AIhANiG5Gw6cQiMnwvUz1+9UKtG/vlC8dduq07wsFOViwSL" + }, + "inclusionProof": { + "logIndex": "93750549", + "rootHash": "KgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=", + "treeSize": "93750551", + "hashes": [ + "8LI21mzwxnUSo0fuZeFsUrz2ujZ4QAL+oGeTG+5toZg=", + "nCb369rcIytNhGwWoqBv+eV49X3ZKpo/HJGKm9V+dck=", + "hnNQ9mUdSwYCfdV21pd87NucrdRRNZATowlaRR1hJ4A=", + "MBhhK33vlD4Tq/JKgAaXUI4VjmosWKe6+7RNpQ2ncNM=", + "XKWUE3stvGV1OHsIGiCGfn047Ok6uD4mFkh7BaicaEc=", + "Tgve40VPFfuei+0nhupdGpfPPR+hPpZjxgTiDT8WNoY=", + "wV+S/7tLtYGzkLaSb6UDqexNyhMvumHK/RpTNvEZuLU=", + "uwaWufty6sn6XqO1Tb9M3Vz6sBKPu0HT36mStxJNd7s=", + "jUfeMOXQP0XF1JAnCEETVbfRKMUwCzrVUzYi8vnDMVs=", + "xQKjzJAwwdlQG/YUYBKPXxbCmhMYKo1wnv+6vDuKWhQ=", + "cX3Agx+hP66t1ZLbX/yHbfjU46/3m/VAmWyG/fhxAVc=", + "sjohk/3DQIfXTgf/5XpwtdF7yNbrf8YykOMHr1CyBYQ=", + "98enzMaC+x5oCMvIZQA5z8vu2apDMCFvE/935NfuPw8=" + ], + "checkpoint": { + "envelope": "rekor.sigstore.dev - 2605736670972794746\\n93750551\\nKgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=\\n\\n— rekor.sigstore.dev wNI9ajBEAiBkLzdjY8A9HReU7rmtjwZ+JpSuYtEr9SmvSwUIW7FBjgIgKo+vhkW3tqc+gc8fw9gza3xLoncA8a+MTaJYCaLGA9c=\\n" + } + }, + "canonicalizedBody": "eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiZHNzZSIsInNwZWMiOnsiZW52ZWxvcGVIYXNoIjp7ImFsZ29yaXRobSI6InNoYTI1NiIsInZhbHVlIjoiM2I1YzkwNDk5MGFiYzE4NjI1ZWE3Njg4MzE1OGEwZmI4MTEwMjM4MGJkNjQwZjI5OWJlMzYwZWVkOTMxNjYwYiJ9LCJwYXlsb2FkSGFzaCI6eyJhbGdvcml0aG0iOiJzaGEyNTYiLCJ2YWx1ZSI6IjM4ZGNlZDJjMzE1MGU2OTQxMDViYjZiNDNjYjY3NzBiZTYzZDdhNGM4NjNiMTc2YTkwMmU1MGQ5ZTAyN2ZiMjMifSwic2lnbmF0dXJlcyI6W3sic2lnbmF0dXJlIjoiTUVRQ0lFR0lHQW03Z1pWTExwc3JQY2puZEVqaXVjdEUyL2M5K2o5S0d2YXp6M3JsQWlBZDZPMTZUNWhrelJNM0liUlB6bSt4VDQwbU5RWnhlZmQ3bGFEUDZ4MlhMUT09IiwidmVyaWZpZXIiOiJMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VkcVZFTkRRbWhUWjBGM1NVSkJaMGxWVjFsNGNVdHpjazFUTTFOMmJEVkphalZQUkdaQ1owMUtUeTlKZDBObldVbExiMXBKZW1vd1JVRjNUWGNLVG5wRlZrMUNUVWRCTVZWRlEyaE5UV015Ykc1ak0xSjJZMjFWZFZwSFZqSk5ValIzU0VGWlJGWlJVVVJGZUZaNllWZGtlbVJIT1hsYVV6RndZbTVTYkFwamJURnNXa2RzYUdSSFZYZElhR05PVFdwUmQwNVVTVFZOVkZsM1QxUlZlVmRvWTA1TmFsRjNUbFJKTlUxVVdYaFBWRlY1VjJwQlFVMUdhM2RGZDFsSUNrdHZXa2w2YWpCRFFWRlpTVXR2V2tsNmFqQkVRVkZqUkZGblFVVmtiV2RvVGs1M00yNVZMMHQxWlZGbmMzQkhTRmMzWjJnNVdFeEVMMWRrU1RoWlRVSUtLekJ3TUZZMGJ6RnJTRzgyWTAweGMwUktaM0pEWjFCUlZYcDRjSFZaZFc4cmVIZFFTSGxzTDJ0RWVXWXpSVXhxYTJGUFEwSlVUWGRuWjFWMlRVRTBSd3BCTVZWa1JIZEZRaTkzVVVWQmQwbElaMFJCVkVKblRsWklVMVZGUkVSQlMwSm5aM0pDWjBWR1FsRmpSRUY2UVdSQ1owNVdTRkUwUlVablVWVnhaa05RQ25aWVMwRjJVelJEWkdoUk1taGlXbGRLVTA5RmRsWnZkMGgzV1VSV1VqQnFRa0puZDBadlFWVXpPVkJ3ZWpGWmEwVmFZalZ4VG1wd1MwWlhhWGhwTkZrS1drUTRkMWRuV1VSV1VqQlNRVkZJTDBKR1FYZFViMXBOWVVoU01HTklUVFpNZVRsdVlWaFNiMlJYU1hWWk1qbDBUREpPYzJGVE9XcGlSMnQyVEcxa2NBcGtSMmd4V1drNU0ySXpTbkphYlhoMlpETk5kbHBIVm5kaVJ6azFZbGRXZFdSRE5UVmlWM2hCWTIxV2JXTjVPVzlhVjBaclkzazVNR051Vm5WaGVrRTFDa0puYjNKQ1owVkZRVmxQTDAxQlJVSkNRM1J2WkVoU2QyTjZiM1pNTTFKMllUSldkVXh0Um1wa1IyeDJZbTVOZFZveWJEQmhTRlpwWkZoT2JHTnRUbllLWW01U2JHSnVVWFZaTWpsMFRVSTRSME5wYzBkQlVWRkNaemM0ZDBGUlNVVkZXR1IyWTIxMGJXSkhPVE5ZTWxKd1l6TkNhR1JIVG05TlJGbEhRMmx6UndwQlVWRkNaemM0ZDBGUlRVVkxSMXBvV2xkWmVWcEhVbXRQUkVacFRVUmplazVxWXpCUFJGRjRUVEpGTTFsNldUQk9iVTVyVFVkS2JWbDZTVEpaZWtGM0NsbFVRWGRIUVZsTFMzZFpRa0pCUjBSMmVrRkNRa0ZSUzFKSFZuZGlSemsxWWxkV2RXUkVRVlpDWjI5eVFtZEZSVUZaVHk5TlFVVkdRa0ZrYW1KSGEzWUtXVEo0Y0UxQ05FZERhWE5IUVZGUlFtYzNPSGRCVVZsRlJVaEtiRnB1VFhaaFIxWm9Xa2hOZG1SSVNqRmliWE4zVDNkWlMwdDNXVUpDUVVkRWRucEJRZ3BEUVZGMFJFTjBiMlJJVW5kamVtOTJURE5TZG1FeVZuVk1iVVpxWkVkc2RtSnVUWFZhTW13d1lVaFdhV1JZVG14amJVNTJZbTVTYkdKdVVYVlpNamwwQ2sxR2QwZERhWE5IUVZGUlFtYzNPSGRCVVd0RlZHZDRUV0ZJVWpCalNFMDJUSGs1Ym1GWVVtOWtWMGwxV1RJNWRFd3lUbk5oVXpscVlrZHJka3h0WkhBS1pFZG9NVmxwT1ROaU0wcHlXbTE0ZG1RelRYWmFSMVozWWtjNU5XSlhWblZrUXpVMVlsZDRRV050Vm0xamVUbHZXbGRHYTJONU9UQmpibFoxWVhwQk5BcENaMjl5UW1kRlJVRlpUeTlOUVVWTFFrTnZUVXRIV21oYVYxbDVXa2RTYTA5RVJtbE5SR042VG1wak1FOUVVWGhOTWtVeldYcFpNRTV0VG10TlIwcHRDbGw2U1RKWmVrRjNXVlJCZDBoUldVdExkMWxDUWtGSFJIWjZRVUpEZDFGUVJFRXhibUZZVW05a1YwbDBZVWM1ZW1SSFZtdE5RMjlIUTJselIwRlJVVUlLWnpjNGQwRlJkMFZJUVhkaFlVaFNNR05JVFRaTWVUbHVZVmhTYjJSWFNYVlpNamwwVERKT2MyRlRPV3BpUjJ0M1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWdwRVVWRnhSRU5vYlZsWFZtMU5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBGSENrTnBjMGRCVVZGQ1p6YzRkMEZSTkVWRlozZFJZMjFXYldONU9XOWFWMFpyWTNrNU1HTnVWblZoZWtGYVFtZHZja0puUlVWQldVOHZUVUZGVUVKQmMwMEtRMVJKZUUxcVdYaE5la0V3VDFSQmJVSm5iM0pDWjBWRlFWbFBMMDFCUlZGQ1FtZE5SbTFvTUdSSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhZ3BpUjJ0M1IwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWUlVVdEVRV2N4VDFSamQwNUVZM2hOVkVKalFtZHZja0puUlVWQldVOHZUVUZGVTBKRk5FMVVSMmd3Q21SSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhbUpIYTNaWk1uaHdUSGsxYm1GWVVtOWtWMGwyWkRJNWVXRXlXbk5pTTJSNlRESlNiR05IZUhZS1pWY3hiR0p1VVhWbFZ6RnpVVWhLYkZwdVRYWmhSMVpvV2toTmRtUklTakZpYlhOM1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWM1VYRkVRMmh0V1ZkV2JRcE5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBWSFEybHpSMEZSVVVKbk56aDNDa0ZTVVVWRmQzZFNaREk1ZVdFeVduTmlNMlJtV2tkc2VtTkhSakJaTW1kM1ZGRlpTMHQzV1VKQ1FVZEVkbnBCUWtaUlVTOUVSREZ2WkVoU2QyTjZiM1lLVERKa2NHUkhhREZaYVRWcVlqSXdkbGt5ZUhCTU1rNXpZVk01YUZrelVuQmlNalY2VEROS01XSnVUWFpQVkVrMFQxUkJNMDVVWXpGTmFUbG9aRWhTYkFwaVdFSXdZM2s0ZUUxQ1dVZERhWE5IUVZGUlFtYzNPSGRCVWxsRlEwRjNSMk5JVm1saVIyeHFUVWxIVEVKbmIzSkNaMFZGUVdSYU5VRm5VVU5DU0RCRkNtVjNRalZCU0dOQk0xUXdkMkZ6WWtoRlZFcHFSMUkwWTIxWFl6TkJjVXBMV0hKcVpWQkxNeTlvTkhCNVowTTRjRGR2TkVGQlFVZFFlRkl4ZW1KblFVRUtRa0ZOUVZORVFrZEJhVVZCS3pobmJGRkplRTlCYUZoQ1FVOVRObE1yT0ZweGQwcGpaSGQzVTNJdlZGZHBhSE16WkV4eFZrRjJiME5KVVVSaWVUbG9NUXBKWTNWRVJYSXJlbk5YYVV3NFVIYzFRMU5VZEd0c2RFbzBNakZ6UlRneFZuWjFOa0Z3VkVGTFFtZG5jV2hyYWs5UVVWRkVRWGRPYmtGRVFtdEJha0VyQ2tSSU4xQXJhR2cwVmtoWFprTlhXSFJ5UzFSdlFrdDFZa0pyUzNCbVYwTlpVWGhxV0UweWRsWXZibEJ4WWxwR1dVOVdXazlpWlRaQlRuSm5lV1J2V1VNS1RVWlZUV0l6ZUhwelJrNVJXWFp6UlZsUGFUSkxibkoyUmpCMFoyOXdiVmhIVm05NmJsb3JjUzh5UVVsRVZ6bEdNVVUzV1RaWk1EWXhaVzkxUVZsa1NBcFhkejA5Q2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLIn1dfX0=" + } + ], + "timestampVerificationData": {}, + "certificate": { + "rawBytes": "MIIGjTCCBhSgAwIBAgIUWYxqKsrMS3Svl5Ij5ODfBgMJO/IwCgYIKoZIzj0EAwMwNzEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MR4wHAYDVQQDExVzaWdzdG9yZS1pbnRlcm1lZGlhdGUwHhcNMjQwNTI5MTYwOTUyWhcNMjQwNTI5MTYxOTUyWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdmghNNw3nU/KueQgspGHW7gh9XLD/WdI8YMB+0p0V4o1kHo6cM1sDJgrCgPQUzxpuYuo+xwPHyl/kDyf3ELjkaOCBTMwggUvMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDAzAdBgNVHQ4EFgQUqfCPvXKAvS4CdhQ2hbZWJSOEvVowHwYDVR0jBBgwFoAU39Ppz1YkEZb5qNjpKFWixi4YZD8wWgYDVR0RAQH/BFAwToZMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA5BgorBgEEAYO/MAEBBCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMB8GCisGAQQBg78wAQIEEXdvcmtmbG93X2Rpc3BhdGNoMDYGCisGAQQBg78wAQMEKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwGAYKKwYBBAGDvzABBAQKRGVwbG95bWVudDAVBgorBgEEAYO/MAEFBAdjbGkvY2xpMB4GCisGAQQBg78wAQYEEHJlZnMvaGVhZHMvdHJ1bmswOwYKKwYBBAGDvzABCAQtDCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMFwGCisGAQQBg78wAQkETgxMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA4BgorBgEEAYO/MAEKBCoMKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwHQYKKwYBBAGDvzABCwQPDA1naXRodWItaG9zdGVkMCoGCisGAQQBg78wAQwEHAwaaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkwOAYKKwYBBAGDvzABDQQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCAGCisGAQQBg78wAQ4EEgwQcmVmcy9oZWFkcy90cnVuazAZBgorBgEEAYO/MAEPBAsMCTIxMjYxMzA0OTAmBgorBgEEAYO/MAEQBBgMFmh0dHBzOi8vZ2l0aHViLmNvbS9jbGkwGAYKKwYBBAGDvzABEQQKDAg1OTcwNDcxMTBcBgorBgEEAYO/MAESBE4MTGh0dHBzOi8vZ2l0aHViLmNvbS9jbGkvY2xpLy5naXRodWIvd29ya2Zsb3dzL2RlcGxveW1lbnQueW1sQHJlZnMvaGVhZHMvdHJ1bmswOAYKKwYBBAGDvzABEwQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCEGCisGAQQBg78wARQEEwwRd29ya2Zsb3dfZGlzcGF0Y2gwTQYKKwYBBAGDvzABFQQ/DD1odHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaS9hY3Rpb25zL3J1bnMvOTI4OTA3NTc1Mi9hdHRlbXB0cy8xMBYGCisGAQQBg78wARYECAwGcHVibGljMIGLBgorBgEEAdZ5AgQCBH0EewB5AHcA3T0wasbHETJjGR4cmWc3AqJKXrjePK3/h4pygC8p7o4AAAGPxR1zbgAABAMASDBGAiEA+8glQIxOAhXBAOS6S+8ZqwJcdwwSr/TWihs3dLqVAvoCIQDby9h1IcuDEr+zsWiL8Pw5CSTtkltJ421sE81Vvu6ApTAKBggqhkjOPQQDAwNnADBkAjA+DH7P+hh4VHWfCWXtrKToBKubBkKpfWCYQxjXM2vV/nPqbZFYOVZObe6ANrgydoYCMFUMb3xzsFNQYvsEYOi2KnrvF0tgopmXGVoznZ+q/2AIDW9F1E7Y6Y061eouAYdHWw==" + } + }, + "dsseEnvelope": { + "payload": "eyJfdHlwZSI6Imh0dHBzOi8vaW4tdG90by5pby9TdGF0ZW1lbnQvdjEiLCJzdWJqZWN0IjpbeyJuYW1lIjoiZ2hfMi41MC4wX3dpbmRvd3NfYXJtNjQuemlwIiwiZGlnZXN0Ijp7InNoYTI1NiI6IjhhYWQxMjBiNDE2Mzg2YjQyNjllZjYyYzhmZGViY2FkMzFhNzA4NDcyOTc4MTdhMTQ5ZGFmOTI3ZWRjODU1NDgifX1dLCJwcmVkaWNhdGVUeXBlIjoiaHR0cHM6Ly9zbHNhLmRldi9wcm92ZW5hbmNlL3YxIiwicHJlZGljYXRlIjp7ImJ1aWxkRGVmaW5pdGlvbiI6eyJidWlsZFR5cGUiOiJodHRwczovL3Nsc2EtZnJhbWV3b3JrLmdpdGh1Yi5pby9naXRodWItYWN0aW9ucy1idWlsZHR5cGVzL3dvcmtmbG93L3YxIiwiZXh0ZXJuYWxQYXJhbWV0ZXJzIjp7IndvcmtmbG93Ijp7InJlZiI6InJlZnMvaGVhZHMvdHJ1bmsiLCJyZXBvc2l0b3J5IjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkiLCJwYXRoIjoiLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWwifX0sImludGVybmFsUGFyYW1ldGVycyI6eyJnaXRodWIiOnsiZXZlbnRfbmFtZSI6IndvcmtmbG93X2Rpc3BhdGNoIiwicmVwb3NpdG9yeV9pZCI6IjIxMjYxMzA0OSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1OTcwNDcxMSJ9fSwicmVzb2x2ZWREZXBlbmRlbmNpZXMiOlt7InVyaSI6ImdpdCtodHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaUByZWZzL2hlYWRzL3RydW5rIiwiZGlnZXN0Ijp7ImdpdENvbW1pdCI6ImZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAifX1dfSwicnVuRGV0YWlscyI6eyJidWlsZGVyIjp7ImlkIjoiaHR0cHM6Ly9naXRodWIuY29tL2FjdGlvbnMvcnVubmVyL2dpdGh1Yi1ob3N0ZWQifSwibWV0YWRhdGEiOnsiaW52b2NhdGlvbklkIjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvYWN0aW9ucy9ydW5zLzkyODkwNzU3NTIvYXR0ZW1wdHMvMSJ9fX19", + "payloadType": "application/vnd.in-toto+json", + "signatures": [ + { + "sig": "MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ==" + } + ] + } + }, + "repository_id": 1 + } + ] + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, + "/orgs/{org}/attestations/delete-request": { + "post": { + "summary": "Delete attestations in bulk", + "description": "Delete artifact attestations in bulk by either subject digests or unique ID.", + "tags": [ + "orgs" + ], + "operationId": "orgs/delete-attestations-bulk", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "oneOf": [ + { + "properties": { + "subject_digests": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of subject digests associated with the artifact attestations to delete.", + "minItems": 1, + "maxItems": 1024 + } + }, + "required": [ + "subject_digests" + ] + }, + { + "properties": { + "attestation_ids": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of unique IDs associated with the artifact attestations to delete.", + "minItems": 1, + "maxItems": 1024 + } + }, + "required": [ + "attestation_ids" + ] + } + ], + "description": "The request body must include either `subject_digests` or `attestation_ids`, but not both." + }, + "examples": { + "by-subject-digests": { + "summary": "Delete by subject digests", + "value": { + "subject_digests": [ + "sha256:abc123", + "sha512:def456" + ] + } + }, + "by-attestation-ids": { + "summary": "Delete by attestation IDs", + "value": { + "attestation_ids": [ + 111, + 222 + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response" + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, + "/orgs/{org}/attestations/digest/{subject_digest}": { + "delete": { + "summary": "Delete attestations by subject digest", + "description": "Delete an artifact attestation by subject digest.", + "tags": [ + "orgs" + ], + "operationId": "orgs/delete-attestations-by-subject-digest", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "subject_digest", + "description": "Subject Digest", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + } + ], + "responses": { + "200": { + "description": "Response" + }, + "204": { + "description": "Response" + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "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\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/orgs#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": "object", - "properties": { - "attestations_subject_digests": { - "type": "object", - "additionalProperties": { - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "bundle": { - "type": "object", - "properties": { - "mediaType": { - "type": "string" - }, - "verificationMaterial": { - "type": "object", - "properties": {}, - "additionalProperties": true - }, - "dsseEnvelope": { - "type": "object", - "properties": {}, - "additionalProperties": true - } - }, - "description": "The bundle of the attestation." - }, - "repository_id": { - "type": "integer" - }, - "bundle_url": { - "type": "string" - } - } - } - }, - "description": "Mapping of subject digest to bundles." - }, - "page_info": { - "type": "object", - "properties": { - "has_next": { - "type": "boolean", - "description": "Indicates whether there is a next page." - }, - "has_previous": { - "type": "boolean", - "description": "Indicates whether there is a previous page." - }, - "next": { - "type": "string", - "description": "The cursor to the next page." - }, - "previous": { - "type": "string", - "description": "The cursor to the previous page." - } + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" }, - "description": "Information about the current page." + "name": { + "type": "string" + } } } }, "examples": { "default": { - "value": { - "attestations_subject_digests": [ - { - "sha256:abc": [ - { - "bundle": { - "mediaType": "application/vnd.dev.sigstore.bundle.v0.3+json", - "verificationMaterial": { - "tlogEntries": [ - { - "logIndex": "97913980", - "logId": { - "keyId": "wNI9atQGlz+VWfO6LRygH4QUfY/8W4RFwiT5i5WRgB0=" - }, - "kindVersion": { - "kind": "dsse", - "version": "0.0.1" - }, - "integratedTime": "1716998992", - "inclusionPromise": { - "signedEntryTimestamp": "MEYCIQCeEsQAy+qXtULkh52wbnHrkt2R2JQ05P9STK/xmdpQ2AIhANiG5Gw6cQiMnwvUz1+9UKtG/vlC8dduq07wsFOViwSL" - }, - "inclusionProof": { - "logIndex": "93750549", - "rootHash": "KgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=", - "treeSize": "93750551", - "hashes": [ - "8LI21mzwxnUSo0fuZeFsUrz2ujZ4QAL+oGeTG+5toZg=", - "nCb369rcIytNhGwWoqBv+eV49X3ZKpo/HJGKm9V+dck=", - "hnNQ9mUdSwYCfdV21pd87NucrdRRNZATowlaRR1hJ4A=", - "MBhhK33vlD4Tq/JKgAaXUI4VjmosWKe6+7RNpQ2ncNM=", - "XKWUE3stvGV1OHsIGiCGfn047Ok6uD4mFkh7BaicaEc=", - "Tgve40VPFfuei+0nhupdGpfPPR+hPpZjxgTiDT8WNoY=", - "wV+S/7tLtYGzkLaSb6UDqexNyhMvumHK/RpTNvEZuLU=", - "uwaWufty6sn6XqO1Tb9M3Vz6sBKPu0HT36mStxJNd7s=", - "jUfeMOXQP0XF1JAnCEETVbfRKMUwCzrVUzYi8vnDMVs=", - "xQKjzJAwwdlQG/YUYBKPXxbCmhMYKo1wnv+6vDuKWhQ=", - "cX3Agx+hP66t1ZLbX/yHbfjU46/3m/VAmWyG/fhxAVc=", - "sjohk/3DQIfXTgf/5XpwtdF7yNbrf8YykOMHr1CyBYQ=", - "98enzMaC+x5oCMvIZQA5z8vu2apDMCFvE/935NfuPw8=" - ], - "checkpoint": { - "envelope": "rekor.sigstore.dev - 2605736670972794746\\n93750551\\nKgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=\\n\\n— rekor.sigstore.dev wNI9ajBEAiBkLzdjY8A9HReU7rmtjwZ+JpSuYtEr9SmvSwUIW7FBjgIgKo+vhkW3tqc+gc8fw9gza3xLoncA8a+MTaJYCaLGA9c=\\n" - } - }, - "canonicalizedBody": "eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiZHNzZSIsInNwZWMiOnsiZW52ZWxvcGVIYXNoIjp7ImFsZ29yaXRobSI6InNoYTI1NiIsInZhbHVlIjoiM2I1YzkwNDk5MGFiYzE4NjI1ZWE3Njg4MzE1OGEwZmI4MTEwMjM4MGJkNjQwZjI5OWJlMzYwZWVkOTMxNjYwYiJ9LCJwYXlsb2FkSGFzaCI6eyJhbGdvcml0aG0iOiJzaGEyNTYiLCJ2YWx1ZSI6IjM4ZGNlZDJjMzE1MGU2OTQxMDViYjZiNDNjYjY3NzBiZTYzZDdhNGM4NjNiMTc2YTkwMmU1MGQ5ZTAyN2ZiMjMifSwic2lnbmF0dXJlcyI6W3sic2lnbmF0dXJlIjoiTUVRQ0lFR0lHQW03Z1pWTExwc3JQY2puZEVqaXVjdEUyL2M5K2o5S0d2YXp6M3JsQWlBZDZPMTZUNWhrelJNM0liUlB6bSt4VDQwbU5RWnhlZmQ3bGFEUDZ4MlhMUT09IiwidmVyaWZpZXIiOiJMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VkcVZFTkRRbWhUWjBGM1NVSkJaMGxWVjFsNGNVdHpjazFUTTFOMmJEVkphalZQUkdaQ1owMUtUeTlKZDBObldVbExiMXBKZW1vd1JVRjNUWGNLVG5wRlZrMUNUVWRCTVZWRlEyaE5UV015Ykc1ak0xSjJZMjFWZFZwSFZqSk5ValIzU0VGWlJGWlJVVVJGZUZaNllWZGtlbVJIT1hsYVV6RndZbTVTYkFwamJURnNXa2RzYUdSSFZYZElhR05PVFdwUmQwNVVTVFZOVkZsM1QxUlZlVmRvWTA1TmFsRjNUbFJKTlUxVVdYaFBWRlY1VjJwQlFVMUdhM2RGZDFsSUNrdHZXa2w2YWpCRFFWRlpTVXR2V2tsNmFqQkVRVkZqUkZGblFVVmtiV2RvVGs1M00yNVZMMHQxWlZGbmMzQkhTRmMzWjJnNVdFeEVMMWRrU1RoWlRVSUtLekJ3TUZZMGJ6RnJTRzgyWTAweGMwUktaM0pEWjFCUlZYcDRjSFZaZFc4cmVIZFFTSGxzTDJ0RWVXWXpSVXhxYTJGUFEwSlVUWGRuWjFWMlRVRTBSd3BCTVZWa1JIZEZRaTkzVVVWQmQwbElaMFJCVkVKblRsWklVMVZGUkVSQlMwSm5aM0pDWjBWR1FsRmpSRUY2UVdSQ1owNVdTRkUwUlVablVWVnhaa05RQ25aWVMwRjJVelJEWkdoUk1taGlXbGRLVTA5RmRsWnZkMGgzV1VSV1VqQnFRa0puZDBadlFWVXpPVkJ3ZWpGWmEwVmFZalZ4VG1wd1MwWlhhWGhwTkZrS1drUTRkMWRuV1VSV1VqQlNRVkZJTDBKR1FYZFViMXBOWVVoU01HTklUVFpNZVRsdVlWaFNiMlJYU1hWWk1qbDBUREpPYzJGVE9XcGlSMnQyVEcxa2NBcGtSMmd4V1drNU0ySXpTbkphYlhoMlpETk5kbHBIVm5kaVJ6azFZbGRXZFdSRE5UVmlWM2hCWTIxV2JXTjVPVzlhVjBaclkzazVNR051Vm5WaGVrRTFDa0puYjNKQ1owVkZRVmxQTDAxQlJVSkNRM1J2WkVoU2QyTjZiM1pNTTFKMllUSldkVXh0Um1wa1IyeDJZbTVOZFZveWJEQmhTRlpwWkZoT2JHTnRUbllLWW01U2JHSnVVWFZaTWpsMFRVSTRSME5wYzBkQlVWRkNaemM0ZDBGUlNVVkZXR1IyWTIxMGJXSkhPVE5ZTWxKd1l6TkNhR1JIVG05TlJGbEhRMmx6UndwQlVWRkNaemM0ZDBGUlRVVkxSMXBvV2xkWmVWcEhVbXRQUkVacFRVUmplazVxWXpCUFJGRjRUVEpGTTFsNldUQk9iVTVyVFVkS2JWbDZTVEpaZWtGM0NsbFVRWGRIUVZsTFMzZFpRa0pCUjBSMmVrRkNRa0ZSUzFKSFZuZGlSemsxWWxkV2RXUkVRVlpDWjI5eVFtZEZSVUZaVHk5TlFVVkdRa0ZrYW1KSGEzWUtXVEo0Y0UxQ05FZERhWE5IUVZGUlFtYzNPSGRCVVZsRlJVaEtiRnB1VFhaaFIxWm9Xa2hOZG1SSVNqRmliWE4zVDNkWlMwdDNXVUpDUVVkRWRucEJRZ3BEUVZGMFJFTjBiMlJJVW5kamVtOTJURE5TZG1FeVZuVk1iVVpxWkVkc2RtSnVUWFZhTW13d1lVaFdhV1JZVG14amJVNTJZbTVTYkdKdVVYVlpNamwwQ2sxR2QwZERhWE5IUVZGUlFtYzNPSGRCVVd0RlZHZDRUV0ZJVWpCalNFMDJUSGs1Ym1GWVVtOWtWMGwxV1RJNWRFd3lUbk5oVXpscVlrZHJka3h0WkhBS1pFZG9NVmxwT1ROaU0wcHlXbTE0ZG1RelRYWmFSMVozWWtjNU5XSlhWblZrUXpVMVlsZDRRV050Vm0xamVUbHZXbGRHYTJONU9UQmpibFoxWVhwQk5BcENaMjl5UW1kRlJVRlpUeTlOUVVWTFFrTnZUVXRIV21oYVYxbDVXa2RTYTA5RVJtbE5SR042VG1wak1FOUVVWGhOTWtVeldYcFpNRTV0VG10TlIwcHRDbGw2U1RKWmVrRjNXVlJCZDBoUldVdExkMWxDUWtGSFJIWjZRVUpEZDFGUVJFRXhibUZZVW05a1YwbDBZVWM1ZW1SSFZtdE5RMjlIUTJselIwRlJVVUlLWnpjNGQwRlJkMFZJUVhkaFlVaFNNR05JVFRaTWVUbHVZVmhTYjJSWFNYVlpNamwwVERKT2MyRlRPV3BpUjJ0M1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWdwRVVWRnhSRU5vYlZsWFZtMU5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBGSENrTnBjMGRCVVZGQ1p6YzRkMEZSTkVWRlozZFJZMjFXYldONU9XOWFWMFpyWTNrNU1HTnVWblZoZWtGYVFtZHZja0puUlVWQldVOHZUVUZGVUVKQmMwMEtRMVJKZUUxcVdYaE5la0V3VDFSQmJVSm5iM0pDWjBWRlFWbFBMMDFCUlZGQ1FtZE5SbTFvTUdSSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhZ3BpUjJ0M1IwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWUlVVdEVRV2N4VDFSamQwNUVZM2hOVkVKalFtZHZja0puUlVWQldVOHZUVUZGVTBKRk5FMVVSMmd3Q21SSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhbUpIYTNaWk1uaHdUSGsxYm1GWVVtOWtWMGwyWkRJNWVXRXlXbk5pTTJSNlRESlNiR05IZUhZS1pWY3hiR0p1VVhWbFZ6RnpVVWhLYkZwdVRYWmhSMVpvV2toTmRtUklTakZpYlhOM1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWM1VYRkVRMmh0V1ZkV2JRcE5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBWSFEybHpSMEZSVVVKbk56aDNDa0ZTVVVWRmQzZFNaREk1ZVdFeVduTmlNMlJtV2tkc2VtTkhSakJaTW1kM1ZGRlpTMHQzV1VKQ1FVZEVkbnBCUWtaUlVTOUVSREZ2WkVoU2QyTjZiM1lLVERKa2NHUkhhREZaYVRWcVlqSXdkbGt5ZUhCTU1rNXpZVk01YUZrelVuQmlNalY2VEROS01XSnVUWFpQVkVrMFQxUkJNMDVVWXpGTmFUbG9aRWhTYkFwaVdFSXdZM2s0ZUUxQ1dVZERhWE5IUVZGUlFtYzNPSGRCVWxsRlEwRjNSMk5JVm1saVIyeHFUVWxIVEVKbmIzSkNaMFZGUVdSYU5VRm5VVU5DU0RCRkNtVjNRalZCU0dOQk0xUXdkMkZ6WWtoRlZFcHFSMUkwWTIxWFl6TkJjVXBMV0hKcVpWQkxNeTlvTkhCNVowTTRjRGR2TkVGQlFVZFFlRkl4ZW1KblFVRUtRa0ZOUVZORVFrZEJhVVZCS3pobmJGRkplRTlCYUZoQ1FVOVRObE1yT0ZweGQwcGpaSGQzVTNJdlZGZHBhSE16WkV4eFZrRjJiME5KVVVSaWVUbG9NUXBKWTNWRVJYSXJlbk5YYVV3NFVIYzFRMU5VZEd0c2RFbzBNakZ6UlRneFZuWjFOa0Z3VkVGTFFtZG5jV2hyYWs5UVVWRkVRWGRPYmtGRVFtdEJha0VyQ2tSSU4xQXJhR2cwVmtoWFprTlhXSFJ5UzFSdlFrdDFZa0pyUzNCbVYwTlpVWGhxV0UweWRsWXZibEJ4WWxwR1dVOVdXazlpWlRaQlRuSm5lV1J2V1VNS1RVWlZUV0l6ZUhwelJrNVJXWFp6UlZsUGFUSkxibkoyUmpCMFoyOXdiVmhIVm05NmJsb3JjUzh5UVVsRVZ6bEdNVVUzV1RaWk1EWXhaVzkxUVZsa1NBcFhkejA5Q2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLIn1dfX0=" - } - ], - "timestampVerificationData": {}, - "certificate": { - "rawBytes": "MIIGjTCCBhSgAwIBAgIUWYxqKsrMS3Svl5Ij5ODfBgMJO/IwCgYIKoZIzj0EAwMwNzEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MR4wHAYDVQQDExVzaWdzdG9yZS1pbnRlcm1lZGlhdGUwHhcNMjQwNTI5MTYwOTUyWhcNMjQwNTI5MTYxOTUyWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdmghNNw3nU/KueQgspGHW7gh9XLD/WdI8YMB+0p0V4o1kHo6cM1sDJgrCgPQUzxpuYuo+xwPHyl/kDyf3ELjkaOCBTMwggUvMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDAzAdBgNVHQ4EFgQUqfCPvXKAvS4CdhQ2hbZWJSOEvVowHwYDVR0jBBgwFoAU39Ppz1YkEZb5qNjpKFWixi4YZD8wWgYDVR0RAQH/BFAwToZMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA5BgorBgEEAYO/MAEBBCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMB8GCisGAQQBg78wAQIEEXdvcmtmbG93X2Rpc3BhdGNoMDYGCisGAQQBg78wAQMEKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwGAYKKwYBBAGDvzABBAQKRGVwbG95bWVudDAVBgorBgEEAYO/MAEFBAdjbGkvY2xpMB4GCisGAQQBg78wAQYEEHJlZnMvaGVhZHMvdHJ1bmswOwYKKwYBBAGDvzABCAQtDCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMFwGCisGAQQBg78wAQkETgxMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA4BgorBgEEAYO/MAEKBCoMKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwHQYKKwYBBAGDvzABCwQPDA1naXRodWItaG9zdGVkMCoGCisGAQQBg78wAQwEHAwaaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkwOAYKKwYBBAGDvzABDQQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCAGCisGAQQBg78wAQ4EEgwQcmVmcy9oZWFkcy90cnVuazAZBgorBgEEAYO/MAEPBAsMCTIxMjYxMzA0OTAmBgorBgEEAYO/MAEQBBgMFmh0dHBzOi8vZ2l0aHViLmNvbS9jbGkwGAYKKwYBBAGDvzABEQQKDAg1OTcwNDcxMTBcBgorBgEEAYO/MAESBE4MTGh0dHBzOi8vZ2l0aHViLmNvbS9jbGkvY2xpLy5naXRodWIvd29ya2Zsb3dzL2RlcGxveW1lbnQueW1sQHJlZnMvaGVhZHMvdHJ1bmswOAYKKwYBBAGDvzABEwQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCEGCisGAQQBg78wARQEEwwRd29ya2Zsb3dfZGlzcGF0Y2gwTQYKKwYBBAGDvzABFQQ/DD1odHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaS9hY3Rpb25zL3J1bnMvOTI4OTA3NTc1Mi9hdHRlbXB0cy8xMBYGCisGAQQBg78wARYECAwGcHVibGljMIGLBgorBgEEAdZ5AgQCBH0EewB5AHcA3T0wasbHETJjGR4cmWc3AqJKXrjePK3/h4pygC8p7o4AAAGPxR1zbgAABAMASDBGAiEA+8glQIxOAhXBAOS6S+8ZqwJcdwwSr/TWihs3dLqVAvoCIQDby9h1IcuDEr+zsWiL8Pw5CSTtkltJ421sE81Vvu6ApTAKBggqhkjOPQQDAwNnADBkAjA+DH7P+hh4VHWfCWXtrKToBKubBkKpfWCYQxjXM2vV/nPqbZFYOVZObe6ANrgydoYCMFUMb3xzsFNQYvsEYOi2KnrvF0tgopmXGVoznZ+q/2AIDW9F1E7Y6Y061eouAYdHWw==" - } - }, - "dsseEnvelope": { - "payload": "eyJfdHlwZSI6Imh0dHBzOi8vaW4tdG90by5pby9TdGF0ZW1lbnQvdjEiLCJzdWJqZWN0IjpbeyJuYW1lIjoiZ2hfMi41MC4wX3dpbmRvd3NfYXJtNjQuemlwIiwiZGlnZXN0Ijp7InNoYTI1NiI6IjhhYWQxMjBiNDE2Mzg2YjQyNjllZjYyYzhmZGViY2FkMzFhNzA4NDcyOTc4MTdhMTQ5ZGFmOTI3ZWRjODU1NDgifX1dLCJwcmVkaWNhdGVUeXBlIjoiaHR0cHM6Ly9zbHNhLmRldi9wcm92ZW5hbmNlL3YxIiwicHJlZGljYXRlIjp7ImJ1aWxkRGVmaW5pdGlvbiI6eyJidWlsZFR5cGUiOiJodHRwczovL3Nsc2EtZnJhbWV3b3JrLmdpdGh1Yi5pby9naXRodWItYWN0aW9ucy1idWlsZHR5cGVzL3dvcmtmbG93L3YxIiwiZXh0ZXJuYWxQYXJhbWV0ZXJzIjp7IndvcmtmbG93Ijp7InJlZiI6InJlZnMvaGVhZHMvdHJ1bmsiLCJyZXBvc2l0b3J5IjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkiLCJwYXRoIjoiLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWwifX0sImludGVybmFsUGFyYW1ldGVycyI6eyJnaXRodWIiOnsiZXZlbnRfbmFtZSI6IndvcmtmbG93X2Rpc3BhdGNoIiwicmVwb3NpdG9yeV9pZCI6IjIxMjYxMzA0OSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1OTcwNDcxMSJ9fSwicmVzb2x2ZWREZXBlbmRlbmNpZXMiOlt7InVyaSI6ImdpdCtodHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaUByZWZzL2hlYWRzL3RydW5rIiwiZGlnZXN0Ijp7ImdpdENvbW1pdCI6ImZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAifX1dfSwicnVuRGV0YWlscyI6eyJidWlsZGVyIjp7ImlkIjoiaHR0cHM6Ly9naXRodWIuY29tL2FjdGlvbnMvcnVubmVyL2dpdGh1Yi1ob3N0ZWQifSwibWV0YWRhdGEiOnsiaW52b2NhdGlvbklkIjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvYWN0aW9ucy9ydW5zLzkyODkwNzU3NTIvYXR0ZW1wdHMvMSJ9fX19", - "payloadType": "application/vnd.in-toto+json", - "signatures": [ - { - "sig": "MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ==" - } - ] - } - }, - "repository_id": 1 - }, - { - "bundle": { - "mediaType": "application/vnd.dev.sigstore.bundle.v0.3+json", - "verificationMaterial": { - "tlogEntries": [ - { - "logIndex": "97913980", - "logId": { - "keyId": "wNI9atQGlz+VWfO6LRygH4QUfY/8W4RFwiT5i5WRgB0=" - }, - "kindVersion": { - "kind": "dsse", - "version": "0.0.1" - }, - "integratedTime": "1716998992", - "inclusionPromise": { - "signedEntryTimestamp": "MEYCIQCeEsQAy+qXtULkh52wbnHrkt2R2JQ05P9STK/xmdpQ2AIhANiG5Gw6cQiMnwvUz1+9UKtG/vlC8dduq07wsFOViwSL" - }, - "inclusionProof": { - "logIndex": "93750549", - "rootHash": "KgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=", - "treeSize": "93750551", - "hashes": [ - "8LI21mzwxnUSo0fuZeFsUrz2ujZ4QAL+oGeTG+5toZg=", - "nCb369rcIytNhGwWoqBv+eV49X3ZKpo/HJGKm9V+dck=", - "hnNQ9mUdSwYCfdV21pd87NucrdRRNZATowlaRR1hJ4A=", - "MBhhK33vlD4Tq/JKgAaXUI4VjmosWKe6+7RNpQ2ncNM=", - "XKWUE3stvGV1OHsIGiCGfn047Ok6uD4mFkh7BaicaEc=", - "Tgve40VPFfuei+0nhupdGpfPPR+hPpZjxgTiDT8WNoY=", - "wV+S/7tLtYGzkLaSb6UDqexNyhMvumHK/RpTNvEZuLU=", - "uwaWufty6sn6XqO1Tb9M3Vz6sBKPu0HT36mStxJNd7s=", - "jUfeMOXQP0XF1JAnCEETVbfRKMUwCzrVUzYi8vnDMVs=", - "xQKjzJAwwdlQG/YUYBKPXxbCmhMYKo1wnv+6vDuKWhQ=", - "cX3Agx+hP66t1ZLbX/yHbfjU46/3m/VAmWyG/fhxAVc=", - "sjohk/3DQIfXTgf/5XpwtdF7yNbrf8YykOMHr1CyBYQ=", - "98enzMaC+x5oCMvIZQA5z8vu2apDMCFvE/935NfuPw8=" - ], - "checkpoint": { - "envelope": "rekor.sigstore.dev - 2605736670972794746\\n93750551\\nKgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=\\n\\n— rekor.sigstore.dev wNI9ajBEAiBkLzdjY8A9HReU7rmtjwZ+JpSuYtEr9SmvSwUIW7FBjgIgKo+vhkW3tqc+gc8fw9gza3xLoncA8a+MTaJYCaLGA9c=\\n" - } - }, - "canonicalizedBody": "eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiZHNzZSIsInNwZWMiOnsiZW52ZWxvcGVIYXNoIjp7ImFsZ29yaXRobSI6InNoYTI1NiIsInZhbHVlIjoiM2I1YzkwNDk5MGFiYzE4NjI1ZWE3Njg4MzE1OGEwZmI4MTEwMjM4MGJkNjQwZjI5OWJlMzYwZWVkOTMxNjYwYiJ9LCJwYXlsb2FkSGFzaCI6eyJhbGdvcml0aG0iOiJzaGEyNTYiLCJ2YWx1ZSI6IjM4ZGNlZDJjMzE1MGU2OTQxMDViYjZiNDNjYjY3NzBiZTYzZDdhNGM4NjNiMTc2YTkwMmU1MGQ5ZTAyN2ZiMjMifSwic2lnbmF0dXJlcyI6W3sic2lnbmF0dXJlIjoiTUVRQ0lFR0lHQW03Z1pWTExwc3JQY2puZEVqaXVjdEUyL2M5K2o5S0d2YXp6M3JsQWlBZDZPMTZUNWhrelJNM0liUlB6bSt4VDQwbU5RWnhlZmQ3bGFEUDZ4MlhMUT09IiwidmVyaWZpZXIiOiJMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VkcVZFTkRRbWhUWjBGM1NVSkJaMGxWVjFsNGNVdHpjazFUTTFOMmJEVkphalZQUkdaQ1owMUtUeTlKZDBObldVbExiMXBKZW1vd1JVRjNUWGNLVG5wRlZrMUNUVWRCTVZWRlEyaE5UV015Ykc1ak0xSjJZMjFWZFZwSFZqSk5ValIzU0VGWlJGWlJVVVJGZUZaNllWZGtlbVJIT1hsYVV6RndZbTVTYkFwamJURnNXa2RzYUdSSFZYZElhR05PVFdwUmQwNVVTVFZOVkZsM1QxUlZlVmRvWTA1TmFsRjNUbFJKTlUxVVdYaFBWRlY1VjJwQlFVMUdhM2RGZDFsSUNrdHZXa2w2YWpCRFFWRlpTVXR2V2tsNmFqQkVRVkZqUkZGblFVVmtiV2RvVGs1M00yNVZMMHQxWlZGbmMzQkhTRmMzWjJnNVdFeEVMMWRrU1RoWlRVSUtLekJ3TUZZMGJ6RnJTRzgyWTAweGMwUktaM0pEWjFCUlZYcDRjSFZaZFc4cmVIZFFTSGxzTDJ0RWVXWXpSVXhxYTJGUFEwSlVUWGRuWjFWMlRVRTBSd3BCTVZWa1JIZEZRaTkzVVVWQmQwbElaMFJCVkVKblRsWklVMVZGUkVSQlMwSm5aM0pDWjBWR1FsRmpSRUY2UVdSQ1owNVdTRkUwUlVablVWVnhaa05RQ25aWVMwRjJVelJEWkdoUk1taGlXbGRLVTA5RmRsWnZkMGgzV1VSV1VqQnFRa0puZDBadlFWVXpPVkJ3ZWpGWmEwVmFZalZ4VG1wd1MwWlhhWGhwTkZrS1drUTRkMWRuV1VSV1VqQlNRVkZJTDBKR1FYZFViMXBOWVVoU01HTklUVFpNZVRsdVlWaFNiMlJYU1hWWk1qbDBUREpPYzJGVE9XcGlSMnQyVEcxa2NBcGtSMmd4V1drNU0ySXpTbkphYlhoMlpETk5kbHBIVm5kaVJ6azFZbGRXZFdSRE5UVmlWM2hCWTIxV2JXTjVPVzlhVjBaclkzazVNR051Vm5WaGVrRTFDa0puYjNKQ1owVkZRVmxQTDAxQlJVSkNRM1J2WkVoU2QyTjZiM1pNTTFKMllUSldkVXh0Um1wa1IyeDJZbTVOZFZveWJEQmhTRlpwWkZoT2JHTnRUbllLWW01U2JHSnVVWFZaTWpsMFRVSTRSME5wYzBkQlVWRkNaemM0ZDBGUlNVVkZXR1IyWTIxMGJXSkhPVE5ZTWxKd1l6TkNhR1JIVG05TlJGbEhRMmx6UndwQlVWRkNaemM0ZDBGUlRVVkxSMXBvV2xkWmVWcEhVbXRQUkVacFRVUmplazVxWXpCUFJGRjRUVEpGTTFsNldUQk9iVTVyVFVkS2JWbDZTVEpaZWtGM0NsbFVRWGRIUVZsTFMzZFpRa0pCUjBSMmVrRkNRa0ZSUzFKSFZuZGlSemsxWWxkV2RXUkVRVlpDWjI5eVFtZEZSVUZaVHk5TlFVVkdRa0ZrYW1KSGEzWUtXVEo0Y0UxQ05FZERhWE5IUVZGUlFtYzNPSGRCVVZsRlJVaEtiRnB1VFhaaFIxWm9Xa2hOZG1SSVNqRmliWE4zVDNkWlMwdDNXVUpDUVVkRWRucEJRZ3BEUVZGMFJFTjBiMlJJVW5kamVtOTJURE5TZG1FeVZuVk1iVVpxWkVkc2RtSnVUWFZhTW13d1lVaFdhV1JZVG14amJVNTJZbTVTYkdKdVVYVlpNamwwQ2sxR2QwZERhWE5IUVZGUlFtYzNPSGRCVVd0RlZHZDRUV0ZJVWpCalNFMDJUSGs1Ym1GWVVtOWtWMGwxV1RJNWRFd3lUbk5oVXpscVlrZHJka3h0WkhBS1pFZG9NVmxwT1ROaU0wcHlXbTE0ZG1RelRYWmFSMVozWWtjNU5XSlhWblZrUXpVMVlsZDRRV050Vm0xamVUbHZXbGRHYTJONU9UQmpibFoxWVhwQk5BcENaMjl5UW1kRlJVRlpUeTlOUVVWTFFrTnZUVXRIV21oYVYxbDVXa2RTYTA5RVJtbE5SR042VG1wak1FOUVVWGhOTWtVeldYcFpNRTV0VG10TlIwcHRDbGw2U1RKWmVrRjNXVlJCZDBoUldVdExkMWxDUWtGSFJIWjZRVUpEZDFGUVJFRXhibUZZVW05a1YwbDBZVWM1ZW1SSFZtdE5RMjlIUTJselIwRlJVVUlLWnpjNGQwRlJkMFZJUVhkaFlVaFNNR05JVFRaTWVUbHVZVmhTYjJSWFNYVlpNamwwVERKT2MyRlRPV3BpUjJ0M1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWdwRVVWRnhSRU5vYlZsWFZtMU5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBGSENrTnBjMGRCVVZGQ1p6YzRkMEZSTkVWRlozZFJZMjFXYldONU9XOWFWMFpyWTNrNU1HTnVWblZoZWtGYVFtZHZja0puUlVWQldVOHZUVUZGVUVKQmMwMEtRMVJKZUUxcVdYaE5la0V3VDFSQmJVSm5iM0pDWjBWRlFWbFBMMDFCUlZGQ1FtZE5SbTFvTUdSSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhZ3BpUjJ0M1IwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWUlVVdEVRV2N4VDFSamQwNUVZM2hOVkVKalFtZHZja0puUlVWQldVOHZUVUZGVTBKRk5FMVVSMmd3Q21SSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhbUpIYTNaWk1uaHdUSGsxYm1GWVVtOWtWMGwyWkRJNWVXRXlXbk5pTTJSNlRESlNiR05IZUhZS1pWY3hiR0p1VVhWbFZ6RnpVVWhLYkZwdVRYWmhSMVpvV2toTmRtUklTakZpYlhOM1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWM1VYRkVRMmh0V1ZkV2JRcE5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBWSFEybHpSMEZSVVVKbk56aDNDa0ZTVVVWRmQzZFNaREk1ZVdFeVduTmlNMlJtV2tkc2VtTkhSakJaTW1kM1ZGRlpTMHQzV1VKQ1FVZEVkbnBCUWtaUlVTOUVSREZ2WkVoU2QyTjZiM1lLVERKa2NHUkhhREZaYVRWcVlqSXdkbGt5ZUhCTU1rNXpZVk01YUZrelVuQmlNalY2VEROS01XSnVUWFpQVkVrMFQxUkJNMDVVWXpGTmFUbG9aRWhTYkFwaVdFSXdZM2s0ZUUxQ1dVZERhWE5IUVZGUlFtYzNPSGRCVWxsRlEwRjNSMk5JVm1saVIyeHFUVWxIVEVKbmIzSkNaMFZGUVdSYU5VRm5VVU5DU0RCRkNtVjNRalZCU0dOQk0xUXdkMkZ6WWtoRlZFcHFSMUkwWTIxWFl6TkJjVXBMV0hKcVpWQkxNeTlvTkhCNVowTTRjRGR2TkVGQlFVZFFlRkl4ZW1KblFVRUtRa0ZOUVZORVFrZEJhVVZCS3pobmJGRkplRTlCYUZoQ1FVOVRObE1yT0ZweGQwcGpaSGQzVTNJdlZGZHBhSE16WkV4eFZrRjJiME5KVVVSaWVUbG9NUXBKWTNWRVJYSXJlbk5YYVV3NFVIYzFRMU5VZEd0c2RFbzBNakZ6UlRneFZuWjFOa0Z3VkVGTFFtZG5jV2hyYWs5UVVWRkVRWGRPYmtGRVFtdEJha0VyQ2tSSU4xQXJhR2cwVmtoWFprTlhXSFJ5UzFSdlFrdDFZa0pyUzNCbVYwTlpVWGhxV0UweWRsWXZibEJ4WWxwR1dVOVdXazlpWlRaQlRuSm5lV1J2V1VNS1RVWlZUV0l6ZUhwelJrNVJXWFp6UlZsUGFUSkxibkoyUmpCMFoyOXdiVmhIVm05NmJsb3JjUzh5UVVsRVZ6bEdNVVUzV1RaWk1EWXhaVzkxUVZsa1NBcFhkejA5Q2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLIn1dfX0=" - } - ], - "timestampVerificationData": {}, - "certificate": { - "rawBytes": "MIIGjTCCBhSgAwIBAgIUWYxqKsrMS3Svl5Ij5ODfBgMJO/IwCgYIKoZIzj0EAwMwNzEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MR4wHAYDVQQDExVzaWdzdG9yZS1pbnRlcm1lZGlhdGUwHhcNMjQwNTI5MTYwOTUyWhcNMjQwNTI5MTYxOTUyWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdmghNNw3nU/KueQgspGHW7gh9XLD/WdI8YMB+0p0V4o1kHo6cM1sDJgrCgPQUzxpuYuo+xwPHyl/kDyf3ELjkaOCBTMwggUvMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDAzAdBgNVHQ4EFgQUqfCPvXKAvS4CdhQ2hbZWJSOEvVowHwYDVR0jBBgwFoAU39Ppz1YkEZb5qNjpKFWixi4YZD8wWgYDVR0RAQH/BFAwToZMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA5BgorBgEEAYO/MAEBBCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMB8GCisGAQQBg78wAQIEEXdvcmtmbG93X2Rpc3BhdGNoMDYGCisGAQQBg78wAQMEKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwGAYKKwYBBAGDvzABBAQKRGVwbG95bWVudDAVBgorBgEEAYO/MAEFBAdjbGkvY2xpMB4GCisGAQQBg78wAQYEEHJlZnMvaGVhZHMvdHJ1bmswOwYKKwYBBAGDvzABCAQtDCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMFwGCisGAQQBg78wAQkETgxMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA4BgorBgEEAYO/MAEKBCoMKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwHQYKKwYBBAGDvzABCwQPDA1naXRodWItaG9zdGVkMCoGCisGAQQBg78wAQwEHAwaaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkwOAYKKwYBBAGDvzABDQQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCAGCisGAQQBg78wAQ4EEgwQcmVmcy9oZWFkcy90cnVuazAZBgorBgEEAYO/MAEPBAsMCTIxMjYxMzA0OTAmBgorBgEEAYO/MAEQBBgMFmh0dHBzOi8vZ2l0aHViLmNvbS9jbGkwGAYKKwYBBAGDvzABEQQKDAg1OTcwNDcxMTBcBgorBgEEAYO/MAESBE4MTGh0dHBzOi8vZ2l0aHViLmNvbS9jbGkvY2xpLy5naXRodWIvd29ya2Zsb3dzL2RlcGxveW1lbnQueW1sQHJlZnMvaGVhZHMvdHJ1bmswOAYKKwYBBAGDvzABEwQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCEGCisGAQQBg78wARQEEwwRd29ya2Zsb3dfZGlzcGF0Y2gwTQYKKwYBBAGDvzABFQQ/DD1odHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaS9hY3Rpb25zL3J1bnMvOTI4OTA3NTc1Mi9hdHRlbXB0cy8xMBYGCisGAQQBg78wARYECAwGcHVibGljMIGLBgorBgEEAdZ5AgQCBH0EewB5AHcA3T0wasbHETJjGR4cmWc3AqJKXrjePK3/h4pygC8p7o4AAAGPxR1zbgAABAMASDBGAiEA+8glQIxOAhXBAOS6S+8ZqwJcdwwSr/TWihs3dLqVAvoCIQDby9h1IcuDEr+zsWiL8Pw5CSTtkltJ421sE81Vvu6ApTAKBggqhkjOPQQDAwNnADBkAjA+DH7P+hh4VHWfCWXtrKToBKubBkKpfWCYQxjXM2vV/nPqbZFYOVZObe6ANrgydoYCMFUMb3xzsFNQYvsEYOi2KnrvF0tgopmXGVoznZ+q/2AIDW9F1E7Y6Y061eouAYdHWw==" - } - }, - "dsseEnvelope": { - "payload": "eyJfdHlwZSI6Imh0dHBzOi8vaW4tdG90by5pby9TdGF0ZW1lbnQvdjEiLCJzdWJqZWN0IjpbeyJuYW1lIjoiZ2hfMi41MC4wX3dpbmRvd3NfYXJtNjQuemlwIiwiZGlnZXN0Ijp7InNoYTI1NiI6IjhhYWQxMjBiNDE2Mzg2YjQyNjllZjYyYzhmZGViY2FkMzFhNzA4NDcyOTc4MTdhMTQ5ZGFmOTI3ZWRjODU1NDgifX1dLCJwcmVkaWNhdGVUeXBlIjoiaHR0cHM6Ly9zbHNhLmRldi9wcm92ZW5hbmNlL3YxIiwicHJlZGljYXRlIjp7ImJ1aWxkRGVmaW5pdGlvbiI6eyJidWlsZFR5cGUiOiJodHRwczovL3Nsc2EtZnJhbWV3b3JrLmdpdGh1Yi5pby9naXRodWItYWN0aW9ucy1idWlsZHR5cGVzL3dvcmtmbG93L3YxIiwiZXh0ZXJuYWxQYXJhbWV0ZXJzIjp7IndvcmtmbG93Ijp7InJlZiI6InJlZnMvaGVhZHMvdHJ1bmsiLCJyZXBvc2l0b3J5IjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkiLCJwYXRoIjoiLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWwifX0sImludGVybmFsUGFyYW1ldGVycyI6eyJnaXRodWIiOnsiZXZlbnRfbmFtZSI6IndvcmtmbG93X2Rpc3BhdGNoIiwicmVwb3NpdG9yeV9pZCI6IjIxMjYxMzA0OSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1OTcwNDcxMSJ9fSwicmVzb2x2ZWREZXBlbmRlbmNpZXMiOlt7InVyaSI6ImdpdCtodHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaUByZWZzL2hlYWRzL3RydW5rIiwiZGlnZXN0Ijp7ImdpdENvbW1pdCI6ImZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAifX1dfSwicnVuRGV0YWlscyI6eyJidWlsZGVyIjp7ImlkIjoiaHR0cHM6Ly9naXRodWIuY29tL2FjdGlvbnMvcnVubmVyL2dpdGh1Yi1ob3N0ZWQifSwibWV0YWRhdGEiOnsiaW52b2NhdGlvbklkIjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvYWN0aW9ucy9ydW5zLzkyODkwNzU3NTIvYXR0ZW1wdHMvMSJ9fX19", - "payloadType": "application/vnd.in-toto+json", - "signatures": [ - { - "sig": "MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ==" - } - ] - } - }, - "repository_id": 1 - } - ] - } - ] - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "attestations" - } - } - }, - "/orgs/{org}/attestations/delete-request": { - "post": { - "summary": "Delete attestations in bulk", - "description": "Delete artifact attestations in bulk by either subject digests or unique ID.", - "tags": [ - "orgs" - ], - "operationId": "orgs/delete-attestations-bulk", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "oneOf": [ - { - "properties": { - "subject_digests": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of subject digests associated with the artifact attestations to delete.", - "minItems": 1, - "maxItems": 1024 - } - }, - "required": [ - "subject_digests" - ] - }, - { - "properties": { - "attestation_ids": { - "type": "array", - "items": { - "type": "integer" - }, - "description": "List of unique IDs associated with the artifact attestations to delete.", - "minItems": 1, - "maxItems": 1024 + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" } - }, - "required": [ - "attestation_ids" - ] - } - ], - "description": "The request body must include either `subject_digests` or `attestation_ids`, but not both." - }, - "examples": { - "by-subject-digests": { - "summary": "Delete by subject digests", - "value": { - "subject_digests": [ - "sha256:abc123", - "sha512:def456" - ] - } - }, - "by-attestation-ids": { - "summary": "Delete by attestation IDs", - "value": { - "attestation_ids": [ - 111, - 222 ] } } @@ -97044,117 +95074,11 @@ } } }, - "responses": { - "200": { - "description": "Response" - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "orgs", - "subcategory": "attestations" - } - } - }, - "/orgs/{org}/attestations/digest/{subject_digest}": { - "delete": { - "summary": "Delete attestations by subject digest", - "description": "Delete an artifact attestation by subject digest.", - "tags": [ - "orgs" - ], - "operationId": "orgs/delete-attestations-by-subject-digest", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "subject_digest", - "description": "Subject Digest", - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "x-multi-segment": true - } - ], - "responses": { - "200": { - "description": "Response" - }, - "204": { - "description": "Response" - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "attestations" + "subcategory": "orgs" } } }, @@ -115170,29 +113094,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,7 +169737,7 @@ }, { "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`", "in": "query", "required": false, "schema": { @@ -171844,10 +169745,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] + } } }, { @@ -353327,16 +351225,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 +351252,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 +574914,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,7 +736905,7 @@ }, { "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`", "in": "query", "required": false, "schema": { @@ -739048,10 +736913,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] + } } } ], @@ -776666,7 +774528,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" ], 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..62bfd3898 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 @@ -905,7 +905,7 @@ paths: - subscriptions_url - type - url - type: &292 + type: &280 type: string description: The type of credit the user is receiving. enum: @@ -1038,7 +1038,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &106 + schema: &101 title: Validation Error Simple description: Validation Error Simple type: object @@ -1071,7 +1071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &605 + - &601 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1656,7 +1656,7 @@ paths: schema: type: integer default: 30 - - &177 + - &175 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1672,7 +1672,7 @@ paths: application/json: schema: type: array - items: &178 + items: &176 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1768,7 +1768,7 @@ paths: - installation_id - repository_id examples: - default: &179 + default: &177 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1831,7 +1831,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &105 + schema: &100 title: Validation Error description: Validation Error type: object @@ -1903,7 +1903,7 @@ paths: description: Response content: application/json: - schema: &180 + schema: &178 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2038,7 +2038,7 @@ paths: - request - response examples: - default: &181 + default: &179 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2242,7 +2242,7 @@ paths: parameters: - *17 - *19 - - &75 + - &69 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 +2792,7 @@ paths: suspended_at: suspended_by: headers: - Link: &57 + Link: &52 example: ; rel="next", ; rel="last" schema: @@ -2982,7 +2982,7 @@ paths: - selected repositories: type: array - items: &66 + items: &61 title: Repository description: A repository on GitHub. type: object @@ -3009,7 +3009,7 @@ paths: license: anyOf: - type: 'null' - - &71 + - &66 title: License Simple description: License Simple type: object @@ -5387,7 +5387,7 @@ paths: responses: '202': *37 '422': *7 - '500': &100 + '500': &94 description: Internal Error content: application/json: @@ -8959,7 +8959,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 + - &446 name: has in: query description: |- @@ -9001,31 +9001,6 @@ paths: - *46 - *38 - *39 - - &169 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &170 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - *17 responses: '200': @@ -9034,11 +9009,11 @@ paths: application/json: schema: type: array - items: &171 + items: &169 type: object description: A Dependabot alert. properties: - number: &52 + number: &142 type: integer description: The security alert number. readOnly: true @@ -9104,7 +9079,7 @@ paths: - direct - transitive - - security_advisory: &459 + security_advisory: &447 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9311,23 +9286,23 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *50 - url: &55 + url: &145 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &56 + html_url: &146 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &53 + created_at: &143 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: &144 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9372,7 +9347,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: &448 type: - string - 'null' @@ -9399,7 +9374,7 @@ paths: - repository additionalProperties: false examples: - default: &172 + default: &170 value: - number: 2 state: dismissed @@ -9727,740 +9702,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 +9723,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 +9788,7 @@ paths: - updated_at - group_id examples: - default: &59 + default: &54 value: - id: 1 name: Justice League @@ -10560,7 +9801,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 @@ -10623,9 +9864,9 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10643,7 +9884,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 +9903,7 @@ paths: type: array items: *4 examples: - default: &61 + default: &56 value: - login: octocat id: 1 @@ -10683,7 +9924,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10701,7 +9942,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 +9973,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10750,7 +9991,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 +10022,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10799,8 +10040,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 +10055,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &63 + exampleKey1: &58 value: login: octocat id: 1 @@ -10850,8 +10091,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 +10100,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *63 + exampleKey1: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10877,8 +10118,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 @@ -10903,7 +10144,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *40 - - &64 + - &59 name: team_slug description: The slug of the team name. in: path @@ -10915,11 +10156,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 +10178,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *40 - - *64 + - *59 requestBody: required: true content: @@ -10983,11 +10224,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 +10249,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *40 - - *64 + - *59 responses: '204': description: Response @@ -11046,7 +10287,7 @@ paths: application/json: schema: type: array - items: &94 + items: &88 title: Event description: Event type: object @@ -11057,7 +10298,7 @@ paths: type: - string - 'null' - actor: &65 + actor: &60 title: Actor description: Actor type: object @@ -11098,7 +10339,7 @@ paths: - id - name - url - org: *65 + org: *60 payload: oneOf: - title: CreateEvent @@ -11145,7 +10386,7 @@ paths: properties: action: type: string - discussion: &699 + discussion: &695 title: Discussion description: A Discussion in a repository. type: object @@ -11442,7 +10683,7 @@ paths: - id labels: type: array - items: &67 + items: &62 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11525,7 +10766,7 @@ paths: properties: action: type: string - issue: &68 + issue: &63 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -11648,7 +10889,7 @@ paths: milestone: anyOf: - type: 'null' - - &238 + - &236 title: Milestone description: A collection of related issues and pull requests. @@ -11820,7 +11061,7 @@ paths: timeline_url: type: string format: uri - type: &199 + type: &197 title: Issue Type description: The type of issue. type: @@ -11874,12 +11115,12 @@ paths: - node_id - name - description - repository: *66 + repository: *61 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &69 + author_association: &64 title: author_association type: string description: How the author is associated with the @@ -11895,7 +11136,7 @@ paths: - OWNER examples: - OWNER - reactions: &70 + reactions: &65 title: Reaction Rollup type: object properties: @@ -11931,7 +11172,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &617 + sub_issues_summary: &613 title: Sub-issues Summary type: object properties: @@ -11952,7 +11193,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &618 + issue_dependencies_summary: &614 title: Issue Dependencies Summary type: object properties: @@ -11971,7 +11212,7 @@ paths: - total_blocking issue_field_values: type: array - items: &619 + items: &615 title: Issue Field Value description: A value assigned to an issue field type: object @@ -12071,10 +11312,10 @@ paths: assignees: type: array items: *4 - label: *67 + label: *62 labels: type: array - items: *67 + items: *62 required: - action - issue @@ -12083,8 +11324,8 @@ paths: properties: action: type: string - issue: *68 - comment: &506 + issue: *63 + comment: &494 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12134,12 +11375,12 @@ paths: issue_url: type: string format: uri - author_association: *69 + author_association: *64 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *65 required: - id - node_id @@ -12318,7 +11559,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *66 allow_forking: type: boolean is_template: @@ -12409,7 +11650,7 @@ paths: type: string number: type: integer - pull_request: &72 + pull_request: &67 title: Pull Request Minimal type: object properties: @@ -12480,10 +11721,10 @@ paths: assignees: type: array items: *4 - label: *67 + label: *62 labels: type: array - items: *67 + items: *62 required: - action - number @@ -12493,7 +11734,7 @@ paths: properties: action: type: string - pull_request: *72 + pull_request: *67 comment: type: object properties: @@ -12747,7 +11988,7 @@ paths: - pull_request updated_at: type: string - pull_request: *72 + pull_request: *67 required: - action - review @@ -12796,7 +12037,7 @@ paths: updated_at: type: string format: date-time - reactions: *70 + reactions: *65 required: - action - comment @@ -12807,7 +12048,7 @@ paths: type: string release: allOf: - - &558 + - &546 title: Release description: A release. type: object @@ -12889,7 +12130,7 @@ paths: author: *4 assets: type: array - items: &559 + items: &547 title: Release Asset description: Data related to a release. type: object @@ -12964,7 +12205,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *70 + reactions: *65 required: - assets_url - upload_url @@ -13057,7 +12298,19 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *73 + '503': &95 + 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 +12400,7 @@ paths: _links: type: object properties: - timeline: &74 + timeline: &68 title: Link With Type description: Hypermedia Link with Type type: object @@ -13159,17 +12412,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: *68 + security_advisories: *68 + current_user: *68 + current_user_public: *68 + current_user_actor: *68 + current_user_organization: *68 current_user_organizations: type: array - items: *74 - repository_discussions: *74 - repository_discussions_category: *74 + items: *68 + repository_discussions: *68 + repository_discussions_category: *68 required: - timeline - user @@ -13231,7 +12484,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *75 + - *69 - *17 - *19 responses: @@ -13241,7 +12494,7 @@ paths: application/json: schema: type: array - items: &76 + items: &70 title: Base Gist description: Base Gist type: object @@ -13338,7 +12591,7 @@ paths: - created_at - updated_at examples: - default: &77 + default: &71 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13383,7 +12636,7 @@ paths: site_admin: false truncated: false headers: - Link: *57 + Link: *52 '304': *35 '403': *27 x-github: @@ -13462,7 +12715,7 @@ paths: description: Response content: application/json: - schema: &78 + schema: &72 title: Gist Simple description: Gist Simple type: object @@ -13480,7 +12733,7 @@ paths: url: type: string format: uri - user: &631 + user: &627 title: Public User description: Public User type: object @@ -13854,7 +13107,7 @@ paths: truncated: type: boolean examples: - default: &79 + default: &73 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13958,7 +13211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *75 + - *69 - *17 - *19 responses: @@ -13968,11 +13221,11 @@ paths: application/json: schema: type: array - items: *76 + items: *70 examples: - default: *77 + default: *71 headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '403': *27 @@ -13992,7 +13245,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *75 + - *69 - *17 - *19 responses: @@ -14002,11 +13255,11 @@ paths: application/json: schema: type: array - items: *76 + items: *70 examples: - default: *77 + default: *71 headers: - Link: *57 + Link: *52 '401': *23 '304': *35 '403': *27 @@ -14032,7 +13285,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &80 + - &74 name: gist_id description: The unique identifier of the gist. in: path @@ -14044,10 +13297,10 @@ paths: description: Response content: application/json: - schema: *78 + schema: *72 examples: - default: *79 - '403': &83 + default: *73 + '403': &77 description: Forbidden Gist content: application/json: @@ -14096,7 +13349,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *80 + - *74 requestBody: required: true content: @@ -14160,9 +13413,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *72 examples: - updateGist: *79 + updateGist: *73 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -14320,7 +13573,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *80 + - *74 responses: '204': description: Response @@ -14349,7 +13602,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *80 + - *74 - *17 - *19 responses: @@ -14359,7 +13612,7 @@ paths: application/json: schema: type: array - items: &81 + items: &75 title: Gist Comment description: A comment made to a gist. type: object @@ -14397,7 +13650,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *69 + author_association: *64 required: - url - id @@ -14437,7 +13690,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 +13715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *80 + - *74 requestBody: required: true content: @@ -14488,9 +13741,9 @@ paths: description: Response content: application/json: - schema: *81 + schema: *75 examples: - default: &82 + default: &76 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14548,8 +13801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *80 - - &84 + - *74 + - &78 name: comment_id description: The unique identifier of the comment. in: path @@ -14562,12 +13815,12 @@ paths: description: Response content: application/json: - schema: *81 + schema: *75 examples: - default: *82 + default: *76 '304': *35 '404': *6 - '403': *83 + '403': *77 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14589,8 +13842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *80 - - *84 + - *74 + - *78 requestBody: required: true content: @@ -14616,9 +13869,9 @@ paths: description: Response content: application/json: - schema: *81 + schema: *75 examples: - default: *82 + default: *76 '404': *6 x-github: githubCloudOnly: false @@ -14635,8 +13888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *80 - - *84 + - *74 + - *78 responses: '204': description: Response @@ -14659,7 +13912,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *80 + - *74 - *17 - *19 responses: @@ -14760,7 +14013,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *80 + - *74 - *17 - *19 responses: @@ -14770,7 +14023,7 @@ paths: application/json: schema: type: array - items: *78 + items: *72 examples: default: value: @@ -14816,7 +14069,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '404': *6 '304': *35 '403': *27 @@ -14835,13 +14088,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *80 + - *74 responses: '201': description: Response content: application/json: - schema: *76 + schema: *70 examples: default: value: @@ -14912,7 +14165,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *80 + - *74 responses: '204': description: Response if gist is starred @@ -14942,7 +14195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *80 + - *74 responses: '204': description: Response @@ -14964,7 +14217,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *80 + - *74 responses: '204': description: Response @@ -14993,7 +14246,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *80 + - *74 - name: sha in: path required: true @@ -15004,9 +14257,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *72 examples: - default: *79 + default: *73 '422': *15 '404': *6 '403': *27 @@ -15167,7 +14420,7 @@ paths: type: integer repositories: type: array - items: *66 + items: *61 repository_selection: type: string examples: @@ -15291,7 +14544,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '403': *27 '304': *35 '401': *23 @@ -15375,7 +14628,7 @@ paths: - closed - all default: open - - &202 + - &200 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -15394,7 +14647,7 @@ paths: - comments default: created - *46 - - *75 + - *69 - name: collab in: query required: false @@ -15424,9 +14677,9 @@ paths: application/json: schema: type: array - items: *68 + items: *63 examples: - default: &203 + default: &201 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15671,7 +14924,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '404': *6 @@ -15706,7 +14959,7 @@ paths: application/json: schema: type: array - items: *71 + items: *66 examples: default: value: @@ -16004,7 +15257,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &85 + X-CommonMarker-Version: &79 example: 0.17.4 schema: type: string @@ -16059,7 +15312,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *85 + X-CommonMarker-Version: *79 content: text/html: schema: @@ -16088,7 +15341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &88 + - &82 name: account_id description: account_id parameter in: path @@ -16100,7 +15353,7 @@ paths: description: Response content: application/json: - schema: &87 + schema: &81 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -16134,7 +15387,7 @@ paths: - 'null' id: type: integer - plan: &86 + plan: &80 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -16237,7 +15490,7 @@ paths: - 'null' updated_at: type: string - plan: *86 + plan: *80 required: - url - id @@ -16245,7 +15498,7 @@ paths: - login - marketplace_purchase examples: - default: &89 + default: &83 value: url: https://api.github.com/orgs/github type: Organization @@ -16330,9 +15583,9 @@ paths: application/json: schema: type: array - items: *86 + items: *80 examples: - default: &90 + default: &84 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -16350,7 +15603,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '404': *6 '401': *23 x-github: @@ -16372,14 +15625,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &91 + - &85 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &92 + - &86 name: sort description: The property to sort the results by. in: query @@ -16409,9 +15662,9 @@ paths: application/json: schema: type: array - items: *87 + items: *81 examples: - default: &93 + default: &87 value: - url: https://api.github.com/orgs/github type: Organization @@ -16462,7 +15715,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '404': *6 '422': *15 '401': *23 @@ -16485,15 +15738,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *88 + - *82 responses: '200': description: Response content: application/json: - schema: *87 + schema: *81 examples: - default: *89 + default: *83 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -16525,11 +15778,11 @@ paths: application/json: schema: type: array - items: *86 + items: *80 examples: - default: *90 + default: *84 headers: - Link: *57 + Link: *52 '401': *23 x-github: githubCloudOnly: false @@ -16550,8 +15803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *91 - - *92 + - *85 + - *86 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16571,11 +15824,11 @@ paths: application/json: schema: type: array - items: *87 + items: *81 examples: - default: *93 + default: *87 headers: - Link: *57 + Link: *52 '401': *23 x-github: githubCloudOnly: false @@ -16838,14 +16091,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &314 + - &302 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &315 + - &303 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16862,7 +16115,7 @@ paths: application/json: schema: type: array - items: *94 + items: *88 examples: default: value: @@ -16907,7 +16160,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &323 + '301': &311 description: Moved permanently content: application/json: @@ -16929,7 +16182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &534 + - &522 name: all description: If `true`, show notifications marked as read. in: query @@ -16937,7 +16190,7 @@ paths: schema: type: boolean default: false - - &535 + - &523 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16946,8 +16199,8 @@ paths: schema: type: boolean default: false - - *75 - - &536 + - *69 + - &524 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 +16225,14 @@ paths: application/json: schema: type: array - items: &95 + items: &89 title: Thread description: Thread type: object properties: id: type: string - repository: &131 + repository: &126 title: Minimal Repository description: Minimal Repository type: object @@ -17318,7 +16571,7 @@ paths: type: boolean examples: - false - security_and_analysis: &250 + security_and_analysis: &248 type: - object - 'null' @@ -17483,7 +16736,7 @@ paths: - url - subscription_url examples: - default: &537 + default: &525 value: - id: '1' repository: @@ -17565,7 +16818,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 +16902,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &96 + - &90 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 +16916,7 @@ paths: description: Response content: application/json: - schema: *95 + schema: *89 examples: default: value: @@ -17765,7 +17018,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *96 + - *90 responses: '205': description: Reset Content @@ -17787,7 +17040,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *96 + - *90 responses: '204': description: No content @@ -17810,13 +17063,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *96 + - *90 responses: '200': description: Response content: application/json: - schema: &97 + schema: &91 title: Thread Subscription description: Thread Subscription type: object @@ -17860,7 +17113,7 @@ paths: - url - subscribed examples: - default: &98 + default: &92 value: subscribed: true ignored: false @@ -17891,7 +17144,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *96 + - *90 requestBody: required: false content: @@ -17912,9 +17165,9 @@ paths: description: Response content: application/json: - schema: *97 + schema: *91 examples: - default: *98 + default: *92 '304': *35 '403': *27 '401': *23 @@ -17937,7 +17190,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *96 + - *90 responses: '204': description: Response @@ -18104,7 +17357,7 @@ paths: - avatar_url - description examples: - default: &647 + default: &643 value: - login: github id: 1 @@ -18144,7 +17397,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 + - &93 name: org description: The organization name. The name is not case sensitive. in: path @@ -18301,7 +17554,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 + - *93 requestBody: required: true content: @@ -18367,7 +17620,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 + - *93 requestBody: required: true content: @@ -18404,9 +17657,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 +17668,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 + - *93 + - &96 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 +17678,7 @@ paths: required: false schema: type: integer - - &673 + - &669 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 +17687,7 @@ paths: required: false schema: type: integer - - &102 + - &97 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 +17702,14 @@ paths: required: false schema: type: string - - &674 + - &670 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &675 + - &671 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -18571,8 +17825,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *100 - '503': *73 + '500': *94 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18592,9 +17846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *99 - - *101 - - &678 + - *93 + - *96 + - &674 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 +17857,8 @@ paths: required: false schema: type: integer - - *102 - - &679 + - *97 + - &675 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 +17941,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *100 - '503': *73 + '500': *94 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18714,13 +17968,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: &103 + schema: &98 title: Organization Full description: Organization Full type: object @@ -19115,7 +18369,7 @@ paths: - updated_at - archived_at examples: - default-response: &104 + default-response: &99 value: login: github id: 1 @@ -19215,7 +18469,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *99 + - *93 requestBody: required: false content: @@ -19432,17 +18686,17 @@ paths: description: Response content: application/json: - schema: *103 + schema: *98 examples: - default: *104 + default: *99 '422': description: Validation failed content: application/json: schema: oneOf: - - *105 - - *106 + - *100 + - *101 '409': *45 x-github: githubCloudOnly: false @@ -19466,7 +18720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *99 + - *93 responses: '202': *37 '404': *6 @@ -19491,7 +18745,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response @@ -19517,7 +18771,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 +18792,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 + - *93 - *17 - *19 responses: @@ -19556,7 +18810,7 @@ paths: type: integer repository_cache_usages: type: array - items: &328 + items: &316 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19594,7 +18848,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 +18868,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *99 + - *93 - *17 - *19 responses: @@ -19632,7 +18886,7 @@ paths: type: integer runners: type: array - items: &107 + items: &102 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -19689,7 +18943,7 @@ paths: - size_gb - display_name - source - machine_size_details: &110 + machine_size_details: &105 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19794,7 +19048,7 @@ paths: - public_ip_enabled - platform examples: - default: &130 + default: &125 value: total_count: 2 runners: @@ -19836,7 +19090,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 +19108,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 + - *93 requestBody: required: true content: @@ -19921,9 +19175,9 @@ paths: description: Response content: application/json: - schema: *107 + schema: *102 examples: - default: &111 + default: &106 value: id: 5 name: My hosted ubuntu runner @@ -19962,7 +19216,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 + - *93 responses: '200': description: Response @@ -19978,7 +19232,7 @@ paths: type: integer images: type: array - items: &108 + items: &103 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20018,7 +19272,7 @@ paths: - display_name - source examples: - default: &109 + default: &104 value: id: ubuntu-20.04 platform: linux-x64 @@ -20042,7 +19296,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 + - *93 responses: '200': description: Response @@ -20058,9 +19312,9 @@ paths: type: integer images: type: array - items: *108 + items: *103 examples: - default: *109 + default: *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20077,7 +19331,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 + - *93 responses: '200': description: Response @@ -20132,7 +19386,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 + - *93 responses: '200': description: Response @@ -20148,7 +19402,7 @@ paths: type: integer machine_specs: type: array - items: *110 + items: *105 examples: default: value: @@ -20173,7 +19427,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 + - *93 responses: '200': description: Response @@ -20217,8 +19471,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 + - *93 + - &107 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -20230,11 +19484,11 @@ paths: description: Response content: application/json: - schema: *107 + schema: *102 examples: - default: *111 + default: *106 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20252,8 +19506,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 + - *93 + - *107 requestBody: required: true content: @@ -20291,9 +19545,9 @@ paths: description: Response content: application/json: - schema: *107 + schema: *102 examples: - default: *111 + default: *106 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20309,16 +19563,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 + - *93 + - *107 responses: '202': description: Response content: application/json: - schema: *107 + schema: *102 examples: - default: *111 + default: *106 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20338,13 +19592,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 + - *93 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &113 + schema: &108 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -20358,7 +19612,7 @@ paths: required: - include_claim_keys examples: - default: &114 + default: &109 value: include_claim_keys: - repo @@ -20380,20 +19634,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 + - *93 requestBody: required: true content: application/json: - schema: *113 + schema: *108 examples: - default: *114 + default: *109 responses: '201': description: Empty response content: application/json: - schema: &140 + schema: &135 title: Empty Object description: An object without any properties. type: object @@ -20423,7 +19677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response @@ -20432,7 +19686,7 @@ paths: schema: type: object properties: - enabled_repositories: &115 + enabled_repositories: &110 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -20445,7 +19699,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: &111 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -20453,12 +19707,12 @@ paths: - all - local_only - selected - selected_actions_url: &334 + selected_actions_url: &322 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: &112 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -20489,7 +19743,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *99 + - *93 responses: '204': description: Response @@ -20500,9 +19754,9 @@ paths: schema: type: object properties: - enabled_repositories: *115 - allowed_actions: *116 - sha_pinning_required: *117 + enabled_repositories: *110 + allowed_actions: *111 + sha_pinning_required: *112 required: - enabled_repositories examples: @@ -20530,13 +19784,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 + - *93 responses: '200': description: Response content: application/json: - schema: &338 + schema: &326 type: object properties: days: @@ -20573,12 +19827,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 + - *93 requestBody: required: true content: application/json: - schema: &339 + schema: &327 type: object properties: days: @@ -20615,13 +19869,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 + - *93 responses: '200': description: Response content: application/json: - schema: &118 + schema: &113 type: object properties: approval_policy: @@ -20635,7 +19889,7 @@ paths: required: - approval_policy examples: - default: &340 + default: &328 value: approval_policy: first_time_contributors '404': *6 @@ -20656,7 +19910,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 + - *93 responses: '204': description: Response @@ -20666,7 +19920,7 @@ paths: required: true content: application/json: - schema: *118 + schema: *113 examples: default: summary: Set approval policy to first time contributors @@ -20688,13 +19942,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 + - *93 responses: '200': description: Response content: application/json: - schema: &341 + schema: &329 type: object required: - run_workflows_from_fork_pull_requests @@ -20720,7 +19974,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &119 + default: &114 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -20743,12 +19997,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 + - *93 requestBody: required: true content: application/json: - schema: &342 + schema: &330 type: object required: - run_workflows_from_fork_pull_requests @@ -20771,7 +20025,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *119 + default: *114 responses: '204': description: Empty response for successful settings update @@ -20801,7 +20055,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 + - *93 - *17 - *19 responses: @@ -20819,9 +20073,9 @@ paths: type: number repositories: type: array - items: *66 + items: *61 examples: - default: &123 + default: &118 value: total_count: 1 repositories: @@ -20961,7 +20215,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 + - *93 responses: '204': description: Response @@ -21005,8 +20259,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 + - *93 + - &115 name: repository_id description: The unique identifier of the repository. in: path @@ -21034,8 +20288,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 + - *93 + - *115 responses: '204': description: Response @@ -21058,13 +20312,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 + - *93 responses: '200': description: Response content: application/json: - schema: &121 + schema: &116 type: object properties: github_owned_allowed: @@ -21086,7 +20340,7 @@ paths: items: type: string examples: - default: &122 + default: &117 value: github_owned_allowed: true verified_allowed: false @@ -21111,7 +20365,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 + - *93 responses: '204': description: Response @@ -21119,9 +20373,9 @@ paths: required: false content: application/json: - schema: *121 + schema: *116 examples: - selected_actions: *122 + selected_actions: *117 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21141,7 +20395,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response @@ -21189,7 +20443,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *99 + - *93 requestBody: required: true content: @@ -21236,7 +20490,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 + - *93 - *17 - *19 responses: @@ -21251,9 +20505,9 @@ paths: type: integer repositories: type: array - items: *66 + items: *61 examples: - default: *123 + default: *118 '403': *27 '404': *6 x-github: @@ -21273,7 +20527,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 + - *93 requestBody: required: true content: @@ -21321,8 +20575,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 + - *93 + - *115 responses: '204': description: No content @@ -21348,8 +20602,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 + - *93 + - *115 responses: '204': description: No content @@ -21377,23 +20631,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: &343 + schema: &331 type: object properties: - default_workflow_permissions: &124 + default_workflow_permissions: &119 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: &120 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -21401,7 +20655,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &126 + default: &121 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -21426,7 +20680,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *99 + - *93 responses: '204': description: Success response @@ -21434,13 +20688,13 @@ paths: required: false content: application/json: - schema: &344 + schema: &332 type: object properties: - default_workflow_permissions: *124 - can_approve_pull_request_reviews: *125 + default_workflow_permissions: *119 + can_approve_pull_request_reviews: *120 examples: - default: *126 + default: *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21460,7 +20714,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 + - *93 - *17 - *19 - name: visible_to_repository @@ -21485,7 +20739,7 @@ paths: type: number runner_groups: type: array - items: &127 + items: &122 type: object properties: id: @@ -21602,7 +20856,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 + - *93 requestBody: required: true content: @@ -21675,9 +20929,9 @@ paths: description: Response content: application/json: - schema: *127 + schema: *122 examples: - default: &129 + default: &124 value: id: 2 name: octo-runner-group @@ -21712,8 +20966,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 + - *93 + - &123 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -21725,7 +20979,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *122 examples: default: value: @@ -21761,8 +21015,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 + - *93 + - *123 requestBody: required: true content: @@ -21818,9 +21072,9 @@ paths: description: Response content: application/json: - schema: *127 + schema: *122 examples: - default: *129 + default: *124 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21839,8 +21093,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 + - *93 + - *123 responses: '204': description: Response @@ -21863,8 +21117,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 + - *93 + - *123 - *17 - *19 responses: @@ -21882,11 +21136,11 @@ paths: type: number runners: type: array - items: *107 + items: *102 examples: - default: *130 + default: *125 headers: - Link: *57 + Link: *52 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21906,8 +21160,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 + - *93 + - *123 - *19 - *17 responses: @@ -21925,9 +21179,9 @@ paths: type: number repositories: type: array - items: *131 + items: *126 examples: - default: &634 + default: &630 value: total_count: 1 repositories: @@ -22179,8 +21433,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 + - *93 + - *123 requestBody: required: true content: @@ -22224,9 +21478,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 + - *93 + - *123 + - *115 responses: '204': description: Response @@ -22248,9 +21502,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 + - *93 + - *123 + - *115 responses: '204': description: Response @@ -22273,8 +21527,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 + - *93 + - *123 - *17 - *19 responses: @@ -22292,7 +21546,7 @@ paths: type: number runners: type: array - items: &133 + items: &128 title: Self hosted runners description: A self hosted runner type: object @@ -22326,7 +21580,7 @@ paths: type: boolean labels: type: array - items: &136 + items: &131 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -22356,7 +21610,7 @@ paths: - busy - labels examples: - default: &134 + default: &129 value: total_count: 2 runners: @@ -22396,7 +21650,7 @@ paths: name: no-gpu type: custom headers: - Link: *57 + Link: *52 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22415,8 +21669,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 + - *93 + - *123 requestBody: required: true content: @@ -22460,9 +21714,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 + - *93 + - *123 + - &127 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -22490,9 +21744,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 + - *93 + - *123 + - *127 responses: '204': description: Response @@ -22522,7 +21776,7 @@ paths: in: query schema: type: string - - *99 + - *93 - *17 - *19 responses: @@ -22540,11 +21794,11 @@ paths: type: integer runners: type: array - items: *133 + items: *128 examples: - default: *134 + default: *129 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22566,7 +21820,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response @@ -22574,7 +21828,7 @@ paths: application/json: schema: type: array - items: &345 + items: &333 title: Runner Application description: Runner Application type: object @@ -22599,7 +21853,7 @@ paths: - download_url - filename examples: - default: &346 + default: &334 value: - os: osx architecture: x64 @@ -22642,7 +21896,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 + - *93 requestBody: required: true content: @@ -22685,7 +21939,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &347 + '201': &335 description: Response content: application/json: @@ -22695,7 +21949,7 @@ paths: - runner - encoded_jit_config properties: - runner: *133 + runner: *128 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -22752,13 +22006,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 + - *93 responses: '201': description: Response content: application/json: - schema: &135 + schema: &130 title: Authentication Token description: Authentication Token type: object @@ -22782,7 +22036,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *66 + items: *61 single_file: type: - string @@ -22800,7 +22054,7 @@ paths: - token - expires_at examples: - default: &348 + default: &336 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22831,15 +22085,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 + - *93 responses: '201': description: Response content: application/json: - schema: *135 + schema: *130 examples: - default: &349 + default: &337 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22864,16 +22118,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 + - *93 + - *127 responses: '200': description: Response content: application/json: - schema: *133 + schema: *128 examples: - default: &350 + default: &338 value: id: 23 name: MBP @@ -22914,8 +22168,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 + - *93 + - *127 responses: '204': description: Response @@ -22941,10 +22195,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 + - *93 + - *127 responses: - '200': &137 + '200': &132 description: Response content: application/json: @@ -22958,7 +22212,7 @@ paths: type: integer labels: type: array - items: *136 + items: *131 examples: default: value: @@ -22997,8 +22251,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 + - *93 + - *127 requestBody: required: true content: @@ -23022,7 +22276,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *132 '404': *6 '422': *7 x-github: @@ -23046,8 +22300,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 + - *93 + - *127 requestBody: required: true content: @@ -23072,7 +22326,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *132 '404': *6 '422': *7 x-github: @@ -23096,10 +22350,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 + - *93 + - *127 responses: - '200': &351 + '200': &339 description: Response content: application/json: @@ -23113,7 +22367,7 @@ paths: type: integer labels: type: array - items: *136 + items: *131 examples: default: value: @@ -23154,9 +22408,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 + - *93 + - *127 + - &340 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23164,7 +22418,7 @@ paths: schema: type: string responses: - '200': *137 + '200': *132 '404': *6 '422': *7 x-github: @@ -23189,7 +22443,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *99 + - *93 - *17 - *19 responses: @@ -23207,7 +22461,7 @@ paths: type: integer secrets: type: array - items: &138 + items: &133 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23259,7 +22513,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 +22536,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: &364 + schema: &352 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23323,7 +22577,7 @@ paths: - key_id - key examples: - default: &365 + default: &353 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23348,8 +22602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *99 - - &139 + - *93 + - &134 name: secret_name description: The name of the secret. in: path @@ -23361,7 +22615,7 @@ paths: description: Response content: application/json: - schema: *138 + schema: *133 examples: default: value: @@ -23391,8 +22645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 requestBody: required: true content: @@ -23449,7 +22703,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -23475,8 +22729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 responses: '204': description: Response @@ -23502,8 +22756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 - *19 - *17 responses: @@ -23521,9 +22775,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *126 examples: - default: &143 + default: &138 value: total_count: 1 repositories: @@ -23615,8 +22869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 requestBody: required: true content: @@ -23668,8 +22922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 - name: repository_id in: path required: true @@ -23702,8 +22956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 - name: repository_id in: path required: true @@ -23735,8 +22989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *99 - - &333 + - *93 + - &321 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 +23014,7 @@ paths: type: integer variables: type: array - items: &141 + items: &136 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23829,7 +23083,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 +23104,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *99 + - *93 requestBody: required: true content: @@ -23898,7 +23152,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -23923,8 +23177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *99 - - &142 + - *93 + - &137 name: name description: The name of the variable. in: path @@ -23936,7 +23190,7 @@ paths: description: Response content: application/json: - schema: *141 + schema: *136 examples: default: value: @@ -23966,8 +23220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *99 - - *142 + - *93 + - *137 requestBody: required: true content: @@ -24029,8 +23283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *99 - - *142 + - *93 + - *137 responses: '204': description: Response @@ -24056,8 +23310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *99 - - *142 + - *93 + - *137 - *19 - *17 responses: @@ -24075,9 +23329,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *126 examples: - default: *143 + default: *138 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24103,8 +23357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *99 - - *142 + - *93 + - *137 requestBody: required: true content: @@ -24153,8 +23407,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *99 - - *142 + - *93 + - *137 - name: repository_id in: path required: true @@ -24188,8 +23442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *99 - - *142 + - *93 + - *137 - name: repository_id in: path required: true @@ -24220,7 +23474,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *99 + - *93 requestBody: required: true content: @@ -24362,7 +23616,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *99 + - *93 - 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 +23702,7 @@ paths: - *17 - *38 - *39 - - *99 + - *93 requestBody: required: true content: @@ -24471,12 +23725,12 @@ paths: required: - subject_digests examples: - default: &662 + default: &658 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &663 + withPredicateType: &659 value: subject_digests: - sha256:abc123 @@ -24535,7 +23789,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &664 + default: &660 value: attestations_subject_digests: - sha256:abc: @@ -24644,7 +23898,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *99 + - *93 requestBody: required: true content: @@ -24709,7 +23963,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *99 + - *93 - name: subject_digest description: Subject Digest in: path @@ -24728,6 +23982,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/orgs#list-attestation-repositories + parameters: + - *17 + - *38 + - *39 + - *93 + - 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: orgs "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -24740,7 +24045,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *99 + - *93 - name: attestation_id description: Attestation ID in: path @@ -24778,7 +24083,7 @@ paths: - *17 - *38 - *39 - - *99 + - *93 - 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 +24136,7 @@ paths: initiator: type: string examples: - default: &378 + default: &366 value: attestations: - bundle: @@ -24938,7 +24243,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *99 + - *93 - *17 - *19 responses: @@ -24950,7 +24255,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24969,8 +24274,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 + - *93 + - *57 responses: '204': description: If the user is blocked @@ -24995,8 +24300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *99 - - *62 + - *93 + - *57 responses: '204': description: Response @@ -25016,8 +24321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *99 - - *62 + - *93 + - *57 responses: '204': description: Response @@ -25042,7 +24347,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *99 + - *93 - *19 - *17 - *46 @@ -25050,7 +24355,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &144 + schema: &139 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -25076,7 +24381,7 @@ paths: application/json: schema: type: array - items: &145 + items: &140 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -25184,7 +24489,7 @@ paths: parent: anyOf: - type: 'null' - - &214 + - &212 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -25320,7 +24625,7 @@ paths: - string - 'null' format: date-time - state: *144 + state: *139 contact_link: description: The contact link of the campaign. type: @@ -25416,9 +24721,9 @@ paths: closed_at: state: open headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25442,7 +24747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *99 + - *93 requestBody: required: true content: @@ -25537,9 +24842,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *140 examples: - default: &146 + default: &141 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -25588,7 +24893,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25610,7 +24915,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *99 + - *93 - name: campaign_number description: The campaign number. in: path @@ -25622,16 +24927,16 @@ paths: description: Response content: application/json: - schema: *145 + schema: *140 examples: - default: *146 + default: *141 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25652,7 +24957,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *99 + - *93 - name: campaign_number description: The campaign number. in: path @@ -25702,7 +25007,7 @@ paths: - string - 'null' format: uri - state: *144 + state: *139 examples: default: value: @@ -25712,9 +25017,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *140 examples: - default: *146 + default: *141 '400': description: Bad Request content: @@ -25726,7 +25031,7 @@ paths: content: application/json: schema: *3 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25747,7 +25052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *99 + - *93 - name: campaign_number description: The campaign number. in: path @@ -25758,7 +25063,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25780,8 +25085,8 @@ 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 + - *93 + - &390 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`, @@ -25791,7 +25096,7 @@ paths: schema: &149 type: string description: The name of the tool used to generate the code scanning analysis. - - &403 + - &391 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 @@ -25815,7 +25120,7 @@ paths: be returned. in: query required: false - schema: &405 + schema: &393 type: string description: State of a code scanning alert. enum: @@ -25838,7 +25143,7 @@ paths: be returned. in: query required: false - schema: &406 + schema: &394 type: string description: Severity of a code scanning alert. enum: @@ -25859,12 +25164,12 @@ paths: items: type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: &407 + number: *142 + created_at: *143 + updated_at: *144 + url: *145 + html_url: *146 + instances_url: &395 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -25886,7 +25191,7 @@ paths: - type: 'null' - *4 dismissed_at: *148 - dismissed_reason: &408 + dismissed_reason: &396 type: - string - 'null' @@ -25897,14 +25202,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &409 + dismissed_comment: &397 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &410 + rule: &398 type: object properties: id: @@ -25965,7 +25270,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &411 + tool: &399 type: object properties: name: *149 @@ -25976,15 +25281,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *150 - most_recent_instance: &412 + most_recent_instance: &400 type: object properties: - ref: &404 + ref: &392 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &422 + analysis_key: &410 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25995,7 +25300,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &423 + category: &411 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -26294,9 +25599,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': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26318,7 +25623,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *99 + - *93 - name: target_type in: query description: The target type of the code security configuration @@ -26429,7 +25734,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *99 + - *93 requestBody: required: true content: @@ -26672,7 +25977,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *99 + - *93 responses: '200': description: Response @@ -26706,7 +26011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *99 + - *93 requestBody: required: true content: @@ -26758,7 +26063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *99 + - *93 - *43 responses: '200': @@ -26791,7 +26096,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *99 + - *93 - *43 requestBody: required: true @@ -27048,7 +26353,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *99 + - *93 - *43 responses: '204': *156 @@ -27079,7 +26384,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *99 + - *93 - *43 requestBody: required: true @@ -27143,7 +26448,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 + - *93 - *43 requestBody: required: true @@ -27213,7 +26518,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 + - *93 - *43 - name: per_page description: The number of results per page (max 100). For more information, @@ -27272,7 +26577,7 @@ paths: parameters: - *17 - *19 - - *99 + - *93 responses: '200': description: Response @@ -27288,7 +26593,7 @@ paths: type: integer codespaces: type: array - items: &204 + items: &202 type: object title: Codespace description: A codespace. @@ -27319,11 +26624,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *131 + repository: *126 machine: anyOf: - type: 'null' - - &435 + - &423 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -27610,7 +26915,7 @@ paths: - pulls_url - recent_folders examples: - default: &205 + default: &203 value: total_count: 3 codespaces: @@ -28020,7 +27325,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -28042,7 +27347,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *99 + - *93 deprecated: true requestBody: required: true @@ -28086,7 +27391,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28109,7 +27414,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *99 + - *93 deprecated: true requestBody: required: true @@ -28141,7 +27446,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28164,7 +27469,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *99 + - *93 requestBody: required: true content: @@ -28195,7 +27500,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28216,7 +27521,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *99 + - *93 - *17 - *19 responses: @@ -28275,7 +27580,7 @@ paths: - updated_at - visibility examples: - default: &436 + default: &424 value: total_count: 2 secrets: @@ -28288,7 +27593,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28307,13 +27612,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: &437 + schema: &425 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -28348,7 +27653,7 @@ paths: - key_id - key examples: - default: &438 + default: &426 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28371,8 +27676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 responses: '200': description: Response @@ -28380,14 +27685,14 @@ paths: application/json: schema: *159 examples: - default: &440 + default: &428 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 +27712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 requestBody: required: true content: @@ -28463,7 +27768,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -28489,8 +27794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 responses: '204': description: Response @@ -28515,8 +27820,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 + - *93 + - *134 - *19 - *17 responses: @@ -28534,9 +27839,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *126 examples: - default: *143 + default: *138 '404': *6 x-github: githubCloudOnly: false @@ -28558,8 +27863,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 + - *93 + - *134 requestBody: required: true content: @@ -28609,8 +27914,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 + - *93 + - *134 - name: repository_id in: path required: true @@ -28643,8 +27948,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 + - *93 + - *134 - name: repository_id in: path required: true @@ -28683,7 +27988,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 + - *93 responses: '200': description: OK @@ -28792,7 +28097,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -28824,7 +28129,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 + - *93 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -28847,7 +28152,7 @@ paths: currently being billed. seats: type: array - items: &207 + items: &205 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -28866,7 +28171,7 @@ paths: access to GitHub Copilot, if applicable. oneOf: - *161 - - *58 + - *53 type: - 'null' - object @@ -28996,8 +28301,8 @@ paths: type: User site_admin: false headers: - Link: *57 - '500': *100 + Link: *52 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -29030,7 +28335,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 + - *93 requestBody: content: application/json: @@ -29072,7 +28377,7 @@ paths: default: value: seats_created: 5 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -29108,7 +28413,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 + - *93 requestBody: content: application/json: @@ -29150,7 +28455,7 @@ paths: default: value: seats_cancelled: 5 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -29188,7 +28493,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 + - *93 requestBody: content: application/json: @@ -29229,7 +28534,7 @@ paths: default: value: seats_created: 5 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -29265,7 +28570,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 + - *93 requestBody: content: application/json: @@ -29307,7 +28612,7 @@ paths: default: value: seats_cancelled: 5 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -29346,7 +28651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *99 + - *93 - 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 +28683,7 @@ paths: application/json: schema: type: array - items: &296 + items: &284 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -29693,7 +28998,7 @@ paths: - date additionalProperties: true examples: - default: &297 + default: &285 value: - date: '2024-06-24' total_active_users: 24 @@ -29792,10 +29097,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *100 + '500': *94 '403': *27 '404': *6 - '422': &298 + '422': &286 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -29822,7 +29127,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *99 + - *93 - *162 - *163 - *164 @@ -29870,8 +29175,6 @@ paths: - *46 - *38 - *39 - - *169 - - *170 - *17 responses: '200': @@ -29880,9 +29183,9 @@ paths: application/json: schema: type: array - items: *171 + items: *169 examples: - default: *172 + default: *170 '304': *35 '400': *14 '403': *27 @@ -29908,7 +29211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *99 + - *93 - *17 - *19 responses: @@ -29926,7 +29229,7 @@ paths: type: integer secrets: type: array - items: &173 + items: &171 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -29978,7 +29281,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 +29302,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: &463 + schema: &451 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -30024,7 +29327,7 @@ paths: - key_id - key examples: - default: &464 + default: &452 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30047,14 +29350,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 responses: '200': description: Response content: application/json: - schema: *173 + schema: *171 examples: default: value: @@ -30082,8 +29385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 requestBody: required: true content: @@ -30142,7 +29445,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -30166,8 +29469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 responses: '204': description: Response @@ -30191,8 +29494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 - *19 - *17 responses: @@ -30210,9 +29513,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *126 examples: - default: *143 + default: *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30233,8 +29536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 requestBody: required: true content: @@ -30284,8 +29587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 - name: repository_id in: path required: true @@ -30316,8 +29619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 - name: repository_id in: path required: true @@ -30347,7 +29650,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 + - *93 responses: '200': description: Response @@ -30355,7 +29658,7 @@ paths: application/json: schema: type: array - items: &216 + items: &214 title: Package description: A software package type: object @@ -30408,7 +29711,7 @@ paths: repository: anyOf: - type: 'null' - - *131 + - *126 created_at: type: string format: date-time @@ -30426,7 +29729,7 @@ paths: - created_at - updated_at examples: - default: &217 + default: &215 value: - id: 197 name: hello_docker @@ -30504,7 +29807,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *99 + - *93 - *17 - *19 responses: @@ -30514,7 +29817,7 @@ paths: application/json: schema: type: array - items: *94 + items: *88 examples: 200-response: value: @@ -30586,7 +29889,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *99 + - *93 - *17 - *19 responses: @@ -30596,7 +29899,7 @@ paths: application/json: schema: type: array - items: &196 + items: &194 title: Organization Invitation description: Organization Invitation type: object @@ -30650,7 +29953,7 @@ paths: - invitation_teams_url - node_id examples: - default: &197 + default: &195 value: - id: 1 login: monalisa @@ -30683,7 +29986,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 +30010,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *99 + - *93 - *17 - *19 responses: @@ -30717,7 +30020,7 @@ paths: application/json: schema: type: array - items: &174 + items: &172 title: Org Hook description: Org Hook type: object @@ -30817,7 +30120,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -30840,7 +30143,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *99 + - *93 requestBody: required: true content: @@ -30902,9 +30205,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *172 examples: - default: &175 + default: &173 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -30951,8 +30254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *99 - - &176 + - *93 + - &174 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -30965,9 +30268,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *172 examples: - default: *175 + default: *173 '404': *6 x-github: githubCloudOnly: false @@ -30994,8 +30297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *99 - - *176 + - *93 + - *174 requestBody: required: false content: @@ -31041,7 +30344,7 @@ paths: description: Response content: application/json: - schema: *174 + schema: *172 examples: default: value: @@ -31082,8 +30385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *99 - - *176 + - *93 + - *174 responses: '204': description: Response @@ -31110,8 +30413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *99 - - *176 + - *93 + - *174 responses: '200': description: Response @@ -31141,8 +30444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *99 - - *176 + - *93 + - *174 requestBody: required: false content: @@ -31192,10 +30495,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *99 - - *176 + - *93 + - *174 - *17 - - *177 + - *175 responses: '200': description: Response @@ -31203,9 +30506,9 @@ paths: application/json: schema: type: array - items: *178 + items: *176 examples: - default: *179 + default: *177 '400': *14 '422': *15 x-github: @@ -31230,17 +30533,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *99 - - *176 + - *93 + - *174 - *16 responses: '200': description: Response content: application/json: - schema: *180 + schema: *178 examples: - default: *181 + default: *179 '400': *14 '422': *15 x-github: @@ -31265,8 +30568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *99 - - *176 + - *93 + - *174 - *16 responses: '202': *37 @@ -31295,8 +30598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *99 - - *176 + - *93 + - *174 responses: '204': description: Response @@ -31318,8 +30621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *99 - - &186 + - *93 + - &184 name: actor_type in: path description: The type of the actor @@ -31332,14 +30635,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &187 + - &185 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &182 + - &180 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -31347,7 +30650,7 @@ paths: required: true schema: type: string - - &183 + - &181 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -31441,13 +30744,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *99 - - *182 - - *183 + - *93 + - *180 + - *181 - *19 - *17 - *46 - - &192 + - &190 name: sort description: The property to sort the results by. in: query @@ -31526,15 +30829,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *99 - - *182 - - *183 + - *93 + - *180 + - *181 responses: '200': description: Response content: application/json: - schema: &184 + schema: &182 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -31550,7 +30853,7 @@ paths: type: integer format: int64 examples: - default: &185 + default: &183 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -31570,24 +30873,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *99 - - &188 + - *93 + - &186 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *182 - - *183 + - *180 + - *181 responses: '200': description: Response content: application/json: - schema: *184 + schema: *182 examples: - default: *185 + default: *183 x-github: enabledForGitHubApps: true category: orgs @@ -31605,19 +30908,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *99 - - *182 - - *183 - - *186 - - *187 + - *93 + - *180 + - *181 + - *184 + - *185 responses: '200': description: Response content: application/json: - schema: *184 + schema: *182 examples: - default: *185 + default: *183 x-github: enabledForGitHubApps: true category: orgs @@ -31634,10 +30937,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *99 - - *182 - - *183 - - &189 + - *93 + - *180 + - *181 + - &187 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -31650,7 +30953,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &188 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -31666,7 +30969,7 @@ paths: type: integer format: int64 examples: - default: &191 + default: &189 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -31702,19 +31005,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *99 - - *188 - - *182 - - *183 - - *189 + - *93 + - *186 + - *180 + - *181 + - *187 responses: '200': description: Response content: application/json: - schema: *190 + schema: *188 examples: - default: *191 + default: *189 x-github: enabledForGitHubApps: true category: orgs @@ -31731,20 +31034,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *99 - - *186 + - *93 + - *184 + - *185 + - *180 + - *181 - *187 - - *182 - - *183 - - *189 responses: '200': description: Response content: application/json: - schema: *190 + schema: *188 examples: - default: *191 + default: *189 x-github: enabledForGitHubApps: true category: orgs @@ -31761,14 +31064,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *99 - - *188 - - *182 - - *183 + - *93 + - *186 + - *180 + - *181 - *19 - *17 - *46 - - *192 + - *190 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -31844,7 +31147,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *99 + - *93 responses: '200': description: Response @@ -31852,7 +31155,7 @@ paths: application/json: schema: *20 examples: - default: &502 + default: &490 value: id: 1 account: @@ -31921,7 +31224,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *99 + - *93 - *17 - *19 responses: @@ -31991,7 +31294,7 @@ paths: suspended_at: suspended_by: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32010,7 +31313,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response @@ -32018,12 +31321,12 @@ paths: application/json: schema: anyOf: - - &194 + - &192 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &193 + limit: &191 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -32051,7 +31354,7 @@ paths: properties: {} additionalProperties: false examples: - default: &195 + default: &193 value: limit: collaborators_only origin: organization @@ -32075,18 +31378,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *99 + - *93 requestBody: required: true content: application/json: - schema: &503 + schema: &491 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *193 + limit: *191 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -32111,9 +31414,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *192 examples: - default: *195 + default: *193 '422': *15 x-github: githubCloudOnly: false @@ -32131,7 +31434,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *99 + - *93 responses: '204': description: Response @@ -32155,7 +31458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *99 + - *93 - *17 - *19 - name: role @@ -32189,11 +31492,11 @@ paths: application/json: schema: type: array - items: *196 + items: *194 examples: - default: *197 + default: *195 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32214,7 +31517,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *99 + - *93 requestBody: required: false content: @@ -32268,7 +31571,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *194 examples: default: value: @@ -32322,8 +31625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *99 - - &198 + - *93 + - &196 name: invitation_id description: The unique identifier of the invitation. in: path @@ -32353,8 +31656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *99 - - *198 + - *93 + - *196 - *17 - *19 responses: @@ -32366,7 +31669,7 @@ paths: type: array items: *161 examples: - default: &215 + default: &213 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -32382,7 +31685,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 +31704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response @@ -32409,7 +31712,7 @@ paths: application/json: schema: type: array - items: *199 + items: *197 examples: default: value: @@ -32447,7 +31750,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *99 + - *93 requestBody: required: true content: @@ -32497,9 +31800,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *197 examples: - default: &200 + default: &198 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -32531,8 +31834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *99 - - &201 + - *93 + - &199 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -32588,9 +31891,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *197 examples: - default: *200 + default: *198 '404': *6 '422': *7 x-github: @@ -32614,8 +31917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *99 - - *201 + - *93 + - *199 responses: '204': description: Response @@ -32648,7 +31951,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *99 + - *93 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -32678,7 +31981,7 @@ paths: - closed - all default: open - - *202 + - *200 - name: type description: Can be the name of an issue type. in: query @@ -32697,7 +32000,7 @@ paths: - comments default: created - *46 - - *75 + - *69 - *17 - *19 responses: @@ -32707,11 +32010,11 @@ paths: application/json: schema: type: array - items: *68 + items: *63 examples: - default: *203 + default: *201 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32731,7 +32034,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *99 + - *93 - 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 +32072,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -32789,8 +32092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *99 - - *62 + - *93 + - *57 responses: '204': description: Response if requester is an organization member and user is @@ -32824,8 +32127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *99 - - *62 + - *93 + - *57 responses: '204': description: Response @@ -32851,8 +32154,8 @@ paths: parameters: - *17 - *19 - - *99 - - *62 + - *93 + - *57 responses: '200': description: Response @@ -32868,11 +32171,11 @@ paths: type: integer codespaces: type: array - items: *204 + items: *202 examples: - default: *205 + default: *203 '304': *35 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -32895,9 +32198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *99 - - *62 - - &206 + - *93 + - *57 + - &204 name: codespace_name in: path required: true @@ -32907,7 +32210,7 @@ paths: responses: '202': *37 '304': *35 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -32930,17 +32233,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *99 - - *62 - - *206 + - *93 + - *57 + - *204 responses: '200': description: Response content: application/json: - schema: *204 + schema: *202 examples: - default: &434 + default: &422 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -33082,7 +32385,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -33113,14 +32416,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *99 - - *62 + - *93 + - *57 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *207 + schema: *205 examples: default: value: @@ -33164,7 +32467,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': *94 '401': *23 '403': *27 '404': *6 @@ -33189,14 +32492,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *99 - - *62 + - *93 + - *57 responses: '200': description: Response content: application/json: - schema: &208 + schema: &206 title: Org Membership description: Org Membership type: object @@ -33265,7 +32568,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &209 + response-if-user-has-an-active-admin-membership-with-organization: &207 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -33333,8 +32636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *99 - - *62 + - *93 + - *57 requestBody: required: false content: @@ -33362,9 +32665,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *206 examples: - response-if-user-already-had-membership-with-organization: *209 + response-if-user-already-had-membership-with-organization: *207 '422': *15 '403': *27 x-github: @@ -33388,8 +32691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *99 - - *62 + - *93 + - *57 responses: '204': description: Response @@ -33414,7 +32717,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *99 + - *93 - *17 - *19 - name: exclude @@ -33436,7 +32739,7 @@ paths: application/json: schema: type: array - items: &210 + items: &208 title: Migration description: A migration. type: object @@ -33478,7 +32781,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *66 + items: *61 url: type: string format: uri @@ -33677,7 +32980,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 +32996,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *99 + - *93 requestBody: required: true content: @@ -33774,7 +33077,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *208 examples: default: value: @@ -33952,8 +33255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *99 - - &211 + - *93 + - &209 name: migration_id description: The unique identifier of the migration. in: path @@ -33981,7 +33284,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *210 + schema: *208 examples: default: value: @@ -34150,8 +33453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *99 - - *211 + - *93 + - *209 responses: '302': description: Response @@ -34172,8 +33475,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *99 - - *211 + - *93 + - *209 responses: '204': description: Response @@ -34196,9 +33499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *99 - - *211 - - &646 + - *93 + - *209 + - &642 name: repo_name description: repo_name parameter in: path @@ -34225,8 +33528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *99 - - *211 + - *93 + - *209 - *17 - *19 responses: @@ -34236,9 +33539,9 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: - default: &222 + default: &220 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -34349,7 +33652,7 @@ paths: secret_scanning_non_provider_patterns: status: disabled headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -34375,7 +33678,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response - list of organization roles @@ -34391,7 +33694,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &213 + items: &211 title: Organization Role description: Organization roles type: object @@ -34540,8 +33843,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 + - *93 + - *59 responses: '204': description: Response @@ -34566,9 +33869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *99 - - *64 - - &212 + - *93 + - *59 + - &210 name: role_id description: The unique identifier of the role. in: path @@ -34603,9 +33906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *99 - - *64 - - *212 + - *93 + - *59 + - *210 responses: '204': description: Response @@ -34630,8 +33933,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 + - *93 + - *57 responses: '204': description: Response @@ -34656,9 +33959,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *99 - - *62 - - *212 + - *93 + - *57 + - *210 responses: '204': description: Response @@ -34688,9 +33991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *99 - - *62 - - *212 + - *93 + - *57 + - *210 responses: '204': description: Response @@ -34718,14 +34021,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *99 - - *212 + - *93 + - *210 responses: '200': description: Response content: application/json: - schema: *213 + schema: *211 examples: default: value: @@ -34775,8 +34078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *99 - - *212 + - *93 + - *210 - *17 - *19 responses: @@ -34855,7 +34158,7 @@ paths: parent: anyOf: - type: 'null' - - *214 + - *212 type: description: The ownership type of the team type: string @@ -34888,9 +34191,9 @@ paths: - type - parent examples: - default: *215 + default: *213 headers: - Link: *57 + Link: *52 '404': description: Response if the organization or role does not exist. '422': @@ -34917,8 +34220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *99 - - *212 + - *93 + - *210 - *17 - *19 responses: @@ -34947,7 +34250,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *214 + items: *212 name: type: - string @@ -35064,9 +34367,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 +34391,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *99 + - *93 - 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 +34418,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35140,8 +34443,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 + - *93 + - *57 requestBody: required: false content: @@ -35198,8 +34501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *99 - - *62 + - *93 + - *57 responses: '204': description: Response @@ -35256,8 +34559,8 @@ paths: - docker - nuget - container - - *99 - - &648 + - *93 + - &644 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -35293,12 +34596,12 @@ paths: application/json: schema: type: array - items: *216 + items: *214 examples: - default: *217 + default: *215 '403': *27 '401': *23 - '400': &650 + '400': &646 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -35320,7 +34623,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &218 + - &216 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -35338,20 +34641,20 @@ paths: - docker - nuget - container - - &219 + - &217 name: package_name description: The name of the package. in: path required: true schema: type: string - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: *216 + schema: *214 examples: default: value: @@ -35403,9 +34706,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *218 - - *219 - - *99 + - *216 + - *217 + - *93 responses: '204': description: Response @@ -35437,9 +34740,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *218 - - *219 - - *99 + - *216 + - *217 + - *93 - name: token description: package token schema: @@ -35471,9 +34774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *218 - - *219 - - *99 + - *216 + - *217 + - *93 - *19 - *17 - name: state @@ -35493,7 +34796,7 @@ paths: application/json: schema: type: array - items: &220 + items: &218 title: Package Version description: A version of a software package type: object @@ -35628,10 +34931,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *218 - - *219 - - *99 - - &221 + - *216 + - *217 + - *93 + - &219 name: package_version_id description: Unique identifier of the package version. in: path @@ -35643,7 +34946,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *218 examples: default: value: @@ -35679,10 +34982,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *218 + - *216 + - *217 + - *93 - *219 - - *99 - - *221 responses: '204': description: Response @@ -35714,10 +35017,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *218 + - *216 + - *217 + - *93 - *219 - - *99 - - *221 responses: '204': description: Response @@ -35744,10 +35047,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *99 + - *93 - *17 - *19 - - &223 + - &221 name: sort description: The property by which to sort the results. in: query @@ -35758,7 +35061,7 @@ paths: - created_at default: created_at - *46 - - &224 + - &222 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -35770,7 +35073,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &225 + - &223 name: repository description: The name of the repository to use to filter the results. in: query @@ -35779,7 +35082,7 @@ paths: type: string examples: - Hello-World - - &226 + - &224 name: permission description: The permission to use to filter the results. in: query @@ -35788,7 +35091,7 @@ paths: type: string examples: - issues_read - - &227 + - &225 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -35798,7 +35101,7 @@ paths: schema: type: string format: date-time - - &228 + - &226 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -35808,7 +35111,7 @@ paths: schema: type: string format: date-time - - &229 + - &227 name: token_id description: The ID of the token in: query @@ -35821,7 +35124,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *100 + '500': *94 '422': *15 '404': *6 '403': *27 @@ -35956,7 +35259,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 +35279,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 + - *93 requestBody: required: true content: @@ -36018,7 +35321,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *100 + '500': *94 '422': *15 '404': *6 '403': *27 @@ -36043,7 +35346,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 + - *93 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -36080,7 +35383,7 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *100 + '500': *94 '422': *15 '404': *6 '403': *27 @@ -36105,7 +35408,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 + - *93 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -36116,7 +35419,7 @@ paths: - *17 - *19 responses: - '500': *100 + '500': *94 '404': *6 '403': *27 '200': @@ -36125,11 +35428,11 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: - default: *222 + default: *220 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36150,19 +35453,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *99 + - *93 - *17 - *19 - - *223 + - *221 - *46 + - *222 + - *223 - *224 - *225 - *226 - *227 - - *228 - - *229 responses: - '500': *100 + '500': *94 '422': *15 '404': *6 '403': *27 @@ -36291,7 +35594,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 +35614,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 + - *93 requestBody: required: true content: @@ -36346,7 +35649,7 @@ paths: - 1296269 - 1296280 responses: - '500': *100 + '500': *94 '404': *6 '202': *37 '403': *27 @@ -36371,7 +35674,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 + - *93 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -36399,7 +35702,7 @@ paths: value: action: revoke responses: - '500': *100 + '500': *94 '404': *6 '204': *156 '403': *27 @@ -36423,7 +35726,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 + - *93 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -36433,7 +35736,7 @@ paths: - *17 - *19 responses: - '500': *100 + '500': *94 '404': *6 '403': *27 '200': @@ -36442,11 +35745,11 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: - default: *222 + default: *220 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36468,7 +35771,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *99 + - *93 - *17 - *19 responses: @@ -36486,7 +35789,7 @@ paths: type: integer configurations: type: array - items: &230 + items: &228 title: Organization private registry description: Private registry configuration for an organization type: object @@ -36555,7 +35858,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *57 + Link: *52 '400': *14 '404': *6 x-github: @@ -36577,7 +35880,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 + - *93 requestBody: required: true content: @@ -36745,7 +36048,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &231 + org-private-registry-with-selected-visibility: &229 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -36786,7 +36089,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 + - *93 responses: '200': description: Response @@ -36814,7 +36117,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -36836,16 +36139,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *99 - - *139 + - *93 + - *134 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *230 + schema: *228 examples: - default: *231 + default: *229 '404': *6 x-github: githubCloudOnly: false @@ -36866,8 +36169,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 + - *93 + - *134 requestBody: required: true content: @@ -36963,8 +36266,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 + - *93 + - *134 responses: '204': description: Response @@ -36989,7 +36292,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects parameters: - - *99 + - *93 - name: state description: Indicates the state of the projects to return. in: query @@ -37010,7 +36313,7 @@ paths: application/json: schema: type: array - items: &232 + items: &230 title: Project description: Projects are a way to organize columns and cards of work. @@ -37143,7 +36446,7 @@ paths: organization_permission: write private: true headers: - Link: *57 + Link: *52 '422': *7 x-github: githubCloudOnly: false @@ -37166,7 +36469,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project parameters: - - *99 + - *93 requestBody: required: true content: @@ -37192,7 +36495,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *230 examples: default: value: @@ -37230,7 +36533,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &320 + '410': &308 description: Gone content: application/json: @@ -37256,7 +36559,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *99 + - *93 - name: q description: Limit results to projects of the specified type. in: query @@ -37273,7 +36576,7 @@ paths: application/json: schema: type: array - items: &233 + items: &231 title: Projects v2 Project description: A projects v2 project type: object @@ -37347,7 +36650,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &727 + - &723 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -37432,7 +36735,7 @@ paths: - deleted_at - deleted_by examples: - default: &234 + default: &232 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -37515,7 +36818,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37535,24 +36838,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &235 + - &233 name: project_number description: The project's number. in: path required: true schema: type: integer - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: *233 + schema: *231 examples: - default: *234 + default: *232 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37572,8 +36875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *235 - - *99 + - *233 + - *93 - *17 - *38 - *39 @@ -37584,7 +36887,7 @@ paths: application/json: schema: type: array - items: &236 + items: &234 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -37734,7 +37037,7 @@ paths: - updated_at - project_url examples: - default: &237 + default: &235 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -37757,7 +37060,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37777,25 +37080,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *235 - - &667 + - *233 + - &663 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: *236 + schema: *234 examples: - default: *237 + default: *235 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37816,8 +37119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *235 - - *99 + - *233 + - *93 - 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,8 +37129,10 @@ 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` in: query required: false schema: @@ -37835,8 +37140,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 - *38 - *39 - *17 @@ -37847,7 +37150,7 @@ paths: application/json: schema: type: array - items: &242 + items: &240 title: Projects v2 Item description: An item belonging to a project type: object @@ -37864,7 +37167,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &240 + content_type: &238 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -37921,7 +37224,7 @@ paths: - updated_at - archived_at examples: - default: &243 + default: &241 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -38595,7 +37898,7 @@ paths: type: sub_issues_progress value: headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -38615,8 +37918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *99 - - *235 + - *93 + - *233 requestBody: required: true description: Details of the item to add to the project. @@ -38653,7 +37956,7 @@ paths: description: Response content: application/json: - schema: &668 + schema: &664 title: Projects v2 Item description: An item belonging to a project type: object @@ -38666,8 +37969,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *68 - - &447 + - *63 + - &435 title: Pull Request Simple description: Pull Request Simple type: object @@ -38787,7 +38090,7 @@ paths: milestone: anyOf: - type: 'null' - - *238 + - *236 active_lock_reason: type: - string @@ -38850,7 +38153,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *61 sha: type: string user: @@ -38870,7 +38173,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *61 sha: type: string user: @@ -38886,7 +38189,7 @@ paths: _links: type: object properties: - comments: &239 + comments: &237 title: Link description: Hypermedia Link type: object @@ -38895,13 +38198,13 @@ paths: type: string required: - href - commits: *239 - statuses: *239 - html: *239 - issue: *239 - review_comments: *239 - review_comment: *239 - self: *239 + commits: *237 + statuses: *237 + html: *237 + issue: *237 + review_comments: *237 + review_comment: *237 + self: *237 required: - comments - commits @@ -38911,8 +38214,8 @@ paths: - review_comments - review_comment - self - author_association: *69 - auto_merge: &544 + author_association: *64 + auto_merge: &532 title: Auto merge description: The status of auto merging a pull request. type: @@ -39014,7 +38317,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *240 + content_type: *238 creator: *4 created_at: type: string @@ -39051,7 +38354,7 @@ paths: - updated_at - archived_at examples: - issue: &241 + issue: &239 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -39106,7 +38409,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *241 + pull_request: *239 '304': *35 '403': *27 '401': *23 @@ -39126,9 +38429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *235 - - *99 - - &244 + - *233 + - *93 + - &242 name: item_id description: The unique identifier of the project item. in: path @@ -39152,11 +38455,11 @@ paths: description: Response content: application/json: - schema: *242 + schema: *240 examples: - default: *243 + default: *241 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -39175,9 +38478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *235 - - *99 - - *244 + - *233 + - *93 + - *242 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -39250,13 +38553,13 @@ paths: description: Response content: application/json: - schema: *242 + schema: *240 examples: - text_field: *243 - number_field: *243 - date_field: *243 - single_select_field: *243 - iteration_field: *243 + text_field: *241 + number_field: *241 + date_field: *241 + single_select_field: *241 + iteration_field: *241 '401': *23 '403': *27 '404': *6 @@ -39276,9 +38579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *235 - - *99 - - *244 + - *233 + - *93 + - *242 responses: '204': description: Response @@ -39302,7 +38605,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response @@ -39310,7 +38613,7 @@ paths: application/json: schema: type: array - items: &245 + items: &243 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -39386,7 +38689,7 @@ paths: - property_name - value_type examples: - default: &246 + default: &244 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -39434,7 +38737,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 + - *93 requestBody: required: true content: @@ -39445,7 +38748,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *245 + items: *243 minItems: 1 maxItems: 100 required: @@ -39475,9 +38778,9 @@ paths: application/json: schema: type: array - items: *245 + items: *243 examples: - default: *246 + default: *244 '403': *27 '404': *6 x-github: @@ -39498,8 +38801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *99 - - &247 + - *93 + - &245 name: custom_property_name description: The custom property name in: path @@ -39511,9 +38814,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *243 examples: - default: &248 + default: &246 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -39547,8 +38850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *99 - - *247 + - *93 + - *245 requestBody: required: true content: @@ -39626,9 +38929,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *243 examples: - default: *248 + default: *246 '403': *27 '404': *6 x-github: @@ -39651,8 +38954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *99 - - *247 + - *93 + - *245 responses: '204': *156 '403': *27 @@ -39675,7 +38978,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *99 + - *93 - *17 - *19 - name: repository_query @@ -39716,7 +39019,7 @@ paths: - octocat/Hello-World properties: type: array - items: &249 + items: &247 title: Custom Property Value description: Custom property name and associated value type: object @@ -39758,7 +39061,7 @@ paths: - property_name: team value: octocat headers: - Link: *57 + Link: *52 '403': *27 '404': *6 x-github: @@ -39786,7 +39089,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 + - *93 requestBody: required: true content: @@ -39806,7 +39109,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *249 + items: *247 required: - repository_names - properties @@ -39847,7 +39150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *99 + - *93 - *17 - *19 responses: @@ -39859,9 +39162,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39878,8 +39181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *99 - - *62 + - *93 + - *57 responses: '204': description: Response if user is a public member @@ -39903,8 +39206,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 + - *93 + - *57 responses: '204': description: Response @@ -39925,8 +39228,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 + - *93 + - *57 responses: '204': description: Response @@ -39950,7 +39253,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *99 + - *93 - name: type description: Specifies the types of repositories you want returned. in: query @@ -39996,11 +39299,11 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: - default: *222 + default: *220 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40019,7 +39322,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *99 + - *93 requestBody: required: true content: @@ -40201,7 +39504,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &310 title: Full Repository description: Full Repository type: object @@ -40547,7 +39850,7 @@ paths: template_repository: anyOf: - type: 'null' - - *66 + - *61 temp_clone_token: type: - string @@ -40647,13 +39950,13 @@ paths: license: anyOf: - type: 'null' - - *71 + - *66 organization: anyOf: - type: 'null' - *4 - parent: *66 - source: *66 + parent: *61 + source: *61 forks: type: integer master_branch: @@ -40666,7 +39969,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &452 + code_of_conduct: &440 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -40696,7 +39999,7 @@ paths: - key - name - html_url - security_and_analysis: *250 + security_and_analysis: *248 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -40780,7 +40083,7 @@ paths: - network_count - subscribers_count examples: - default: &324 + default: &312 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41298,10 +40601,10 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *93 - *17 - *19 - - &567 + - &555 name: targets description: | A comma-separated list of rule targets to filter by. @@ -41320,7 +40623,7 @@ paths: application/json: schema: type: array - items: &276 + items: &274 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -41355,7 +40658,7 @@ paths: source: type: string description: The name of the source - enforcement: &253 + enforcement: &251 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -41368,7 +40671,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &254 + items: &252 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -41439,7 +40742,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &251 + - &249 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -41463,7 +40766,7 @@ paths: match. items: type: string - - &255 + - &253 title: Organization ruleset conditions type: object description: |- @@ -41477,7 +40780,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *251 + - *249 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -41511,7 +40814,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *251 + - *249 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -41533,7 +40836,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *251 + - *249 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -41546,7 +40849,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &252 + items: &250 title: Repository ruleset property targeting definition type: object @@ -41579,7 +40882,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *252 + items: *250 required: - repository_property type: @@ -41587,12 +40890,12 @@ paths: - object rules: type: array - items: &568 + items: &556 title: Repository Rule type: object description: A repository rule. oneOf: - - &256 + - &254 title: creation description: Only allow users with bypass permission to create matching refs. @@ -41604,7 +40907,7 @@ paths: type: string enum: - creation - - &257 + - &255 title: update description: Only allow users with bypass permission to update matching refs. @@ -41625,7 +40928,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &258 + - &256 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -41637,7 +40940,7 @@ paths: type: string enum: - deletion - - &259 + - &257 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -41649,7 +40952,7 @@ paths: type: string enum: - required_linear_history - - &565 + - &553 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -41727,7 +41030,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &260 + - &258 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -41751,7 +41054,7 @@ paths: type: string required: - required_deployment_environments - - &261 + - &259 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -41763,7 +41066,7 @@ paths: type: string enum: - required_signatures - - &262 + - &260 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -41825,7 +41128,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &263 + - &261 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -41873,7 +41176,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &264 + - &262 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -41885,7 +41188,7 @@ paths: type: string enum: - non_fast_forward - - &265 + - &263 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -41921,7 +41224,7 @@ paths: required: - operator - pattern - - &266 + - &264 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -41957,7 +41260,7 @@ paths: required: - operator - pattern - - &267 + - &265 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -41993,7 +41296,7 @@ paths: required: - operator - pattern - - &268 + - &266 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -42029,7 +41332,7 @@ paths: required: - operator - pattern - - &269 + - &267 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -42065,7 +41368,7 @@ paths: required: - operator - pattern - - &270 + - &268 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -42090,7 +41393,7 @@ paths: type: string required: - restricted_file_paths - - &271 + - &269 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -42114,7 +41417,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &272 + - &270 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -42137,7 +41440,7 @@ paths: type: string required: - restricted_file_extensions - - &273 + - &271 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -42162,7 +41465,7 @@ paths: maximum: 100 required: - max_file_size - - &274 + - &272 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -42212,7 +41515,7 @@ paths: - repository_id required: - workflows - - &275 + - &273 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -42273,7 +41576,7 @@ paths: - tool required: - code_scanning_tools - - &566 + - &554 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -42334,7 +41637,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *94 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -42350,7 +41653,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *93 requestBody: description: Request body required: true @@ -42371,20 +41674,22 @@ paths: - push - repository default: branch - enforcement: *253 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *255 + items: *252 + conditions: *253 rules: type: array description: An array of rules within the ruleset. - items: &278 + items: &276 title: Repository Rule type: object description: A repository rule. oneOf: + - *254 + - *255 - *256 - *257 - *258 @@ -42403,8 +41708,6 @@ paths: - *271 - *272 - *273 - - *274 - - *275 required: - name - enforcement @@ -42442,9 +41745,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: &277 + default: &275 value: id: 21 name: super cool ruleset @@ -42484,7 +41787,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *94 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -42498,8 +41801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *99 - - &569 + - *93 + - &557 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 +41817,7 @@ paths: in: query schema: type: string - - &570 + - &558 name: time_period description: |- The time period to filter by. @@ -42530,14 +41833,14 @@ paths: - week - month default: day - - &571 + - &559 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 + - &560 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -42557,7 +41860,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &561 title: Rule Suites description: Response type: array @@ -42613,7 +41916,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &574 + default: &562 value: - id: 21 actor_id: 12 @@ -42637,7 +41940,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42656,8 +41959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *99 - - &575 + - *93 + - &563 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -42673,7 +41976,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &564 title: Rule Suite description: Response type: object @@ -42780,7 +42083,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &577 + default: &565 value: id: 21 actor_id: 12 @@ -42815,7 +42118,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42841,7 +42144,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *93 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42853,11 +42156,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: *277 + default: *275 '404': *6 - '500': *100 + '500': *94 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -42873,7 +42176,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *93 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42899,16 +42202,16 @@ paths: - tag - push - repository - enforcement: *253 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *255 + items: *252 + conditions: *253 rules: description: An array of rules within the ruleset. type: array - items: *278 + items: *276 examples: default: value: @@ -42943,11 +42246,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: *277 + default: *275 '404': *6 - '500': *100 + '500': *94 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -42963,7 +42266,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *93 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42974,7 +42277,7 @@ paths: '204': description: Response '404': *6 - '500': *100 + '500': *94 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -42986,7 +42289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *99 + - *93 - *17 - *19 - name: ruleset_id @@ -43002,7 +42305,7 @@ paths: application/json: schema: type: array - items: &279 + items: &277 title: Ruleset version type: object description: The historical version of a ruleset @@ -43026,7 +42329,7 @@ paths: type: string format: date-time examples: - default: &579 + default: &567 value: - version_id: 3 actor: @@ -43044,7 +42347,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43061,7 +42364,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *99 + - *93 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43079,9 +42382,9 @@ paths: description: Response content: application/json: - schema: &580 + schema: &568 allOf: - - *279 + - *277 - type: object required: - state @@ -43128,7 +42431,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43150,15 +42453,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 + - *93 + - &569 + 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 + - &570 + 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 + - &571 + 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 + - &572 + 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 + - &573 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 +42509,7 @@ paths: required: false schema: type: string - - &582 + - &574 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 +42519,42 @@ paths: required: false schema: type: string - - *284 - - *285 - - *286 - - *287 + - &575 + 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 + - &576 + 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 + - &577 + 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 + - &578 + 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 +42562,615 @@ paths: application/json: schema: type: array - items: *288 + items: + type: object + properties: + number: *142 + created_at: *143 + updated_at: + anyOf: + - type: 'null' + - *144 + url: *145 + html_url: *146 + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this + alert. + state: &579 + 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: &580 + 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' + - &581 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &583 + 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 + - &584 + 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 + - &585 + 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 + - &586 + 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 + - &587 + 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 + - &588 + 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 + - &589 + 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 + - &590 + 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 + - &591 + 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 + - &592 + 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 + - &593 + 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 + - &594 + 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 + - &595 + 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': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43220,7 +43195,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *99 + - *93 responses: '200': description: Response @@ -43232,7 +43207,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &291 + pattern_config_version: &279 type: - string - 'null' @@ -43242,7 +43217,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &290 + items: &278 type: object properties: token_type: @@ -43311,7 +43286,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *290 + items: *278 examples: default: value: @@ -43360,7 +43335,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *99 + - *93 requestBody: required: true content: @@ -43368,7 +43343,7 @@ paths: schema: type: object properties: - pattern_config_version: *291 + pattern_config_version: *279 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -43394,7 +43369,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *291 + custom_pattern_version: *279 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -43448,7 +43423,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 + - *93 - *46 - name: sort description: The property to sort the results by. @@ -43492,7 +43467,7 @@ paths: application/json: schema: type: array - items: &603 + items: &599 description: A repository security advisory. type: object properties: @@ -43736,7 +43711,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *280 credits_detailed: type: - array @@ -43747,7 +43722,7 @@ paths: type: object properties: user: *4 - type: *292 + type: *280 state: type: string description: The state of the user's acceptance of the @@ -43811,7 +43786,7 @@ paths: - private_fork additionalProperties: false examples: - default: &604 + default: &600 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44190,7 +44165,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *99 + - *93 responses: '200': description: Response @@ -44198,9 +44173,9 @@ paths: application/json: schema: type: array - items: *214 + items: *212 examples: - default: *215 + default: *213 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44223,8 +44198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *99 - - *64 + - *93 + - *59 responses: '204': description: Response @@ -44249,8 +44224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *99 - - *64 + - *93 + - *59 responses: '204': description: Response @@ -44279,13 +44254,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: &669 + schema: &665 type: object properties: total_minutes_used: @@ -44355,7 +44330,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &670 + default: &666 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -44385,13 +44360,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: &671 + schema: &667 type: object properties: total_gigabytes_bandwidth_used: @@ -44409,7 +44384,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &672 + default: &668 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -44435,13 +44410,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: &676 + schema: &672 type: object properties: days_left_in_billing_cycle: @@ -44459,7 +44434,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &677 + default: &673 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -44483,7 +44458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Immutable releases settings response @@ -44533,7 +44508,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *99 + - *93 responses: '204': description: Response @@ -44591,7 +44566,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *99 + - *93 - *19 - *17 responses: @@ -44609,9 +44584,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *126 examples: - default: *143 + default: *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44630,7 +44605,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *99 + - *93 requestBody: required: true content: @@ -44679,8 +44654,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 + - *93 + - *115 responses: '204': description: Response @@ -44702,8 +44677,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 + - *93 + - *115 responses: '204': description: Response @@ -44726,7 +44701,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 + - *93 - *17 - *19 responses: @@ -44744,7 +44719,7 @@ paths: type: integer network_configurations: type: array - items: &293 + items: &281 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -44808,7 +44783,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44827,7 +44802,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 + - *93 requestBody: required: true content: @@ -44869,9 +44844,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *281 examples: - default: &294 + default: &282 value: id: 123456789ABCDEF name: My network configuration @@ -44899,8 +44874,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 + - *93 + - &283 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -44912,11 +44887,11 @@ paths: description: Response content: application/json: - schema: *293 + schema: *281 examples: - default: *294 + default: *282 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44935,8 +44910,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 + - *93 + - *283 requestBody: required: true content: @@ -44975,9 +44950,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *281 examples: - default: *294 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44996,8 +44971,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 + - *93 + - *283 responses: '204': description: Response @@ -45020,7 +44995,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 + - *93 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -45079,7 +45054,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 +45084,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *99 - - *64 + - *93 + - *59 - 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 +45117,13 @@ paths: application/json: schema: type: array - items: *296 + items: *284 examples: - default: *297 - '500': *100 + default: *285 + '500': *94 '403': *27 '404': *6 - '422': *298 + '422': *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45166,7 +45141,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *99 + - *93 - *17 - *19 responses: @@ -45178,9 +45153,9 @@ paths: type: array items: *161 examples: - default: *215 + default: *213 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -45200,7 +45175,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *99 + - *93 requestBody: required: true content: @@ -45272,7 +45247,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &287 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45346,7 +45321,7 @@ paths: parent: anyOf: - type: 'null' - - *214 + - *212 members_count: type: integer examples: @@ -45671,7 +45646,7 @@ paths: - repos_count - organization examples: - default: &300 + default: &288 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45741,16 +45716,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *99 - - *64 + - *93 + - *59 responses: '200': description: Response content: application/json: - schema: *299 + schema: *287 examples: - default: *300 + default: *288 '404': *6 x-github: githubCloudOnly: false @@ -45771,8 +45746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *99 - - *64 + - *93 + - *59 requestBody: required: false content: @@ -45835,16 +45810,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *287 examples: - default: *300 + default: *288 '201': description: Response content: application/json: - schema: *299 + schema: *287 examples: - default: *300 + default: *288 '404': *6 '422': *15 '403': *27 @@ -45869,8 +45844,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *99 - - *64 + - *93 + - *59 responses: '204': description: Response @@ -45896,8 +45871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *99 - - *64 + - *93 + - *59 - *46 - *17 - *19 @@ -45914,7 +45889,7 @@ paths: application/json: schema: type: array - items: &301 + items: &289 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -46005,7 +45980,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *70 + reactions: *65 required: - author - body @@ -46025,7 +46000,7 @@ paths: - updated_at - url examples: - default: &621 + default: &617 value: - author: login: octocat @@ -46075,7 +46050,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46099,8 +46074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *99 - - *64 + - *93 + - *59 requestBody: required: true content: @@ -46134,9 +46109,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *289 examples: - default: &302 + default: &290 value: author: login: octocat @@ -46208,9 +46183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *99 - - *64 - - &303 + - *93 + - *59 + - &291 name: discussion_number description: The number that identifies the discussion. in: path @@ -46222,9 +46197,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *289 examples: - default: *302 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46246,9 +46221,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *99 - - *64 - - *303 + - *93 + - *59 + - *291 requestBody: required: false content: @@ -46271,9 +46246,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *289 examples: - default: &622 + default: &618 value: author: login: octocat @@ -46343,9 +46318,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *99 - - *64 - - *303 + - *93 + - *59 + - *291 responses: '204': description: Response @@ -46371,9 +46346,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *99 - - *64 - - *303 + - *93 + - *59 + - *291 - *46 - *17 - *19 @@ -46384,7 +46359,7 @@ paths: application/json: schema: type: array - items: &304 + items: &292 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46449,7 +46424,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *70 + reactions: *65 required: - author - body @@ -46464,7 +46439,7 @@ paths: - updated_at - url examples: - default: &623 + default: &619 value: - author: login: octocat @@ -46508,7 +46483,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46532,9 +46507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *99 - - *64 - - *303 + - *93 + - *59 + - *291 requestBody: required: true content: @@ -46556,9 +46531,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *292 examples: - default: &305 + default: &293 value: author: login: octocat @@ -46624,10 +46599,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - &306 + - *93 + - *59 + - *291 + - &294 name: comment_number description: The number that identifies the comment. in: path @@ -46639,9 +46614,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *292 examples: - default: *305 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46663,10 +46638,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *93 + - *59 + - *291 + - *294 requestBody: required: true content: @@ -46688,9 +46663,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *292 examples: - default: &624 + default: &620 value: author: login: octocat @@ -46754,10 +46729,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *93 + - *59 + - *291 + - *294 responses: '204': description: Response @@ -46783,10 +46758,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 + - *93 + - *59 + - *291 + - *294 - 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 +46787,7 @@ paths: application/json: schema: type: array - items: &307 + items: &295 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46856,7 +46831,7 @@ paths: - content - created_at examples: - default: &309 + default: &297 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46882,7 +46857,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46906,10 +46881,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 + - *93 + - *59 + - *291 + - *294 requestBody: required: true content: @@ -46942,9 +46917,9 @@ paths: team discussion comment content: application/json: - schema: *307 + schema: *295 examples: - default: &308 + default: &296 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46973,9 +46948,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46998,11 +46973,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 + - *93 + - *59 + - *291 + - *294 + - &298 name: reaction_id description: The unique identifier of the reaction. in: path @@ -47034,9 +47009,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *99 - - *64 - - *303 + - *93 + - *59 + - *291 - 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 +47037,11 @@ paths: application/json: schema: type: array - items: *307 + items: *295 examples: - default: *309 + default: *297 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47090,9 +47065,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *99 - - *64 - - *303 + - *93 + - *59 + - *291 requestBody: required: true content: @@ -47124,16 +47099,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '201': description: Response content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47156,10 +47131,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *99 - - *64 - - *303 - - *310 + - *93 + - *59 + - *291 + - *298 responses: '204': description: Response @@ -47183,8 +47158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *99 - - *64 + - *93 + - *59 - *17 - *19 responses: @@ -47194,11 +47169,11 @@ paths: application/json: schema: type: array - items: *196 + items: *194 examples: - default: *197 + default: *195 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47218,8 +47193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *99 - - *64 + - *93 + - *59 - name: role description: Filters members returned by their role in the team. in: query @@ -47242,9 +47217,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47272,15 +47247,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *99 - - *64 - - *62 + - *93 + - *59 + - *57 responses: '200': description: Response content: application/json: - schema: &311 + schema: &299 title: Team Membership description: Team Membership type: object @@ -47308,7 +47283,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &625 + response-if-user-is-a-team-maintainer: &621 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47344,9 +47319,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 - - *62 + - *93 + - *59 + - *57 requestBody: required: false content: @@ -47371,9 +47346,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *299 examples: - response-if-users-membership-with-team-is-now-pending: &626 + response-if-users-membership-with-team-is-now-pending: &622 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47408,9 +47383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *99 - - *64 - - *62 + - *93 + - *59 + - *57 responses: '204': description: Response @@ -47435,8 +47410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *99 - - *64 + - *93 + - *59 - *17 - *19 responses: @@ -47446,7 +47421,7 @@ paths: application/json: schema: type: array - items: &312 + items: &300 title: Team Project description: A team's access to a project. type: object @@ -47515,7 +47490,7 @@ paths: - updated_at - permissions examples: - default: &627 + default: &623 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47555,7 +47530,7 @@ paths: write: true admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47578,9 +47553,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *99 - - *64 - - &313 + - *93 + - *59 + - &301 name: project_id description: The unique identifier of the project. in: path @@ -47592,9 +47567,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *300 examples: - default: &628 + default: &624 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47656,9 +47631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *99 - - *64 - - *313 + - *93 + - *59 + - *301 requestBody: required: false content: @@ -47725,9 +47700,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *99 - - *64 - - *313 + - *93 + - *59 + - *301 responses: '204': description: Response @@ -47754,8 +47729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *99 - - *64 + - *93 + - *59 - *17 - *19 responses: @@ -47765,11 +47740,11 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: - default: *222 + default: *220 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47796,16 +47771,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 + - *93 + - *59 + - *302 + - *303 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &629 + schema: &625 title: Team Repository description: A team's access to a repository. type: object @@ -47831,7 +47806,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *66 forks: type: integer permissions: @@ -48446,10 +48421,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 + - *93 + - *59 + - *302 + - *303 requestBody: required: false content: @@ -48494,10 +48469,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 + - *93 + - *59 + - *302 + - *303 responses: '204': description: Response @@ -48521,8 +48496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *99 - - *64 + - *93 + - *59 - *17 - *19 responses: @@ -48534,7 +48509,7 @@ paths: type: array items: *161 examples: - response-if-child-teams-exist: &630 + response-if-child-teams-exist: &626 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48562,7 +48537,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 +48562,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 + - *93 - name: security_product in: path description: The security feature to enable or disable. @@ -48661,7 +48636,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &316 + - &304 name: column_id description: The unique identifier of the column. in: path @@ -48673,7 +48648,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &305 title: Project Column description: Project columns contain cards of work. type: object @@ -48727,7 +48702,7 @@ paths: - created_at - updated_at examples: - default: &318 + default: &306 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48762,7 +48737,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *316 + - *304 requestBody: required: true content: @@ -48787,9 +48762,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *305 examples: - default: *318 + default: *306 '304': *35 '403': *27 '401': *23 @@ -48814,7 +48789,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *316 + - *304 responses: '204': description: Response @@ -48843,7 +48818,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *316 + - *304 requestBody: required: true content: @@ -48904,15 +48879,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *313 + - *301 responses: '200': description: Response content: application/json: - schema: *232 + schema: *230 examples: - default: &319 + default: &307 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -48969,7 +48944,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *313 + - *301 requestBody: required: false content: @@ -49018,9 +48993,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *230 examples: - default: *319 + default: *307 '404': description: Not Found if the authenticated user does not have access to the project @@ -49041,7 +49016,7 @@ paths: items: type: string '401': *23 - '410': *320 + '410': *308 '422': *7 x-github: githubCloudOnly: false @@ -49064,7 +49039,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *313 + - *301 responses: '204': description: Delete Success @@ -49085,7 +49060,7 @@ paths: items: type: string '401': *23 - '410': *320 + '410': *308 '404': *6 x-github: githubCloudOnly: false @@ -49109,7 +49084,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *313 + - *301 - 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 +49111,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 '422': *15 '304': *35 @@ -49166,8 +49141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *313 - - *62 + - *301 + - *57 requestBody: required: false content: @@ -49221,8 +49196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *313 - - *62 + - *301 + - *57 responses: '204': description: Response @@ -49253,8 +49228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *313 - - *62 + - *301 + - *57 responses: '200': description: Response @@ -49324,7 +49299,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *313 + - *301 - *17 - *19 responses: @@ -49334,7 +49309,7 @@ paths: application/json: schema: type: array - items: *317 + items: *305 examples: default: value: @@ -49347,7 +49322,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 +49347,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *313 + - *301 requestBody: required: true content: @@ -49396,7 +49371,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *305 examples: default: value: @@ -49461,7 +49436,7 @@ paths: resources: type: object properties: - core: &321 + core: &309 title: Rate Limit type: object properties: @@ -49478,21 +49453,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: *309 + search: *309 + code_search: *309 + source_import: *309 + integration_manifest: *309 + code_scanning_upload: *309 + actions_runner_registration: *309 + scim: *309 + dependency_snapshots: *309 + dependency_sbom: *309 + code_scanning_autofix: *309 required: - core - search - rate: *321 + rate: *309 required: - rate - resources @@ -49597,14 +49572,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *322 + schema: *310 examples: default-response: summary: Default response @@ -50105,7 +50080,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *323 + '301': *311 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50123,8 +50098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: false content: @@ -50372,10 +50347,10 @@ paths: description: Response content: application/json: - schema: *322 + schema: *310 examples: - default: *324 - '307': &325 + default: *312 + '307': &313 description: Temporary Redirect content: application/json: @@ -50404,8 +50379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -50427,7 +50402,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *325 + '307': *313 '404': *6 '409': *45 x-github: @@ -50451,11 +50426,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 - - &356 + - &344 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50478,7 +50453,7 @@ paths: type: integer artifacts: type: array - items: &326 + items: &314 title: Artifact description: An artifact type: object @@ -50573,7 +50548,7 @@ paths: - expires_at - updated_at examples: - default: &357 + default: &345 value: total_count: 2 artifacts: @@ -50612,7 +50587,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50634,9 +50609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *314 - - *315 - - &327 + - *302 + - *303 + - &315 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50648,7 +50623,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *314 examples: default: value: @@ -50686,9 +50661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *314 + - *302 + - *303 - *315 - - *327 responses: '204': description: Response @@ -50712,9 +50687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *314 + - *302 + - *303 - *315 - - *327 - name: archive_format in: path required: true @@ -50728,7 +50703,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': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50751,14 +50726,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 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *328 + schema: *316 examples: default: value: @@ -50784,11 +50759,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 - - &329 + - &317 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 +50797,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &318 title: Repository actions caches description: Repository actions caches type: object @@ -50872,7 +50847,7 @@ paths: - total_count - actions_caches examples: - default: &331 + default: &319 value: total_count: 1 actions_caches: @@ -50884,7 +50859,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 +50879,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 + - *302 + - *303 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *329 + - *317 responses: '200': description: Response content: application/json: - schema: *330 + schema: *318 examples: - default: *331 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50940,8 +50915,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 + - *302 + - *303 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50972,9 +50947,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 + - *302 + - *303 + - &320 name: job_id description: The unique identifier of the job. in: path @@ -50986,7 +50961,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &348 title: Job description: Information of a job execution in a workflow run type: object @@ -51333,9 +51308,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 + - *302 + - *303 + - *320 responses: '302': description: Response @@ -51363,9 +51338,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 + - *302 + - *303 + - *320 requestBody: required: false content: @@ -51387,7 +51362,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -51411,8 +51386,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 + - *302 + - *303 responses: '200': description: Status response @@ -51462,8 +51437,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 + - *302 + - *303 requestBody: required: true content: @@ -51497,7 +51472,7 @@ paths: description: Empty response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -51526,8 +51501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -51545,7 +51520,7 @@ paths: type: integer secrets: type: array - items: &362 + items: &350 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51566,7 +51541,7 @@ paths: - created_at - updated_at examples: - default: &363 + default: &351 value: total_count: 2 secrets: @@ -51577,7 +51552,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 +51574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *314 - - *315 - - *333 + - *302 + - *303 + - *321 - *19 responses: '200': @@ -51618,7 +51593,7 @@ paths: type: integer variables: type: array - items: &366 + items: &354 title: Actions Variable type: object properties: @@ -51652,7 +51627,7 @@ paths: - created_at - updated_at examples: - default: &367 + default: &355 value: total_count: 2 variables: @@ -51665,7 +51640,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 +51660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -51695,12 +51670,12 @@ paths: schema: type: object properties: - enabled: &335 + enabled: &323 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *116 - selected_actions_url: *334 - sha_pinning_required: *117 + allowed_actions: *111 + selected_actions_url: *322 + sha_pinning_required: *112 required: - enabled examples: @@ -51728,8 +51703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -51740,9 +51715,9 @@ paths: schema: type: object properties: - enabled: *335 - allowed_actions: *116 - sha_pinning_required: *117 + enabled: *323 + allowed_actions: *111 + sha_pinning_required: *112 required: - enabled examples: @@ -51772,14 +51747,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 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: &336 + schema: &324 type: object properties: access_level: @@ -51796,7 +51771,7 @@ paths: required: - access_level examples: - default: &337 + default: &325 value: access_level: organization x-github: @@ -51820,15 +51795,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 + - *302 + - *303 requestBody: required: true content: application/json: - schema: *336 + schema: *324 examples: - default: *337 + default: *325 responses: '204': description: Response @@ -51852,14 +51827,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 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *338 + schema: *326 examples: default: value: @@ -51883,8 +51858,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 + - *302 + - *303 responses: '204': description: Empty response for successful settings update @@ -51894,7 +51869,7 @@ paths: required: true content: application/json: - schema: *339 + schema: *327 examples: default: summary: Set retention days @@ -51918,16 +51893,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 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *118 + schema: *113 examples: - default: *340 + default: *328 '404': *6 x-github: enabledForGitHubApps: true @@ -51946,8 +51921,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 + - *302 + - *303 responses: '204': description: Response @@ -51957,7 +51932,7 @@ paths: required: true content: application/json: - schema: *118 + schema: *113 examples: default: summary: Set approval policy to first time contributors @@ -51981,16 +51956,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 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *341 + schema: *329 examples: - default: *119 + default: *114 '403': *27 '404': *6 x-github: @@ -52010,15 +51985,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 + - *302 + - *303 requestBody: required: true content: application/json: - schema: *342 + schema: *330 examples: - default: *119 + default: *114 responses: '204': description: Empty response for successful settings update @@ -52042,16 +52017,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 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *121 + schema: *116 examples: - default: *122 + default: *117 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52070,8 +52045,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 + - *302 + - *303 responses: '204': description: Response @@ -52079,9 +52054,9 @@ paths: required: false content: application/json: - schema: *121 + schema: *116 examples: - selected_actions: *122 + selected_actions: *117 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52103,16 +52078,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *343 + schema: *331 examples: - default: *126 + default: *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52133,8 +52108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Success response @@ -52145,9 +52120,9 @@ paths: required: true content: application/json: - schema: *344 + schema: *332 examples: - default: *126 + default: *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52174,8 +52149,8 @@ paths: in: query schema: type: string - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -52193,11 +52168,11 @@ paths: type: integer runners: type: array - items: *133 + items: *128 examples: - default: *134 + default: *129 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52219,8 +52194,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 + - *302 + - *303 responses: '200': description: Response @@ -52228,9 +52203,9 @@ paths: application/json: schema: type: array - items: *345 + items: *333 examples: - default: *346 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52252,8 +52227,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 + - *302 + - *303 requestBody: required: true content: @@ -52296,7 +52271,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *347 + '201': *335 '404': *6 '422': *7 '409': *45 @@ -52327,16 +52302,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 + - *302 + - *303 responses: '201': description: Response content: application/json: - schema: *135 + schema: *130 examples: - default: *348 + default: *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52364,16 +52339,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 + - *302 + - *303 responses: '201': description: Response content: application/json: - schema: *135 + schema: *130 examples: - default: *349 + default: *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52395,17 +52370,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 + - *302 + - *303 + - *127 responses: '200': description: Response content: application/json: - schema: *133 + schema: *128 examples: - default: *350 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52426,9 +52401,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 + - *302 + - *303 + - *127 responses: '204': description: Response @@ -52454,11 +52429,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 + - *302 + - *303 + - *127 responses: - '200': *137 + '200': *132 '404': *6 x-github: githubCloudOnly: false @@ -52480,9 +52455,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 + - *302 + - *303 + - *127 requestBody: required: true content: @@ -52506,7 +52481,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *132 '404': *6 '422': *7 x-github: @@ -52530,9 +52505,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 + - *302 + - *303 + - *127 requestBody: required: true content: @@ -52557,7 +52532,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *132 '404': *6 '422': *7 x-github: @@ -52581,11 +52556,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 + - *302 + - *303 + - *127 responses: - '200': *351 + '200': *339 '404': *6 x-github: githubCloudOnly: false @@ -52612,12 +52587,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 + - *302 + - *303 + - *127 + - *340 responses: - '200': *137 + '200': *132 '404': *6 '422': *7 x-github: @@ -52643,9 +52618,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 + - *302 + - *303 + - &358 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 +52628,7 @@ paths: required: false schema: type: string - - &371 + - &359 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52661,7 +52636,7 @@ paths: required: false schema: type: string - - &372 + - &360 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 +52645,7 @@ paths: required: false schema: type: string - - &373 + - &361 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 +52672,7 @@ paths: - pending - *17 - *19 - - &374 + - &362 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 +52681,7 @@ paths: schema: type: string format: date-time - - &353 + - &341 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52715,13 +52690,13 @@ paths: schema: type: boolean default: false - - &375 + - &363 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &376 + - &364 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52744,7 +52719,7 @@ paths: type: integer workflow_runs: type: array - items: &354 + items: &342 title: Workflow Run description: An invocation of a workflow type: object @@ -52861,7 +52836,7 @@ paths: type: - array - 'null' - items: *72 + items: *67 created_at: type: string format: date-time @@ -52922,7 +52897,7 @@ paths: head_commit: anyOf: - type: 'null' - - &398 + - &386 title: Simple Commit description: A commit. type: object @@ -52996,8 +52971,8 @@ paths: - timestamp - author - committer - repository: *131 - head_repository: *131 + repository: *126 + head_repository: *126 head_repository_id: type: integer examples: @@ -53037,7 +53012,7 @@ paths: - workflow_url - pull_requests examples: - default: &377 + default: &365 value: total_count: 1 workflow_runs: @@ -53251,7 +53226,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 +53248,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *314 - - *315 - - &355 + - *302 + - *303 + - &343 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *353 + - *341 responses: '200': description: Response content: application/json: - schema: *354 + schema: *342 examples: - default: &358 + default: &346 value: id: 30433642 name: Build @@ -53531,9 +53506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *302 + - *303 + - *343 responses: '204': description: Response @@ -53556,9 +53531,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 + - *302 + - *303 + - *343 responses: '200': description: Response @@ -53686,15 +53661,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 + - *302 + - *303 + - *343 responses: '201': description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -53721,12 +53696,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *314 - - *315 - - *355 + - *302 + - *303 + - *343 - *17 - *19 - - *356 + - *344 responses: '200': description: Response @@ -53742,11 +53717,11 @@ paths: type: integer artifacts: type: array - items: *326 + items: *314 examples: - default: *357 + default: *345 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53768,25 +53743,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 + - *302 + - *303 + - *343 + - &347 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *353 + - *341 responses: '200': description: Response content: application/json: - schema: *354 + schema: *342 examples: - default: *358 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53809,10 +53784,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 + - *302 + - *303 + - *343 + - *347 - *17 - *19 responses: @@ -53830,9 +53805,9 @@ paths: type: integer jobs: type: array - items: *360 + items: *348 examples: - default: &361 + default: &349 value: total_count: 1 jobs: @@ -53921,7 +53896,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -53945,10 +53920,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 + - *302 + - *303 + - *343 + - *347 responses: '302': description: Response @@ -53976,15 +53951,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *302 + - *303 + - *343 responses: '202': description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -54011,9 +53986,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 + - *302 + - *303 + - *343 requestBody: required: true content: @@ -54080,15 +54055,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *302 + - *303 + - *343 responses: '202': description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -54115,9 +54090,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 + - *302 + - *303 + - *343 - 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 +54122,11 @@ paths: type: integer jobs: type: array - items: *360 + items: *348 examples: - default: *361 + default: *349 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54174,9 +54149,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *314 - - *315 - - *355 + - *302 + - *303 + - *343 responses: '302': description: Response @@ -54203,14 +54178,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *314 - - *315 - - *355 + - *302 + - *303 + - *343 responses: '204': description: Response '403': *27 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54232,9 +54207,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 + - *302 + - *303 + - *343 responses: '200': description: Response @@ -54303,7 +54278,7 @@ paths: items: type: object properties: - type: &472 + type: &460 type: string description: The type of reviewer. enum: @@ -54389,9 +54364,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 + - *302 + - *303 + - *343 requestBody: required: true content: @@ -54441,7 +54416,7 @@ paths: application/json: schema: type: array - items: &467 + items: &455 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54553,7 +54528,7 @@ paths: - created_at - updated_at examples: - default: &468 + default: &456 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54609,9 +54584,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *314 - - *315 - - *355 + - *302 + - *303 + - *343 requestBody: required: false content: @@ -54633,7 +54608,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -54656,9 +54631,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 + - *302 + - *303 + - *343 requestBody: required: false content: @@ -54680,7 +54655,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -54712,9 +54687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *314 - - *315 - - *355 + - *302 + - *303 + - *343 responses: '200': description: Response @@ -54851,8 +54826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -54870,11 +54845,11 @@ paths: type: integer secrets: type: array - items: *362 + items: *350 examples: - default: *363 + default: *351 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54897,16 +54872,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *364 + schema: *352 examples: - default: *365 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54928,17 +54903,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *302 + - *303 + - *134 responses: '200': description: Response content: application/json: - schema: *362 + schema: *350 examples: - default: &485 + default: &473 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54964,9 +54939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *302 + - *303 + - *134 requestBody: required: true content: @@ -54997,7 +54972,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -55023,9 +54998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *302 + - *303 + - *134 responses: '204': description: Response @@ -55050,9 +55025,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *314 - - *315 - - *333 + - *302 + - *303 + - *321 - *19 responses: '200': @@ -55069,11 +55044,11 @@ paths: type: integer variables: type: array - items: *366 + items: *354 examples: - default: *367 + default: *355 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55094,8 +55069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -55122,7 +55097,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -55147,17 +55122,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *302 + - *303 + - *137 responses: '200': description: Response content: application/json: - schema: *366 + schema: *354 examples: - default: &486 + default: &474 value: name: USERNAME value: octocat @@ -55183,9 +55158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *302 + - *303 + - *137 requestBody: required: true content: @@ -55227,9 +55202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *302 + - *303 + - *137 responses: '204': description: Response @@ -55254,8 +55229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -55273,7 +55248,7 @@ paths: type: integer workflows: type: array - items: &368 + items: &356 title: Workflow description: A GitHub Actions workflow type: object @@ -55368,7 +55343,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 +55366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *314 - - *315 - - &369 + - *302 + - *303 + - &357 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55408,7 +55383,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *356 examples: default: value: @@ -55441,9 +55416,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *314 - - *315 - - *369 + - *302 + - *303 + - *357 responses: '204': description: Response @@ -55468,9 +55443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *314 - - *315 - - *369 + - *302 + - *303 + - *357 responses: '204': description: Response @@ -55521,9 +55496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *314 - - *315 - - *369 + - *302 + - *303 + - *357 responses: '204': description: Response @@ -55550,19 +55525,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 + - *302 + - *303 + - *357 + - *358 + - *359 + - *360 + - *361 - *17 - *19 - - *374 - - *353 - - *375 - - *376 + - *362 + - *341 + - *363 + - *364 responses: '200': description: Response @@ -55578,11 +55553,11 @@ paths: type: integer workflow_runs: type: array - items: *354 + items: *342 examples: - default: *377 + default: *365 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55612,9 +55587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *314 - - *315 - - *369 + - *302 + - *303 + - *357 responses: '200': description: Response @@ -55675,8 +55650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *314 - - *315 + - *302 + - *303 - *46 - *17 - *38 @@ -55825,7 +55800,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '422': *7 x-github: githubCloudOnly: false @@ -55844,8 +55819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -55857,9 +55832,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -55882,8 +55857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *314 - - *315 + - *302 + - *303 - name: assignee in: path required: true @@ -55919,8 +55894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -56032,8 +56007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *38 - *39 @@ -56089,7 +56064,7 @@ paths: initiator: type: string examples: - default: *378 + default: *366 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56109,8 +56084,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -56118,7 +56093,7 @@ paths: application/json: schema: type: array - items: &379 + items: &367 title: Autolink reference description: An autolink reference. type: object @@ -56177,8 +56152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -56217,9 +56192,9 @@ paths: description: response content: application/json: - schema: *379 + schema: *367 examples: - default: &380 + default: &368 value: id: 1 key_prefix: TICKET- @@ -56250,9 +56225,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 + - *302 + - *303 + - &369 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56264,9 +56239,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *367 examples: - default: *380 + default: *368 '404': *6 x-github: githubCloudOnly: false @@ -56286,9 +56261,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 + - *302 + - *303 + - *369 responses: '204': description: Response @@ -56312,8 +56287,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 + - *302 + - *303 responses: '200': description: Response if Dependabot is enabled @@ -56363,8 +56338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -56385,8 +56360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -56406,8 +56381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *314 - - *315 + - *302 + - *303 - 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 +56420,7 @@ paths: - url protected: type: boolean - protection: &383 + protection: &371 title: Branch Protection description: Branch Protection type: object @@ -56488,7 +56463,7 @@ paths: required: - contexts - checks - enforce_admins: &386 + enforce_admins: &374 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56505,7 +56480,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &388 + required_pull_request_reviews: &376 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56589,7 +56564,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &385 + restrictions: &373 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56864,7 +56839,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 +56857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *314 - - *315 - - &384 + - *302 + - *303 + - &372 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 +56873,14 @@ paths: description: Response content: application/json: - schema: &394 + schema: &382 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &443 + commit: &431 title: Commit description: Commit type: object @@ -56944,7 +56919,7 @@ paths: author: anyOf: - type: 'null' - - &382 + - &370 title: Git User description: Metaproperties for Git author/committer information. @@ -56965,7 +56940,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *370 message: type: string examples: @@ -56989,7 +56964,7 @@ paths: required: - sha - url - verification: &492 + verification: &480 title: Verification type: object properties: @@ -57025,14 +57000,14 @@ paths: author: oneOf: - *4 - - *140 + - *135 type: - 'null' - object committer: oneOf: - *4 - - *140 + - *135 type: - 'null' - object @@ -57069,7 +57044,7 @@ paths: type: integer files: type: array - items: &454 + items: &442 title: Diff Entry description: Diff Entry type: object @@ -57165,7 +57140,7 @@ paths: - self protected: type: boolean - protection: *383 + protection: *371 protection_url: type: string format: uri @@ -57274,7 +57249,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *323 + '301': *311 '404': *6 x-github: githubCloudOnly: false @@ -57296,15 +57271,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '200': description: Response content: application/json: - schema: *383 + schema: *371 examples: default: value: @@ -57498,9 +57473,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: true content: @@ -57760,7 +57735,7 @@ paths: url: type: string format: uri - required_status_checks: &391 + required_status_checks: &379 title: Status Check Policy description: Status Check Policy type: object @@ -57919,7 +57894,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *385 + restrictions: *373 required_conversation_resolution: type: object properties: @@ -58031,9 +58006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '204': description: Response @@ -58058,17 +58033,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '200': description: Response content: application/json: - schema: *386 + schema: *374 examples: - default: &387 + default: &375 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58090,17 +58065,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '200': description: Response content: application/json: - schema: *386 + schema: *374 examples: - default: *387 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58119,9 +58094,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '204': description: Response @@ -58146,17 +58121,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '200': description: Response content: application/json: - schema: *388 + schema: *376 examples: - default: &389 + default: &377 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58252,9 +58227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: false content: @@ -58352,9 +58327,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *376 examples: - default: *389 + default: *377 '422': *15 x-github: githubCloudOnly: false @@ -58375,9 +58350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '204': description: Response @@ -58404,17 +58379,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '200': description: Response content: application/json: - schema: *386 + schema: *374 examples: - default: &390 + default: &378 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58437,17 +58412,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '200': description: Response content: application/json: - schema: *386 + schema: *374 examples: - default: *390 + default: *378 '404': *6 x-github: githubCloudOnly: false @@ -58467,9 +58442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '204': description: Response @@ -58494,17 +58469,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '200': description: Response content: application/json: - schema: *391 + schema: *379 examples: - default: &392 + default: &380 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58530,9 +58505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: false content: @@ -58584,9 +58559,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *379 examples: - default: *392 + default: *380 '404': *6 '422': *15 x-github: @@ -58608,9 +58583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '204': description: Response @@ -58634,9 +58609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '200': description: Response @@ -58670,9 +58645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: false content: @@ -58739,9 +58714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: false content: @@ -58805,9 +58780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: content: application/json: @@ -58873,15 +58848,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '200': description: Response content: application/json: - schema: *385 + schema: *373 examples: default: value: @@ -58972,9 +58947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '204': description: Response @@ -58997,9 +58972,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 + - *302 + - *303 + - *372 responses: '200': description: Response @@ -59009,7 +58984,7 @@ paths: type: array items: *5 examples: - default: &393 + default: &381 value: - id: 1 slug: octoapp @@ -59066,9 +59041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: true content: @@ -59102,7 +59077,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *381 '422': *15 x-github: githubCloudOnly: false @@ -59123,9 +59098,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: true content: @@ -59159,7 +59134,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *381 '422': *15 x-github: githubCloudOnly: false @@ -59180,9 +59155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: true content: @@ -59216,7 +59191,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *381 '422': *15 x-github: githubCloudOnly: false @@ -59238,9 +59213,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 + - *302 + - *303 + - *372 responses: '200': description: Response @@ -59250,7 +59225,7 @@ paths: type: array items: *161 examples: - default: *215 + default: *213 '404': *6 x-github: githubCloudOnly: false @@ -59270,9 +59245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: false content: @@ -59310,7 +59285,7 @@ paths: type: array items: *161 examples: - default: *215 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -59331,9 +59306,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: false content: @@ -59371,7 +59346,7 @@ paths: type: array items: *161 examples: - default: *215 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -59392,9 +59367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: content: application/json: @@ -59431,7 +59406,7 @@ paths: type: array items: *161 examples: - default: *215 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -59453,9 +59428,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 + - *302 + - *303 + - *372 responses: '200': description: Response @@ -59465,7 +59440,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '404': *6 x-github: githubCloudOnly: false @@ -59489,9 +59464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: true content: @@ -59524,7 +59499,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59549,9 +59524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: true content: @@ -59584,7 +59559,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59609,9 +59584,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: true content: @@ -59644,7 +59619,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59671,9 +59646,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: true content: @@ -59695,7 +59670,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *382 examples: default: value: @@ -59811,8 +59786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -60091,7 +60066,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &383 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60226,8 +60201,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *72 - deployment: &688 + items: *67 + deployment: &684 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60514,9 +60489,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *314 - - *315 - - &396 + - *302 + - *303 + - &384 name: check_run_id description: The unique identifier of the check run. in: path @@ -60528,9 +60503,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *383 examples: - default: &397 + default: &385 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60630,9 +60605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *314 - - *315 - - *396 + - *302 + - *303 + - *384 requestBody: required: true content: @@ -60872,9 +60847,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *383 examples: - default: *397 + default: *385 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60894,9 +60869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *314 - - *315 - - *396 + - *302 + - *303 + - *384 - *17 - *19 responses: @@ -60986,7 +60961,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 +60981,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *314 - - *315 - - *396 + - *302 + - *303 + - *384 responses: '201': description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -61052,8 +61027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -61075,7 +61050,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &399 + schema: &387 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61157,12 +61132,12 @@ paths: type: - array - 'null' - items: *72 + items: *67 app: anyOf: - type: 'null' - *5 - repository: *131 + repository: *126 created_at: type: - string @@ -61173,7 +61148,7 @@ paths: - string - 'null' format: date-time - head_commit: *398 + head_commit: *386 latest_check_runs_count: type: integer check_runs_url: @@ -61201,7 +61176,7 @@ paths: - check_runs_url - pull_requests examples: - default: &400 + default: &388 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61492,9 +61467,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *399 + schema: *387 examples: - default: *400 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61513,8 +61488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -61575,7 +61550,7 @@ paths: required: - app_id - setting - repository: *131 + repository: *126 examples: default: value: @@ -61823,9 +61798,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *314 - - *315 - - &401 + - *302 + - *303 + - &389 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61837,9 +61812,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *387 examples: - default: *400 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61862,17 +61837,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 + - *302 + - *303 + - *389 + - &437 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &450 + - &438 name: status description: Returns check runs with the specified `status`. in: query @@ -61911,9 +61886,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *383 examples: - default: &451 + default: &439 value: total_count: 1 check_runs: @@ -61995,7 +61970,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 +61990,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *314 - - *315 - - *401 + - *302 + - *303 + - *389 responses: '201': description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -62050,21 +62025,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 + - *302 + - *303 + - *390 + - *391 - *19 - *17 - - &420 + - &408 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: *392 + - &409 name: pr description: The number of the pull request for the results you want to list. in: query @@ -62089,13 +62064,13 @@ paths: be returned. in: query required: false - schema: *405 + schema: *393 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *406 + schema: *394 responses: '200': description: Response @@ -62106,12 +62081,12 @@ paths: items: type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: *407 + number: *142 + created_at: *143 + updated_at: *144 + url: *145 + html_url: *146 + instances_url: *395 state: *151 fixed_at: *147 dismissed_by: @@ -62119,11 +62094,11 @@ paths: - type: 'null' - *4 dismissed_at: *148 - dismissed_reason: *408 - dismissed_comment: *409 - rule: *410 - tool: *411 - most_recent_instance: *412 + dismissed_reason: *396 + dismissed_comment: *397 + rule: *398 + tool: *399 + most_recent_instance: *400 dismissal_approved_by: anyOf: - type: 'null' @@ -62246,14 +62221,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &413 + '403': &401 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62273,9 +62248,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 + - *302 + - *303 + - &402 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62283,21 +62258,21 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *52 + schema: *142 responses: '200': description: Response content: application/json: - schema: &415 + schema: &403 type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: *407 + number: *142 + created_at: *143 + updated_at: *144 + url: *145 + html_url: *146 + instances_url: *395 state: *151 fixed_at: *147 dismissed_by: @@ -62305,8 +62280,8 @@ paths: - type: 'null' - *4 dismissed_at: *148 - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_reason: *396 + dismissed_comment: *397 rule: type: object properties: @@ -62368,8 +62343,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *411 - most_recent_instance: *412 + tool: *399 + most_recent_instance: *400 dismissal_approved_by: anyOf: - type: 'null' @@ -62465,9 +62440,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *413 + '403': *401 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62485,9 +62460,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 + - *302 + - *303 + - *402 requestBody: required: true content: @@ -62502,8 +62477,8 @@ paths: enum: - open - dismissed - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_reason: *396 + dismissed_comment: *397 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62522,7 +62497,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *403 examples: default: value: @@ -62598,14 +62573,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &419 + '403': &407 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': *95 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62625,15 +62600,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 + - *302 + - *303 + - *402 responses: '200': description: Response content: application/json: - schema: &416 + schema: &404 type: object properties: status: @@ -62660,13 +62635,13 @@ paths: - description - started_at examples: - default: &417 + default: &405 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &418 + '400': &406 description: Bad Request content: application/json: @@ -62677,9 +62652,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': *401 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62702,29 +62677,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 + - *302 + - *303 + - *402 responses: '200': description: OK content: application/json: - schema: *416 + schema: *404 examples: - default: *417 + default: *405 '202': description: Accepted content: application/json: - schema: *416 + schema: *404 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *418 + '400': *406 '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 +62709,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62756,9 +62731,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 + - *302 + - *303 + - *402 requestBody: required: false content: @@ -62804,12 +62779,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *418 - '403': *419 + '400': *406 + '403': *407 '404': *6 '422': description: Unprocessable Entity - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62829,13 +62804,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 + - *302 + - *303 + - *402 - *19 - *17 - - *420 - - *421 + - *408 + - *409 responses: '200': description: Response @@ -62843,7 +62818,7 @@ paths: application/json: schema: type: array - items: *412 + items: *400 examples: default: value: @@ -62882,9 +62857,9 @@ paths: end_column: 50 classifications: - source - '403': *413 + '403': *401 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62916,25 +62891,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 + - *302 + - *303 + - *390 + - *391 - *19 - *17 - - *421 + - *409 - 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: *392 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &424 + schema: &412 type: string description: An identifier for the upload. examples: @@ -62956,23 +62931,23 @@ paths: application/json: schema: type: array - items: &425 + items: &413 type: object properties: - ref: *404 - commit_sha: &433 + ref: *392 + commit_sha: &421 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: *410 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *423 + category: *411 error: type: string examples: @@ -62997,8 +62972,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *424 - tool: *411 + sarif_id: *412 + tool: *399 deletable: type: boolean warning: @@ -63060,9 +63035,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *413 + '403': *401 '404': *6 - '503': *73 + '503': *95 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63096,8 +63071,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 + - *302 + - *303 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63110,7 +63085,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *413 examples: response: summary: application/json response @@ -63164,14 +63139,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *413 + '403': *401 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *73 + '503': *95 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63251,8 +63226,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 + - *302 + - *303 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63308,9 +63283,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': *407 '404': *6 - '503': *73 + '503': *95 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63330,8 +63305,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 + - *302 + - *303 responses: '200': description: Response @@ -63339,7 +63314,7 @@ paths: application/json: schema: type: array - items: &426 + items: &414 title: CodeQL Database description: A CodeQL database. type: object @@ -63451,9 +63426,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': *401 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63480,8 +63455,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 + - *302 + - *303 - name: language in: path description: The language of the CodeQL database. @@ -63493,7 +63468,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *414 examples: default: value: @@ -63525,11 +63500,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': &444 description: Found - '403': *413 + '403': *401 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63549,8 +63524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *314 - - *315 + - *302 + - *303 - name: language in: path description: The language of the CodeQL database. @@ -63560,9 +63535,9 @@ paths: responses: '204': description: Response - '403': *419 + '403': *407 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63588,8 +63563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -63598,7 +63573,7 @@ paths: type: object additionalProperties: false properties: - language: &427 + language: &415 type: string description: The language targeted by the CodeQL query enum: @@ -63677,7 +63652,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &431 + schema: &419 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63687,7 +63662,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *427 + query_language: *415 query_pack_url: type: string description: The download url for the query pack. @@ -63735,7 +63710,7 @@ paths: items: type: object properties: - repository: &428 + repository: &416 title: Repository Identifier description: Repository Identifier type: object @@ -63777,7 +63752,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &432 + analysis_status: &420 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63809,7 +63784,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: &417 type: object properties: repository_count: @@ -63824,7 +63799,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: *416 required: - repository_count - repositories @@ -63847,8 +63822,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *429 - over_limit_repos: *429 + no_codeql_db_repos: *417 + over_limit_repos: *417 required: - access_mismatch_repos - not_found_repos @@ -63864,7 +63839,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &430 + value: &418 summary: Default response value: id: 1 @@ -64016,17 +63991,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *430 + value: *418 repository_lists: summary: Response for a successful variant analysis submission - value: *430 + value: *418 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64047,8 +64022,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 + - *302 + - *303 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64060,11 +64035,11 @@ paths: description: Response content: application/json: - schema: *431 + schema: *419 examples: - default: *430 + default: *418 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64085,7 +64060,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 + - *302 - name: repo in: path description: The name of the controller repository. @@ -64120,7 +64095,7 @@ paths: type: object properties: repository: *51 - analysis_status: *432 + analysis_status: *420 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64224,7 +64199,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64245,8 +64220,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 + - *302 + - *303 responses: '200': description: Response @@ -64339,9 +64314,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *413 + '403': *401 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64360,8 +64335,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 + - *302 + - *303 requestBody: required: true content: @@ -64430,7 +64405,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -64455,7 +64430,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *419 + '403': *407 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64469,7 +64444,7 @@ paths: content: application/json: schema: *3 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64526,8 +64501,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 + - *302 + - *303 requestBody: required: true content: @@ -64535,7 +64510,7 @@ paths: schema: type: object properties: - commit_sha: *433 + commit_sha: *421 ref: type: string description: |- @@ -64595,7 +64570,7 @@ paths: schema: type: object properties: - id: *424 + id: *412 url: type: string description: The REST API URL for checking the status of the upload. @@ -64609,11 +64584,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': *407 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *73 + '503': *95 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64632,8 +64607,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 + - *302 + - *303 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64681,10 +64656,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': *401 '404': description: Not Found if the sarif id does not match any upload - '503': *73 + '503': *95 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64706,8 +64681,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 + - *302 + - *303 responses: '200': description: Response @@ -64788,8 +64763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *314 - - *315 + - *302 + - *303 - 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 +64892,8 @@ paths: parameters: - *17 - *19 - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -64934,7 +64909,7 @@ paths: type: integer codespaces: type: array - items: *204 + items: *202 examples: default: value: @@ -65210,7 +65185,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': *94 '401': *23 '403': *27 '404': *6 @@ -65232,8 +65207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -65297,22 +65272,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *204 + schema: *202 examples: - default: *434 + default: *422 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *204 + schema: *202 examples: - default: *434 + default: *422 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65336,8 +65311,8 @@ paths: parameters: - *17 - *19 - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -65377,7 +65352,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *100 + '500': *94 '400': *14 '401': *23 '403': *27 @@ -65401,8 +65376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65439,9 +65414,9 @@ paths: type: integer machines: type: array - items: *435 + items: *423 examples: - default: &637 + default: &633 value: total_count: 2 machines: @@ -65458,7 +65433,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -65481,8 +65456,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *314 - - *315 + - *302 + - *303 - 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 +65544,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 + - *302 + - *303 - 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 +65593,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65639,8 +65614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -65658,7 +65633,7 @@ paths: type: integer secrets: type: array - items: &439 + items: &427 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65679,9 +65654,9 @@ paths: - created_at - updated_at examples: - default: *436 + default: *424 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65702,16 +65677,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *437 + schema: *425 examples: - default: *438 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65731,17 +65706,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *302 + - *303 + - *134 responses: '200': description: Response content: application/json: - schema: *439 + schema: *427 examples: - default: *440 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65761,9 +65736,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 + - *302 + - *303 + - *134 requestBody: required: true content: @@ -65791,7 +65766,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -65815,9 +65790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *302 + - *303 + - *134 responses: '204': description: Response @@ -65845,8 +65820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *314 - - *315 + - *302 + - *303 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65884,7 +65859,7 @@ paths: application/json: schema: type: array - items: &441 + items: &429 title: Collaborator description: Collaborator type: object @@ -66052,7 +66027,7 @@ paths: admin: false role_name: write headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -66077,9 +66052,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 + - *302 + - *303 + - *57 responses: '204': description: Response if user is a collaborator @@ -66125,9 +66100,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *302 + - *303 + - *57 requestBody: required: false content: @@ -66153,7 +66128,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &505 + schema: &493 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66165,7 +66140,7 @@ paths: format: int64 examples: - 42 - repository: *131 + repository: *126 invitee: anyOf: - type: 'null' @@ -66341,7 +66316,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: *100 '403': *27 x-github: triggersNotification: true @@ -66381,9 +66356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *302 + - *303 + - *57 responses: '204': description: No Content when collaborator was removed from the repository. @@ -66414,9 +66389,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *314 - - *315 - - *62 + - *302 + - *303 + - *57 responses: '200': description: if user has admin permissions @@ -66436,7 +66411,7 @@ paths: user: anyOf: - type: 'null' - - *441 + - *429 required: - permission - role_name @@ -66490,8 +66465,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -66501,7 +66476,7 @@ paths: application/json: schema: type: array - items: &442 + items: &430 title: Commit Comment description: Commit Comment type: object @@ -66542,8 +66517,8 @@ paths: updated_at: type: string format: date-time - author_association: *69 - reactions: *70 + author_association: *64 + reactions: *65 required: - url - html_url @@ -66559,7 +66534,7 @@ paths: - created_at - updated_at examples: - default: &445 + default: &433 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 +66568,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 +66593,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *302 + - *303 + - *78 responses: '200': description: Response content: application/json: - schema: *442 + schema: *430 examples: - default: &446 + default: &434 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 +66660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *302 + - *303 + - *78 requestBody: required: true content: @@ -66709,7 +66684,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *430 examples: default: value: @@ -66760,9 +66735,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *302 + - *303 + - *78 responses: '204': description: Response @@ -66783,9 +66758,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *302 + - *303 + - *78 - 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 +66786,11 @@ paths: application/json: schema: type: array - items: *307 + items: *295 examples: - default: *309 + default: *297 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -66834,9 +66809,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *302 + - *303 + - *78 requestBody: required: true content: @@ -66868,16 +66843,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '201': description: Reaction created content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '422': *15 x-github: githubCloudOnly: false @@ -66899,10 +66874,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *314 - - *315 - - *84 - - *310 + - *302 + - *303 + - *78 + - *298 responses: '204': description: Response @@ -66951,8 +66926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *314 - - *315 + - *302 + - *303 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67008,9 +66983,9 @@ paths: application/json: schema: type: array - items: *443 + items: *431 examples: - default: &551 + default: &539 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67080,8 +67055,8 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *57 - '500': *100 + Link: *52 + '500': *94 '400': *14 '404': *6 '409': *45 @@ -67104,9 +67079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *314 - - *315 - - &444 + - *302 + - *303 + - &432 name: commit_sha description: The SHA of the commit. in: path @@ -67178,9 +67153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *314 - - *315 - - *444 + - *302 + - *303 + - *432 - *17 - *19 responses: @@ -67190,11 +67165,11 @@ paths: application/json: schema: type: array - items: *442 + items: *430 examples: - default: *445 + default: *433 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67220,9 +67195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *314 - - *315 - - *444 + - *302 + - *303 + - *432 requestBody: required: true content: @@ -67257,9 +67232,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *430 examples: - default: *446 + default: *434 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67287,9 +67262,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 + - *302 + - *303 + - *432 - *17 - *19 responses: @@ -67299,9 +67274,9 @@ paths: application/json: schema: type: array - items: *447 + items: *435 examples: - default: &543 + default: &531 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67780,7 +67755,7 @@ paths: auto_merge: draft: false headers: - Link: *57 + Link: *52 '409': *45 x-github: githubCloudOnly: false @@ -67838,11 +67813,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *314 - - *315 + - *302 + - *303 - *19 - *17 - - &448 + - &436 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 +67832,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *431 examples: - default: &531 + default: &519 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67945,8 +67920,8 @@ paths: ..... '422': *15 '404': *6 - '500': *100 - '503': *73 + '500': *94 + '503': *95 '409': *45 x-github: githubCloudOnly: false @@ -67972,11 +67947,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 + - *302 + - *303 + - *436 + - *437 + - *438 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68010,11 +67985,11 @@ paths: type: integer check_runs: type: array - items: *395 + items: *383 examples: - default: *451 + default: *439 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68037,9 +68012,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 + - *302 + - *303 + - *436 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68047,7 +68022,7 @@ paths: schema: type: integer example: 1 - - *449 + - *437 - *17 - *19 responses: @@ -68065,7 +68040,7 @@ paths: type: integer check_suites: type: array - items: *399 + items: *387 examples: default: value: @@ -68240,7 +68215,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 +68240,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 + - *302 + - *303 + - *436 - *17 - *19 responses: @@ -68338,7 +68313,7 @@ paths: type: string total_count: type: integer - repository: *131 + repository: *126 commit_url: type: string format: uri @@ -68469,9 +68444,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *314 - - *315 - - *448 + - *302 + - *303 + - *436 - *17 - *19 responses: @@ -68481,7 +68456,7 @@ paths: application/json: schema: type: array - items: &608 + items: &604 title: Status description: The status of a commit. type: object @@ -68561,8 +68536,8 @@ paths: type: User site_admin: false headers: - Link: *57 - '301': *323 + Link: *52 + '301': *311 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68590,8 +68565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -68624,11 +68599,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *452 + - *440 code_of_conduct_file: anyOf: - type: 'null' - - &453 + - &441 title: Community Health File type: object properties: @@ -68644,23 +68619,23 @@ paths: license: anyOf: - type: 'null' - - *71 + - *66 contributing: anyOf: - type: 'null' - - *453 + - *441 readme: anyOf: - type: 'null' - - *453 + - *441 issue_template: anyOf: - type: 'null' - - *453 + - *441 pull_request_template: anyOf: - type: 'null' - - *453 + - *441 required: - code_of_conduct - code_of_conduct_file @@ -68789,8 +68764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *314 - - *315 + - *302 + - *303 - *19 - *17 - name: basehead @@ -68838,8 +68813,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *443 - merge_base_commit: *443 + base_commit: *431 + merge_base_commit: *431 status: type: string enum: @@ -68863,10 +68838,10 @@ paths: - 6 commits: type: array - items: *443 + items: *431 files: type: array - items: *454 + items: *442 required: - url - html_url @@ -69109,8 +69084,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *100 - '503': *73 + '500': *94 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69152,8 +69127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *314 - - *315 + - *302 + - *303 - name: path description: path parameter in: path @@ -69306,7 +69281,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &455 + response-if-content-is-a-file: &443 summary: Response if content is a file value: type: file @@ -69443,7 +69418,7 @@ paths: - size - type - url - - &556 + - &544 title: Content File description: Content File type: object @@ -69661,7 +69636,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *455 + response-if-content-is-a-file: *443 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69730,7 +69705,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *456 + '302': *444 '304': *35 x-github: githubCloudOnly: false @@ -69753,8 +69728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *314 - - *315 + - *302 + - *303 - name: path description: path parameter in: path @@ -69849,7 +69824,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &445 title: File Commit description: File Commit type: object @@ -70005,7 +69980,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *445 examples: example-for-creating-a-file: value: @@ -70059,7 +70034,7 @@ paths: schema: oneOf: - *3 - - &487 + - &475 description: Repository rule violation was detected type: object properties: @@ -70080,7 +70055,7 @@ paths: items: type: object properties: - placeholder_id: &600 + placeholder_id: &596 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70112,8 +70087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *314 - - *315 + - *302 + - *303 - name: path description: path parameter in: path @@ -70174,7 +70149,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *445 examples: default: value: @@ -70209,7 +70184,7 @@ paths: '422': *15 '404': *6 '409': *45 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70229,8 +70204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *314 - - *315 + - *302 + - *303 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70331,7 +70306,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *57 + Link: *52 '204': description: Response if repository is empty '403': *27 @@ -70354,8 +70329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 - *162 - *163 - *164 @@ -70367,18 +70342,10 @@ paths: schema: type: string - *166 - - *458 + - *446 - *167 - *168 - *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 +70356,6 @@ paths: default: 30 - *38 - *39 - - *169 - - *170 responses: '200': description: Response @@ -70398,11 +70363,11 @@ paths: application/json: schema: type: array - items: &461 + items: &449 type: object description: A Dependabot alert. properties: - number: *52 + number: *142 state: type: string description: The state of the Dependabot alert. @@ -70448,12 +70413,12 @@ paths: - direct - transitive - - security_advisory: *459 + security_advisory: *447 security_vulnerability: *50 - url: *55 - html_url: *56 - created_at: *53 - updated_at: *54 + url: *145 + html_url: *146 + created_at: *143 + updated_at: *144 dismissed_at: *148 dismissed_by: anyOf: @@ -70479,7 +70444,7 @@ paths: dismissal. maxLength: 280 fixed_at: *147 - auto_dismissed_at: *460 + auto_dismissed_at: *448 required: - number - state @@ -70709,9 +70674,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *314 - - *315 - - &462 + - *302 + - *303 + - &450 name: alert_number in: path description: |- @@ -70720,13 +70685,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *52 + schema: *142 responses: '200': description: Response content: application/json: - schema: *461 + schema: *449 examples: default: value: @@ -70839,9 +70804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *314 - - *315 - - *462 + - *302 + - *303 + - *450 requestBody: required: true content: @@ -70886,7 +70851,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *449 examples: default: value: @@ -71015,8 +70980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -71034,7 +70999,7 @@ paths: type: integer secrets: type: array - items: &465 + items: &453 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71066,7 +71031,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 +71053,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *463 + schema: *451 examples: - default: *464 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71117,15 +71082,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *302 + - *303 + - *134 responses: '200': description: Response content: application/json: - schema: *465 + schema: *453 examples: default: value: @@ -71151,9 +71116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *302 + - *303 + - *134 requestBody: required: true content: @@ -71181,7 +71146,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -71205,9 +71170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *302 + - *303 + - *134 responses: '204': description: Response @@ -71229,8 +71194,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 + - *302 + - *303 - 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 +71345,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 +71369,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 + - *302 + - *303 responses: '200': description: Response @@ -71642,7 +71607,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *57 + Link: *52 '404': *6 '403': *27 x-github: @@ -71665,8 +71630,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 + - *302 + - *303 requestBody: required: true content: @@ -71749,7 +71714,7 @@ paths: - version - url additionalProperties: false - metadata: &466 + metadata: &454 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71788,7 +71753,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *466 + metadata: *454 resolved: type: object description: A collection of resolved package dependencies. @@ -71802,7 +71767,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *466 + metadata: *454 relationship: type: string description: A notation of whether a dependency is requested @@ -71935,8 +71900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *314 - - *315 + - *302 + - *303 - name: sha description: The SHA recorded at creation time. in: query @@ -71977,11 +71942,11 @@ paths: application/json: schema: type: array - items: *467 + items: *455 examples: - default: *468 + default: *456 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72045,8 +72010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -72128,7 +72093,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *455 examples: simple-example: summary: Simple example @@ -72201,9 +72166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *314 - - *315 - - &469 + - *302 + - *303 + - &457 name: deployment_id description: deployment_id parameter in: path @@ -72215,7 +72180,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *455 examples: default: value: @@ -72280,9 +72245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *314 - - *315 - - *469 + - *302 + - *303 + - *457 responses: '204': description: Response @@ -72304,9 +72269,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *314 - - *315 - - *469 + - *302 + - *303 + - *457 - *17 - *19 responses: @@ -72316,7 +72281,7 @@ paths: application/json: schema: type: array - items: &470 + items: &458 title: Deployment Status description: The status of a deployment. type: object @@ -72460,7 +72425,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 +72445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *314 - - *315 - - *469 + - *302 + - *303 + - *457 requestBody: required: true content: @@ -72557,9 +72522,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *458 examples: - default: &471 + default: &459 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72615,9 +72580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *314 - - *315 - - *469 + - *302 + - *303 + - *457 - name: status_id in: path required: true @@ -72628,9 +72593,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *458 examples: - default: *471 + default: *459 '404': *6 x-github: githubCloudOnly: false @@ -72655,8 +72620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -72713,8 +72678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -72732,7 +72697,7 @@ paths: - 5 environments: type: array - items: &473 + items: &461 title: Environment description: Details of a deployment environment type: object @@ -72794,7 +72759,7 @@ paths: type: string examples: - wait_timer - wait_timer: &475 + wait_timer: &463 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -72836,7 +72801,7 @@ paths: items: type: object properties: - type: *472 + type: *460 reviewer: anyOf: - *4 @@ -72863,7 +72828,7 @@ paths: - id - node_id - type - deployment_branch_policy: &476 + deployment_branch_policy: &464 type: - object - 'null' @@ -72980,9 +72945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *314 - - *315 - - &474 + - *302 + - *303 + - &462 name: environment_name in: path required: true @@ -72995,9 +72960,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *461 examples: - default: &477 + default: &465 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73081,9 +73046,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *314 - - *315 - - *474 + - *302 + - *303 + - *462 requestBody: required: false content: @@ -73093,7 +73058,7 @@ paths: - object - 'null' properties: - wait_timer: *475 + wait_timer: *463 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -73112,14 +73077,14 @@ paths: items: type: object properties: - type: *472 + type: *460 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: *464 additionalProperties: false examples: default: @@ -73139,9 +73104,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *461 examples: - default: *477 + default: *465 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73165,9 +73130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *314 - - *315 - - *474 + - *302 + - *303 + - *462 responses: '204': description: Default response @@ -73192,9 +73157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *314 - - *315 - - *474 + - *302 + - *303 + - *462 - *17 - *19 responses: @@ -73213,7 +73178,7 @@ paths: - 2 branch_policies: type: array - items: &478 + items: &466 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73274,9 +73239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 + - *302 + - *303 + - *462 requestBody: required: true content: @@ -73324,9 +73289,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *466 examples: - example-wildcard: &479 + example-wildcard: &467 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73368,10 +73333,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 + - *302 + - *303 + - *462 + - &468 name: branch_policy_id in: path required: true @@ -73383,9 +73348,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *466 examples: - default: *479 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73404,10 +73369,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 + - *302 + - *303 + - *462 + - *468 requestBody: required: true content: @@ -73436,9 +73401,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *466 examples: - default: *479 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73457,10 +73422,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 + - *302 + - *303 + - *462 + - *468 responses: '204': description: Response @@ -73485,9 +73450,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 + - *462 + - *303 + - *302 responses: '200': description: List of deployment protection rules @@ -73504,7 +73469,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &481 + items: &469 title: Deployment protection rule description: Deployment protection rule type: object @@ -73526,7 +73491,7 @@ paths: for the environment. examples: - true - app: &482 + app: &470 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73629,9 +73594,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 + - *462 + - *303 + - *302 requestBody: content: application/json: @@ -73652,9 +73617,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *481 + schema: *469 examples: - default: &483 + default: &471 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73689,9 +73654,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 + - *462 + - *303 + - *302 - *19 - *17 responses: @@ -73711,7 +73676,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *482 + items: *470 examples: default: value: @@ -73746,10 +73711,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 + - *302 + - *303 + - *462 + - &472 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73761,9 +73726,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *469 examples: - default: *483 + default: *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73784,10 +73749,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *474 - - *315 - - *314 - - *484 + - *462 + - *303 + - *302 + - *472 responses: '204': description: Response @@ -73813,9 +73778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *314 - - *315 - - *474 + - *302 + - *303 + - *462 - *17 - *19 responses: @@ -73833,11 +73798,11 @@ paths: type: integer secrets: type: array - items: *362 + items: *350 examples: - default: *363 + default: *351 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73860,17 +73825,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *314 - - *315 - - *474 + - *302 + - *303 + - *462 responses: '200': description: Response content: application/json: - schema: *364 + schema: *352 examples: - default: *365 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73892,18 +73857,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *302 + - *303 + - *462 + - *134 responses: '200': description: Response content: application/json: - schema: *362 + schema: *350 examples: - default: *485 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73925,10 +73890,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 + - *302 + - *303 + - *462 + - *134 requestBody: required: true content: @@ -73959,7 +73924,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -73985,10 +73950,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *302 + - *303 + - *462 + - *134 responses: '204': description: Default response @@ -74013,10 +73978,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *314 - - *315 - - *474 - - *333 + - *302 + - *303 + - *462 + - *321 - *19 responses: '200': @@ -74033,11 +73998,11 @@ paths: type: integer variables: type: array - items: *366 + items: *354 examples: - default: *367 + default: *355 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74058,9 +74023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *314 - - *315 - - *474 + - *302 + - *303 + - *462 requestBody: required: true content: @@ -74087,7 +74052,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -74112,18 +74077,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *314 - - *315 - - *474 - - *142 + - *302 + - *303 + - *462 + - *137 responses: '200': description: Response content: application/json: - schema: *366 + schema: *354 examples: - default: *486 + default: *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74144,10 +74109,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *314 - - *315 - - *142 - - *474 + - *302 + - *303 + - *137 + - *462 requestBody: required: true content: @@ -74189,10 +74154,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *314 - - *315 - - *142 - - *474 + - *302 + - *303 + - *137 + - *462 responses: '204': description: Response @@ -74214,8 +74179,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -74225,7 +74190,7 @@ paths: application/json: schema: type: array - items: *94 + items: *88 examples: 200-response: value: @@ -74283,8 +74248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *314 - - *315 + - *302 + - *303 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74306,7 +74271,7 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: default: value: @@ -74419,7 +74384,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 +74408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: false content: @@ -74477,9 +74442,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *310 examples: - default: *324 + default: *312 '400': *14 '422': *15 '403': *27 @@ -74500,8 +74465,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -74560,8 +74525,8 @@ paths: application/json: schema: oneOf: - - *105 - - *487 + - *100 + - *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74586,8 +74551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *314 - - *315 + - *302 + - *303 - name: file_sha in: path required: true @@ -74687,8 +74652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -74797,7 +74762,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &476 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75024,15 +74989,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *314 - - *315 - - *444 + - *302 + - *303 + - *432 responses: '200': description: Response content: application/json: - schema: *488 + schema: *476 examples: default: value: @@ -75088,9 +75053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *314 - - *315 - - &489 + - *302 + - *303 + - &477 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 +75072,7 @@ paths: application/json: schema: type: array - items: &490 + items: &478 title: Git Reference description: Git references within a repository type: object @@ -75161,7 +75126,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 +75148,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *314 - - *315 - - *489 + - *302 + - *303 + - *477 responses: '200': description: Response content: application/json: - schema: *490 + schema: *478 examples: - default: &491 + default: &479 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75222,8 +75187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -75252,9 +75217,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *478 examples: - default: *491 + default: *479 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75280,9 +75245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *314 - - *315 - - *489 + - *302 + - *303 + - *477 requestBody: required: true content: @@ -75311,9 +75276,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *478 examples: - default: *491 + default: *479 '422': *15 '409': *45 x-github: @@ -75331,9 +75296,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *314 - - *315 - - *489 + - *302 + - *303 + - *477 responses: '204': description: Response @@ -75388,8 +75353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -75456,7 +75421,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &481 title: Git Tag description: Metadata for a Git tag type: object @@ -75512,7 +75477,7 @@ paths: - sha - type - url - verification: *492 + verification: *480 required: - sha - url @@ -75522,7 +75487,7 @@ paths: - tag - message examples: - default: &494 + default: &482 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75595,8 +75560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *314 - - *315 + - *302 + - *303 - name: tag_sha in: path required: true @@ -75607,9 +75572,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *481 examples: - default: *494 + default: *482 '404': *6 '409': *45 x-github: @@ -75633,8 +75598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -75708,7 +75673,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &483 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75810,8 +75775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *314 - - *315 + - *302 + - *303 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75834,7 +75799,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *483 examples: default-response: summary: Default response @@ -75893,8 +75858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -75904,7 +75869,7 @@ paths: application/json: schema: type: array - items: &496 + items: &484 title: Webhook description: Webhooks for repositories. type: object @@ -75967,7 +75932,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &719 + last_response: &715 title: Hook Response type: object properties: @@ -76025,7 +75990,7 @@ paths: status: unused message: headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -76044,8 +76009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: false content: @@ -76098,9 +76063,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *484 examples: - default: &497 + default: &485 value: type: Repository id: 12345678 @@ -76148,17 +76113,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *302 + - *303 + - *174 responses: '200': description: Response content: application/json: - schema: *496 + schema: *484 examples: - default: *497 + default: *485 '404': *6 x-github: githubCloudOnly: false @@ -76178,9 +76143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *302 + - *303 + - *174 requestBody: required: true content: @@ -76225,9 +76190,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *484 examples: - default: *497 + default: *485 '422': *15 '404': *6 x-github: @@ -76248,9 +76213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *302 + - *303 + - *174 responses: '204': description: Response @@ -76274,9 +76239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *314 - - *315 - - *176 + - *302 + - *303 + - *174 responses: '200': description: Response @@ -76303,9 +76268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *314 - - *315 - - *176 + - *302 + - *303 + - *174 requestBody: required: false content: @@ -76349,11 +76314,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *302 + - *303 + - *174 - *17 - - *177 + - *175 responses: '200': description: Response @@ -76361,9 +76326,9 @@ paths: application/json: schema: type: array - items: *178 + items: *176 examples: - default: *179 + default: *177 '400': *14 '422': *15 x-github: @@ -76382,18 +76347,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *302 + - *303 + - *174 - *16 responses: '200': description: Response content: application/json: - schema: *180 + schema: *178 examples: - default: *181 + default: *179 '400': *14 '422': *15 x-github: @@ -76412,9 +76377,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *302 + - *303 + - *174 - *16 responses: '202': *37 @@ -76437,9 +76402,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *302 + - *303 + - *174 responses: '204': description: Response @@ -76464,9 +76429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *314 - - *315 - - *176 + - *302 + - *303 + - *174 responses: '204': description: Response @@ -76489,8 +76454,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 + - *302 + - *303 responses: '200': description: Response if immutable releases are enabled @@ -76538,8 +76503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': *156 '409': *45 @@ -76559,8 +76524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': *156 '409': *45 @@ -76617,14 +76582,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: &498 + schema: &486 title: Import description: A repository import from an external source. type: object @@ -76731,7 +76696,7 @@ paths: - html_url - authors_url examples: - default: &501 + default: &489 value: vcs: subversion use_lfs: true @@ -76747,7 +76712,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': &487 description: Unavailable due to service under maintenance. content: application/json: @@ -76776,8 +76741,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -76825,7 +76790,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *486 examples: default: value: @@ -76850,7 +76815,7 @@ paths: type: string '422': *15 '404': *6 - '503': *499 + '503': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76878,8 +76843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: false content: @@ -76931,7 +76896,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *486 examples: example-1: summary: Example 1 @@ -76979,7 +76944,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': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77002,12 +76967,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response - '503': *499 + '503': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77033,9 +76998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *314 - - *315 - - &659 + - *302 + - *303 + - &655 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77049,7 +77014,7 @@ paths: application/json: schema: type: array - items: &500 + items: &488 title: Porter Author description: Porter Author type: object @@ -77103,7 +77068,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': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77128,8 +77093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *314 - - *315 + - *302 + - *303 - name: author_id in: path required: true @@ -77159,7 +77124,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *488 examples: default: value: @@ -77172,7 +77137,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *499 + '503': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77196,8 +77161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -77238,7 +77203,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *499 + '503': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77266,8 +77231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -77294,11 +77259,11 @@ paths: description: Response content: application/json: - schema: *498 + schema: *486 examples: - default: *501 + default: *489 '422': *15 - '503': *499 + '503': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77321,8 +77286,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 + - *302 + - *303 responses: '200': description: Response @@ -77330,8 +77295,8 @@ paths: application/json: schema: *20 examples: - default: *502 - '301': *323 + default: *490 + '301': *311 '404': *6 x-github: githubCloudOnly: false @@ -77351,8 +77316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -77360,12 +77325,12 @@ paths: application/json: schema: anyOf: - - *194 + - *192 - type: object properties: {} additionalProperties: false examples: - default: &504 + default: &492 value: limit: collaborators_only origin: repository @@ -77390,13 +77355,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: application/json: - schema: *503 + schema: *491 examples: default: summary: Example request body @@ -77408,9 +77373,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *192 examples: - default: *504 + default: *492 '409': description: Response x-github: @@ -77432,8 +77397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -77456,8 +77421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -77467,9 +77432,9 @@ paths: application/json: schema: type: array - items: *505 + items: *493 examples: - default: &652 + default: &648 value: - id: 1 repository: @@ -77583,7 +77548,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77600,9 +77565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *314 - - *315 - - *198 + - *302 + - *303 + - *196 requestBody: required: false content: @@ -77631,7 +77596,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *493 examples: default: value: @@ -77762,9 +77727,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *314 - - *315 - - *198 + - *302 + - *303 + - *196 responses: '204': description: Response @@ -77795,8 +77760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *314 - - *315 + - *302 + - *303 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -77844,7 +77809,7 @@ paths: required: false schema: type: string - - *202 + - *200 - name: sort description: What to sort results by. in: query @@ -77857,7 +77822,7 @@ paths: - comments default: created - *46 - - *75 + - *69 - *17 - *19 responses: @@ -77867,9 +77832,9 @@ paths: application/json: schema: type: array - items: *68 + items: *63 examples: - default: &512 + default: &500 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78016,8 +77981,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *57 - '301': *323 + Link: *52 + '301': *311 '422': *15 '404': *6 x-github: @@ -78046,8 +78011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -78137,9 +78102,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: &509 + default: &497 value: id: 1 node_id: MDU6SXNzdWUx @@ -78293,9 +78258,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *73 + '503': *95 '404': *6 - '410': *320 + '410': *308 x-github: triggersNotification: true githubCloudOnly: false @@ -78323,9 +78288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *314 - - *315 - - *92 + - *302 + - *303 + - *86 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -78335,7 +78300,7 @@ paths: enum: - asc - desc - - *75 + - *69 - *17 - *19 responses: @@ -78345,9 +78310,9 @@ paths: application/json: schema: type: array - items: *506 + items: *494 examples: - default: &511 + default: &499 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78378,7 +78343,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 +78370,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *302 + - *303 + - *78 responses: '200': description: Response content: application/json: - schema: *506 + schema: *494 examples: - default: &507 + default: &495 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78469,9 +78434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *302 + - *303 + - *78 requestBody: required: true content: @@ -78493,9 +78458,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *494 examples: - default: *507 + default: *495 '422': *15 x-github: githubCloudOnly: false @@ -78513,9 +78478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *302 + - *303 + - *78 responses: '204': description: Response @@ -78535,9 +78500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *302 + - *303 + - *78 - 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 +78528,11 @@ paths: application/json: schema: type: array - items: *307 + items: *295 examples: - default: *309 + default: *297 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -78586,9 +78551,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *302 + - *303 + - *78 requestBody: required: true content: @@ -78620,16 +78585,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '201': description: Reaction created content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '422': *15 x-github: githubCloudOnly: false @@ -78651,10 +78616,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *314 - - *315 - - *84 - - *310 + - *302 + - *303 + - *78 + - *298 responses: '204': description: Response @@ -78674,8 +78639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -78685,7 +78650,7 @@ paths: application/json: schema: type: array - items: &508 + items: &496 title: Issue Event description: Issue Event type: object @@ -78732,7 +78697,7 @@ paths: issue: anyOf: - type: 'null' - - *68 + - *63 label: title: Issue Event Label description: Issue Event Label @@ -78832,7 +78797,7 @@ paths: required: - from - to - author_association: *69 + author_association: *64 lock_reason: type: - string @@ -79006,7 +78971,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -79024,8 +78989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *314 - - *315 + - *302 + - *303 - name: event_id in: path required: true @@ -79036,7 +79001,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *496 examples: default: value: @@ -79229,7 +79194,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *320 + '410': *308 '403': *27 x-github: githubCloudOnly: false @@ -79263,9 +79228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *314 - - *315 - - &510 + - *302 + - *303 + - &498 name: issue_number description: The number that identifies the issue. in: path @@ -79277,12 +79242,12 @@ paths: description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: *509 - '301': *323 + default: *497 + '301': *311 '404': *6 - '410': *320 + '410': *308 '304': *35 x-github: githubCloudOnly: false @@ -79307,9 +79272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: required: false content: @@ -79428,15 +79393,15 @@ paths: description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: *509 + default: *497 '422': *15 - '503': *73 + '503': *95 '403': *27 - '301': *323 + '301': *311 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79454,9 +79419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: required: false content: @@ -79482,9 +79447,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: *509 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79500,9 +79465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: content: application/json: @@ -79527,9 +79492,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: *509 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79551,9 +79516,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 + - *302 + - *303 + - *498 - name: assignee in: path required: true @@ -79593,10 +79558,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *314 - - *315 - - *510 - - *75 + - *302 + - *303 + - *498 + - *69 - *17 - *19 responses: @@ -79606,13 +79571,13 @@ paths: application/json: schema: type: array - items: *506 + items: *494 examples: - default: *511 + default: *499 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79641,9 +79606,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: required: true content: @@ -79665,16 +79630,16 @@ paths: description: Response content: application/json: - schema: *506 + schema: *494 examples: - default: *507 + default: *495 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *320 + '410': *308 '422': *15 '404': *6 x-github: @@ -79702,9 +79667,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 + - *302 + - *303 + - *498 - *17 - *19 responses: @@ -79714,14 +79679,14 @@ paths: application/json: schema: type: array - items: *68 + items: *63 examples: - default: *512 + default: *500 headers: - Link: *57 - '301': *323 + Link: *52 + '301': *311 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79749,9 +79714,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 + - *302 + - *303 + - *498 requestBody: required: true content: @@ -79773,17 +79738,17 @@ paths: description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: *509 + default: *497 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *323 + '301': *311 '403': *27 - '410': *320 + '410': *308 '422': *15 '404': *6 x-github: @@ -79814,9 +79779,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 + - *302 + - *303 + - *498 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79828,15 +79793,15 @@ paths: description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: *509 - '301': *323 + default: *497 + '301': *311 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *308 x-github: triggersNotification: true githubCloudOnly: false @@ -79862,9 +79827,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 + - *302 + - *303 + - *498 - *17 - *19 responses: @@ -79874,14 +79839,14 @@ paths: application/json: schema: type: array - items: *68 + items: *63 examples: - default: *512 + default: *500 headers: - Link: *57 - '301': *323 + Link: *52 + '301': *311 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79898,9 +79863,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 - *17 - *19 responses: @@ -79914,7 +79879,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &514 + - &502 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79963,7 +79928,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &503 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80091,7 +80056,7 @@ paths: - performed_via_github_app - assignee - assigner - - &516 + - &504 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80137,7 +80102,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &505 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80183,7 +80148,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &506 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80232,7 +80197,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &507 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -80274,7 +80239,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &508 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80316,7 +80281,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &509 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80372,7 +80337,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &510 title: Locked Issue Event description: Locked Issue Event type: object @@ -80417,7 +80382,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &511 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80478,7 +80443,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &512 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80539,7 +80504,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &525 + - &513 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80600,7 +80565,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &514 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80692,8 +80657,8 @@ paths: name: label color: red headers: - Link: *57 - '410': *320 + Link: *52 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80710,9 +80675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 - *17 - *19 responses: @@ -80722,9 +80687,9 @@ paths: application/json: schema: type: array - items: *67 + items: *62 examples: - default: &513 + default: &501 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80741,10 +80706,10 @@ paths: color: a2eeef default: false headers: - Link: *57 - '301': *323 + Link: *52 + '301': *311 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80761,9 +80726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: required: false content: @@ -80822,12 +80787,12 @@ paths: application/json: schema: type: array - items: *67 + items: *62 examples: - default: *513 - '301': *323 + default: *501 + '301': *311 '404': *6 - '410': *320 + '410': *308 '422': *15 x-github: githubCloudOnly: false @@ -80844,9 +80809,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: required: false content: @@ -80906,12 +80871,12 @@ paths: application/json: schema: type: array - items: *67 + items: *62 examples: - default: *513 - '301': *323 + default: *501 + '301': *311 '404': *6 - '410': *320 + '410': *308 '422': *15 x-github: githubCloudOnly: false @@ -80928,15 +80893,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 responses: '204': description: Response - '301': *323 + '301': *311 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80955,9 +80920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 - name: name in: path required: true @@ -80970,7 +80935,7 @@ paths: application/json: schema: type: array - items: *67 + items: *62 examples: default: value: @@ -80981,9 +80946,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *323 + '301': *311 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81003,9 +80968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: required: false content: @@ -81034,7 +80999,7 @@ paths: '204': description: Response '403': *27 - '410': *320 + '410': *308 '404': *6 '422': *15 x-github: @@ -81052,9 +81017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 responses: '204': description: Response @@ -81084,20 +81049,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 responses: '200': description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: *509 - '301': *323 + default: *497 + '301': *311 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81114,9 +81079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 - 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 +81107,13 @@ paths: application/json: schema: type: array - items: *307 + items: *295 examples: - default: *309 + default: *297 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81166,9 +81131,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: required: true content: @@ -81200,16 +81165,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '201': description: Response content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '422': *15 x-github: githubCloudOnly: false @@ -81231,10 +81196,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *314 - - *315 - - *510 - - *310 + - *302 + - *303 + - *498 + - *298 responses: '204': description: Response @@ -81263,9 +81228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: required: true content: @@ -81287,9 +81252,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: *509 + default: *497 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81322,9 +81287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 - *17 - *19 responses: @@ -81334,13 +81299,13 @@ paths: application/json: schema: type: array - items: *68 + items: *63 examples: - default: *512 + default: *500 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81368,9 +81333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: required: true content: @@ -81397,16 +81362,16 @@ paths: description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: *509 + default: *497 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *320 + '410': *308 '422': *15 '404': *6 x-github: @@ -81426,9 +81391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: required: true content: @@ -81459,13 +81424,13 @@ paths: description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: *509 + default: *497 '403': *27 '404': *6 '422': *7 - '503': *73 + '503': *95 x-github: triggersNotification: true githubCloudOnly: false @@ -81483,9 +81448,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 - *17 - *19 responses: @@ -81500,19 +81465,19 @@ paths: description: Timeline Event type: object anyOf: + - *502 + - *503 + - *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 +81525,12 @@ paths: issue_url: type: string format: uri - author_association: *69 + author_association: *64 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *65 required: - event - actor @@ -81596,7 +81561,7 @@ paths: properties: type: type: string - issue: *68 + issue: *63 required: - event - created_at @@ -81818,7 +81783,7 @@ paths: type: string body_text: type: string - author_association: *69 + author_association: *64 required: - event - id @@ -81841,7 +81806,7 @@ paths: type: string comments: type: array - items: &545 + items: &533 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81946,7 +81911,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *69 + author_association: *64 _links: type: object properties: @@ -82041,7 +82006,7 @@ paths: enum: - line - file - reactions: *70 + reactions: *65 body_html: type: string examples: @@ -82079,7 +82044,7 @@ paths: type: string comments: type: array - items: *442 + items: *430 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82352,9 +82317,9 @@ paths: type: User site_admin: true headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82371,8 +82336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -82382,7 +82347,7 @@ paths: application/json: schema: type: array - items: &527 + items: &515 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82434,7 +82399,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82450,8 +82415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -82487,9 +82452,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *515 examples: - default: &528 + default: &516 value: id: 1 key: ssh-rsa AAA... @@ -82523,9 +82488,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *314 - - *315 - - &529 + - *302 + - *303 + - &517 name: key_id description: The unique identifier of the key. in: path @@ -82537,9 +82502,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *515 examples: - default: *528 + default: *516 '404': *6 x-github: githubCloudOnly: false @@ -82557,9 +82522,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *314 - - *315 - - *529 + - *302 + - *303 + - *517 responses: '204': description: Response @@ -82579,8 +82544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -82590,11 +82555,11 @@ paths: application/json: schema: type: array - items: *67 + items: *62 examples: - default: *513 + default: *501 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -82613,8 +82578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -82650,9 +82615,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *62 examples: - default: &530 + default: &518 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82684,8 +82649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *314 - - *315 + - *302 + - *303 - name: name in: path required: true @@ -82696,9 +82661,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *62 examples: - default: *530 + default: *518 '404': *6 x-github: githubCloudOnly: false @@ -82715,8 +82680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *314 - - *315 + - *302 + - *303 - name: name in: path required: true @@ -82755,7 +82720,7 @@ paths: description: Response content: application/json: - schema: *67 + schema: *62 examples: default: value: @@ -82781,8 +82746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *314 - - *315 + - *302 + - *303 - name: name in: path required: true @@ -82808,8 +82773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -82848,9 +82813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *314 - - *315 - - *420 + - *302 + - *303 + - *408 responses: '200': description: Response @@ -82916,7 +82881,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *66 required: - _links - git_url @@ -82997,8 +82962,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 + - *302 + - *303 requestBody: required: true content: @@ -83063,8 +83028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -83098,9 +83063,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *443 + schema: *431 examples: - default: *531 + default: *519 '204': description: Response when already merged '404': @@ -83125,8 +83090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *314 - - *315 + - *302 + - *303 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -83167,7 +83132,7 @@ paths: application/json: schema: type: array - items: *238 + items: *236 examples: default: value: @@ -83206,7 +83171,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 +83188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -83264,9 +83229,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *236 examples: - default: &532 + default: &520 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 +83290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *314 - - *315 - - &533 + - *302 + - *303 + - &521 name: milestone_number description: The number that identifies the milestone. in: path @@ -83339,9 +83304,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *236 examples: - default: *532 + default: *520 '404': *6 x-github: githubCloudOnly: false @@ -83358,9 +83323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *314 - - *315 - - *533 + - *302 + - *303 + - *521 requestBody: required: false content: @@ -83398,9 +83363,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *236 examples: - default: *532 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83416,9 +83381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *314 - - *315 - - *533 + - *302 + - *303 + - *521 responses: '204': description: Response @@ -83439,9 +83404,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 + - *302 + - *303 + - *521 - *17 - *19 responses: @@ -83451,11 +83416,11 @@ paths: application/json: schema: type: array - items: *67 + items: *62 examples: - default: *513 + default: *501 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83472,12 +83437,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 + - *302 + - *303 + - *522 + - *523 + - *69 + - *524 - *17 - *19 responses: @@ -83487,11 +83452,11 @@ paths: application/json: schema: type: array - items: *95 + items: *89 examples: - default: *537 + default: *525 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83513,8 +83478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: false content: @@ -83572,14 +83537,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: &538 + schema: &526 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83723,7 +83688,7 @@ paths: - custom_404 - public examples: - default: &539 + default: &527 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83764,8 +83729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -83820,9 +83785,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *526 examples: - default: *539 + default: *527 '422': *15 '409': *45 x-github: @@ -83845,8 +83810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -83946,8 +83911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -83973,8 +83938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -83984,7 +83949,7 @@ paths: application/json: schema: type: array - items: &540 + items: &528 title: Page Build description: Page Build type: object @@ -84057,7 +84022,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 +84041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *314 - - *315 + - *302 + - *303 responses: '201': description: Response @@ -84124,16 +84089,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *540 + schema: *528 examples: - default: &541 + default: &529 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -84181,8 +84146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *314 - - *315 + - *302 + - *303 - name: build_id in: path required: true @@ -84193,9 +84158,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *528 examples: - default: *541 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84215,8 +84180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -84324,9 +84289,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 + - *302 + - *303 + - &530 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84384,9 +84349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *314 - - *315 - - *542 + - *302 + - *303 + - *530 responses: '204': *156 '404': *6 @@ -84413,8 +84378,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 + - *302 + - *303 responses: '200': description: Response @@ -84682,7 +84647,7 @@ paths: description: Empty response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -84709,8 +84674,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 + - *302 + - *303 responses: '200': description: Private vulnerability reporting status @@ -84747,8 +84712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': *156 '422': *14 @@ -84769,8 +84734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': *156 '422': *14 @@ -84793,8 +84758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *314 - - *315 + - *302 + - *303 - name: state description: Indicates the state of the projects to return. in: query @@ -84815,7 +84780,7 @@ paths: application/json: schema: type: array - items: *232 + items: *230 examples: default: value: @@ -84851,11 +84816,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': *308 '422': *7 x-github: githubCloudOnly: false @@ -84878,8 +84843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -84905,13 +84870,13 @@ paths: description: Response content: application/json: - schema: *232 + schema: *230 examples: - default: *319 + default: *307 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *308 '422': *7 x-github: githubCloudOnly: false @@ -84934,8 +84899,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 + - *302 + - *303 responses: '200': description: Response @@ -84943,7 +84908,7 @@ paths: application/json: schema: type: array - items: *249 + items: *247 examples: default: value: @@ -84974,8 +84939,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 + - *302 + - *303 requestBody: required: true content: @@ -84987,7 +84952,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *249 + items: *247 required: - properties examples: @@ -85037,8 +85002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *314 - - *315 + - *302 + - *303 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85098,11 +85063,11 @@ paths: application/json: schema: type: array - items: *447 + items: *435 examples: - default: *543 + default: *531 headers: - Link: *57 + Link: *52 '304': *35 '422': *15 x-github: @@ -85132,8 +85097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -85200,7 +85165,7 @@ paths: description: Response content: application/json: - schema: &547 + schema: &535 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85329,7 +85294,7 @@ paths: milestone: anyOf: - type: 'null' - - *238 + - *236 active_lock_reason: type: - string @@ -85384,7 +85349,7 @@ paths: type: - array - 'null' - items: *214 + items: *212 head: type: object properties: @@ -85392,7 +85357,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *61 sha: type: string user: *4 @@ -85409,7 +85374,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *61 sha: type: string user: *4 @@ -85422,14 +85387,14 @@ paths: _links: type: object properties: - comments: *239 - commits: *239 - statuses: *239 - html: *239 - issue: *239 - review_comments: *239 - review_comment: *239 - self: *239 + comments: *237 + commits: *237 + statuses: *237 + html: *237 + issue: *237 + review_comments: *237 + review_comment: *237 + self: *237 required: - comments - commits @@ -85439,8 +85404,8 @@ paths: - review_comments - review_comment - self - author_association: *69 - auto_merge: *544 + author_association: *64 + auto_merge: *532 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -85542,7 +85507,7 @@ paths: - merged_by - review_comments examples: - default: &548 + default: &536 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86069,8 +86034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *314 - - *315 + - *302 + - *303 - name: sort in: query required: false @@ -86089,7 +86054,7 @@ paths: enum: - asc - desc - - *75 + - *69 - *17 - *19 responses: @@ -86099,9 +86064,9 @@ paths: application/json: schema: type: array - items: *545 + items: *533 examples: - default: &550 + default: &538 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86153,7 +86118,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86178,17 +86143,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 + - *302 + - *303 + - *78 responses: '200': description: Response content: application/json: - schema: *545 + schema: *533 examples: - default: &546 + default: &534 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86263,9 +86228,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 + - *302 + - *303 + - *78 requestBody: required: true content: @@ -86287,9 +86252,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *533 examples: - default: *546 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86305,9 +86270,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 + - *302 + - *303 + - *78 responses: '204': description: Response @@ -86328,9 +86293,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 + - *302 + - *303 + - *78 - 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 +86321,11 @@ paths: application/json: schema: type: array - items: *307 + items: *295 examples: - default: *309 + default: *297 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -86379,9 +86344,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 + - *302 + - *303 + - *78 requestBody: required: true content: @@ -86413,16 +86378,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '201': description: Reaction created content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '422': *15 x-github: githubCloudOnly: false @@ -86444,10 +86409,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 + - *302 + - *303 + - *78 + - *298 responses: '204': description: Response @@ -86490,9 +86455,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *314 - - *315 - - &549 + - *302 + - *303 + - &537 name: pull_number description: The number that identifies the pull request. in: path @@ -86505,9 +86470,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *547 + schema: *535 examples: - default: *548 + default: *536 '304': *35 '404': *6 '406': @@ -86515,8 +86480,8 @@ paths: content: application/json: schema: *3 - '500': *100 - '503': *73 + '500': *94 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86542,9 +86507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *314 - - *315 - - *549 + - *302 + - *303 + - *537 requestBody: required: false content: @@ -86586,9 +86551,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *535 examples: - default: *548 + default: *536 '422': *15 '403': *27 x-github: @@ -86610,9 +86575,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 + - *302 + - *303 + - *537 requestBody: required: true content: @@ -86673,21 +86638,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *204 + schema: *202 examples: - default: *434 + default: *422 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *204 + schema: *202 examples: - default: *434 + default: *422 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86713,10 +86678,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 + - *302 + - *303 + - *537 + - *86 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -86726,7 +86691,7 @@ paths: enum: - asc - desc - - *75 + - *69 - *17 - *19 responses: @@ -86736,11 +86701,11 @@ paths: application/json: schema: type: array - items: *545 + items: *533 examples: - default: *550 + default: *538 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86771,9 +86736,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 + - *302 + - *303 + - *537 requestBody: required: true content: @@ -86879,7 +86844,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *533 examples: example-for-a-multi-line-comment: value: @@ -86967,10 +86932,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 + - *302 + - *303 + - *537 + - *78 requestBody: required: true content: @@ -86992,7 +86957,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *533 examples: default: value: @@ -87078,9 +87043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *314 - - *315 - - *549 + - *302 + - *303 + - *537 - *17 - *19 responses: @@ -87090,11 +87055,11 @@ paths: application/json: schema: type: array - items: *443 + items: *431 examples: - default: *551 + default: *539 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87122,9 +87087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *314 - - *315 - - *549 + - *302 + - *303 + - *537 - *17 - *19 responses: @@ -87134,7 +87099,7 @@ paths: application/json: schema: type: array - items: *454 + items: *442 examples: default: value: @@ -87150,10 +87115,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': *94 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87172,9 +87137,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 + - *302 + - *303 + - *537 responses: '204': description: Response if pull request has been merged @@ -87197,9 +87162,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *314 - - *315 - - *549 + - *302 + - *303 + - *537 requestBody: required: false content: @@ -87311,9 +87276,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 + - *302 + - *303 + - *537 responses: '200': description: Response @@ -87370,7 +87335,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 +87353,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 + - *302 + - *303 + - *537 requestBody: required: false content: @@ -87427,7 +87392,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *435 examples: default: value: @@ -87963,9 +87928,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 + - *302 + - *303 + - *537 requestBody: required: true content: @@ -87999,7 +87964,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *435 examples: default: value: @@ -88504,9 +88469,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *302 + - *303 + - *537 - *17 - *19 responses: @@ -88516,7 +88481,7 @@ paths: application/json: schema: type: array - items: &552 + items: &540 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88590,7 +88555,7 @@ paths: type: string body_text: type: string - author_association: *69 + author_association: *64 required: - id - node_id @@ -88639,7 +88604,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88672,9 +88637,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 + - *302 + - *303 + - *537 requestBody: required: false content: @@ -88764,9 +88729,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *540 examples: - default: &554 + default: &542 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88829,10 +88794,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 + - *302 + - *303 + - *537 + - &541 name: review_id description: The unique identifier of the review. in: path @@ -88844,9 +88809,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *540 examples: - default: &555 + default: &543 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88905,10 +88870,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 + - *302 + - *303 + - *537 + - *541 requestBody: required: true content: @@ -88931,7 +88896,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *540 examples: default: value: @@ -88993,18 +88958,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 + - *302 + - *303 + - *537 + - *541 responses: '200': description: Response content: application/json: - schema: *552 + schema: *540 examples: - default: *554 + default: *542 '422': *7 '404': *6 x-github: @@ -89031,10 +88996,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 + - *302 + - *303 + - *537 + - *541 - *17 - *19 responses: @@ -89128,13 +89093,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *69 + author_association: *64 _links: type: object properties: - self: *239 - html: *239 - pull_request: *239 + self: *237 + html: *237 + pull_request: *237 required: - self - html @@ -89143,7 +89108,7 @@ paths: type: string body_html: type: string - reactions: *70 + reactions: *65 side: description: The side of the first line of the range for a multi-line comment. @@ -89263,7 +89228,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 +89257,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 + - *302 + - *303 + - *537 + - *541 requestBody: required: true content: @@ -89324,7 +89289,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *540 examples: default: value: @@ -89387,10 +89352,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 + - *302 + - *303 + - *537 + - *541 requestBody: required: true content: @@ -89425,9 +89390,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *540 examples: - default: *555 + default: *543 '404': *6 '422': *7 '403': *27 @@ -89449,9 +89414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *314 - - *315 - - *549 + - *302 + - *303 + - *537 requestBody: required: false content: @@ -89515,8 +89480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *314 - - *315 + - *302 + - *303 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89529,9 +89494,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *544 examples: - default: &557 + default: &545 value: type: file encoding: base64 @@ -89573,8 +89538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *314 - - *315 + - *302 + - *303 - name: dir description: The alternate path to look for a README file in: path @@ -89594,9 +89559,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *544 examples: - default: *557 + default: *545 '404': *6 '422': *15 x-github: @@ -89618,8 +89583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -89629,7 +89594,7 @@ paths: application/json: schema: type: array - items: *558 + items: *546 examples: default: value: @@ -89703,7 +89668,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -89723,8 +89688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -89800,9 +89765,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *546 examples: - default: &562 + default: &550 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 +89872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *314 - - *315 - - &560 + - *302 + - *303 + - &548 name: asset_id description: The unique identifier of the asset. in: path @@ -89921,9 +89886,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *547 examples: - default: &561 + default: &549 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 +89923,7 @@ paths: type: User site_admin: false '404': *6 - '302': *456 + '302': *444 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89974,9 +89939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *314 - - *315 - - *560 + - *302 + - *303 + - *548 requestBody: required: false content: @@ -90005,9 +89970,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *547 examples: - default: *561 + default: *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90023,9 +89988,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *314 - - *315 - - *560 + - *302 + - *303 + - *548 responses: '204': description: Response @@ -90049,8 +90014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -90136,16 +90101,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *558 + schema: *546 examples: - default: *562 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90162,8 +90127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *314 - - *315 + - *302 + - *303 - name: tag description: tag parameter in: path @@ -90176,9 +90141,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *546 examples: - default: *562 + default: *550 '404': *6 x-github: githubCloudOnly: false @@ -90200,9 +90165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *314 - - *315 - - &563 + - *302 + - *303 + - &551 name: release_id description: The unique identifier of the release. in: path @@ -90216,9 +90181,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: *546 examples: - default: *562 + default: *550 '401': description: Unauthorized x-github: @@ -90236,9 +90201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *314 - - *315 - - *563 + - *302 + - *303 + - *551 requestBody: required: false content: @@ -90302,9 +90267,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *546 examples: - default: *562 + default: *550 '404': description: Not Found if the discussion category name is invalid content: @@ -90325,9 +90290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *314 - - *315 - - *563 + - *302 + - *303 + - *551 responses: '204': description: Response @@ -90347,9 +90312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *314 - - *315 - - *563 + - *302 + - *303 + - *551 - *17 - *19 responses: @@ -90359,7 +90324,7 @@ paths: application/json: schema: type: array - items: *559 + items: *547 examples: default: value: @@ -90396,7 +90361,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90440,9 +90405,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 + - *302 + - *303 + - *551 - name: name in: query required: true @@ -90468,7 +90433,7 @@ paths: description: Response for successful upload content: application/json: - schema: *559 + schema: *547 examples: response-for-successful-upload: value: @@ -90523,9 +90488,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *314 - - *315 - - *563 + - *302 + - *303 + - *551 - 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 +90514,11 @@ paths: application/json: schema: type: array - items: *307 + items: *295 examples: - default: *309 + default: *297 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -90572,9 +90537,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *314 - - *315 - - *563 + - *302 + - *303 + - *551 requestBody: required: true content: @@ -90604,16 +90569,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '201': description: Reaction created content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '422': *15 x-github: githubCloudOnly: false @@ -90635,10 +90600,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *314 - - *315 - - *563 - - *310 + - *302 + - *303 + - *551 + - *298 responses: '204': description: Response @@ -90662,9 +90627,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 - *17 - *19 responses: @@ -90680,8 +90645,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *256 - - &564 + - *254 + - &552 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90700,69 +90665,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *255 + - *552 + - allOf: + - *256 + - *552 - allOf: - *257 - - *564 + - *552 + - allOf: + - *553 + - *552 - allOf: - *258 - - *564 + - *552 - allOf: - *259 - - *564 - - allOf: - - *565 - - *564 + - *552 - allOf: - *260 - - *564 + - *552 - allOf: - *261 - - *564 + - *552 - allOf: - *262 - - *564 + - *552 - allOf: - *263 - - *564 + - *552 - allOf: - *264 - - *564 + - *552 - allOf: - *265 - - *564 + - *552 - allOf: - *266 - - *564 + - *552 - allOf: - *267 - - *564 + - *552 - allOf: - *268 - - *564 + - *552 - allOf: - *269 - - *564 + - *552 - allOf: - *270 - - *564 + - *552 - allOf: - *271 - - *564 + - *552 - allOf: - *272 - - *564 + - *552 - allOf: - *273 - - *564 - - allOf: - - *274 - - *564 + - *552 - allOf: - - *275 - - *564 - - allOf: - - *566 - - *564 + - *554 + - *552 examples: default: value: @@ -90801,8 +90766,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 - name: includes_parents @@ -90813,7 +90778,7 @@ paths: schema: type: boolean default: true - - *567 + - *555 responses: '200': description: Response @@ -90821,7 +90786,7 @@ paths: application/json: schema: type: array - items: *276 + items: *274 examples: default: value: @@ -90852,7 +90817,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *94 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -90868,8 +90833,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *302 + - *303 requestBody: description: Request body required: true @@ -90889,16 +90854,16 @@ paths: - tag - push default: branch - enforcement: *253 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *251 + items: *252 + conditions: *249 rules: type: array description: An array of rules within the ruleset. - items: *568 + items: *556 required: - name - enforcement @@ -90929,9 +90894,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: &578 + default: &566 value: id: 42 name: super cool ruleset @@ -90964,7 +90929,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *100 + '500': *94 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -90978,12 +90943,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 + - *302 + - *303 + - *557 + - *558 + - *559 + - *560 - *17 - *19 responses: @@ -90991,11 +90956,11 @@ paths: description: Response content: application/json: - schema: *573 + schema: *561 examples: - default: *574 + default: *562 '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91014,19 +90979,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *314 - - *315 - - *575 + - *302 + - *303 + - *563 responses: '200': description: Response content: application/json: - schema: *576 + schema: *564 examples: - default: *577 + default: *565 '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91052,8 +91017,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *302 + - *303 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91073,11 +91038,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: *578 + default: *566 '404': *6 - '500': *100 + '500': *94 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -91093,8 +91058,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *302 + - *303 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91119,16 +91084,16 @@ paths: - branch - tag - push - enforcement: *253 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *251 + items: *252 + conditions: *249 rules: description: An array of rules within the ruleset. type: array - items: *568 + items: *556 examples: default: value: @@ -91156,11 +91121,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: *578 + default: *566 '404': *6 - '500': *100 + '500': *94 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -91176,8 +91141,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *302 + - *303 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91188,7 +91153,7 @@ paths: '204': description: Response '404': *6 - '500': *100 + '500': *94 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -91200,8 +91165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 - name: ruleset_id @@ -91217,11 +91182,11 @@ paths: application/json: schema: type: array - items: *279 + items: *277 examples: - default: *579 + default: *567 '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91238,8 +91203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *314 - - *315 + - *302 + - *303 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91257,7 +91222,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *568 examples: default: value: @@ -91290,7 +91255,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91312,21 +91277,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 + - *302 + - *303 + - *569 + - *570 + - *571 + - *572 - *46 - *19 - *17 - - *581 - - *582 - - *284 - - *285 - - *286 - - *287 + - *573 + - *574 + - *575 + - *576 + - *577 + - *578 responses: '200': description: Response @@ -91334,24 +91299,24 @@ paths: application/json: schema: type: array - items: &586 + items: &582 type: object properties: - number: *52 - created_at: *53 + number: *142 + created_at: *143 updated_at: anyOf: - type: 'null' - - *54 - url: *55 - html_url: *56 + - *144 + url: *145 + html_url: *146 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *583 - resolution: *584 + state: *579 + resolution: *580 resolved_at: type: - string @@ -91445,7 +91410,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *585 + - *581 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -91568,7 +91533,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91590,16 +91555,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 + - *302 + - *303 + - *402 + - *578 responses: '200': description: Response content: application/json: - schema: *586 + schema: *582 examples: default: value: @@ -91630,7 +91595,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91651,9 +91616,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 + - *302 + - *303 + - *402 requestBody: required: true content: @@ -91661,8 +91626,8 @@ paths: schema: type: object properties: - state: *583 - resolution: *584 + state: *579 + resolution: *580 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91681,7 +91646,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *582 examples: default: value: @@ -91734,7 +91699,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *73 + '503': *95 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91756,9 +91721,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 + - *302 + - *303 + - *402 - *19 - *17 responses: @@ -91769,7 +91734,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &739 + items: &735 type: object properties: type: @@ -91796,6 +91761,10 @@ paths: - commit details: oneOf: + - *583 + - *584 + - *585 + - *586 - *587 - *588 - *589 @@ -91805,10 +91774,6 @@ paths: - *593 - *594 - *595 - - *596 - - *597 - - *598 - - *599 examples: default: value: @@ -91868,11 +91833,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': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91894,8 +91859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -91903,14 +91868,14 @@ paths: schema: type: object properties: - reason: &601 + reason: &597 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *600 + placeholder_id: *596 required: - reason - placeholder_id @@ -91927,7 +91892,7 @@ paths: schema: type: object properties: - reason: *601 + reason: *597 expire_at: type: - string @@ -91951,7 +91916,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *73 + '503': *95 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91963,6 +91928,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 +91939,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 + - *302 + - *303 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *73 + '503': *95 '200': description: Response content: @@ -91987,7 +91955,7 @@ paths: properties: incremental_scans: type: array - items: &602 + items: &598 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92015,15 +91983,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *602 + items: *598 backfill_scans: type: array - items: *602 + items: *598 custom_pattern_backfill_scans: type: array items: allOf: - - *602 + - *598 - type: object properties: pattern_name: @@ -92093,8 +92061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *314 - - *315 + - *302 + - *303 - *46 - name: sort description: The property to sort the results by. @@ -92138,9 +92106,9 @@ paths: application/json: schema: type: array - items: *603 + items: *599 examples: - default: *604 + default: *600 '400': *14 '404': *6 x-github: @@ -92163,8 +92131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -92244,7 +92212,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *280 required: - login - type @@ -92334,9 +92302,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *599 examples: - default: &606 + default: &602 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92569,8 +92537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -92683,7 +92651,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *599 examples: default: value: @@ -92830,17 +92798,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 + - *302 + - *303 + - *601 responses: '200': description: Response content: application/json: - schema: *603 + schema: *599 examples: - default: *606 + default: *602 '403': *27 '404': *6 x-github: @@ -92864,9 +92832,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 + - *302 + - *303 + - *601 requestBody: required: true content: @@ -92946,7 +92914,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *280 required: - login - type @@ -93037,17 +93005,17 @@ paths: description: Response content: application/json: - schema: *603 + schema: *599 examples: - default: *606 - add_credit: *606 + default: *602 + add_credit: *602 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *105 + schema: *100 examples: invalid_state_transition: value: @@ -93078,9 +93046,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 + - *302 + - *303 + - *601 responses: '202': *37 '400': *14 @@ -93107,17 +93075,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 + - *302 + - *303 + - *601 responses: '202': description: Response content: application/json: - schema: *322 + schema: *310 examples: - default: *324 + default: *312 '400': *14 '422': *15 '403': *27 @@ -93143,8 +93111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -93218,7 +93186,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -93240,8 +93208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93250,7 +93218,7 @@ paths: application/json: schema: type: array - items: &607 + items: &603 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93283,8 +93251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -93362,8 +93330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -93457,8 +93425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93612,8 +93580,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 + - *302 + - *303 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93623,7 +93591,7 @@ paths: application/json: schema: type: array - items: *607 + items: *603 examples: default: value: @@ -93656,8 +93624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *314 - - *315 + - *302 + - *303 - name: sha in: path required: true @@ -93713,7 +93681,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *604 examples: default: value: @@ -93767,8 +93735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -93780,9 +93748,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93800,14 +93768,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &609 + schema: &605 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93880,8 +93848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: false content: @@ -93907,7 +93875,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *605 examples: default: value: @@ -93934,8 +93902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -93955,8 +93923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -94015,7 +93983,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 +94006,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 + - *302 + - *303 responses: '200': description: Response @@ -94047,7 +94015,7 @@ paths: application/json: schema: type: array - items: &610 + items: &606 title: Tag protection description: Tag protection type: object @@ -94104,8 +94072,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 + - *302 + - *303 requestBody: required: true content: @@ -94128,7 +94096,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *606 examples: default: value: @@ -94159,8 +94127,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 + - *302 + - *303 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -94197,8 +94165,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *314 - - *315 + - *302 + - *303 - name: ref in: path required: true @@ -94234,8 +94202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -94247,9 +94215,9 @@ paths: type: array items: *161 examples: - default: *215 + default: *213 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -94267,8 +94235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *314 - - *315 + - *302 + - *303 - *19 - *17 responses: @@ -94276,7 +94244,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &607 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94288,7 +94256,7 @@ paths: required: - names examples: - default: &612 + default: &608 value: names: - octocat @@ -94311,8 +94279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -94343,9 +94311,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *607 examples: - default: *612 + default: *608 '404': *6 '422': *7 x-github: @@ -94366,9 +94334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *314 - - *315 - - &613 + - *302 + - *303 + - &609 name: per description: The time frame to display results for. in: query @@ -94399,7 +94367,7 @@ paths: - 128 clones: type: array - items: &614 + items: &610 title: Traffic type: object properties: @@ -94486,8 +94454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -94581,8 +94549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -94645,9 +94613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *314 - - *315 - - *613 + - *302 + - *303 + - *609 responses: '200': description: Response @@ -94668,7 +94636,7 @@ paths: - 3782 views: type: array - items: *614 + items: *610 required: - uniques - count @@ -94745,8 +94713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -94782,7 +94750,7 @@ paths: description: Response content: application/json: - schema: *131 + schema: *126 examples: default: value: @@ -95020,8 +94988,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 + - *302 + - *303 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -95044,8 +95012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -95067,8 +95035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -95094,8 +95062,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *314 - - *315 + - *302 + - *303 - name: ref in: path required: true @@ -95187,9 +95155,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *310 examples: - default: *324 + default: *312 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95230,7 +95198,7 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: default: value: @@ -95419,7 +95387,7 @@ paths: html_url: type: string format: uri - repository: *131 + repository: *126 score: type: number file_size: @@ -95438,7 +95406,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &615 + text_matches: &611 title: Search Result Text Matches type: array items: @@ -95553,7 +95521,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *73 + '503': *95 '422': *15 '403': *27 x-github: @@ -95601,7 +95569,7 @@ paths: enum: - author-date - committer-date - - &616 + - &612 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 +95638,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *370 comment_count: type: integer message: @@ -95689,7 +95657,7 @@ paths: url: type: string format: uri - verification: *492 + verification: *480 required: - author - committer @@ -95704,7 +95672,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *370 parents: type: array items: @@ -95716,12 +95684,12 @@ paths: type: string sha: type: string - repository: *131 + repository: *126 score: type: number node_id: type: string - text_matches: *615 + text_matches: *611 required: - sha - node_id @@ -95913,7 +95881,7 @@ paths: - interactions - created - updated - - *616 + - *612 - *17 - *19 - name: advanced_search @@ -96010,11 +95978,11 @@ paths: type: - string - 'null' - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: type: string state_reason: @@ -96028,7 +95996,7 @@ paths: milestone: anyOf: - type: 'null' - - *238 + - *236 comments: type: integer created_at: @@ -96042,7 +96010,7 @@ paths: - string - 'null' format: date-time - text_matches: *615 + text_matches: *611 pull_request: type: object properties: @@ -96080,10 +96048,10 @@ paths: type: string score: type: number - author_association: *69 + author_association: *64 draft: type: boolean - repository: *66 + repository: *61 body_html: type: string body_text: @@ -96091,12 +96059,12 @@ paths: timeline_url: type: string format: uri - type: *199 + type: *197 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *65 required: - assignee - closed_at @@ -96212,7 +96180,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *73 + '503': *95 '422': *15 '304': *35 '403': *27 @@ -96265,7 +96233,7 @@ paths: enum: - created - updated - - *616 + - *612 - *17 - *19 responses: @@ -96310,7 +96278,7 @@ paths: - 'null' score: type: number - text_matches: *615 + text_matches: *611 required: - id - node_id @@ -96395,7 +96363,7 @@ paths: - forks - help-wanted-issues - updated - - *616 + - *612 - *17 - *19 responses: @@ -96614,7 +96582,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *66 permissions: type: object properties: @@ -96632,7 +96600,7 @@ paths: - admin - pull - push - text_matches: *615 + text_matches: *611 temp_clone_token: type: string allow_merge_commit: @@ -96835,7 +96803,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *73 + '503': *95 '422': *15 '304': *35 x-github: @@ -96940,7 +96908,7 @@ paths: - string - 'null' format: uri - text_matches: *615 + text_matches: *611 related: type: - array @@ -97133,7 +97101,7 @@ paths: - followers - repositories - joined - - *616 + - *612 - *17 - *19 responses: @@ -97243,7 +97211,7 @@ paths: type: - boolean - 'null' - text_matches: *615 + text_matches: *611 blog: type: - string @@ -97305,7 +97273,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *73 + '503': *95 '422': *15 x-github: githubCloudOnly: false @@ -97325,7 +97293,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &620 + - &616 name: team_id description: The unique identifier of the team. in: path @@ -97337,9 +97305,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *287 examples: - default: *300 + default: *288 '404': *6 x-github: githubCloudOnly: false @@ -97366,7 +97334,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *620 + - *616 requestBody: required: true content: @@ -97430,16 +97398,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *287 examples: - default: *300 + default: *288 '201': description: Response content: application/json: - schema: *299 + schema: *287 examples: - default: *300 + default: *288 '404': *6 '422': *15 '403': *27 @@ -97467,7 +97435,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *620 + - *616 responses: '204': description: Response @@ -97498,7 +97466,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *620 + - *616 - *46 - *17 - *19 @@ -97509,11 +97477,11 @@ paths: application/json: schema: type: array - items: *301 + items: *289 examples: - default: *621 + default: *617 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97540,7 +97508,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *620 + - *616 requestBody: required: true content: @@ -97574,9 +97542,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *289 examples: - default: *302 + default: *290 x-github: triggersNotification: true githubCloudOnly: false @@ -97603,16 +97571,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *620 - - *303 + - *616 + - *291 responses: '200': description: Response content: application/json: - schema: *301 + schema: *289 examples: - default: *302 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97637,8 +97605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *620 - - *303 + - *616 + - *291 requestBody: required: false content: @@ -97661,9 +97629,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *289 examples: - default: *622 + default: *618 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97688,8 +97656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *620 - - *303 + - *616 + - *291 responses: '204': description: Response @@ -97718,8 +97686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *620 - - *303 + - *616 + - *291 - *46 - *17 - *19 @@ -97730,11 +97698,11 @@ paths: application/json: schema: type: array - items: *304 + items: *292 examples: - default: *623 + default: *619 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97761,8 +97729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *620 - - *303 + - *616 + - *291 requestBody: required: true content: @@ -97784,9 +97752,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *292 examples: - default: *305 + default: *293 x-github: triggersNotification: true githubCloudOnly: false @@ -97813,17 +97781,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *616 + - *291 + - *294 responses: '200': description: Response content: application/json: - schema: *304 + schema: *292 examples: - default: *305 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97848,9 +97816,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *616 + - *291 + - *294 requestBody: required: true content: @@ -97872,9 +97840,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *292 examples: - default: *624 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97899,9 +97867,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *616 + - *291 + - *294 responses: '204': description: Response @@ -97930,9 +97898,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 + - *616 + - *291 + - *294 - 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 +97926,11 @@ paths: application/json: schema: type: array - items: *307 + items: *295 examples: - default: *309 + default: *297 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97989,9 +97957,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 + - *616 + - *291 + - *294 requestBody: required: true content: @@ -98023,9 +97991,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98051,8 +98019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *620 - - *303 + - *616 + - *291 - 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 +98046,11 @@ paths: application/json: schema: type: array - items: *307 + items: *295 examples: - default: *309 + default: *297 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98109,8 +98077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *620 - - *303 + - *616 + - *291 requestBody: required: true content: @@ -98142,9 +98110,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98168,7 +98136,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *620 + - *616 - *17 - *19 responses: @@ -98178,11 +98146,11 @@ paths: application/json: schema: type: array - items: *196 + items: *194 examples: - default: *197 + default: *195 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98206,7 +98174,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *620 + - *616 - name: role description: Filters members returned by their role in the team. in: query @@ -98229,9 +98197,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98257,8 +98225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *620 - - *62 + - *616 + - *57 responses: '204': description: if user is a member @@ -98294,8 +98262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *620 - - *62 + - *616 + - *57 responses: '204': description: Response @@ -98334,8 +98302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *620 - - *62 + - *616 + - *57 responses: '204': description: Response @@ -98371,16 +98339,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *616 + - *57 responses: '200': description: Response content: application/json: - schema: *311 + schema: *299 examples: - response-if-user-is-a-team-maintainer: *625 + response-if-user-is-a-team-maintainer: *621 '404': *6 x-github: githubCloudOnly: false @@ -98413,8 +98381,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 + - *616 + - *57 requestBody: required: false content: @@ -98439,9 +98407,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *299 examples: - response-if-users-membership-with-team-is-now-pending: *626 + response-if-users-membership-with-team-is-now-pending: *622 '403': description: Forbidden if team synchronization is set up '422': @@ -98475,8 +98443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *616 + - *57 responses: '204': description: Response @@ -98504,7 +98472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *620 + - *616 - *17 - *19 responses: @@ -98514,11 +98482,11 @@ paths: application/json: schema: type: array - items: *312 + items: *300 examples: - default: *627 + default: *623 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98542,16 +98510,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *620 - - *313 + - *616 + - *301 responses: '200': description: Response content: application/json: - schema: *312 + schema: *300 examples: - default: *628 + default: *624 '404': description: Not Found if project is not managed by this team x-github: @@ -98575,8 +98543,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *620 - - *313 + - *616 + - *301 requestBody: required: false content: @@ -98643,8 +98611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *620 - - *313 + - *616 + - *301 responses: '204': description: Response @@ -98671,7 +98639,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *620 + - *616 - *17 - *19 responses: @@ -98681,11 +98649,11 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: - default: *222 + default: *220 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98713,15 +98681,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 + - *616 + - *302 + - *303 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *629 + schema: *625 examples: alternative-response-with-extra-repository-information: value: @@ -98872,9 +98840,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 + - *616 + - *302 + - *303 requestBody: required: false content: @@ -98924,9 +98892,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 + - *616 + - *302 + - *303 responses: '204': description: Response @@ -98951,7 +98919,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *620 + - *616 - *17 - *19 responses: @@ -98963,9 +98931,9 @@ paths: type: array items: *161 examples: - response-if-child-teams-exist: *630 + response-if-child-teams-exist: *626 headers: - Link: *57 + Link: *52 '404': *6 '403': *27 '422': *15 @@ -98996,7 +98964,7 @@ paths: application/json: schema: oneOf: - - &632 + - &628 title: Private User description: Private User type: object @@ -99246,7 +99214,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *631 + - *627 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99406,7 +99374,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *628 examples: default: value: @@ -99485,7 +99453,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '304': *35 '404': *6 '403': *27 @@ -99508,7 +99476,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 +99504,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 +99528,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -99609,11 +99577,11 @@ paths: type: integer codespaces: type: array - items: *204 + items: *202 examples: - default: *205 + default: *203 '304': *35 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -99750,21 +99718,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *204 + schema: *202 examples: - default: *434 + default: *422 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *204 + schema: *202 examples: - default: *434 + default: *422 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99804,7 +99772,7 @@ paths: type: integer secrets: type: array - items: &633 + items: &629 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99846,9 +99814,9 @@ paths: - visibility - selected_repositories_url examples: - default: *436 + default: *424 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99918,13 +99886,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *139 + - *134 responses: '200': description: Response content: application/json: - schema: *633 + schema: *629 examples: default: value: @@ -99954,7 +99922,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 + - *134 requestBody: required: true content: @@ -99999,7 +99967,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -100027,7 +99995,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *139 + - *134 responses: '204': description: Response @@ -100052,7 +100020,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *139 + - *134 responses: '200': description: Response @@ -100068,13 +100036,13 @@ paths: type: integer repositories: type: array - items: *131 + items: *126 examples: - default: *634 + default: *630 '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100095,7 +100063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *139 + - *134 requestBody: required: true content: @@ -100127,7 +100095,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100149,7 +100117,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *139 + - *134 - name: repository_id in: path required: true @@ -100161,7 +100129,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100182,7 +100150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *139 + - *134 - name: repository_id in: path required: true @@ -100194,7 +100162,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100214,17 +100182,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *206 + - *204 responses: '200': description: Response content: application/json: - schema: *204 + schema: *202 examples: - default: *434 + default: *422 '304': *35 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -100248,7 +100216,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *206 + - *204 requestBody: required: false content: @@ -100278,9 +100246,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *202 examples: - default: *434 + default: *422 '401': *23 '403': *27 '404': *6 @@ -100302,11 +100270,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *206 + - *204 responses: '202': *37 '304': *35 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -100331,13 +100299,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *206 + - *204 responses: '202': description: Response content: application/json: - schema: &635 + schema: &631 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100390,7 +100358,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &636 + default: &632 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100398,7 +100366,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -100422,7 +100390,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *206 + - *204 - name: export_id in: path required: true @@ -100435,9 +100403,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *631 examples: - default: *636 + default: *632 '404': *6 x-github: githubCloudOnly: false @@ -100458,7 +100426,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *206 + - *204 responses: '200': description: Response @@ -100474,11 +100442,11 @@ paths: type: integer machines: type: array - items: *435 + items: *423 examples: - default: *637 + default: *633 '304': *35 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -100505,7 +100473,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *206 + - *204 requestBody: required: true content: @@ -100561,11 +100529,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *322 + repository: *310 machine: anyOf: - type: 'null' - - *435 + - *423 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -101362,17 +101330,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *206 + - *204 responses: '200': description: Response content: application/json: - schema: *204 + schema: *202 examples: - default: *434 + default: *422 '304': *35 - '500': *100 + '500': *94 '400': *14 '401': *23 '402': @@ -101402,16 +101370,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *206 + - *204 responses: '200': description: Response content: application/json: - schema: *204 + schema: *202 examples: - default: *434 - '500': *100 + default: *422 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -101440,9 +101408,9 @@ paths: application/json: schema: type: array - items: *216 + items: *214 examples: - default: &649 + default: &645 value: - id: 197 name: hello_docker @@ -101543,7 +101511,7 @@ paths: application/json: schema: type: array - items: &638 + items: &634 title: Email description: Email type: object @@ -101613,16 +101581,16 @@ paths: application/json: schema: type: array - items: *638 + items: *634 examples: - default: &651 + default: &647 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -101692,7 +101660,7 @@ paths: application/json: schema: type: array - items: *638 + items: *634 examples: default: value: @@ -101804,9 +101772,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -101837,9 +101805,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -101859,7 +101827,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 +101857,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 +101882,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 +101918,7 @@ paths: application/json: schema: type: array - items: &639 + items: &635 title: GPG Key description: A unique encryption key type: object @@ -102095,7 +102063,7 @@ paths: - subkeys - revoked examples: - default: &665 + default: &661 value: - id: 3 name: Octocat's GPG Key @@ -102127,7 +102095,7 @@ paths: revoked: false raw_key: string headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -102180,9 +102148,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *635 examples: - default: &640 + default: &636 value: id: 3 name: Octocat's GPG Key @@ -102239,7 +102207,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 + - &637 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102251,9 +102219,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *635 examples: - default: *640 + default: *636 '404': *6 '304': *35 '403': *27 @@ -102276,7 +102244,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 + - *637 responses: '204': description: Response @@ -102419,7 +102387,7 @@ paths: suspended_at: suspended_by: headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -102465,11 +102433,11 @@ paths: type: string repositories: type: array - items: *66 + items: *61 examples: - default: *123 + default: *118 headers: - Link: *57 + Link: *52 '404': *6 '403': *27 '304': *35 @@ -102492,7 +102460,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *120 + - *115 responses: '204': description: Response @@ -102518,7 +102486,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *120 + - *115 responses: '204': description: Response @@ -102552,12 +102520,12 @@ paths: application/json: schema: anyOf: - - *194 + - *192 - type: object properties: {} additionalProperties: false examples: - default: *195 + default: *193 '204': description: Response when there are no restrictions x-github: @@ -102581,7 +102549,7 @@ paths: required: true content: application/json: - schema: *503 + schema: *491 examples: default: value: @@ -102592,7 +102560,7 @@ paths: description: Response content: application/json: - schema: *194 + schema: *192 examples: default: value: @@ -102673,7 +102641,7 @@ paths: - closed - all default: open - - *202 + - *200 - name: sort description: What to sort results by. in: query @@ -102686,7 +102654,7 @@ paths: - comments default: created - *46 - - *75 + - *69 - *17 - *19 responses: @@ -102696,11 +102664,11 @@ paths: application/json: schema: type: array - items: *68 + items: *63 examples: - default: *203 + default: *201 headers: - Link: *57 + Link: *52 '404': *6 '304': *35 x-github: @@ -102731,7 +102699,7 @@ paths: application/json: schema: type: array - items: &642 + items: &638 title: Key description: Key type: object @@ -102783,7 +102751,7 @@ paths: verified: false read_only: false headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -102834,9 +102802,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *638 examples: - default: &643 + default: &639 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102869,15 +102837,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 + - *517 responses: '200': description: Response content: application/json: - schema: *642 + schema: *638 examples: - default: *643 + default: *639 '404': *6 '304': *35 '403': *27 @@ -102900,7 +102868,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 + - *517 responses: '204': description: Response @@ -102933,7 +102901,7 @@ paths: application/json: schema: type: array - items: &644 + items: &640 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103001,7 +102969,7 @@ paths: - id - type - login - plan: *86 + plan: *80 required: - billing_cycle - next_billing_date @@ -103012,7 +102980,7 @@ paths: - account - plan examples: - default: &645 + default: &641 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103045,7 +103013,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '304': *35 '401': *23 '404': *6 @@ -103074,11 +103042,11 @@ paths: application/json: schema: type: array - items: *644 + items: *640 examples: - default: *645 + default: *641 headers: - Link: *57 + Link: *52 '304': *35 '401': *23 x-github: @@ -103116,7 +103084,7 @@ paths: application/json: schema: type: array - items: *208 + items: *206 examples: default: value: @@ -103193,7 +103161,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -103218,13 +103186,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: *208 + schema: *206 examples: default: value: @@ -103282,7 +103250,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *99 + - *93 requestBody: required: true content: @@ -103307,7 +103275,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *206 examples: default: value: @@ -103375,7 +103343,7 @@ paths: application/json: schema: type: array - items: *210 + items: *208 examples: default: value: @@ -103528,7 +103496,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -103637,7 +103605,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *208 examples: default: value: @@ -103817,7 +103785,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *211 + - *209 - name: exclude in: query required: false @@ -103830,7 +103798,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *208 examples: default: value: @@ -104024,7 +103992,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *211 + - *209 responses: '302': description: Response @@ -104050,7 +104018,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *211 + - *209 responses: '204': description: Response @@ -104079,8 +104047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *211 - - *646 + - *209 + - *642 responses: '204': description: Response @@ -104104,7 +104072,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *211 + - *209 - *17 - *19 responses: @@ -104114,11 +104082,11 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: - default: *222 + default: *220 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -104153,9 +104121,9 @@ paths: type: array items: *160 examples: - default: *647 + default: *643 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -104195,7 +104163,7 @@ paths: - docker - nuget - container - - *648 + - *644 - *19 - *17 responses: @@ -104205,10 +104173,10 @@ paths: application/json: schema: type: array - items: *216 + items: *214 examples: - default: *649 - '400': *650 + default: *645 + '400': *646 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104228,16 +104196,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *218 - - *219 + - *216 + - *217 responses: '200': description: Response content: application/json: - schema: *216 + schema: *214 examples: - default: &666 + default: &662 value: id: 40201 name: octo-name @@ -104350,8 +104318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *218 - - *219 + - *216 + - *217 responses: '204': description: Response @@ -104381,8 +104349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *218 - - *219 + - *216 + - *217 - name: token description: package token schema: @@ -104414,8 +104382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *218 - - *219 + - *216 + - *217 - *19 - *17 - name: state @@ -104435,7 +104403,7 @@ paths: application/json: schema: type: array - items: *220 + items: *218 examples: default: value: @@ -104484,15 +104452,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *218 + - *216 + - *217 - *219 - - *221 responses: '200': description: Response content: application/json: - schema: *220 + schema: *218 examples: default: value: @@ -104528,9 +104496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *218 + - *216 + - *217 - *219 - - *221 responses: '204': description: Response @@ -104560,9 +104528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *218 + - *216 + - *217 - *219 - - *221 responses: '204': description: Response @@ -104620,7 +104588,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *230 examples: default: value: @@ -104692,11 +104660,11 @@ paths: application/json: schema: type: array - items: *638 + items: *634 examples: - default: *651 + default: *647 headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -104805,9 +104773,9 @@ paths: application/json: schema: type: array - items: *66 + items: *61 examples: - default: &658 + default: &654 summary: Default response value: - id: 1296269 @@ -104928,7 +104896,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '403': *27 @@ -105125,9 +105093,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *310 examples: - default: *324 + default: *312 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105165,11 +105133,11 @@ paths: application/json: schema: type: array - items: *505 + items: *493 examples: - default: *652 + default: *648 headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105190,7 +105158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *198 + - *196 responses: '204': description: Response @@ -105213,7 +105181,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *198 + - *196 responses: '204': description: Response @@ -105246,7 +105214,7 @@ paths: application/json: schema: type: array - items: &653 + items: &649 title: Social account description: Social media account type: object @@ -105263,12 +105231,12 @@ paths: - provider - url examples: - default: &654 + default: &650 value: - provider: twitter url: https://twitter.com/github headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105326,9 +105294,9 @@ paths: application/json: schema: type: array - items: *653 + items: *649 examples: - default: *654 + default: *650 '422': *15 '304': *35 '404': *6 @@ -105416,7 +105384,7 @@ paths: application/json: schema: type: array - items: &655 + items: &651 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105436,7 +105404,7 @@ paths: - title - created_at examples: - default: &680 + default: &676 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105449,7 +105417,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 +105471,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *651 examples: - default: &656 + default: &652 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105536,7 +105504,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 + - &653 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105548,9 +105516,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *651 examples: - default: *656 + default: *652 '404': *6 '304': *35 '403': *27 @@ -105573,7 +105541,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 + - *653 responses: '204': description: Response @@ -105602,7 +105570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &681 + - &677 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 +105593,13 @@ paths: application/json: schema: type: array - items: *66 + items: *61 examples: - default-response: *658 + default-response: *654 application/vnd.github.v3.star+json: schema: type: array - items: &682 + items: &678 title: Starred Repository description: Starred Repository type: object @@ -105639,7 +105607,7 @@ paths: starred_at: type: string format: date-time - repo: *66 + repo: *61 required: - starred_at - repo @@ -105767,7 +105735,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -105787,8 +105755,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 + - *302 + - *303 responses: '204': description: Response if this repository is starred by you @@ -105816,8 +105784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -105841,8 +105809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -105875,11 +105843,11 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: - default: *222 + default: *220 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -105914,7 +105882,7 @@ paths: application/json: schema: type: array - items: *299 + items: *287 examples: default: value: @@ -105965,7 +105933,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105992,7 +105960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *88 + - *82 responses: '200': description: Response @@ -106000,10 +105968,10 @@ paths: application/json: schema: oneOf: - - *632 - - *631 + - *628 + - *627 examples: - default-response: &660 + default-response: &656 summary: Default response value: login: octocat @@ -106038,7 +106006,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: &657 summary: Response with GitHub plan information value: login: octocat @@ -106098,7 +106066,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *659 + - *655 - *17 responses: '200': @@ -106109,7 +106077,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: Link: example: ; rel="next" @@ -106139,7 +106107,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 +106115,11 @@ paths: application/json: schema: oneOf: - - *632 - - *631 + - *628 + - *627 examples: - default-response: *660 - response-with-git-hub-plan-information: *661 + default-response: *656 + response-with-git-hub-plan-information: *657 '404': *6 x-github: githubCloudOnly: false @@ -106177,7 +106145,7 @@ paths: - *17 - *38 - *39 - - *62 + - *57 requestBody: required: true content: @@ -106200,8 +106168,8 @@ paths: required: - subject_digests examples: - default: *662 - withPredicateType: *663 + default: *658 + withPredicateType: *659 responses: '200': description: Response @@ -106255,7 +106223,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *664 + default: *660 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106273,7 +106241,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 +106306,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 +106337,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 +106375,7 @@ paths: - *17 - *38 - *39 - - *62 + - *57 - name: subject_digest description: Subject Digest in: path @@ -106459,12 +106427,12 @@ paths: initiator: type: string examples: - default: *378 + default: *366 '201': description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -106490,7 +106458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *62 + - *57 responses: '200': description: Response @@ -106498,9 +106466,9 @@ paths: application/json: schema: type: array - items: *216 + items: *214 examples: - default: *649 + default: *645 '403': *27 '401': *23 x-github: @@ -106523,7 +106491,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 +106501,7 @@ paths: application/json: schema: type: array - items: *94 + items: *88 examples: default: value: @@ -106595,8 +106563,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 + - *93 - *17 - *19 responses: @@ -106606,7 +106574,7 @@ paths: application/json: schema: type: array - items: *94 + items: *88 examples: default: value: @@ -106683,7 +106651,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 +106661,7 @@ paths: application/json: schema: type: array - items: *94 + items: *88 examples: default: value: @@ -106751,7 +106719,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 +106731,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106782,7 +106750,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 +106762,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106813,7 +106781,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 +106808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *62 - - *75 + - *57 + - *69 - *17 - *19 responses: @@ -106851,11 +106819,11 @@ paths: application/json: schema: type: array - items: *76 + items: *70 examples: - default: *77 + default: *71 headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -106874,7 +106842,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 +106852,11 @@ paths: application/json: schema: type: array - items: *639 + items: *635 examples: - default: *665 + default: *661 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106910,7 +106878,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 +106950,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 +106958,7 @@ paths: application/json: schema: *20 examples: - default: *502 + default: *490 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107008,7 +106976,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 +107012,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107064,7 +107032,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: @@ -107076,9 +107044,9 @@ paths: type: array items: *160 examples: - default: *647 + default: *643 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107115,8 +107083,8 @@ paths: - docker - nuget - container - - *648 - - *62 + - *644 + - *57 - *19 - *17 responses: @@ -107126,12 +107094,12 @@ paths: application/json: schema: type: array - items: *216 + items: *214 examples: - default: *649 + default: *645 '403': *27 '401': *23 - '400': *650 + '400': *646 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107151,17 +107119,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *218 - - *219 - - *62 + - *216 + - *217 + - *57 responses: '200': description: Response content: application/json: - schema: *216 + schema: *214 examples: - default: *666 + default: *662 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107182,9 +107150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *218 - - *219 - - *62 + - *216 + - *217 + - *57 responses: '204': description: Response @@ -107216,9 +107184,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *218 - - *219 - - *62 + - *216 + - *217 + - *57 - name: token description: package token schema: @@ -107250,9 +107218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *218 - - *219 - - *62 + - *216 + - *217 + - *57 responses: '200': description: Response @@ -107260,7 +107228,7 @@ paths: application/json: schema: type: array - items: *220 + items: *218 examples: default: value: @@ -107318,16 +107286,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *218 + - *216 + - *217 - *219 - - *221 - - *62 + - *57 responses: '200': description: Response content: application/json: - schema: *220 + schema: *218 examples: default: value: @@ -107362,10 +107330,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *218 + - *216 + - *217 + - *57 - *219 - - *62 - - *221 responses: '204': description: Response @@ -107397,10 +107365,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *218 + - *216 + - *217 + - *57 - *219 - - *62 - - *221 responses: '204': description: Response @@ -107426,7 +107394,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-user-projects parameters: - - *62 + - *57 - name: state description: Indicates the state of the projects to return. in: query @@ -107447,7 +107415,7 @@ paths: application/json: schema: type: array - items: *232 + items: *230 examples: default: value: @@ -107483,7 +107451,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 +107473,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *62 + - *57 - name: q description: Limit results to projects of the specified type. in: query @@ -107522,11 +107490,11 @@ paths: application/json: schema: type: array - items: *233 + items: *231 examples: - default: *234 + default: *232 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107546,18 +107514,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *235 - - *62 + - *233 + - *57 responses: '200': description: Response content: application/json: - schema: *233 + schema: *231 examples: - default: *234 + default: *232 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107577,8 +107545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *235 - - *62 + - *233 + - *57 - *17 - *38 - *39 @@ -107589,11 +107557,11 @@ paths: application/json: schema: type: array - items: *236 + items: *234 examples: - default: *237 + default: *235 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107613,19 +107581,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *235 - - *667 - - *62 + - *233 + - *663 + - *57 responses: '200': description: Response content: application/json: - schema: *236 + schema: *234 examples: - default: *237 + default: *235 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107646,8 +107614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *235 - - *62 + - *233 + - *57 - *38 - *39 - *17 @@ -107659,8 +107627,10 @@ 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` in: query required: false schema: @@ -107668,8 +107638,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 responses: '200': description: Response @@ -107677,11 +107645,11 @@ paths: application/json: schema: type: array - items: *242 + items: *240 examples: - default: *243 + default: *241 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107700,8 +107668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *62 - - *235 + - *57 + - *233 requestBody: required: true description: Details of the item to add to the project. @@ -107738,10 +107706,10 @@ paths: description: Response content: application/json: - schema: *668 + schema: *664 examples: - issue: *241 - pull_request: *241 + issue: *239 + pull_request: *239 '304': *35 '403': *27 '401': *23 @@ -107761,9 +107729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *235 - - *62 - - *244 + - *233 + - *57 + - *242 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -107781,11 +107749,11 @@ paths: description: Response content: application/json: - schema: *242 + schema: *240 examples: - default: *243 + default: *241 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107804,9 +107772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *235 - - *62 - - *244 + - *233 + - *57 + - *242 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -107879,13 +107847,13 @@ paths: description: Response content: application/json: - schema: *242 + schema: *240 examples: - text_field: *243 - number_field: *243 - date_field: *243 - single_select_field: *243 - iteration_field: *243 + text_field: *241 + number_field: *241 + date_field: *241 + single_select_field: *241 + iteration_field: *241 '401': *23 '403': *27 '404': *6 @@ -107905,9 +107873,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *235 - - *62 - - *244 + - *233 + - *57 + - *242 responses: '204': description: Response @@ -107934,7 +107902,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 +107912,7 @@ paths: application/json: schema: type: array - items: *94 + items: *88 examples: default: value: @@ -108009,7 +107977,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 +107987,7 @@ paths: application/json: schema: type: array - items: *94 + items: *88 examples: default: value: @@ -108082,7 +108050,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 +108093,11 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: - default: *222 + default: *220 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108151,15 +108119,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: *665 examples: - default: *670 + default: *666 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108181,15 +108149,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: *667 examples: - default: *672 + default: *668 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108198,7 +108166,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 +108177,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 + - *96 + - *669 + - *97 + - *670 + - *671 responses: '200': description: Response when getting a billing premium request usage report @@ -108318,8 +108289,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *100 - '503': *73 + '500': *94 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108341,15 +108312,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: *672 examples: - default: *677 + default: *673 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108369,11 +108340,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 + - *96 + - *674 + - *97 + - *675 responses: '200': description: Response when getting a billing usage report @@ -108443,8 +108414,8 @@ paths: repositoryName: user/example '400': *14 '403': *27 - '500': *100 - '503': *73 + '500': *94 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108462,7 +108433,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 +108443,11 @@ paths: application/json: schema: type: array - items: *653 + items: *649 examples: - default: *654 + default: *650 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108494,7 +108465,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 +108475,11 @@ paths: application/json: schema: type: array - items: *655 + items: *651 examples: - default: *680 + default: *676 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108530,8 +108501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *62 - - *681 + - *57 + - *677 - *46 - *17 - *19 @@ -108543,13 +108514,13 @@ paths: schema: anyOf: - type: array - items: *682 + items: *678 - type: array - items: *66 + items: *61 examples: - default-response: *658 + default-response: *654 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108566,7 +108537,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 +108547,11 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: - default: *222 + default: *220 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108707,7 +108678,7 @@ webhooks: type: string enum: - disabled - enterprise: &683 + enterprise: &679 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108776,7 +108747,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &684 + installation: &680 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108797,7 +108768,7 @@ webhooks: required: - id - node_id - organization: &685 + organization: &681 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108870,7 +108841,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &686 + repository: &682 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -108899,7 +108870,7 @@ webhooks: license: anyOf: - type: 'null' - - *71 + - *66 organization: anyOf: - type: 'null' @@ -109783,10 +109754,10 @@ webhooks: type: string enum: - enabled - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -109862,11 +109833,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: &687 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + rule: &683 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 +110060,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: *687 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + rule: *683 sender: *4 required: - action @@ -110281,11 +110252,11 @@ webhooks: - everyone required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: *687 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + rule: *683 sender: *4 required: - action @@ -110369,7 +110340,7 @@ webhooks: type: string enum: - completed - check_run: &689 + check_run: &685 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110434,8 +110405,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *72 - repository: *131 + items: *67 + repository: *126 status: type: string enum: @@ -110479,7 +110450,7 @@ webhooks: - examples: - neutral - deployment: *688 + deployment: *684 details_url: type: string examples: @@ -110539,7 +110510,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *72 + items: *67 started_at: type: string format: date-time @@ -110577,10 +110548,10 @@ webhooks: - output - app - pull_requests - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + installation: *680 + enterprise: *679 + organization: *681 + repository: *682 sender: *4 required: - check_run @@ -110973,11 +110944,11 @@ webhooks: type: string enum: - created - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *685 + installation: *680 + enterprise: *679 + organization: *681 + repository: *682 sender: *4 required: - check_run @@ -111373,11 +111344,11 @@ webhooks: type: string enum: - requested_action - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *685 + installation: *680 + enterprise: *679 + organization: *681 + repository: *682 requested_action: description: The action requested by the user. type: object @@ -111782,11 +111753,11 @@ webhooks: type: string enum: - rerequested - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *685 + installation: *680 + enterprise: *679 + organization: *681 + repository: *682 sender: *4 required: - check_run @@ -112778,10 +112749,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -113466,10 +113437,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -114148,10 +114119,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -114320,7 +114291,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *397 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114472,20 +114443,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &690 + commit_oid: &686 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: *679 + installation: *680 + organization: *681 + ref: &687 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: *682 sender: *4 required: - action @@ -114652,7 +114623,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *397 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114893,12 +114864,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *686 + enterprise: *679 + installation: *680 + organization: *681 + ref: *687 + repository: *682 sender: *4 required: - action @@ -114996,7 +114967,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *397 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 +115152,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *686 + enterprise: *679 + installation: *680 + organization: *681 + ref: *687 + repository: *682 sender: *4 required: - action @@ -115355,7 +115326,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *397 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115532,12 +115503,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *686 + enterprise: *679 + installation: *680 + organization: *681 + ref: *687 + repository: *682 sender: *4 required: - action @@ -115640,7 +115611,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *409 + dismissed_comment: *397 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 +115791,9 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 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 +115801,7 @@ webhooks: type: - string - 'null' - repository: *686 + repository: *682 sender: *4 required: - action @@ -115929,7 +115900,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *397 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 +116047,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *686 + enterprise: *679 + installation: *680 + organization: *681 + ref: *687 + repository: *682 sender: *4 required: - action @@ -116343,10 +116314,10 @@ webhooks: - updated_at - author_association - body - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -116427,18 +116398,18 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *685 - pusher_type: &692 + organization: *681 + pusher_type: &688 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &693 + ref: &689 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116448,7 +116419,7 @@ webhooks: enum: - tag - branch - repository: *686 + repository: *682 sender: *4 required: - ref @@ -116530,10 +116501,10 @@ webhooks: type: string enum: - created - definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + definition: *243 + enterprise: *679 + installation: *680 + organization: *681 sender: *4 required: - action @@ -116618,9 +116589,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 sender: *4 required: - action @@ -116697,10 +116668,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + definition: *243 + enterprise: *679 + installation: *680 + organization: *681 sender: *4 required: - action @@ -116777,10 +116748,10 @@ webhooks: type: string enum: - updated - definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + definition: *243 + enterprise: *679 + installation: *680 + organization: *681 sender: *4 required: - action @@ -116857,19 +116828,19 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - repository: *686 - organization: *685 + enterprise: *679 + installation: *680 + repository: *682 + organization: *681 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *249 + items: *247 old_property_values: type: array description: The old custom property values for the repository. - items: *249 + items: *247 required: - action - repository @@ -116945,18 +116916,18 @@ webhooks: title: delete event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - pusher_type: *692 - ref: *693 + enterprise: *679 + installation: *680 + organization: *681 + pusher_type: *688 + ref: *689 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *686 + repository: *682 sender: *4 required: - ref @@ -117040,11 +117011,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *449 + installation: *680 + organization: *681 + enterprise: *679 + repository: *682 sender: *4 required: - action @@ -117128,11 +117099,11 @@ webhooks: type: string enum: - auto_reopened - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *449 + installation: *680 + organization: *681 + enterprise: *679 + repository: *682 sender: *4 required: - action @@ -117216,11 +117187,11 @@ webhooks: type: string enum: - created - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *449 + installation: *680 + organization: *681 + enterprise: *679 + repository: *682 sender: *4 required: - action @@ -117302,11 +117273,11 @@ webhooks: type: string enum: - dismissed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *449 + installation: *680 + organization: *681 + enterprise: *679 + repository: *682 sender: *4 required: - action @@ -117388,11 +117359,11 @@ webhooks: type: string enum: - fixed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *449 + installation: *680 + organization: *681 + enterprise: *679 + repository: *682 sender: *4 required: - action @@ -117475,11 +117446,11 @@ webhooks: type: string enum: - reintroduced - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *449 + installation: *680 + organization: *681 + enterprise: *679 + repository: *682 sender: *4 required: - action @@ -117561,11 +117532,11 @@ webhooks: type: string enum: - reopened - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *449 + installation: *680 + organization: *681 + enterprise: *679 + repository: *682 sender: *4 required: - action @@ -117642,9 +117613,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - key: &694 + enterprise: *679 + installation: *680 + key: &690 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117682,8 +117653,8 @@ webhooks: - verified - created_at - read_only - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -117760,11 +117731,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - key: *694 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + key: *690 + organization: *681 + repository: *682 sender: *4 required: - action @@ -118336,12 +118307,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - workflow: &698 + workflow: &694 title: Workflow type: - object @@ -119079,13 +119050,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *467 + deployment: *455 pull_requests: type: array - items: *547 - repository: *686 - organization: *685 - installation: *684 + items: *535 + repository: *682 + organization: *681 + installation: *680 sender: *4 responses: '200': @@ -119156,7 +119127,7 @@ webhooks: type: string enum: - approved - approver: &695 + approver: &691 type: object properties: avatar_url: @@ -119199,11 +119170,11 @@ webhooks: type: string comment: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - reviewers: &696 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + reviewers: &692 type: array items: type: object @@ -119284,7 +119255,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &697 + workflow_job_run: &693 type: object properties: conclusion: @@ -120030,18 +120001,18 @@ webhooks: type: string enum: - rejected - approver: *695 + approver: *691 comment: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - reviewers: *696 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + reviewers: *692 sender: *4 since: type: string - workflow_job_run: *697 + workflow_job_run: *693 workflow_job_runs: type: array items: @@ -120758,13 +120729,13 @@ webhooks: type: string enum: - requested - enterprise: *683 + enterprise: *679 environment: type: string - installation: *684 - organization: *685 - repository: *686 - requestor: &703 + installation: *680 + organization: *681 + repository: *682 + requestor: &699 title: User type: - object @@ -122707,12 +122678,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - workflow: *698 + workflow: *694 workflow_run: title: Deployment Workflow Run type: @@ -123403,7 +123374,7 @@ webhooks: type: string enum: - answered - answer: &701 + answer: &697 type: object properties: author_association: @@ -123563,11 +123534,11 @@ webhooks: - created_at - updated_at - body - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -123694,11 +123665,11 @@ webhooks: - from required: - category - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -123781,11 +123752,11 @@ webhooks: type: string enum: - closed - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -123867,7 +123838,7 @@ webhooks: type: string enum: - created - comment: &700 + comment: &696 type: object properties: author_association: @@ -124027,11 +123998,11 @@ webhooks: - updated_at - body - reactions - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -124114,12 +124085,12 @@ webhooks: type: string enum: - deleted - comment: *700 - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + comment: *696 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -124214,12 +124185,12 @@ webhooks: - from required: - body - comment: *700 - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + comment: *696 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -124303,11 +124274,11 @@ webhooks: type: string enum: - created - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -124389,11 +124360,11 @@ webhooks: type: string enum: - deleted - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -124493,11 +124464,11 @@ webhooks: type: string required: - from - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -124579,10 +124550,10 @@ webhooks: type: string enum: - labeled - discussion: *699 - enterprise: *683 - installation: *684 - label: &702 + discussion: *695 + enterprise: *679 + installation: *680 + label: &698 title: Label type: object properties: @@ -124615,8 +124586,8 @@ webhooks: - color - default - description - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -124699,11 +124670,11 @@ webhooks: type: string enum: - locked - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -124785,11 +124756,11 @@ webhooks: type: string enum: - pinned - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -124871,11 +124842,11 @@ webhooks: type: string enum: - reopened - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -124960,16 +124931,16 @@ webhooks: changes: type: object properties: - new_discussion: *699 - new_repository: *686 + new_discussion: *695 + new_repository: *682 required: - new_discussion - new_repository - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -125052,10 +125023,10 @@ webhooks: type: string enum: - unanswered - discussion: *699 - old_answer: *701 - organization: *685 - repository: *686 + discussion: *695 + old_answer: *697 + organization: *681 + repository: *682 sender: *4 required: - action @@ -125137,12 +125108,12 @@ webhooks: type: string enum: - unlabeled - discussion: *699 - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + label: *698 + organization: *681 + repository: *682 sender: *4 required: - action @@ -125225,11 +125196,11 @@ webhooks: type: string enum: - unlocked - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -125311,11 +125282,11 @@ webhooks: type: string enum: - unpinned - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -125388,7 +125359,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *683 + enterprise: *679 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -126066,9 +126037,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *684 - organization: *685 - repository: *686 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - forkee @@ -126214,9 +126185,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 pages: description: The pages that were updated. type: array @@ -126254,7 +126225,7 @@ webhooks: - action - sha - html_url - repository: *686 + repository: *682 sender: *4 required: - pages @@ -126330,10 +126301,10 @@ webhooks: type: string enum: - created - enterprise: *683 + enterprise: *679 installation: *20 - organization: *685 - repositories: &704 + organization: *681 + repositories: &700 description: An array of repository objects that the installation can access. type: array @@ -126359,8 +126330,8 @@ webhooks: - name - full_name - private - repository: *686 - requester: *703 + repository: *682 + requester: *699 sender: *4 required: - action @@ -126435,11 +126406,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 + enterprise: *679 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *681 + repositories: *700 + repository: *682 requester: type: - 'null' @@ -126516,11 +126487,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *683 + enterprise: *679 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *681 + repositories: *700 + repository: *682 requester: type: - 'null' @@ -126597,10 +126568,10 @@ webhooks: type: string enum: - added - enterprise: *683 + enterprise: *679 installation: *20 - organization: *685 - repositories_added: &705 + organization: *681 + repositories_added: &701 description: An array of repository objects, which were added to the installation. type: array @@ -126646,15 +126617,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *686 - repository_selection: &706 + repository: *682 + repository_selection: &702 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *703 + requester: *699 sender: *4 required: - action @@ -126733,10 +126704,10 @@ webhooks: type: string enum: - removed - enterprise: *683 + enterprise: *679 installation: *20 - organization: *685 - repositories_added: *705 + organization: *681 + repositories_added: *701 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -126763,9 +126734,9 @@ webhooks: - name - full_name - private - repository: *686 - repository_selection: *706 - requester: *703 + repository: *682 + repository_selection: *702 + requester: *699 sender: *4 required: - action @@ -126844,11 +126815,11 @@ webhooks: type: string enum: - suspend - enterprise: *683 + enterprise: *679 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *681 + repositories: *700 + repository: *682 requester: type: - 'null' @@ -127030,10 +127001,10 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 target_type: type: string @@ -127112,11 +127083,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *683 + enterprise: *679 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *681 + repositories: *700 + repository: *682 requester: type: - 'null' @@ -127364,8 +127335,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128182,8 +128153,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128200,7 +128171,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -128544,8 +128515,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -128625,7 +128596,7 @@ webhooks: type: string enum: - deleted - comment: &707 + comment: &703 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -128792,8 +128763,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129606,8 +129577,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129624,7 +129595,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -129970,8 +129941,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -130051,7 +130022,7 @@ webhooks: type: string enum: - edited - changes: &731 + changes: &727 description: The changes to the comment. type: object properties: @@ -130063,9 +130034,9 @@ webhooks: type: string required: - from - comment: *707 - enterprise: *683 - installation: *684 + comment: *703 + enterprise: *679 + installation: *680 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130881,8 +130852,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130899,7 +130870,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -131243,8 +131214,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -131328,15 +131299,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 + blocked_issue: *63 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: *63 + blocking_issue_repo: *61 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -131424,15 +131395,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 + blocked_issue: *63 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: *63 + blocking_issue_repo: *61 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -131519,15 +131490,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 - blocked_issue_repo: *66 + blocked_issue: *63 + blocked_issue_repo: *61 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *63 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -131615,15 +131586,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 - blocked_issue_repo: *66 + blocked_issue: *63 + blocked_issue_repo: *61 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *63 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -131708,10 +131679,10 @@ webhooks: type: string enum: - assigned - assignee: *703 - enterprise: *683 - installation: *684 - issue: &710 + assignee: *699 + enterprise: *679 + installation: *680 + issue: &706 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132523,11 +132494,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132544,7 +132515,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -132647,8 +132618,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -132728,8 +132699,8 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133546,11 +133517,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133567,7 +133538,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -133813,8 +133784,8 @@ webhooks: required: - state - closed_at - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -133893,8 +133864,8 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134702,11 +134673,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134723,7 +134694,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -134825,8 +134796,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -134905,8 +134876,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135737,11 +135708,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135758,7 +135729,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -135839,7 +135810,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &708 + milestone: &704 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135982,8 +135953,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -136082,8 +136053,8 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136895,11 +136866,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136913,7 +136884,7 @@ webhooks: timeline_url: type: string format: uri - type: *199 + type: *197 title: description: Title of the issue type: string @@ -137019,9 +136990,9 @@ webhooks: - active_lock_reason - body - reactions - label: *702 - organization: *685 - repository: *686 + label: *698 + organization: *681 + repository: *682 sender: *4 required: - action @@ -137101,8 +137072,8 @@ webhooks: type: string enum: - labeled - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137913,11 +137884,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137931,7 +137902,7 @@ webhooks: timeline_url: type: string format: uri - type: *199 + type: *197 title: description: Title of the issue type: string @@ -138037,9 +138008,9 @@ webhooks: - active_lock_reason - body - reactions - label: *702 - organization: *685 - repository: *686 + label: *698 + organization: *681 + repository: *682 sender: *4 required: - action @@ -138119,8 +138090,8 @@ webhooks: type: string enum: - locked - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138956,11 +138927,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138974,7 +138945,7 @@ webhooks: timeline_url: type: string format: uri - type: *199 + type: *197 title: description: Title of the issue type: string @@ -139057,8 +139028,8 @@ webhooks: format: uri user_view_type: type: string - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -139137,8 +139108,8 @@ webhooks: type: string enum: - milestoned - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139968,11 +139939,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139989,7 +139960,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -140069,9 +140040,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *708 - organization: *685 - repository: *686 + milestone: *704 + organization: *681 + repository: *682 sender: *4 required: - action @@ -140963,11 +140934,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141063,7 +141034,7 @@ webhooks: required: - login - id - type: *199 + type: *197 required: - id - number @@ -141544,8 +141515,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142357,11 +142328,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142378,7 +142349,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -142480,8 +142451,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -142561,9 +142532,9 @@ webhooks: type: string enum: - pinned - enterprise: *683 - installation: *684 - issue: &709 + enterprise: *679 + installation: *680 + issue: &705 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143369,11 +143340,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143390,7 +143361,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -143492,8 +143463,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -143572,8 +143543,8 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144407,11 +144378,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144508,9 +144479,9 @@ webhooks: format: uri user_view_type: type: string - type: *199 - organization: *685 - repository: *686 + type: *197 + organization: *681 + repository: *682 sender: *4 required: - action @@ -145399,11 +145370,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145420,7 +145391,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -146002,11 +145973,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *683 - installation: *684 - issue: *709 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + issue: *705 + organization: *681 + repository: *682 sender: *4 required: - action @@ -146086,12 +146057,12 @@ webhooks: type: string enum: - typed - enterprise: *683 - installation: *684 - issue: *710 - type: *199 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + issue: *706 + type: *197 + organization: *681 + repository: *682 sender: *4 required: - action @@ -146172,7 +146143,7 @@ webhooks: type: string enum: - unassigned - assignee: &734 + assignee: &730 title: User type: - object @@ -146244,11 +146215,11 @@ webhooks: required: - login - id - enterprise: *683 - installation: *684 - issue: *710 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + issue: *706 + organization: *681 + repository: *682 sender: *4 required: - action @@ -146327,12 +146298,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *683 - installation: *684 - issue: *710 - label: *702 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + issue: *706 + label: *698 + organization: *681 + repository: *682 sender: *4 required: - action @@ -146412,8 +146383,8 @@ webhooks: type: string enum: - unlocked - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147247,11 +147218,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147268,7 +147239,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -147348,8 +147319,8 @@ webhooks: format: uri user_view_type: type: string - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -147429,11 +147400,11 @@ webhooks: type: string enum: - unpinned - enterprise: *683 - installation: *684 - issue: *709 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + issue: *705 + organization: *681 + repository: *682 sender: *4 required: - action @@ -147512,12 +147483,12 @@ webhooks: type: string enum: - untyped - enterprise: *683 - installation: *684 - issue: *710 - type: *199 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + issue: *706 + type: *197 + organization: *681 + repository: *682 sender: *4 required: - action @@ -147597,11 +147568,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + label: *698 + organization: *681 + repository: *682 sender: *4 required: - action @@ -147679,11 +147650,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + label: *698 + organization: *681 + repository: *682 sender: *4 required: - action @@ -147793,11 +147764,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + label: *698 + organization: *681 + repository: *682 sender: *4 required: - action @@ -147879,9 +147850,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: &711 + enterprise: *679 + installation: *680 + marketplace_purchase: &707 title: Marketplace Purchase type: object required: @@ -147969,8 +147940,8 @@ webhooks: type: integer unit_count: type: integer - organization: *685 - previous_marketplace_purchase: &712 + organization: *681 + previous_marketplace_purchase: &708 title: Marketplace Purchase type: object properties: @@ -148054,7 +148025,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *682 sender: *4 required: - action @@ -148134,10 +148105,10 @@ webhooks: - changed effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 + enterprise: *679 + installation: *680 + marketplace_purchase: *707 + organization: *681 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148225,7 +148196,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *682 sender: *4 required: - action @@ -148307,10 +148278,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 + enterprise: *679 + installation: *680 + marketplace_purchase: *707 + organization: *681 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148396,7 +148367,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *682 sender: *4 required: - action @@ -148477,8 +148448,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 marketplace_purchase: title: Marketplace Purchase type: object @@ -148564,9 +148535,9 @@ webhooks: type: integer unit_count: type: integer - organization: *685 - previous_marketplace_purchase: *712 - repository: *686 + organization: *681 + previous_marketplace_purchase: *708 + repository: *682 sender: *4 required: - action @@ -148646,12 +148617,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 - previous_marketplace_purchase: *712 - repository: *686 + enterprise: *679 + installation: *680 + marketplace_purchase: *707 + organization: *681 + previous_marketplace_purchase: *708 + repository: *682 sender: *4 required: - action @@ -148753,11 +148724,11 @@ webhooks: type: string required: - to - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + member: *699 + organization: *681 + repository: *682 sender: *4 required: - action @@ -148859,11 +148830,11 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + member: *699 + organization: *681 + repository: *682 sender: *4 required: - action @@ -148942,11 +148913,11 @@ webhooks: type: string enum: - removed - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + member: *699 + organization: *681 + repository: *682 sender: *4 required: - action @@ -149024,11 +148995,11 @@ webhooks: type: string enum: - added - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + member: *699 + organization: *681 + repository: *682 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149106,7 +149077,7 @@ webhooks: required: - login - id - team: &713 + team: &709 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149336,11 +149307,11 @@ webhooks: type: string enum: - removed - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + member: *699 + organization: *681 + repository: *682 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149419,7 +149390,7 @@ webhooks: required: - login - id - team: *713 + team: *709 required: - action - scope @@ -149501,8 +149472,8 @@ webhooks: type: string enum: - checks_requested - installation: *684 - merge_group: &714 + installation: *680 + merge_group: &710 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149521,15 +149492,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *398 + head_commit: *386 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -149615,10 +149586,10 @@ webhooks: - merged - invalidated - dequeued - installation: *684 - merge_group: *714 - organization: *685 - repository: *686 + installation: *680 + merge_group: *710 + organization: *681 + repository: *682 sender: *4 required: - action @@ -149691,7 +149662,7 @@ webhooks: type: string enum: - deleted - enterprise: *683 + enterprise: *679 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -149800,12 +149771,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *684 - organization: *685 + installation: *680 + organization: *681 repository: anyOf: - type: 'null' - - *686 + - *682 sender: *4 required: - action @@ -149885,11 +149856,11 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + milestone: *704 + organization: *681 + repository: *682 sender: *4 required: - action @@ -149968,9 +149939,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - milestone: &715 + enterprise: *679 + installation: *680 + milestone: &711 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150112,8 +150083,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -150192,11 +150163,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + milestone: *704 + organization: *681 + repository: *682 sender: *4 required: - action @@ -150306,11 +150277,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + milestone: *704 + organization: *681 + repository: *682 sender: *4 required: - action @@ -150390,11 +150361,11 @@ webhooks: type: string enum: - opened - enterprise: *683 - installation: *684 - milestone: *715 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + milestone: *711 + organization: *681 + repository: *682 sender: *4 required: - action @@ -150473,11 +150444,11 @@ webhooks: type: string enum: - blocked - blocked_user: *703 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + blocked_user: *699 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -150556,11 +150527,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *703 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + blocked_user: *699 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -150639,9 +150610,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - membership: &716 + enterprise: *679 + installation: *680 + membership: &712 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150751,8 +150722,8 @@ webhooks: - role - organization_url - user - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -150830,11 +150801,11 @@ webhooks: type: string enum: - member_added - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + membership: *712 + organization: *681 + repository: *682 sender: *4 required: - action @@ -150913,8 +150884,8 @@ webhooks: type: string enum: - member_invited - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -151036,10 +151007,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 - user: *703 + user: *699 required: - action - invitation @@ -151117,11 +151088,11 @@ webhooks: type: string enum: - member_removed - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + membership: *712 + organization: *681 + repository: *682 sender: *4 required: - action @@ -151208,11 +151179,11 @@ webhooks: properties: from: type: string - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + membership: *712 + organization: *681 + repository: *682 sender: *4 required: - action @@ -151288,9 +151259,9 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 package: description: Information about the package. type: object @@ -151813,7 +151784,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &717 + items: &713 title: Ruby Gems metadata type: object properties: @@ -151910,7 +151881,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *682 sender: *4 required: - action @@ -151986,9 +151957,9 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 package: description: Information about the package. type: object @@ -152350,7 +152321,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *717 + items: *713 source_url: type: string format: uri @@ -152421,7 +152392,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *682 sender: *4 required: - action @@ -152602,12 +152573,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *683 + enterprise: *679 id: type: integer - installation: *684 - organization: *685 - repository: *686 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - id @@ -152684,7 +152655,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &718 + personal_access_token_request: &714 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -152834,10 +152805,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *683 - organization: *685 + enterprise: *679 + organization: *681 sender: *4 - installation: *684 + installation: *680 required: - action - personal_access_token_request @@ -152914,11 +152885,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *718 - enterprise: *683 - organization: *685 + personal_access_token_request: *714 + enterprise: *679 + organization: *681 sender: *4 - installation: *684 + installation: *680 required: - action - personal_access_token_request @@ -152994,11 +152965,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *718 - enterprise: *683 - organization: *685 + personal_access_token_request: *714 + enterprise: *679 + organization: *681 sender: *4 - installation: *684 + installation: *680 required: - action - personal_access_token_request @@ -153073,11 +153044,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *718 - organization: *685 - enterprise: *683 + personal_access_token_request: *714 + organization: *681 + enterprise: *679 sender: *4 - installation: *684 + installation: *680 required: - action - personal_access_token_request @@ -153182,7 +153153,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *719 + last_response: *715 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153214,8 +153185,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 zen: description: Random string of GitHub zen. @@ -153460,10 +153431,10 @@ webhooks: - from required: - note - enterprise: *683 - installation: *684 - organization: *685 - project_card: &720 + enterprise: *679 + installation: *680 + organization: *681 + project_card: &716 title: Project Card type: object properties: @@ -153586,7 +153557,7 @@ webhooks: - creator - created_at - updated_at - repository: *686 + repository: *682 sender: *4 required: - action @@ -153667,11 +153638,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project_card: *720 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + project_card: *716 + repository: *682 sender: *4 required: - action @@ -153751,9 +153722,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 project_card: title: Project Card type: object @@ -153883,7 +153854,7 @@ webhooks: repository: anyOf: - type: 'null' - - *686 + - *682 sender: *4 required: - action @@ -153977,11 +153948,11 @@ webhooks: - from required: - note - enterprise: *683 - installation: *684 - organization: *685 - project_card: *720 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + project_card: *716 + repository: *682 sender: *4 required: - action @@ -154075,9 +154046,9 @@ webhooks: - from required: - column_id - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 project_card: allOf: - title: Project Card @@ -154274,7 +154245,7 @@ webhooks: type: string required: - after_id - repository: *686 + repository: *682 sender: *4 required: - action @@ -154354,10 +154325,10 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - organization: *685 - project: &722 + enterprise: *679 + installation: *680 + organization: *681 + project: &718 title: Project type: object properties: @@ -154484,7 +154455,7 @@ webhooks: - creator - created_at - updated_at - repository: *686 + repository: *682 sender: *4 required: - action @@ -154564,10 +154535,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project_column: &721 + enterprise: *679 + installation: *680 + organization: *681 + project_column: &717 title: Project Column type: object properties: @@ -154607,7 +154578,7 @@ webhooks: - name - created_at - updated_at - repository: *686 + repository: *682 sender: *4 required: - action @@ -154686,14 +154657,14 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 + enterprise: *679 + installation: *680 + organization: *681 + project_column: *717 repository: anyOf: - type: 'null' - - *686 + - *682 sender: *4 required: - action @@ -154782,11 +154753,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + project_column: *717 + repository: *682 sender: *4 required: - action @@ -154866,11 +154837,11 @@ webhooks: type: string enum: - moved - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + project_column: *717 + repository: *682 sender: *4 required: - action @@ -154950,11 +154921,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + project: *718 + repository: *682 sender: *4 required: - action @@ -155034,14 +155005,14 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - project: *722 + enterprise: *679 + installation: *680 + organization: *681 + project: *718 repository: anyOf: - type: 'null' - - *686 + - *682 sender: *4 required: - action @@ -155142,11 +155113,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + project: *718 + repository: *682 sender: *4 required: - action @@ -155225,11 +155196,11 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + project: *718 + repository: *682 sender: *4 required: - action @@ -155310,9 +155281,9 @@ webhooks: type: string enum: - closed - installation: *684 - organization: *685 - projects_v2: *233 + installation: *680 + organization: *681 + projects_v2: *231 sender: *4 required: - action @@ -155393,9 +155364,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2: *233 + installation: *680 + organization: *681 + projects_v2: *231 sender: *4 required: - action @@ -155476,9 +155447,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2: *233 + installation: *680 + organization: *681 + projects_v2: *231 sender: *4 required: - action @@ -155599,9 +155570,9 @@ webhooks: type: string to: type: string - installation: *684 - organization: *685 - projects_v2: *233 + installation: *680 + organization: *681 + projects_v2: *231 sender: *4 required: - action @@ -155684,7 +155655,7 @@ webhooks: type: string enum: - archived - changes: &726 + changes: &722 type: object properties: archived_at: @@ -155700,9 +155671,9 @@ webhooks: - string - 'null' format: date-time - installation: *684 - organization: *685 - projects_v2_item: &723 + installation: *680 + organization: *681 + projects_v2_item: &719 title: Projects v2 Item description: An item belonging to a project type: object @@ -155720,7 +155691,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *240 + content_type: *238 creator: *4 created_at: type: string @@ -155842,9 +155813,9 @@ webhooks: - 'null' to: type: string - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *680 + organization: *681 + projects_v2_item: *719 sender: *4 required: - action @@ -155926,9 +155897,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *680 + organization: *681 + projects_v2_item: *719 sender: *4 required: - action @@ -156009,9 +155980,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *680 + organization: *681 + projects_v2_item: *719 sender: *4 required: - action @@ -156116,7 +156087,7 @@ webhooks: oneOf: - type: string - type: integer - - &724 + - &720 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156140,7 +156111,7 @@ webhooks: required: - id - name - - &725 + - &721 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156180,8 +156151,8 @@ webhooks: oneOf: - type: string - type: integer - - *724 - - *725 + - *720 + - *721 type: - 'null' - string @@ -156204,9 +156175,9 @@ webhooks: - 'null' required: - body - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *680 + organization: *681 + projects_v2_item: *719 sender: *4 required: - action @@ -156303,9 +156274,9 @@ webhooks: type: - string - 'null' - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *680 + organization: *681 + projects_v2_item: *719 sender: *4 required: - action @@ -156388,10 +156359,10 @@ webhooks: type: string enum: - restored - changes: *726 - installation: *684 - organization: *685 - projects_v2_item: *723 + changes: *722 + installation: *680 + organization: *681 + projects_v2_item: *719 sender: *4 required: - action @@ -156473,9 +156444,9 @@ webhooks: type: string enum: - reopened - installation: *684 - organization: *685 - projects_v2: *233 + installation: *680 + organization: *681 + projects_v2: *231 sender: *4 required: - action @@ -156556,9 +156527,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *680 + organization: *681 + projects_v2_status_update: *723 sender: *4 required: - action @@ -156639,9 +156610,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *680 + organization: *681 + projects_v2_status_update: *723 sender: *4 required: - action @@ -156787,9 +156758,9 @@ webhooks: - string - 'null' format: date - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *680 + organization: *681 + projects_v2_status_update: *723 sender: *4 required: - action @@ -156860,10 +156831,10 @@ webhooks: title: public event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - repository @@ -156940,13 +156911,13 @@ webhooks: type: string enum: - assigned - assignee: *703 - enterprise: *683 - installation: *684 - number: &728 + assignee: *699 + enterprise: *679 + installation: *680 + number: &724 description: The pull request number. type: integer - organization: *685 + organization: *681 pull_request: title: Pull Request type: object @@ -159295,7 +159266,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 sender: *4 required: - action @@ -159377,11 +159348,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 number: type: integer - organization: *685 + organization: *681 pull_request: title: Pull Request type: object @@ -161723,7 +161694,7 @@ webhooks: - draft reason: type: string - repository: *686 + repository: *682 sender: *4 required: - action @@ -161805,11 +161776,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 number: type: integer - organization: *685 + organization: *681 pull_request: title: Pull Request type: object @@ -164151,7 +164122,7 @@ webhooks: - draft reason: type: string - repository: *686 + repository: *682 sender: *4 required: - action @@ -164233,13 +164204,13 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: &729 + enterprise: *679 + installation: *680 + number: *724 + organization: *681 + pull_request: &725 allOf: - - *547 + - *535 - type: object properties: allow_auto_merge: @@ -164301,7 +164272,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *686 + repository: *682 sender: *4 required: - action @@ -164382,12 +164353,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *679 + installation: *680 + number: *724 + organization: *681 + pull_request: *725 + repository: *682 sender: *4 required: - action @@ -164467,11 +164438,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *683 - milestone: *238 - number: *728 - organization: *685 - pull_request: &730 + enterprise: *679 + milestone: *236 + number: *724 + organization: *681 + pull_request: &726 title: Pull Request type: object properties: @@ -166798,7 +166769,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 sender: *4 required: - action @@ -166877,11 +166848,11 @@ webhooks: type: string enum: - dequeued - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 number: type: integer - organization: *685 + organization: *681 pull_request: title: Pull Request type: object @@ -169227,7 +169198,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *686 + repository: *682 sender: *4 required: - action @@ -169351,12 +169322,12 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *679 + installation: *680 + number: *724 + organization: *681 + pull_request: *725 + repository: *682 sender: *4 required: - action @@ -169436,11 +169407,11 @@ webhooks: type: string enum: - enqueued - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 number: type: integer - organization: *685 + organization: *681 pull_request: title: Pull Request type: object @@ -171771,7 +171742,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 sender: *4 required: - action @@ -171851,11 +171822,11 @@ webhooks: type: string enum: - labeled - enterprise: *683 - installation: *684 - label: *702 - number: *728 - organization: *685 + enterprise: *679 + installation: *680 + label: *698 + number: *724 + organization: *681 pull_request: title: Pull Request type: object @@ -174203,7 +174174,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 sender: *4 required: - action @@ -174284,10 +174255,10 @@ webhooks: type: string enum: - locked - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *679 + installation: *680 + number: *724 + organization: *681 pull_request: title: Pull Request type: object @@ -176633,7 +176604,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 sender: *4 required: - action @@ -176713,12 +176684,12 @@ webhooks: type: string enum: - milestoned - enterprise: *683 - milestone: *238 - number: *728 - organization: *685 - pull_request: *730 - repository: *686 + enterprise: *679 + milestone: *236 + number: *724 + organization: *681 + pull_request: *726 + repository: *682 sender: *4 required: - action @@ -176797,12 +176768,12 @@ webhooks: type: string enum: - opened - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *679 + installation: *680 + number: *724 + organization: *681 + pull_request: *725 + repository: *682 sender: *4 required: - action @@ -176883,12 +176854,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *679 + installation: *680 + number: *724 + organization: *681 + pull_request: *725 + repository: *682 sender: *4 required: - action @@ -176968,12 +176939,12 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *679 + installation: *680 + number: *724 + organization: *681 + pull_request: *725 + repository: *682 sender: *4 required: - action @@ -177348,9 +177319,9 @@ webhooks: - start_side - side - reactions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 pull_request: type: object properties: @@ -179580,7 +179551,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *682 sender: *4 required: - action @@ -179660,7 +179631,7 @@ webhooks: type: string enum: - deleted - comment: &732 + comment: &728 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 +179924,9 @@ webhooks: - start_side - side - reactions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 pull_request: type: object properties: @@ -182173,7 +182144,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *682 sender: *4 required: - action @@ -182253,11 +182224,11 @@ webhooks: type: string enum: - edited - changes: *731 - comment: *732 - enterprise: *683 - installation: *684 - organization: *685 + changes: *727 + comment: *728 + enterprise: *679 + installation: *680 + organization: *681 pull_request: type: object properties: @@ -184478,7 +184449,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *682 sender: *4 required: - action @@ -184559,9 +184530,9 @@ webhooks: type: string enum: - dismissed - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 pull_request: title: Simple Pull Request type: object @@ -186794,7 +186765,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *682 review: description: The review that was affected. type: object @@ -187045,9 +187016,9 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 pull_request: title: Simple Pull Request type: object @@ -189161,8 +189132,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 - review: &733 + repository: *682 + review: &729 description: The review that was affected. type: object properties: @@ -189400,12 +189371,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 number: description: The pull request number. type: integer - organization: *685 + organization: *681 pull_request: title: Pull Request type: object @@ -191752,7 +191723,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 requested_reviewer: title: User type: @@ -191838,12 +191809,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 number: description: The pull request number. type: integer - organization: *685 + organization: *681 pull_request: title: Pull Request type: object @@ -194197,7 +194168,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194392,12 +194363,12 @@ webhooks: type: string enum: - review_requested - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 number: description: The pull request number. type: integer - organization: *685 + organization: *681 pull_request: title: Pull Request type: object @@ -196746,7 +196717,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 requested_reviewer: title: User type: @@ -196833,12 +196804,12 @@ webhooks: type: string enum: - review_requested - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 number: description: The pull request number. type: integer - organization: *685 + organization: *681 pull_request: title: Pull Request type: object @@ -199178,7 +199149,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199362,9 +199333,9 @@ webhooks: type: string enum: - submitted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 pull_request: title: Simple Pull Request type: object @@ -201600,8 +201571,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 - review: *733 + repository: *682 + review: *729 sender: *4 required: - action @@ -201681,9 +201652,9 @@ webhooks: type: string enum: - resolved - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 pull_request: title: Simple Pull Request type: object @@ -203814,7 +203785,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *682 sender: *4 thread: type: object @@ -204211,9 +204182,9 @@ webhooks: type: string enum: - unresolved - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 pull_request: title: Simple Pull Request type: object @@ -206327,7 +206298,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *682 sender: *4 thread: type: object @@ -206726,10 +206697,10 @@ webhooks: type: string before: type: string - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *679 + installation: *680 + number: *724 + organization: *681 pull_request: title: Pull Request type: object @@ -209064,7 +209035,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 sender: *4 required: - action @@ -209146,11 +209117,11 @@ webhooks: type: string enum: - unassigned - assignee: *734 - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + assignee: *730 + enterprise: *679 + installation: *680 + number: *724 + organization: *681 pull_request: title: Pull Request type: object @@ -211500,7 +211471,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 sender: *4 required: - action @@ -211579,11 +211550,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *683 - installation: *684 - label: *702 - number: *728 - organization: *685 + enterprise: *679 + installation: *680 + label: *698 + number: *724 + organization: *681 pull_request: title: Pull Request type: object @@ -213922,7 +213893,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 sender: *4 required: - action @@ -214003,10 +213974,10 @@ webhooks: type: string enum: - unlocked - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *679 + installation: *680 + number: *724 + organization: *681 pull_request: title: Pull Request type: object @@ -216335,7 +216306,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 sender: *4 required: - action @@ -216538,7 +216509,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *683 + enterprise: *679 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216633,8 +216604,8 @@ webhooks: - url - author - committer - installation: *684 - organization: *685 + installation: *680 + organization: *681 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217222,9 +217193,9 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 registry_package: type: object properties: @@ -217701,7 +217672,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *717 + items: *713 summary: type: string tag_name: @@ -217757,7 +217728,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *682 sender: *4 required: - action @@ -217835,9 +217806,9 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 registry_package: type: object properties: @@ -218149,7 +218120,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *717 + items: *713 summary: type: string tag_name: @@ -218199,7 +218170,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *682 sender: *4 required: - action @@ -218276,10 +218247,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - release: &735 + enterprise: *679 + installation: *680 + organization: *681 + release: &731 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218610,7 +218581,7 @@ webhooks: - updated_at - zipball_url - body - repository: *686 + repository: *682 sender: *4 required: - action @@ -218687,11 +218658,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + release: *731 + repository: *682 sender: *4 required: - action @@ -218808,11 +218779,11 @@ webhooks: type: boolean required: - to - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + release: *731 + repository: *682 sender: *4 required: - action @@ -218890,9 +218861,9 @@ webhooks: type: string enum: - prereleased - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -219228,7 +219199,7 @@ webhooks: - string - 'null' format: uri - repository: *686 + repository: *682 sender: *4 required: - action @@ -219304,10 +219275,10 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - release: &736 + enterprise: *679 + installation: *680 + organization: *681 + release: &732 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219640,7 +219611,7 @@ webhooks: - string - 'null' format: uri - repository: *686 + repository: *682 sender: *4 required: - action @@ -219716,11 +219687,11 @@ webhooks: type: string enum: - released - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + release: *731 + repository: *682 sender: *4 required: - action @@ -219796,11 +219767,11 @@ webhooks: type: string enum: - unpublished - enterprise: *683 - installation: *684 - organization: *685 - release: *736 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + release: *732 + repository: *682 sender: *4 required: - action @@ -219876,11 +219847,11 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_advisory: *603 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + repository_advisory: *599 sender: *4 required: - action @@ -219956,11 +219927,11 @@ webhooks: type: string enum: - reported - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_advisory: *603 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + repository_advisory: *599 sender: *4 required: - action @@ -220036,10 +220007,10 @@ webhooks: type: string enum: - archived - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -220116,10 +220087,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -220197,10 +220168,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -220285,10 +220256,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: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -220403,10 +220374,10 @@ webhooks: - 'null' items: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -220478,10 +220449,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 status: type: string @@ -220562,10 +220533,10 @@ webhooks: type: string enum: - privatized - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -220642,10 +220613,10 @@ webhooks: type: string enum: - publicized - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -220739,10 +220710,10 @@ webhooks: - name required: - repository - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -220822,11 +220793,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_ruleset: *276 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + repository_ruleset: *274 sender: *4 required: - action @@ -220904,11 +220875,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_ruleset: *276 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + repository_ruleset: *274 sender: *4 required: - action @@ -220986,11 +220957,11 @@ webhooks: type: string enum: - edited - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_ruleset: *276 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + repository_ruleset: *274 changes: type: object properties: @@ -221009,16 +220980,16 @@ webhooks: properties: added: type: array - items: *251 + items: *249 deleted: type: array - items: *251 + items: *249 updated: type: array items: type: object properties: - condition: *251 + condition: *249 changes: type: object properties: @@ -221051,16 +221022,16 @@ webhooks: properties: added: type: array - items: *568 + items: *556 deleted: type: array - items: *568 + items: *556 updated: type: array items: type: object properties: - rule: *568 + rule: *556 changes: type: object properties: @@ -221297,10 +221268,10 @@ webhooks: - from required: - owner - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -221378,10 +221349,10 @@ webhooks: type: string enum: - unarchived - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -221459,7 +221430,7 @@ webhooks: type: string enum: - create - alert: &737 + alert: &733 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221583,10 +221554,10 @@ webhooks: type: string enum: - open - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -221796,10 +221767,10 @@ webhooks: type: string enum: - dismissed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -221877,11 +221848,11 @@ webhooks: type: string enum: - reopen - alert: *737 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *733 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -222083,10 +222054,10 @@ webhooks: enum: - fixed - open - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -222164,17 +222135,17 @@ webhooks: type: string enum: - created - alert: &738 + alert: &734 type: object properties: - number: *52 - created_at: *53 + number: *142 + created_at: *143 updated_at: anyOf: - type: 'null' - - *54 - url: *55 - html_url: *56 + - *144 + url: *145 + html_url: *146 locations_url: type: string format: uri @@ -222278,10 +222249,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -222362,11 +222333,11 @@ webhooks: type: string enum: - created - alert: *738 - installation: *684 - location: *739 - organization: *685 - repository: *686 + alert: *734 + installation: *680 + location: *735 + organization: *681 + repository: *682 sender: *4 required: - location @@ -222604,11 +222575,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *734 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -222686,11 +222657,11 @@ webhooks: type: string enum: - reopened - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *734 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -222768,11 +222739,11 @@ webhooks: type: string enum: - resolved - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *734 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -222850,11 +222821,11 @@ webhooks: type: string enum: - validated - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *734 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -222984,10 +222955,10 @@ webhooks: - organization - enterprise - - repository: *686 - enterprise: *683 - installation: *684 - organization: *685 + repository: *682 + enterprise: *679 + installation: *680 + organization: *681 sender: *4 required: - action @@ -223065,11 +223036,11 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - security_advisory: &740 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + security_advisory: &736 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223255,11 +223226,11 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - security_advisory: *740 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + security_advisory: *736 sender: *4 required: - action @@ -223332,10 +223303,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223521,11 +223492,11 @@ webhooks: from: type: object properties: - security_and_analysis: *250 - enterprise: *683 - installation: *684 - organization: *685 - repository: *322 + security_and_analysis: *248 + enterprise: *679 + installation: *680 + organization: *681 + repository: *310 sender: *4 required: - changes @@ -223603,12 +223574,12 @@ webhooks: type: string enum: - cancelled - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - sponsorship: &741 + sponsorship: &737 type: object properties: created_at: @@ -223913,12 +223884,12 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - sponsorship: *741 + sponsorship: *737 required: - action - sponsorship @@ -224006,12 +223977,12 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - sponsorship: *741 + sponsorship: *737 required: - action - changes @@ -224088,17 +224059,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &742 + effective_date: &738 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: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - sponsorship: *741 + sponsorship: *737 required: - action - sponsorship @@ -224172,7 +224143,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &743 + changes: &739 type: object properties: tier: @@ -224216,13 +224187,13 @@ webhooks: - from required: - tier - effective_date: *742 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + effective_date: *738 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - sponsorship: *741 + sponsorship: *737 required: - action - changes @@ -224299,13 +224270,13 @@ webhooks: type: string enum: - tier_changed - changes: *743 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + changes: *739 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - sponsorship: *741 + sponsorship: *737 required: - action - changes @@ -224379,10 +224350,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224466,10 +224437,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224903,15 +224874,15 @@ webhooks: type: - string - 'null' - enterprise: *683 + enterprise: *679 id: description: The unique identifier of the status. type: integer - installation: *684 + installation: *680 name: type: string - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 sha: description: The Commit SHA. @@ -225021,15 +224992,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - parent_issue_repo: *66 + parent_issue: *63 + parent_issue_repo: *61 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - installation: *684 - organization: *685 - repository: *686 + sub_issue: *63 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -225113,15 +225084,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - parent_issue_repo: *66 + parent_issue: *63 + parent_issue_repo: *61 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - installation: *684 - organization: *685 - repository: *686 + sub_issue: *63 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -225205,15 +225176,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - sub_issue_repo: *66 + sub_issue: *63 + sub_issue_repo: *61 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - installation: *684 - organization: *685 - repository: *686 + parent_issue: *63 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -225297,15 +225268,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - sub_issue_repo: *66 + sub_issue: *63 + sub_issue_repo: *61 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - installation: *684 - organization: *685 - repository: *686 + parent_issue: *63 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -225382,12 +225353,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - team: &744 + team: &740 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225617,9 +225588,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 repository: title: Repository description: A git repository @@ -226089,7 +226060,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *740 required: - action - team @@ -226165,9 +226136,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 repository: title: Repository description: A git repository @@ -226637,7 +226608,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *740 required: - action - team @@ -226714,9 +226685,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 repository: title: Repository description: A git repository @@ -227186,7 +227157,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *740 required: - action - team @@ -227330,9 +227301,9 @@ webhooks: - from required: - permissions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 repository: title: Repository description: A git repository @@ -227802,7 +227773,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *740 required: - action - changes @@ -227880,9 +227851,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 repository: title: Repository description: A git repository @@ -228352,7 +228323,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *740 required: - action - team @@ -228428,10 +228399,10 @@ webhooks: type: string enum: - started - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -228504,17 +228475,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *683 + enterprise: *679 inputs: type: - object - 'null' additionalProperties: true - installation: *684 - organization: *685 + installation: *680 + organization: *681 ref: type: string - repository: *686 + repository: *682 sender: *4 workflow: type: string @@ -228596,10 +228567,10 @@ webhooks: type: string enum: - completed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 workflow_job: allOf: @@ -228855,7 +228826,7 @@ webhooks: type: string required: - conclusion - deployment: *467 + deployment: *455 required: - action - repository @@ -228934,10 +228905,10 @@ webhooks: type: string enum: - in_progress - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 workflow_job: allOf: @@ -229219,7 +229190,7 @@ webhooks: required: - status - steps - deployment: *467 + deployment: *455 required: - action - repository @@ -229298,10 +229269,10 @@ webhooks: type: string enum: - queued - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 workflow_job: type: object @@ -229447,7 +229418,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *455 required: - action - repository @@ -229526,10 +229497,10 @@ webhooks: type: string enum: - waiting - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 workflow_job: type: object @@ -229676,7 +229647,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *455 required: - action - repository @@ -229756,12 +229727,12 @@ webhooks: type: string enum: - completed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - workflow: *698 + workflow: *694 workflow_run: title: Workflow Run type: object @@ -230780,12 +230751,12 @@ webhooks: type: string enum: - in_progress - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - workflow: *698 + workflow: *694 workflow_run: title: Workflow Run type: object @@ -231789,12 +231760,12 @@ webhooks: type: string enum: - requested - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - workflow: *698 + workflow: *694 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..8b1e13016 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 @@ -22616,29 +22616,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 +24448,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", @@ -76364,7 +74184,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" ], @@ -96689,354 +94509,564 @@ "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "subject_digests": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of subject digests to fetch attestations for.", - "minItems": 1, - "maxItems": 1024 - }, - "predicate_type": { - "type": "string", - "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types." - } - }, - "required": [ - "subject_digests" - ] - }, - "examples": { - "default": { - "value": { - "subject_digests": [ - "sha256:abc123", - "sha512:def456" - ] - } - }, - "withPredicateType": { - "value": { - "subject_digests": [ - "sha256:abc123", - "sha512:def456" - ], - "predicateType": "provenance" - } - } - } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "subject_digests": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of subject digests to fetch attestations for.", + "minItems": 1, + "maxItems": 1024 + }, + "predicate_type": { + "type": "string", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types." + } + }, + "required": [ + "subject_digests" + ] + }, + "examples": { + "default": { + "value": { + "subject_digests": [ + "sha256:abc123", + "sha512:def456" + ] + } + }, + "withPredicateType": { + "value": { + "subject_digests": [ + "sha256:abc123", + "sha512:def456" + ], + "predicateType": "provenance" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "attestations_subject_digests": { + "type": "object", + "additionalProperties": { + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "bundle": { + "type": "object", + "properties": { + "mediaType": { + "type": "string" + }, + "verificationMaterial": { + "type": "object", + "properties": {}, + "additionalProperties": true + }, + "dsseEnvelope": { + "type": "object", + "properties": {}, + "additionalProperties": true + } + }, + "description": "The bundle of the attestation." + }, + "repository_id": { + "type": "integer" + }, + "bundle_url": { + "type": "string" + } + } + } + }, + "description": "Mapping of subject digest to bundles." + }, + "page_info": { + "type": "object", + "properties": { + "has_next": { + "type": "boolean", + "description": "Indicates whether there is a next page." + }, + "has_previous": { + "type": "boolean", + "description": "Indicates whether there is a previous page." + }, + "next": { + "type": "string", + "description": "The cursor to the next page." + }, + "previous": { + "type": "string", + "description": "The cursor to the previous page." + } + }, + "description": "Information about the current page." + } + } + }, + "examples": { + "default": { + "value": { + "attestations_subject_digests": [ + { + "sha256:abc": [ + { + "bundle": { + "mediaType": "application/vnd.dev.sigstore.bundle.v0.3+json", + "verificationMaterial": { + "tlogEntries": [ + { + "logIndex": "97913980", + "logId": { + "keyId": "wNI9atQGlz+VWfO6LRygH4QUfY/8W4RFwiT5i5WRgB0=" + }, + "kindVersion": { + "kind": "dsse", + "version": "0.0.1" + }, + "integratedTime": "1716998992", + "inclusionPromise": { + "signedEntryTimestamp": "MEYCIQCeEsQAy+qXtULkh52wbnHrkt2R2JQ05P9STK/xmdpQ2AIhANiG5Gw6cQiMnwvUz1+9UKtG/vlC8dduq07wsFOViwSL" + }, + "inclusionProof": { + "logIndex": "93750549", + "rootHash": "KgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=", + "treeSize": "93750551", + "hashes": [ + "8LI21mzwxnUSo0fuZeFsUrz2ujZ4QAL+oGeTG+5toZg=", + "nCb369rcIytNhGwWoqBv+eV49X3ZKpo/HJGKm9V+dck=", + "hnNQ9mUdSwYCfdV21pd87NucrdRRNZATowlaRR1hJ4A=", + "MBhhK33vlD4Tq/JKgAaXUI4VjmosWKe6+7RNpQ2ncNM=", + "XKWUE3stvGV1OHsIGiCGfn047Ok6uD4mFkh7BaicaEc=", + "Tgve40VPFfuei+0nhupdGpfPPR+hPpZjxgTiDT8WNoY=", + "wV+S/7tLtYGzkLaSb6UDqexNyhMvumHK/RpTNvEZuLU=", + "uwaWufty6sn6XqO1Tb9M3Vz6sBKPu0HT36mStxJNd7s=", + "jUfeMOXQP0XF1JAnCEETVbfRKMUwCzrVUzYi8vnDMVs=", + "xQKjzJAwwdlQG/YUYBKPXxbCmhMYKo1wnv+6vDuKWhQ=", + "cX3Agx+hP66t1ZLbX/yHbfjU46/3m/VAmWyG/fhxAVc=", + "sjohk/3DQIfXTgf/5XpwtdF7yNbrf8YykOMHr1CyBYQ=", + "98enzMaC+x5oCMvIZQA5z8vu2apDMCFvE/935NfuPw8=" + ], + "checkpoint": { + "envelope": "rekor.sigstore.dev - 2605736670972794746\\n93750551\\nKgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=\\n\\n— rekor.sigstore.dev wNI9ajBEAiBkLzdjY8A9HReU7rmtjwZ+JpSuYtEr9SmvSwUIW7FBjgIgKo+vhkW3tqc+gc8fw9gza3xLoncA8a+MTaJYCaLGA9c=\\n" + } + }, + "canonicalizedBody": "eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiZHNzZSIsInNwZWMiOnsiZW52ZWxvcGVIYXNoIjp7ImFsZ29yaXRobSI6InNoYTI1NiIsInZhbHVlIjoiM2I1YzkwNDk5MGFiYzE4NjI1ZWE3Njg4MzE1OGEwZmI4MTEwMjM4MGJkNjQwZjI5OWJlMzYwZWVkOTMxNjYwYiJ9LCJwYXlsb2FkSGFzaCI6eyJhbGdvcml0aG0iOiJzaGEyNTYiLCJ2YWx1ZSI6IjM4ZGNlZDJjMzE1MGU2OTQxMDViYjZiNDNjYjY3NzBiZTYzZDdhNGM4NjNiMTc2YTkwMmU1MGQ5ZTAyN2ZiMjMifSwic2lnbmF0dXJlcyI6W3sic2lnbmF0dXJlIjoiTUVRQ0lFR0lHQW03Z1pWTExwc3JQY2puZEVqaXVjdEUyL2M5K2o5S0d2YXp6M3JsQWlBZDZPMTZUNWhrelJNM0liUlB6bSt4VDQwbU5RWnhlZmQ3bGFEUDZ4MlhMUT09IiwidmVyaWZpZXIiOiJMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VkcVZFTkRRbWhUWjBGM1NVSkJaMGxWVjFsNGNVdHpjazFUTTFOMmJEVkphalZQUkdaQ1owMUtUeTlKZDBObldVbExiMXBKZW1vd1JVRjNUWGNLVG5wRlZrMUNUVWRCTVZWRlEyaE5UV015Ykc1ak0xSjJZMjFWZFZwSFZqSk5ValIzU0VGWlJGWlJVVVJGZUZaNllWZGtlbVJIT1hsYVV6RndZbTVTYkFwamJURnNXa2RzYUdSSFZYZElhR05PVFdwUmQwNVVTVFZOVkZsM1QxUlZlVmRvWTA1TmFsRjNUbFJKTlUxVVdYaFBWRlY1VjJwQlFVMUdhM2RGZDFsSUNrdHZXa2w2YWpCRFFWRlpTVXR2V2tsNmFqQkVRVkZqUkZGblFVVmtiV2RvVGs1M00yNVZMMHQxWlZGbmMzQkhTRmMzWjJnNVdFeEVMMWRrU1RoWlRVSUtLekJ3TUZZMGJ6RnJTRzgyWTAweGMwUktaM0pEWjFCUlZYcDRjSFZaZFc4cmVIZFFTSGxzTDJ0RWVXWXpSVXhxYTJGUFEwSlVUWGRuWjFWMlRVRTBSd3BCTVZWa1JIZEZRaTkzVVVWQmQwbElaMFJCVkVKblRsWklVMVZGUkVSQlMwSm5aM0pDWjBWR1FsRmpSRUY2UVdSQ1owNVdTRkUwUlVablVWVnhaa05RQ25aWVMwRjJVelJEWkdoUk1taGlXbGRLVTA5RmRsWnZkMGgzV1VSV1VqQnFRa0puZDBadlFWVXpPVkJ3ZWpGWmEwVmFZalZ4VG1wd1MwWlhhWGhwTkZrS1drUTRkMWRuV1VSV1VqQlNRVkZJTDBKR1FYZFViMXBOWVVoU01HTklUVFpNZVRsdVlWaFNiMlJYU1hWWk1qbDBUREpPYzJGVE9XcGlSMnQyVEcxa2NBcGtSMmd4V1drNU0ySXpTbkphYlhoMlpETk5kbHBIVm5kaVJ6azFZbGRXZFdSRE5UVmlWM2hCWTIxV2JXTjVPVzlhVjBaclkzazVNR051Vm5WaGVrRTFDa0puYjNKQ1owVkZRVmxQTDAxQlJVSkNRM1J2WkVoU2QyTjZiM1pNTTFKMllUSldkVXh0Um1wa1IyeDJZbTVOZFZveWJEQmhTRlpwWkZoT2JHTnRUbllLWW01U2JHSnVVWFZaTWpsMFRVSTRSME5wYzBkQlVWRkNaemM0ZDBGUlNVVkZXR1IyWTIxMGJXSkhPVE5ZTWxKd1l6TkNhR1JIVG05TlJGbEhRMmx6UndwQlVWRkNaemM0ZDBGUlRVVkxSMXBvV2xkWmVWcEhVbXRQUkVacFRVUmplazVxWXpCUFJGRjRUVEpGTTFsNldUQk9iVTVyVFVkS2JWbDZTVEpaZWtGM0NsbFVRWGRIUVZsTFMzZFpRa0pCUjBSMmVrRkNRa0ZSUzFKSFZuZGlSemsxWWxkV2RXUkVRVlpDWjI5eVFtZEZSVUZaVHk5TlFVVkdRa0ZrYW1KSGEzWUtXVEo0Y0UxQ05FZERhWE5IUVZGUlFtYzNPSGRCVVZsRlJVaEtiRnB1VFhaaFIxWm9Xa2hOZG1SSVNqRmliWE4zVDNkWlMwdDNXVUpDUVVkRWRucEJRZ3BEUVZGMFJFTjBiMlJJVW5kamVtOTJURE5TZG1FeVZuVk1iVVpxWkVkc2RtSnVUWFZhTW13d1lVaFdhV1JZVG14amJVNTJZbTVTYkdKdVVYVlpNamwwQ2sxR2QwZERhWE5IUVZGUlFtYzNPSGRCVVd0RlZHZDRUV0ZJVWpCalNFMDJUSGs1Ym1GWVVtOWtWMGwxV1RJNWRFd3lUbk5oVXpscVlrZHJka3h0WkhBS1pFZG9NVmxwT1ROaU0wcHlXbTE0ZG1RelRYWmFSMVozWWtjNU5XSlhWblZrUXpVMVlsZDRRV050Vm0xamVUbHZXbGRHYTJONU9UQmpibFoxWVhwQk5BcENaMjl5UW1kRlJVRlpUeTlOUVVWTFFrTnZUVXRIV21oYVYxbDVXa2RTYTA5RVJtbE5SR042VG1wak1FOUVVWGhOTWtVeldYcFpNRTV0VG10TlIwcHRDbGw2U1RKWmVrRjNXVlJCZDBoUldVdExkMWxDUWtGSFJIWjZRVUpEZDFGUVJFRXhibUZZVW05a1YwbDBZVWM1ZW1SSFZtdE5RMjlIUTJselIwRlJVVUlLWnpjNGQwRlJkMFZJUVhkaFlVaFNNR05JVFRaTWVUbHVZVmhTYjJSWFNYVlpNamwwVERKT2MyRlRPV3BpUjJ0M1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWdwRVVWRnhSRU5vYlZsWFZtMU5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBGSENrTnBjMGRCVVZGQ1p6YzRkMEZSTkVWRlozZFJZMjFXYldONU9XOWFWMFpyWTNrNU1HTnVWblZoZWtGYVFtZHZja0puUlVWQldVOHZUVUZGVUVKQmMwMEtRMVJKZUUxcVdYaE5la0V3VDFSQmJVSm5iM0pDWjBWRlFWbFBMMDFCUlZGQ1FtZE5SbTFvTUdSSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhZ3BpUjJ0M1IwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWUlVVdEVRV2N4VDFSamQwNUVZM2hOVkVKalFtZHZja0puUlVWQldVOHZUVUZGVTBKRk5FMVVSMmd3Q21SSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhbUpIYTNaWk1uaHdUSGsxYm1GWVVtOWtWMGwyWkRJNWVXRXlXbk5pTTJSNlRESlNiR05IZUhZS1pWY3hiR0p1VVhWbFZ6RnpVVWhLYkZwdVRYWmhSMVpvV2toTmRtUklTakZpYlhOM1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWM1VYRkVRMmh0V1ZkV2JRcE5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBWSFEybHpSMEZSVVVKbk56aDNDa0ZTVVVWRmQzZFNaREk1ZVdFeVduTmlNMlJtV2tkc2VtTkhSakJaTW1kM1ZGRlpTMHQzV1VKQ1FVZEVkbnBCUWtaUlVTOUVSREZ2WkVoU2QyTjZiM1lLVERKa2NHUkhhREZaYVRWcVlqSXdkbGt5ZUhCTU1rNXpZVk01YUZrelVuQmlNalY2VEROS01XSnVUWFpQVkVrMFQxUkJNMDVVWXpGTmFUbG9aRWhTYkFwaVdFSXdZM2s0ZUUxQ1dVZERhWE5IUVZGUlFtYzNPSGRCVWxsRlEwRjNSMk5JVm1saVIyeHFUVWxIVEVKbmIzSkNaMFZGUVdSYU5VRm5VVU5DU0RCRkNtVjNRalZCU0dOQk0xUXdkMkZ6WWtoRlZFcHFSMUkwWTIxWFl6TkJjVXBMV0hKcVpWQkxNeTlvTkhCNVowTTRjRGR2TkVGQlFVZFFlRkl4ZW1KblFVRUtRa0ZOUVZORVFrZEJhVVZCS3pobmJGRkplRTlCYUZoQ1FVOVRObE1yT0ZweGQwcGpaSGQzVTNJdlZGZHBhSE16WkV4eFZrRjJiME5KVVVSaWVUbG9NUXBKWTNWRVJYSXJlbk5YYVV3NFVIYzFRMU5VZEd0c2RFbzBNakZ6UlRneFZuWjFOa0Z3VkVGTFFtZG5jV2hyYWs5UVVWRkVRWGRPYmtGRVFtdEJha0VyQ2tSSU4xQXJhR2cwVmtoWFprTlhXSFJ5UzFSdlFrdDFZa0pyUzNCbVYwTlpVWGhxV0UweWRsWXZibEJ4WWxwR1dVOVdXazlpWlRaQlRuSm5lV1J2V1VNS1RVWlZUV0l6ZUhwelJrNVJXWFp6UlZsUGFUSkxibkoyUmpCMFoyOXdiVmhIVm05NmJsb3JjUzh5UVVsRVZ6bEdNVVUzV1RaWk1EWXhaVzkxUVZsa1NBcFhkejA5Q2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLIn1dfX0=" + } + ], + "timestampVerificationData": {}, + "certificate": { + "rawBytes": "MIIGjTCCBhSgAwIBAgIUWYxqKsrMS3Svl5Ij5ODfBgMJO/IwCgYIKoZIzj0EAwMwNzEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MR4wHAYDVQQDExVzaWdzdG9yZS1pbnRlcm1lZGlhdGUwHhcNMjQwNTI5MTYwOTUyWhcNMjQwNTI5MTYxOTUyWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdmghNNw3nU/KueQgspGHW7gh9XLD/WdI8YMB+0p0V4o1kHo6cM1sDJgrCgPQUzxpuYuo+xwPHyl/kDyf3ELjkaOCBTMwggUvMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDAzAdBgNVHQ4EFgQUqfCPvXKAvS4CdhQ2hbZWJSOEvVowHwYDVR0jBBgwFoAU39Ppz1YkEZb5qNjpKFWixi4YZD8wWgYDVR0RAQH/BFAwToZMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA5BgorBgEEAYO/MAEBBCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMB8GCisGAQQBg78wAQIEEXdvcmtmbG93X2Rpc3BhdGNoMDYGCisGAQQBg78wAQMEKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwGAYKKwYBBAGDvzABBAQKRGVwbG95bWVudDAVBgorBgEEAYO/MAEFBAdjbGkvY2xpMB4GCisGAQQBg78wAQYEEHJlZnMvaGVhZHMvdHJ1bmswOwYKKwYBBAGDvzABCAQtDCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMFwGCisGAQQBg78wAQkETgxMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA4BgorBgEEAYO/MAEKBCoMKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwHQYKKwYBBAGDvzABCwQPDA1naXRodWItaG9zdGVkMCoGCisGAQQBg78wAQwEHAwaaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkwOAYKKwYBBAGDvzABDQQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCAGCisGAQQBg78wAQ4EEgwQcmVmcy9oZWFkcy90cnVuazAZBgorBgEEAYO/MAEPBAsMCTIxMjYxMzA0OTAmBgorBgEEAYO/MAEQBBgMFmh0dHBzOi8vZ2l0aHViLmNvbS9jbGkwGAYKKwYBBAGDvzABEQQKDAg1OTcwNDcxMTBcBgorBgEEAYO/MAESBE4MTGh0dHBzOi8vZ2l0aHViLmNvbS9jbGkvY2xpLy5naXRodWIvd29ya2Zsb3dzL2RlcGxveW1lbnQueW1sQHJlZnMvaGVhZHMvdHJ1bmswOAYKKwYBBAGDvzABEwQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCEGCisGAQQBg78wARQEEwwRd29ya2Zsb3dfZGlzcGF0Y2gwTQYKKwYBBAGDvzABFQQ/DD1odHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaS9hY3Rpb25zL3J1bnMvOTI4OTA3NTc1Mi9hdHRlbXB0cy8xMBYGCisGAQQBg78wARYECAwGcHVibGljMIGLBgorBgEEAdZ5AgQCBH0EewB5AHcA3T0wasbHETJjGR4cmWc3AqJKXrjePK3/h4pygC8p7o4AAAGPxR1zbgAABAMASDBGAiEA+8glQIxOAhXBAOS6S+8ZqwJcdwwSr/TWihs3dLqVAvoCIQDby9h1IcuDEr+zsWiL8Pw5CSTtkltJ421sE81Vvu6ApTAKBggqhkjOPQQDAwNnADBkAjA+DH7P+hh4VHWfCWXtrKToBKubBkKpfWCYQxjXM2vV/nPqbZFYOVZObe6ANrgydoYCMFUMb3xzsFNQYvsEYOi2KnrvF0tgopmXGVoznZ+q/2AIDW9F1E7Y6Y061eouAYdHWw==" + } + }, + "dsseEnvelope": { + "payload": "eyJfdHlwZSI6Imh0dHBzOi8vaW4tdG90by5pby9TdGF0ZW1lbnQvdjEiLCJzdWJqZWN0IjpbeyJuYW1lIjoiZ2hfMi41MC4wX3dpbmRvd3NfYXJtNjQuemlwIiwiZGlnZXN0Ijp7InNoYTI1NiI6IjhhYWQxMjBiNDE2Mzg2YjQyNjllZjYyYzhmZGViY2FkMzFhNzA4NDcyOTc4MTdhMTQ5ZGFmOTI3ZWRjODU1NDgifX1dLCJwcmVkaWNhdGVUeXBlIjoiaHR0cHM6Ly9zbHNhLmRldi9wcm92ZW5hbmNlL3YxIiwicHJlZGljYXRlIjp7ImJ1aWxkRGVmaW5pdGlvbiI6eyJidWlsZFR5cGUiOiJodHRwczovL3Nsc2EtZnJhbWV3b3JrLmdpdGh1Yi5pby9naXRodWItYWN0aW9ucy1idWlsZHR5cGVzL3dvcmtmbG93L3YxIiwiZXh0ZXJuYWxQYXJhbWV0ZXJzIjp7IndvcmtmbG93Ijp7InJlZiI6InJlZnMvaGVhZHMvdHJ1bmsiLCJyZXBvc2l0b3J5IjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkiLCJwYXRoIjoiLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWwifX0sImludGVybmFsUGFyYW1ldGVycyI6eyJnaXRodWIiOnsiZXZlbnRfbmFtZSI6IndvcmtmbG93X2Rpc3BhdGNoIiwicmVwb3NpdG9yeV9pZCI6IjIxMjYxMzA0OSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1OTcwNDcxMSJ9fSwicmVzb2x2ZWREZXBlbmRlbmNpZXMiOlt7InVyaSI6ImdpdCtodHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaUByZWZzL2hlYWRzL3RydW5rIiwiZGlnZXN0Ijp7ImdpdENvbW1pdCI6ImZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAifX1dfSwicnVuRGV0YWlscyI6eyJidWlsZGVyIjp7ImlkIjoiaHR0cHM6Ly9naXRodWIuY29tL2FjdGlvbnMvcnVubmVyL2dpdGh1Yi1ob3N0ZWQifSwibWV0YWRhdGEiOnsiaW52b2NhdGlvbklkIjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvYWN0aW9ucy9ydW5zLzkyODkwNzU3NTIvYXR0ZW1wdHMvMSJ9fX19", + "payloadType": "application/vnd.in-toto+json", + "signatures": [ + { + "sig": "MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ==" + } + ] + } + }, + "repository_id": 1 + }, + { + "bundle": { + "mediaType": "application/vnd.dev.sigstore.bundle.v0.3+json", + "verificationMaterial": { + "tlogEntries": [ + { + "logIndex": "97913980", + "logId": { + "keyId": "wNI9atQGlz+VWfO6LRygH4QUfY/8W4RFwiT5i5WRgB0=" + }, + "kindVersion": { + "kind": "dsse", + "version": "0.0.1" + }, + "integratedTime": "1716998992", + "inclusionPromise": { + "signedEntryTimestamp": "MEYCIQCeEsQAy+qXtULkh52wbnHrkt2R2JQ05P9STK/xmdpQ2AIhANiG5Gw6cQiMnwvUz1+9UKtG/vlC8dduq07wsFOViwSL" + }, + "inclusionProof": { + "logIndex": "93750549", + "rootHash": "KgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=", + "treeSize": "93750551", + "hashes": [ + "8LI21mzwxnUSo0fuZeFsUrz2ujZ4QAL+oGeTG+5toZg=", + "nCb369rcIytNhGwWoqBv+eV49X3ZKpo/HJGKm9V+dck=", + "hnNQ9mUdSwYCfdV21pd87NucrdRRNZATowlaRR1hJ4A=", + "MBhhK33vlD4Tq/JKgAaXUI4VjmosWKe6+7RNpQ2ncNM=", + "XKWUE3stvGV1OHsIGiCGfn047Ok6uD4mFkh7BaicaEc=", + "Tgve40VPFfuei+0nhupdGpfPPR+hPpZjxgTiDT8WNoY=", + "wV+S/7tLtYGzkLaSb6UDqexNyhMvumHK/RpTNvEZuLU=", + "uwaWufty6sn6XqO1Tb9M3Vz6sBKPu0HT36mStxJNd7s=", + "jUfeMOXQP0XF1JAnCEETVbfRKMUwCzrVUzYi8vnDMVs=", + "xQKjzJAwwdlQG/YUYBKPXxbCmhMYKo1wnv+6vDuKWhQ=", + "cX3Agx+hP66t1ZLbX/yHbfjU46/3m/VAmWyG/fhxAVc=", + "sjohk/3DQIfXTgf/5XpwtdF7yNbrf8YykOMHr1CyBYQ=", + "98enzMaC+x5oCMvIZQA5z8vu2apDMCFvE/935NfuPw8=" + ], + "checkpoint": { + "envelope": "rekor.sigstore.dev - 2605736670972794746\\n93750551\\nKgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=\\n\\n— rekor.sigstore.dev wNI9ajBEAiBkLzdjY8A9HReU7rmtjwZ+JpSuYtEr9SmvSwUIW7FBjgIgKo+vhkW3tqc+gc8fw9gza3xLoncA8a+MTaJYCaLGA9c=\\n" + } + }, + "canonicalizedBody": "eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiZHNzZSIsInNwZWMiOnsiZW52ZWxvcGVIYXNoIjp7ImFsZ29yaXRobSI6InNoYTI1NiIsInZhbHVlIjoiM2I1YzkwNDk5MGFiYzE4NjI1ZWE3Njg4MzE1OGEwZmI4MTEwMjM4MGJkNjQwZjI5OWJlMzYwZWVkOTMxNjYwYiJ9LCJwYXlsb2FkSGFzaCI6eyJhbGdvcml0aG0iOiJzaGEyNTYiLCJ2YWx1ZSI6IjM4ZGNlZDJjMzE1MGU2OTQxMDViYjZiNDNjYjY3NzBiZTYzZDdhNGM4NjNiMTc2YTkwMmU1MGQ5ZTAyN2ZiMjMifSwic2lnbmF0dXJlcyI6W3sic2lnbmF0dXJlIjoiTUVRQ0lFR0lHQW03Z1pWTExwc3JQY2puZEVqaXVjdEUyL2M5K2o5S0d2YXp6M3JsQWlBZDZPMTZUNWhrelJNM0liUlB6bSt4VDQwbU5RWnhlZmQ3bGFEUDZ4MlhMUT09IiwidmVyaWZpZXIiOiJMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VkcVZFTkRRbWhUWjBGM1NVSkJaMGxWVjFsNGNVdHpjazFUTTFOMmJEVkphalZQUkdaQ1owMUtUeTlKZDBObldVbExiMXBKZW1vd1JVRjNUWGNLVG5wRlZrMUNUVWRCTVZWRlEyaE5UV015Ykc1ak0xSjJZMjFWZFZwSFZqSk5ValIzU0VGWlJGWlJVVVJGZUZaNllWZGtlbVJIT1hsYVV6RndZbTVTYkFwamJURnNXa2RzYUdSSFZYZElhR05PVFdwUmQwNVVTVFZOVkZsM1QxUlZlVmRvWTA1TmFsRjNUbFJKTlUxVVdYaFBWRlY1VjJwQlFVMUdhM2RGZDFsSUNrdHZXa2w2YWpCRFFWRlpTVXR2V2tsNmFqQkVRVkZqUkZGblFVVmtiV2RvVGs1M00yNVZMMHQxWlZGbmMzQkhTRmMzWjJnNVdFeEVMMWRrU1RoWlRVSUtLekJ3TUZZMGJ6RnJTRzgyWTAweGMwUktaM0pEWjFCUlZYcDRjSFZaZFc4cmVIZFFTSGxzTDJ0RWVXWXpSVXhxYTJGUFEwSlVUWGRuWjFWMlRVRTBSd3BCTVZWa1JIZEZRaTkzVVVWQmQwbElaMFJCVkVKblRsWklVMVZGUkVSQlMwSm5aM0pDWjBWR1FsRmpSRUY2UVdSQ1owNVdTRkUwUlVablVWVnhaa05RQ25aWVMwRjJVelJEWkdoUk1taGlXbGRLVTA5RmRsWnZkMGgzV1VSV1VqQnFRa0puZDBadlFWVXpPVkJ3ZWpGWmEwVmFZalZ4VG1wd1MwWlhhWGhwTkZrS1drUTRkMWRuV1VSV1VqQlNRVkZJTDBKR1FYZFViMXBOWVVoU01HTklUVFpNZVRsdVlWaFNiMlJYU1hWWk1qbDBUREpPYzJGVE9XcGlSMnQyVEcxa2NBcGtSMmd4V1drNU0ySXpTbkphYlhoMlpETk5kbHBIVm5kaVJ6azFZbGRXZFdSRE5UVmlWM2hCWTIxV2JXTjVPVzlhVjBaclkzazVNR051Vm5WaGVrRTFDa0puYjNKQ1owVkZRVmxQTDAxQlJVSkNRM1J2WkVoU2QyTjZiM1pNTTFKMllUSldkVXh0Um1wa1IyeDJZbTVOZFZveWJEQmhTRlpwWkZoT2JHTnRUbllLWW01U2JHSnVVWFZaTWpsMFRVSTRSME5wYzBkQlVWRkNaemM0ZDBGUlNVVkZXR1IyWTIxMGJXSkhPVE5ZTWxKd1l6TkNhR1JIVG05TlJGbEhRMmx6UndwQlVWRkNaemM0ZDBGUlRVVkxSMXBvV2xkWmVWcEhVbXRQUkVacFRVUmplazVxWXpCUFJGRjRUVEpGTTFsNldUQk9iVTVyVFVkS2JWbDZTVEpaZWtGM0NsbFVRWGRIUVZsTFMzZFpRa0pCUjBSMmVrRkNRa0ZSUzFKSFZuZGlSemsxWWxkV2RXUkVRVlpDWjI5eVFtZEZSVUZaVHk5TlFVVkdRa0ZrYW1KSGEzWUtXVEo0Y0UxQ05FZERhWE5IUVZGUlFtYzNPSGRCVVZsRlJVaEtiRnB1VFhaaFIxWm9Xa2hOZG1SSVNqRmliWE4zVDNkWlMwdDNXVUpDUVVkRWRucEJRZ3BEUVZGMFJFTjBiMlJJVW5kamVtOTJURE5TZG1FeVZuVk1iVVpxWkVkc2RtSnVUWFZhTW13d1lVaFdhV1JZVG14amJVNTJZbTVTYkdKdVVYVlpNamwwQ2sxR2QwZERhWE5IUVZGUlFtYzNPSGRCVVd0RlZHZDRUV0ZJVWpCalNFMDJUSGs1Ym1GWVVtOWtWMGwxV1RJNWRFd3lUbk5oVXpscVlrZHJka3h0WkhBS1pFZG9NVmxwT1ROaU0wcHlXbTE0ZG1RelRYWmFSMVozWWtjNU5XSlhWblZrUXpVMVlsZDRRV050Vm0xamVUbHZXbGRHYTJONU9UQmpibFoxWVhwQk5BcENaMjl5UW1kRlJVRlpUeTlOUVVWTFFrTnZUVXRIV21oYVYxbDVXa2RTYTA5RVJtbE5SR042VG1wak1FOUVVWGhOTWtVeldYcFpNRTV0VG10TlIwcHRDbGw2U1RKWmVrRjNXVlJCZDBoUldVdExkMWxDUWtGSFJIWjZRVUpEZDFGUVJFRXhibUZZVW05a1YwbDBZVWM1ZW1SSFZtdE5RMjlIUTJselIwRlJVVUlLWnpjNGQwRlJkMFZJUVhkaFlVaFNNR05JVFRaTWVUbHVZVmhTYjJSWFNYVlpNamwwVERKT2MyRlRPV3BpUjJ0M1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWdwRVVWRnhSRU5vYlZsWFZtMU5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBGSENrTnBjMGRCVVZGQ1p6YzRkMEZSTkVWRlozZFJZMjFXYldONU9XOWFWMFpyWTNrNU1HTnVWblZoZWtGYVFtZHZja0puUlVWQldVOHZUVUZGVUVKQmMwMEtRMVJKZUUxcVdYaE5la0V3VDFSQmJVSm5iM0pDWjBWRlFWbFBMMDFCUlZGQ1FtZE5SbTFvTUdSSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhZ3BpUjJ0M1IwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWUlVVdEVRV2N4VDFSamQwNUVZM2hOVkVKalFtZHZja0puUlVWQldVOHZUVUZGVTBKRk5FMVVSMmd3Q21SSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhbUpIYTNaWk1uaHdUSGsxYm1GWVVtOWtWMGwyWkRJNWVXRXlXbk5pTTJSNlRESlNiR05IZUhZS1pWY3hiR0p1VVhWbFZ6RnpVVWhLYkZwdVRYWmhSMVpvV2toTmRtUklTakZpYlhOM1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWM1VYRkVRMmh0V1ZkV2JRcE5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBWSFEybHpSMEZSVVVKbk56aDNDa0ZTVVVWRmQzZFNaREk1ZVdFeVduTmlNMlJtV2tkc2VtTkhSakJaTW1kM1ZGRlpTMHQzV1VKQ1FVZEVkbnBCUWtaUlVTOUVSREZ2WkVoU2QyTjZiM1lLVERKa2NHUkhhREZaYVRWcVlqSXdkbGt5ZUhCTU1rNXpZVk01YUZrelVuQmlNalY2VEROS01XSnVUWFpQVkVrMFQxUkJNMDVVWXpGTmFUbG9aRWhTYkFwaVdFSXdZM2s0ZUUxQ1dVZERhWE5IUVZGUlFtYzNPSGRCVWxsRlEwRjNSMk5JVm1saVIyeHFUVWxIVEVKbmIzSkNaMFZGUVdSYU5VRm5VVU5DU0RCRkNtVjNRalZCU0dOQk0xUXdkMkZ6WWtoRlZFcHFSMUkwWTIxWFl6TkJjVXBMV0hKcVpWQkxNeTlvTkhCNVowTTRjRGR2TkVGQlFVZFFlRkl4ZW1KblFVRUtRa0ZOUVZORVFrZEJhVVZCS3pobmJGRkplRTlCYUZoQ1FVOVRObE1yT0ZweGQwcGpaSGQzVTNJdlZGZHBhSE16WkV4eFZrRjJiME5KVVVSaWVUbG9NUXBKWTNWRVJYSXJlbk5YYVV3NFVIYzFRMU5VZEd0c2RFbzBNakZ6UlRneFZuWjFOa0Z3VkVGTFFtZG5jV2hyYWs5UVVWRkVRWGRPYmtGRVFtdEJha0VyQ2tSSU4xQXJhR2cwVmtoWFprTlhXSFJ5UzFSdlFrdDFZa0pyUzNCbVYwTlpVWGhxV0UweWRsWXZibEJ4WWxwR1dVOVdXazlpWlRaQlRuSm5lV1J2V1VNS1RVWlZUV0l6ZUhwelJrNVJXWFp6UlZsUGFUSkxibkoyUmpCMFoyOXdiVmhIVm05NmJsb3JjUzh5UVVsRVZ6bEdNVVUzV1RaWk1EWXhaVzkxUVZsa1NBcFhkejA5Q2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLIn1dfX0=" + } + ], + "timestampVerificationData": {}, + "certificate": { + "rawBytes": "MIIGjTCCBhSgAwIBAgIUWYxqKsrMS3Svl5Ij5ODfBgMJO/IwCgYIKoZIzj0EAwMwNzEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MR4wHAYDVQQDExVzaWdzdG9yZS1pbnRlcm1lZGlhdGUwHhcNMjQwNTI5MTYwOTUyWhcNMjQwNTI5MTYxOTUyWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdmghNNw3nU/KueQgspGHW7gh9XLD/WdI8YMB+0p0V4o1kHo6cM1sDJgrCgPQUzxpuYuo+xwPHyl/kDyf3ELjkaOCBTMwggUvMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDAzAdBgNVHQ4EFgQUqfCPvXKAvS4CdhQ2hbZWJSOEvVowHwYDVR0jBBgwFoAU39Ppz1YkEZb5qNjpKFWixi4YZD8wWgYDVR0RAQH/BFAwToZMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA5BgorBgEEAYO/MAEBBCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMB8GCisGAQQBg78wAQIEEXdvcmtmbG93X2Rpc3BhdGNoMDYGCisGAQQBg78wAQMEKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwGAYKKwYBBAGDvzABBAQKRGVwbG95bWVudDAVBgorBgEEAYO/MAEFBAdjbGkvY2xpMB4GCisGAQQBg78wAQYEEHJlZnMvaGVhZHMvdHJ1bmswOwYKKwYBBAGDvzABCAQtDCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMFwGCisGAQQBg78wAQkETgxMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA4BgorBgEEAYO/MAEKBCoMKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwHQYKKwYBBAGDvzABCwQPDA1naXRodWItaG9zdGVkMCoGCisGAQQBg78wAQwEHAwaaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkwOAYKKwYBBAGDvzABDQQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCAGCisGAQQBg78wAQ4EEgwQcmVmcy9oZWFkcy90cnVuazAZBgorBgEEAYO/MAEPBAsMCTIxMjYxMzA0OTAmBgorBgEEAYO/MAEQBBgMFmh0dHBzOi8vZ2l0aHViLmNvbS9jbGkwGAYKKwYBBAGDvzABEQQKDAg1OTcwNDcxMTBcBgorBgEEAYO/MAESBE4MTGh0dHBzOi8vZ2l0aHViLmNvbS9jbGkvY2xpLy5naXRodWIvd29ya2Zsb3dzL2RlcGxveW1lbnQueW1sQHJlZnMvaGVhZHMvdHJ1bmswOAYKKwYBBAGDvzABEwQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCEGCisGAQQBg78wARQEEwwRd29ya2Zsb3dfZGlzcGF0Y2gwTQYKKwYBBAGDvzABFQQ/DD1odHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaS9hY3Rpb25zL3J1bnMvOTI4OTA3NTc1Mi9hdHRlbXB0cy8xMBYGCisGAQQBg78wARYECAwGcHVibGljMIGLBgorBgEEAdZ5AgQCBH0EewB5AHcA3T0wasbHETJjGR4cmWc3AqJKXrjePK3/h4pygC8p7o4AAAGPxR1zbgAABAMASDBGAiEA+8glQIxOAhXBAOS6S+8ZqwJcdwwSr/TWihs3dLqVAvoCIQDby9h1IcuDEr+zsWiL8Pw5CSTtkltJ421sE81Vvu6ApTAKBggqhkjOPQQDAwNnADBkAjA+DH7P+hh4VHWfCWXtrKToBKubBkKpfWCYQxjXM2vV/nPqbZFYOVZObe6ANrgydoYCMFUMb3xzsFNQYvsEYOi2KnrvF0tgopmXGVoznZ+q/2AIDW9F1E7Y6Y061eouAYdHWw==" + } + }, + "dsseEnvelope": { + "payload": "eyJfdHlwZSI6Imh0dHBzOi8vaW4tdG90by5pby9TdGF0ZW1lbnQvdjEiLCJzdWJqZWN0IjpbeyJuYW1lIjoiZ2hfMi41MC4wX3dpbmRvd3NfYXJtNjQuemlwIiwiZGlnZXN0Ijp7InNoYTI1NiI6IjhhYWQxMjBiNDE2Mzg2YjQyNjllZjYyYzhmZGViY2FkMzFhNzA4NDcyOTc4MTdhMTQ5ZGFmOTI3ZWRjODU1NDgifX1dLCJwcmVkaWNhdGVUeXBlIjoiaHR0cHM6Ly9zbHNhLmRldi9wcm92ZW5hbmNlL3YxIiwicHJlZGljYXRlIjp7ImJ1aWxkRGVmaW5pdGlvbiI6eyJidWlsZFR5cGUiOiJodHRwczovL3Nsc2EtZnJhbWV3b3JrLmdpdGh1Yi5pby9naXRodWItYWN0aW9ucy1idWlsZHR5cGVzL3dvcmtmbG93L3YxIiwiZXh0ZXJuYWxQYXJhbWV0ZXJzIjp7IndvcmtmbG93Ijp7InJlZiI6InJlZnMvaGVhZHMvdHJ1bmsiLCJyZXBvc2l0b3J5IjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkiLCJwYXRoIjoiLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWwifX0sImludGVybmFsUGFyYW1ldGVycyI6eyJnaXRodWIiOnsiZXZlbnRfbmFtZSI6IndvcmtmbG93X2Rpc3BhdGNoIiwicmVwb3NpdG9yeV9pZCI6IjIxMjYxMzA0OSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1OTcwNDcxMSJ9fSwicmVzb2x2ZWREZXBlbmRlbmNpZXMiOlt7InVyaSI6ImdpdCtodHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaUByZWZzL2hlYWRzL3RydW5rIiwiZGlnZXN0Ijp7ImdpdENvbW1pdCI6ImZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAifX1dfSwicnVuRGV0YWlscyI6eyJidWlsZGVyIjp7ImlkIjoiaHR0cHM6Ly9naXRodWIuY29tL2FjdGlvbnMvcnVubmVyL2dpdGh1Yi1ob3N0ZWQifSwibWV0YWRhdGEiOnsiaW52b2NhdGlvbklkIjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvYWN0aW9ucy9ydW5zLzkyODkwNzU3NTIvYXR0ZW1wdHMvMSJ9fX19", + "payloadType": "application/vnd.in-toto+json", + "signatures": [ + { + "sig": "MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ==" + } + ] + } + }, + "repository_id": 1 + } + ] + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, + "/orgs/{org}/attestations/delete-request": { + "post": { + "summary": "Delete attestations in bulk", + "description": "Delete artifact attestations in bulk by either subject digests or unique ID.", + "tags": [ + "orgs" + ], + "operationId": "orgs/delete-attestations-bulk", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "oneOf": [ + { + "properties": { + "subject_digests": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of subject digests associated with the artifact attestations to delete.", + "minItems": 1, + "maxItems": 1024 + } + }, + "required": [ + "subject_digests" + ] + }, + { + "properties": { + "attestation_ids": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of unique IDs associated with the artifact attestations to delete.", + "minItems": 1, + "maxItems": 1024 + } + }, + "required": [ + "attestation_ids" + ] + } + ], + "description": "The request body must include either `subject_digests` or `attestation_ids`, but not both." + }, + "examples": { + "by-subject-digests": { + "summary": "Delete by subject digests", + "value": { + "subject_digests": [ + "sha256:abc123", + "sha512:def456" + ] + } + }, + "by-attestation-ids": { + "summary": "Delete by attestation IDs", + "value": { + "attestation_ids": [ + 111, + 222 + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response" + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, + "/orgs/{org}/attestations/digest/{subject_digest}": { + "delete": { + "summary": "Delete attestations by subject digest", + "description": "Delete an artifact attestation by subject digest.", + "tags": [ + "orgs" + ], + "operationId": "orgs/delete-attestations-by-subject-digest", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "subject_digest", + "description": "Subject Digest", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + } + ], + "responses": { + "200": { + "description": "Response" + }, + "204": { + "description": "Response" + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "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\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/orgs#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": "object", - "properties": { - "attestations_subject_digests": { - "type": "object", - "additionalProperties": { - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "bundle": { - "type": "object", - "properties": { - "mediaType": { - "type": "string" - }, - "verificationMaterial": { - "type": "object", - "properties": {}, - "additionalProperties": true - }, - "dsseEnvelope": { - "type": "object", - "properties": {}, - "additionalProperties": true - } - }, - "description": "The bundle of the attestation." - }, - "repository_id": { - "type": "integer" - }, - "bundle_url": { - "type": "string" - } - } - } - }, - "description": "Mapping of subject digest to bundles." - }, - "page_info": { - "type": "object", - "properties": { - "has_next": { - "type": "boolean", - "description": "Indicates whether there is a next page." - }, - "has_previous": { - "type": "boolean", - "description": "Indicates whether there is a previous page." - }, - "next": { - "type": "string", - "description": "The cursor to the next page." - }, - "previous": { - "type": "string", - "description": "The cursor to the previous page." - } + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" }, - "description": "Information about the current page." + "name": { + "type": "string" + } } } }, "examples": { "default": { - "value": { - "attestations_subject_digests": [ - { - "sha256:abc": [ - { - "bundle": { - "mediaType": "application/vnd.dev.sigstore.bundle.v0.3+json", - "verificationMaterial": { - "tlogEntries": [ - { - "logIndex": "97913980", - "logId": { - "keyId": "wNI9atQGlz+VWfO6LRygH4QUfY/8W4RFwiT5i5WRgB0=" - }, - "kindVersion": { - "kind": "dsse", - "version": "0.0.1" - }, - "integratedTime": "1716998992", - "inclusionPromise": { - "signedEntryTimestamp": "MEYCIQCeEsQAy+qXtULkh52wbnHrkt2R2JQ05P9STK/xmdpQ2AIhANiG5Gw6cQiMnwvUz1+9UKtG/vlC8dduq07wsFOViwSL" - }, - "inclusionProof": { - "logIndex": "93750549", - "rootHash": "KgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=", - "treeSize": "93750551", - "hashes": [ - "8LI21mzwxnUSo0fuZeFsUrz2ujZ4QAL+oGeTG+5toZg=", - "nCb369rcIytNhGwWoqBv+eV49X3ZKpo/HJGKm9V+dck=", - "hnNQ9mUdSwYCfdV21pd87NucrdRRNZATowlaRR1hJ4A=", - "MBhhK33vlD4Tq/JKgAaXUI4VjmosWKe6+7RNpQ2ncNM=", - "XKWUE3stvGV1OHsIGiCGfn047Ok6uD4mFkh7BaicaEc=", - "Tgve40VPFfuei+0nhupdGpfPPR+hPpZjxgTiDT8WNoY=", - "wV+S/7tLtYGzkLaSb6UDqexNyhMvumHK/RpTNvEZuLU=", - "uwaWufty6sn6XqO1Tb9M3Vz6sBKPu0HT36mStxJNd7s=", - "jUfeMOXQP0XF1JAnCEETVbfRKMUwCzrVUzYi8vnDMVs=", - "xQKjzJAwwdlQG/YUYBKPXxbCmhMYKo1wnv+6vDuKWhQ=", - "cX3Agx+hP66t1ZLbX/yHbfjU46/3m/VAmWyG/fhxAVc=", - "sjohk/3DQIfXTgf/5XpwtdF7yNbrf8YykOMHr1CyBYQ=", - "98enzMaC+x5oCMvIZQA5z8vu2apDMCFvE/935NfuPw8=" - ], - "checkpoint": { - "envelope": "rekor.sigstore.dev - 2605736670972794746\\n93750551\\nKgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=\\n\\n— rekor.sigstore.dev wNI9ajBEAiBkLzdjY8A9HReU7rmtjwZ+JpSuYtEr9SmvSwUIW7FBjgIgKo+vhkW3tqc+gc8fw9gza3xLoncA8a+MTaJYCaLGA9c=\\n" - } - }, - "canonicalizedBody": "eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiZHNzZSIsInNwZWMiOnsiZW52ZWxvcGVIYXNoIjp7ImFsZ29yaXRobSI6InNoYTI1NiIsInZhbHVlIjoiM2I1YzkwNDk5MGFiYzE4NjI1ZWE3Njg4MzE1OGEwZmI4MTEwMjM4MGJkNjQwZjI5OWJlMzYwZWVkOTMxNjYwYiJ9LCJwYXlsb2FkSGFzaCI6eyJhbGdvcml0aG0iOiJzaGEyNTYiLCJ2YWx1ZSI6IjM4ZGNlZDJjMzE1MGU2OTQxMDViYjZiNDNjYjY3NzBiZTYzZDdhNGM4NjNiMTc2YTkwMmU1MGQ5ZTAyN2ZiMjMifSwic2lnbmF0dXJlcyI6W3sic2lnbmF0dXJlIjoiTUVRQ0lFR0lHQW03Z1pWTExwc3JQY2puZEVqaXVjdEUyL2M5K2o5S0d2YXp6M3JsQWlBZDZPMTZUNWhrelJNM0liUlB6bSt4VDQwbU5RWnhlZmQ3bGFEUDZ4MlhMUT09IiwidmVyaWZpZXIiOiJMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VkcVZFTkRRbWhUWjBGM1NVSkJaMGxWVjFsNGNVdHpjazFUTTFOMmJEVkphalZQUkdaQ1owMUtUeTlKZDBObldVbExiMXBKZW1vd1JVRjNUWGNLVG5wRlZrMUNUVWRCTVZWRlEyaE5UV015Ykc1ak0xSjJZMjFWZFZwSFZqSk5ValIzU0VGWlJGWlJVVVJGZUZaNllWZGtlbVJIT1hsYVV6RndZbTVTYkFwamJURnNXa2RzYUdSSFZYZElhR05PVFdwUmQwNVVTVFZOVkZsM1QxUlZlVmRvWTA1TmFsRjNUbFJKTlUxVVdYaFBWRlY1VjJwQlFVMUdhM2RGZDFsSUNrdHZXa2w2YWpCRFFWRlpTVXR2V2tsNmFqQkVRVkZqUkZGblFVVmtiV2RvVGs1M00yNVZMMHQxWlZGbmMzQkhTRmMzWjJnNVdFeEVMMWRrU1RoWlRVSUtLekJ3TUZZMGJ6RnJTRzgyWTAweGMwUktaM0pEWjFCUlZYcDRjSFZaZFc4cmVIZFFTSGxzTDJ0RWVXWXpSVXhxYTJGUFEwSlVUWGRuWjFWMlRVRTBSd3BCTVZWa1JIZEZRaTkzVVVWQmQwbElaMFJCVkVKblRsWklVMVZGUkVSQlMwSm5aM0pDWjBWR1FsRmpSRUY2UVdSQ1owNVdTRkUwUlVablVWVnhaa05RQ25aWVMwRjJVelJEWkdoUk1taGlXbGRLVTA5RmRsWnZkMGgzV1VSV1VqQnFRa0puZDBadlFWVXpPVkJ3ZWpGWmEwVmFZalZ4VG1wd1MwWlhhWGhwTkZrS1drUTRkMWRuV1VSV1VqQlNRVkZJTDBKR1FYZFViMXBOWVVoU01HTklUVFpNZVRsdVlWaFNiMlJYU1hWWk1qbDBUREpPYzJGVE9XcGlSMnQyVEcxa2NBcGtSMmd4V1drNU0ySXpTbkphYlhoMlpETk5kbHBIVm5kaVJ6azFZbGRXZFdSRE5UVmlWM2hCWTIxV2JXTjVPVzlhVjBaclkzazVNR051Vm5WaGVrRTFDa0puYjNKQ1owVkZRVmxQTDAxQlJVSkNRM1J2WkVoU2QyTjZiM1pNTTFKMllUSldkVXh0Um1wa1IyeDJZbTVOZFZveWJEQmhTRlpwWkZoT2JHTnRUbllLWW01U2JHSnVVWFZaTWpsMFRVSTRSME5wYzBkQlVWRkNaemM0ZDBGUlNVVkZXR1IyWTIxMGJXSkhPVE5ZTWxKd1l6TkNhR1JIVG05TlJGbEhRMmx6UndwQlVWRkNaemM0ZDBGUlRVVkxSMXBvV2xkWmVWcEhVbXRQUkVacFRVUmplazVxWXpCUFJGRjRUVEpGTTFsNldUQk9iVTVyVFVkS2JWbDZTVEpaZWtGM0NsbFVRWGRIUVZsTFMzZFpRa0pCUjBSMmVrRkNRa0ZSUzFKSFZuZGlSemsxWWxkV2RXUkVRVlpDWjI5eVFtZEZSVUZaVHk5TlFVVkdRa0ZrYW1KSGEzWUtXVEo0Y0UxQ05FZERhWE5IUVZGUlFtYzNPSGRCVVZsRlJVaEtiRnB1VFhaaFIxWm9Xa2hOZG1SSVNqRmliWE4zVDNkWlMwdDNXVUpDUVVkRWRucEJRZ3BEUVZGMFJFTjBiMlJJVW5kamVtOTJURE5TZG1FeVZuVk1iVVpxWkVkc2RtSnVUWFZhTW13d1lVaFdhV1JZVG14amJVNTJZbTVTYkdKdVVYVlpNamwwQ2sxR2QwZERhWE5IUVZGUlFtYzNPSGRCVVd0RlZHZDRUV0ZJVWpCalNFMDJUSGs1Ym1GWVVtOWtWMGwxV1RJNWRFd3lUbk5oVXpscVlrZHJka3h0WkhBS1pFZG9NVmxwT1ROaU0wcHlXbTE0ZG1RelRYWmFSMVozWWtjNU5XSlhWblZrUXpVMVlsZDRRV050Vm0xamVUbHZXbGRHYTJONU9UQmpibFoxWVhwQk5BcENaMjl5UW1kRlJVRlpUeTlOUVVWTFFrTnZUVXRIV21oYVYxbDVXa2RTYTA5RVJtbE5SR042VG1wak1FOUVVWGhOTWtVeldYcFpNRTV0VG10TlIwcHRDbGw2U1RKWmVrRjNXVlJCZDBoUldVdExkMWxDUWtGSFJIWjZRVUpEZDFGUVJFRXhibUZZVW05a1YwbDBZVWM1ZW1SSFZtdE5RMjlIUTJselIwRlJVVUlLWnpjNGQwRlJkMFZJUVhkaFlVaFNNR05JVFRaTWVUbHVZVmhTYjJSWFNYVlpNamwwVERKT2MyRlRPV3BpUjJ0M1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWdwRVVWRnhSRU5vYlZsWFZtMU5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBGSENrTnBjMGRCVVZGQ1p6YzRkMEZSTkVWRlozZFJZMjFXYldONU9XOWFWMFpyWTNrNU1HTnVWblZoZWtGYVFtZHZja0puUlVWQldVOHZUVUZGVUVKQmMwMEtRMVJKZUUxcVdYaE5la0V3VDFSQmJVSm5iM0pDWjBWRlFWbFBMMDFCUlZGQ1FtZE5SbTFvTUdSSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhZ3BpUjJ0M1IwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWUlVVdEVRV2N4VDFSamQwNUVZM2hOVkVKalFtZHZja0puUlVWQldVOHZUVUZGVTBKRk5FMVVSMmd3Q21SSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhbUpIYTNaWk1uaHdUSGsxYm1GWVVtOWtWMGwyWkRJNWVXRXlXbk5pTTJSNlRESlNiR05IZUhZS1pWY3hiR0p1VVhWbFZ6RnpVVWhLYkZwdVRYWmhSMVpvV2toTmRtUklTakZpYlhOM1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWM1VYRkVRMmh0V1ZkV2JRcE5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBWSFEybHpSMEZSVVVKbk56aDNDa0ZTVVVWRmQzZFNaREk1ZVdFeVduTmlNMlJtV2tkc2VtTkhSakJaTW1kM1ZGRlpTMHQzV1VKQ1FVZEVkbnBCUWtaUlVTOUVSREZ2WkVoU2QyTjZiM1lLVERKa2NHUkhhREZaYVRWcVlqSXdkbGt5ZUhCTU1rNXpZVk01YUZrelVuQmlNalY2VEROS01XSnVUWFpQVkVrMFQxUkJNMDVVWXpGTmFUbG9aRWhTYkFwaVdFSXdZM2s0ZUUxQ1dVZERhWE5IUVZGUlFtYzNPSGRCVWxsRlEwRjNSMk5JVm1saVIyeHFUVWxIVEVKbmIzSkNaMFZGUVdSYU5VRm5VVU5DU0RCRkNtVjNRalZCU0dOQk0xUXdkMkZ6WWtoRlZFcHFSMUkwWTIxWFl6TkJjVXBMV0hKcVpWQkxNeTlvTkhCNVowTTRjRGR2TkVGQlFVZFFlRkl4ZW1KblFVRUtRa0ZOUVZORVFrZEJhVVZCS3pobmJGRkplRTlCYUZoQ1FVOVRObE1yT0ZweGQwcGpaSGQzVTNJdlZGZHBhSE16WkV4eFZrRjJiME5KVVVSaWVUbG9NUXBKWTNWRVJYSXJlbk5YYVV3NFVIYzFRMU5VZEd0c2RFbzBNakZ6UlRneFZuWjFOa0Z3VkVGTFFtZG5jV2hyYWs5UVVWRkVRWGRPYmtGRVFtdEJha0VyQ2tSSU4xQXJhR2cwVmtoWFprTlhXSFJ5UzFSdlFrdDFZa0pyUzNCbVYwTlpVWGhxV0UweWRsWXZibEJ4WWxwR1dVOVdXazlpWlRaQlRuSm5lV1J2V1VNS1RVWlZUV0l6ZUhwelJrNVJXWFp6UlZsUGFUSkxibkoyUmpCMFoyOXdiVmhIVm05NmJsb3JjUzh5UVVsRVZ6bEdNVVUzV1RaWk1EWXhaVzkxUVZsa1NBcFhkejA5Q2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLIn1dfX0=" - } - ], - "timestampVerificationData": {}, - "certificate": { - "rawBytes": "MIIGjTCCBhSgAwIBAgIUWYxqKsrMS3Svl5Ij5ODfBgMJO/IwCgYIKoZIzj0EAwMwNzEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MR4wHAYDVQQDExVzaWdzdG9yZS1pbnRlcm1lZGlhdGUwHhcNMjQwNTI5MTYwOTUyWhcNMjQwNTI5MTYxOTUyWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdmghNNw3nU/KueQgspGHW7gh9XLD/WdI8YMB+0p0V4o1kHo6cM1sDJgrCgPQUzxpuYuo+xwPHyl/kDyf3ELjkaOCBTMwggUvMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDAzAdBgNVHQ4EFgQUqfCPvXKAvS4CdhQ2hbZWJSOEvVowHwYDVR0jBBgwFoAU39Ppz1YkEZb5qNjpKFWixi4YZD8wWgYDVR0RAQH/BFAwToZMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA5BgorBgEEAYO/MAEBBCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMB8GCisGAQQBg78wAQIEEXdvcmtmbG93X2Rpc3BhdGNoMDYGCisGAQQBg78wAQMEKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwGAYKKwYBBAGDvzABBAQKRGVwbG95bWVudDAVBgorBgEEAYO/MAEFBAdjbGkvY2xpMB4GCisGAQQBg78wAQYEEHJlZnMvaGVhZHMvdHJ1bmswOwYKKwYBBAGDvzABCAQtDCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMFwGCisGAQQBg78wAQkETgxMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA4BgorBgEEAYO/MAEKBCoMKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwHQYKKwYBBAGDvzABCwQPDA1naXRodWItaG9zdGVkMCoGCisGAQQBg78wAQwEHAwaaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkwOAYKKwYBBAGDvzABDQQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCAGCisGAQQBg78wAQ4EEgwQcmVmcy9oZWFkcy90cnVuazAZBgorBgEEAYO/MAEPBAsMCTIxMjYxMzA0OTAmBgorBgEEAYO/MAEQBBgMFmh0dHBzOi8vZ2l0aHViLmNvbS9jbGkwGAYKKwYBBAGDvzABEQQKDAg1OTcwNDcxMTBcBgorBgEEAYO/MAESBE4MTGh0dHBzOi8vZ2l0aHViLmNvbS9jbGkvY2xpLy5naXRodWIvd29ya2Zsb3dzL2RlcGxveW1lbnQueW1sQHJlZnMvaGVhZHMvdHJ1bmswOAYKKwYBBAGDvzABEwQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCEGCisGAQQBg78wARQEEwwRd29ya2Zsb3dfZGlzcGF0Y2gwTQYKKwYBBAGDvzABFQQ/DD1odHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaS9hY3Rpb25zL3J1bnMvOTI4OTA3NTc1Mi9hdHRlbXB0cy8xMBYGCisGAQQBg78wARYECAwGcHVibGljMIGLBgorBgEEAdZ5AgQCBH0EewB5AHcA3T0wasbHETJjGR4cmWc3AqJKXrjePK3/h4pygC8p7o4AAAGPxR1zbgAABAMASDBGAiEA+8glQIxOAhXBAOS6S+8ZqwJcdwwSr/TWihs3dLqVAvoCIQDby9h1IcuDEr+zsWiL8Pw5CSTtkltJ421sE81Vvu6ApTAKBggqhkjOPQQDAwNnADBkAjA+DH7P+hh4VHWfCWXtrKToBKubBkKpfWCYQxjXM2vV/nPqbZFYOVZObe6ANrgydoYCMFUMb3xzsFNQYvsEYOi2KnrvF0tgopmXGVoznZ+q/2AIDW9F1E7Y6Y061eouAYdHWw==" - } - }, - "dsseEnvelope": { - "payload": "eyJfdHlwZSI6Imh0dHBzOi8vaW4tdG90by5pby9TdGF0ZW1lbnQvdjEiLCJzdWJqZWN0IjpbeyJuYW1lIjoiZ2hfMi41MC4wX3dpbmRvd3NfYXJtNjQuemlwIiwiZGlnZXN0Ijp7InNoYTI1NiI6IjhhYWQxMjBiNDE2Mzg2YjQyNjllZjYyYzhmZGViY2FkMzFhNzA4NDcyOTc4MTdhMTQ5ZGFmOTI3ZWRjODU1NDgifX1dLCJwcmVkaWNhdGVUeXBlIjoiaHR0cHM6Ly9zbHNhLmRldi9wcm92ZW5hbmNlL3YxIiwicHJlZGljYXRlIjp7ImJ1aWxkRGVmaW5pdGlvbiI6eyJidWlsZFR5cGUiOiJodHRwczovL3Nsc2EtZnJhbWV3b3JrLmdpdGh1Yi5pby9naXRodWItYWN0aW9ucy1idWlsZHR5cGVzL3dvcmtmbG93L3YxIiwiZXh0ZXJuYWxQYXJhbWV0ZXJzIjp7IndvcmtmbG93Ijp7InJlZiI6InJlZnMvaGVhZHMvdHJ1bmsiLCJyZXBvc2l0b3J5IjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkiLCJwYXRoIjoiLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWwifX0sImludGVybmFsUGFyYW1ldGVycyI6eyJnaXRodWIiOnsiZXZlbnRfbmFtZSI6IndvcmtmbG93X2Rpc3BhdGNoIiwicmVwb3NpdG9yeV9pZCI6IjIxMjYxMzA0OSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1OTcwNDcxMSJ9fSwicmVzb2x2ZWREZXBlbmRlbmNpZXMiOlt7InVyaSI6ImdpdCtodHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaUByZWZzL2hlYWRzL3RydW5rIiwiZGlnZXN0Ijp7ImdpdENvbW1pdCI6ImZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAifX1dfSwicnVuRGV0YWlscyI6eyJidWlsZGVyIjp7ImlkIjoiaHR0cHM6Ly9naXRodWIuY29tL2FjdGlvbnMvcnVubmVyL2dpdGh1Yi1ob3N0ZWQifSwibWV0YWRhdGEiOnsiaW52b2NhdGlvbklkIjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvYWN0aW9ucy9ydW5zLzkyODkwNzU3NTIvYXR0ZW1wdHMvMSJ9fX19", - "payloadType": "application/vnd.in-toto+json", - "signatures": [ - { - "sig": "MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ==" - } - ] - } - }, - "repository_id": 1 - }, - { - "bundle": { - "mediaType": "application/vnd.dev.sigstore.bundle.v0.3+json", - "verificationMaterial": { - "tlogEntries": [ - { - "logIndex": "97913980", - "logId": { - "keyId": "wNI9atQGlz+VWfO6LRygH4QUfY/8W4RFwiT5i5WRgB0=" - }, - "kindVersion": { - "kind": "dsse", - "version": "0.0.1" - }, - "integratedTime": "1716998992", - "inclusionPromise": { - "signedEntryTimestamp": "MEYCIQCeEsQAy+qXtULkh52wbnHrkt2R2JQ05P9STK/xmdpQ2AIhANiG5Gw6cQiMnwvUz1+9UKtG/vlC8dduq07wsFOViwSL" - }, - "inclusionProof": { - "logIndex": "93750549", - "rootHash": "KgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=", - "treeSize": "93750551", - "hashes": [ - "8LI21mzwxnUSo0fuZeFsUrz2ujZ4QAL+oGeTG+5toZg=", - "nCb369rcIytNhGwWoqBv+eV49X3ZKpo/HJGKm9V+dck=", - "hnNQ9mUdSwYCfdV21pd87NucrdRRNZATowlaRR1hJ4A=", - "MBhhK33vlD4Tq/JKgAaXUI4VjmosWKe6+7RNpQ2ncNM=", - "XKWUE3stvGV1OHsIGiCGfn047Ok6uD4mFkh7BaicaEc=", - "Tgve40VPFfuei+0nhupdGpfPPR+hPpZjxgTiDT8WNoY=", - "wV+S/7tLtYGzkLaSb6UDqexNyhMvumHK/RpTNvEZuLU=", - "uwaWufty6sn6XqO1Tb9M3Vz6sBKPu0HT36mStxJNd7s=", - "jUfeMOXQP0XF1JAnCEETVbfRKMUwCzrVUzYi8vnDMVs=", - "xQKjzJAwwdlQG/YUYBKPXxbCmhMYKo1wnv+6vDuKWhQ=", - "cX3Agx+hP66t1ZLbX/yHbfjU46/3m/VAmWyG/fhxAVc=", - "sjohk/3DQIfXTgf/5XpwtdF7yNbrf8YykOMHr1CyBYQ=", - "98enzMaC+x5oCMvIZQA5z8vu2apDMCFvE/935NfuPw8=" - ], - "checkpoint": { - "envelope": "rekor.sigstore.dev - 2605736670972794746\\n93750551\\nKgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=\\n\\n— rekor.sigstore.dev wNI9ajBEAiBkLzdjY8A9HReU7rmtjwZ+JpSuYtEr9SmvSwUIW7FBjgIgKo+vhkW3tqc+gc8fw9gza3xLoncA8a+MTaJYCaLGA9c=\\n" - } - }, - "canonicalizedBody": "eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiZHNzZSIsInNwZWMiOnsiZW52ZWxvcGVIYXNoIjp7ImFsZ29yaXRobSI6InNoYTI1NiIsInZhbHVlIjoiM2I1YzkwNDk5MGFiYzE4NjI1ZWE3Njg4MzE1OGEwZmI4MTEwMjM4MGJkNjQwZjI5OWJlMzYwZWVkOTMxNjYwYiJ9LCJwYXlsb2FkSGFzaCI6eyJhbGdvcml0aG0iOiJzaGEyNTYiLCJ2YWx1ZSI6IjM4ZGNlZDJjMzE1MGU2OTQxMDViYjZiNDNjYjY3NzBiZTYzZDdhNGM4NjNiMTc2YTkwMmU1MGQ5ZTAyN2ZiMjMifSwic2lnbmF0dXJlcyI6W3sic2lnbmF0dXJlIjoiTUVRQ0lFR0lHQW03Z1pWTExwc3JQY2puZEVqaXVjdEUyL2M5K2o5S0d2YXp6M3JsQWlBZDZPMTZUNWhrelJNM0liUlB6bSt4VDQwbU5RWnhlZmQ3bGFEUDZ4MlhMUT09IiwidmVyaWZpZXIiOiJMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VkcVZFTkRRbWhUWjBGM1NVSkJaMGxWVjFsNGNVdHpjazFUTTFOMmJEVkphalZQUkdaQ1owMUtUeTlKZDBObldVbExiMXBKZW1vd1JVRjNUWGNLVG5wRlZrMUNUVWRCTVZWRlEyaE5UV015Ykc1ak0xSjJZMjFWZFZwSFZqSk5ValIzU0VGWlJGWlJVVVJGZUZaNllWZGtlbVJIT1hsYVV6RndZbTVTYkFwamJURnNXa2RzYUdSSFZYZElhR05PVFdwUmQwNVVTVFZOVkZsM1QxUlZlVmRvWTA1TmFsRjNUbFJKTlUxVVdYaFBWRlY1VjJwQlFVMUdhM2RGZDFsSUNrdHZXa2w2YWpCRFFWRlpTVXR2V2tsNmFqQkVRVkZqUkZGblFVVmtiV2RvVGs1M00yNVZMMHQxWlZGbmMzQkhTRmMzWjJnNVdFeEVMMWRrU1RoWlRVSUtLekJ3TUZZMGJ6RnJTRzgyWTAweGMwUktaM0pEWjFCUlZYcDRjSFZaZFc4cmVIZFFTSGxzTDJ0RWVXWXpSVXhxYTJGUFEwSlVUWGRuWjFWMlRVRTBSd3BCTVZWa1JIZEZRaTkzVVVWQmQwbElaMFJCVkVKblRsWklVMVZGUkVSQlMwSm5aM0pDWjBWR1FsRmpSRUY2UVdSQ1owNVdTRkUwUlVablVWVnhaa05RQ25aWVMwRjJVelJEWkdoUk1taGlXbGRLVTA5RmRsWnZkMGgzV1VSV1VqQnFRa0puZDBadlFWVXpPVkJ3ZWpGWmEwVmFZalZ4VG1wd1MwWlhhWGhwTkZrS1drUTRkMWRuV1VSV1VqQlNRVkZJTDBKR1FYZFViMXBOWVVoU01HTklUVFpNZVRsdVlWaFNiMlJYU1hWWk1qbDBUREpPYzJGVE9XcGlSMnQyVEcxa2NBcGtSMmd4V1drNU0ySXpTbkphYlhoMlpETk5kbHBIVm5kaVJ6azFZbGRXZFdSRE5UVmlWM2hCWTIxV2JXTjVPVzlhVjBaclkzazVNR051Vm5WaGVrRTFDa0puYjNKQ1owVkZRVmxQTDAxQlJVSkNRM1J2WkVoU2QyTjZiM1pNTTFKMllUSldkVXh0Um1wa1IyeDJZbTVOZFZveWJEQmhTRlpwWkZoT2JHTnRUbllLWW01U2JHSnVVWFZaTWpsMFRVSTRSME5wYzBkQlVWRkNaemM0ZDBGUlNVVkZXR1IyWTIxMGJXSkhPVE5ZTWxKd1l6TkNhR1JIVG05TlJGbEhRMmx6UndwQlVWRkNaemM0ZDBGUlRVVkxSMXBvV2xkWmVWcEhVbXRQUkVacFRVUmplazVxWXpCUFJGRjRUVEpGTTFsNldUQk9iVTVyVFVkS2JWbDZTVEpaZWtGM0NsbFVRWGRIUVZsTFMzZFpRa0pCUjBSMmVrRkNRa0ZSUzFKSFZuZGlSemsxWWxkV2RXUkVRVlpDWjI5eVFtZEZSVUZaVHk5TlFVVkdRa0ZrYW1KSGEzWUtXVEo0Y0UxQ05FZERhWE5IUVZGUlFtYzNPSGRCVVZsRlJVaEtiRnB1VFhaaFIxWm9Xa2hOZG1SSVNqRmliWE4zVDNkWlMwdDNXVUpDUVVkRWRucEJRZ3BEUVZGMFJFTjBiMlJJVW5kamVtOTJURE5TZG1FeVZuVk1iVVpxWkVkc2RtSnVUWFZhTW13d1lVaFdhV1JZVG14amJVNTJZbTVTYkdKdVVYVlpNamwwQ2sxR2QwZERhWE5IUVZGUlFtYzNPSGRCVVd0RlZHZDRUV0ZJVWpCalNFMDJUSGs1Ym1GWVVtOWtWMGwxV1RJNWRFd3lUbk5oVXpscVlrZHJka3h0WkhBS1pFZG9NVmxwT1ROaU0wcHlXbTE0ZG1RelRYWmFSMVozWWtjNU5XSlhWblZrUXpVMVlsZDRRV050Vm0xamVUbHZXbGRHYTJONU9UQmpibFoxWVhwQk5BcENaMjl5UW1kRlJVRlpUeTlOUVVWTFFrTnZUVXRIV21oYVYxbDVXa2RTYTA5RVJtbE5SR042VG1wak1FOUVVWGhOTWtVeldYcFpNRTV0VG10TlIwcHRDbGw2U1RKWmVrRjNXVlJCZDBoUldVdExkMWxDUWtGSFJIWjZRVUpEZDFGUVJFRXhibUZZVW05a1YwbDBZVWM1ZW1SSFZtdE5RMjlIUTJselIwRlJVVUlLWnpjNGQwRlJkMFZJUVhkaFlVaFNNR05JVFRaTWVUbHVZVmhTYjJSWFNYVlpNamwwVERKT2MyRlRPV3BpUjJ0M1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWdwRVVWRnhSRU5vYlZsWFZtMU5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBGSENrTnBjMGRCVVZGQ1p6YzRkMEZSTkVWRlozZFJZMjFXYldONU9XOWFWMFpyWTNrNU1HTnVWblZoZWtGYVFtZHZja0puUlVWQldVOHZUVUZGVUVKQmMwMEtRMVJKZUUxcVdYaE5la0V3VDFSQmJVSm5iM0pDWjBWRlFWbFBMMDFCUlZGQ1FtZE5SbTFvTUdSSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhZ3BpUjJ0M1IwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWUlVVdEVRV2N4VDFSamQwNUVZM2hOVkVKalFtZHZja0puUlVWQldVOHZUVUZGVTBKRk5FMVVSMmd3Q21SSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhbUpIYTNaWk1uaHdUSGsxYm1GWVVtOWtWMGwyWkRJNWVXRXlXbk5pTTJSNlRESlNiR05IZUhZS1pWY3hiR0p1VVhWbFZ6RnpVVWhLYkZwdVRYWmhSMVpvV2toTmRtUklTakZpYlhOM1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWM1VYRkVRMmh0V1ZkV2JRcE5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBWSFEybHpSMEZSVVVKbk56aDNDa0ZTVVVWRmQzZFNaREk1ZVdFeVduTmlNMlJtV2tkc2VtTkhSakJaTW1kM1ZGRlpTMHQzV1VKQ1FVZEVkbnBCUWtaUlVTOUVSREZ2WkVoU2QyTjZiM1lLVERKa2NHUkhhREZaYVRWcVlqSXdkbGt5ZUhCTU1rNXpZVk01YUZrelVuQmlNalY2VEROS01XSnVUWFpQVkVrMFQxUkJNMDVVWXpGTmFUbG9aRWhTYkFwaVdFSXdZM2s0ZUUxQ1dVZERhWE5IUVZGUlFtYzNPSGRCVWxsRlEwRjNSMk5JVm1saVIyeHFUVWxIVEVKbmIzSkNaMFZGUVdSYU5VRm5VVU5DU0RCRkNtVjNRalZCU0dOQk0xUXdkMkZ6WWtoRlZFcHFSMUkwWTIxWFl6TkJjVXBMV0hKcVpWQkxNeTlvTkhCNVowTTRjRGR2TkVGQlFVZFFlRkl4ZW1KblFVRUtRa0ZOUVZORVFrZEJhVVZCS3pobmJGRkplRTlCYUZoQ1FVOVRObE1yT0ZweGQwcGpaSGQzVTNJdlZGZHBhSE16WkV4eFZrRjJiME5KVVVSaWVUbG9NUXBKWTNWRVJYSXJlbk5YYVV3NFVIYzFRMU5VZEd0c2RFbzBNakZ6UlRneFZuWjFOa0Z3VkVGTFFtZG5jV2hyYWs5UVVWRkVRWGRPYmtGRVFtdEJha0VyQ2tSSU4xQXJhR2cwVmtoWFprTlhXSFJ5UzFSdlFrdDFZa0pyUzNCbVYwTlpVWGhxV0UweWRsWXZibEJ4WWxwR1dVOVdXazlpWlRaQlRuSm5lV1J2V1VNS1RVWlZUV0l6ZUhwelJrNVJXWFp6UlZsUGFUSkxibkoyUmpCMFoyOXdiVmhIVm05NmJsb3JjUzh5UVVsRVZ6bEdNVVUzV1RaWk1EWXhaVzkxUVZsa1NBcFhkejA5Q2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLIn1dfX0=" - } - ], - "timestampVerificationData": {}, - "certificate": { - "rawBytes": "MIIGjTCCBhSgAwIBAgIUWYxqKsrMS3Svl5Ij5ODfBgMJO/IwCgYIKoZIzj0EAwMwNzEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MR4wHAYDVQQDExVzaWdzdG9yZS1pbnRlcm1lZGlhdGUwHhcNMjQwNTI5MTYwOTUyWhcNMjQwNTI5MTYxOTUyWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdmghNNw3nU/KueQgspGHW7gh9XLD/WdI8YMB+0p0V4o1kHo6cM1sDJgrCgPQUzxpuYuo+xwPHyl/kDyf3ELjkaOCBTMwggUvMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDAzAdBgNVHQ4EFgQUqfCPvXKAvS4CdhQ2hbZWJSOEvVowHwYDVR0jBBgwFoAU39Ppz1YkEZb5qNjpKFWixi4YZD8wWgYDVR0RAQH/BFAwToZMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA5BgorBgEEAYO/MAEBBCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMB8GCisGAQQBg78wAQIEEXdvcmtmbG93X2Rpc3BhdGNoMDYGCisGAQQBg78wAQMEKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwGAYKKwYBBAGDvzABBAQKRGVwbG95bWVudDAVBgorBgEEAYO/MAEFBAdjbGkvY2xpMB4GCisGAQQBg78wAQYEEHJlZnMvaGVhZHMvdHJ1bmswOwYKKwYBBAGDvzABCAQtDCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMFwGCisGAQQBg78wAQkETgxMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA4BgorBgEEAYO/MAEKBCoMKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwHQYKKwYBBAGDvzABCwQPDA1naXRodWItaG9zdGVkMCoGCisGAQQBg78wAQwEHAwaaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkwOAYKKwYBBAGDvzABDQQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCAGCisGAQQBg78wAQ4EEgwQcmVmcy9oZWFkcy90cnVuazAZBgorBgEEAYO/MAEPBAsMCTIxMjYxMzA0OTAmBgorBgEEAYO/MAEQBBgMFmh0dHBzOi8vZ2l0aHViLmNvbS9jbGkwGAYKKwYBBAGDvzABEQQKDAg1OTcwNDcxMTBcBgorBgEEAYO/MAESBE4MTGh0dHBzOi8vZ2l0aHViLmNvbS9jbGkvY2xpLy5naXRodWIvd29ya2Zsb3dzL2RlcGxveW1lbnQueW1sQHJlZnMvaGVhZHMvdHJ1bmswOAYKKwYBBAGDvzABEwQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCEGCisGAQQBg78wARQEEwwRd29ya2Zsb3dfZGlzcGF0Y2gwTQYKKwYBBAGDvzABFQQ/DD1odHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaS9hY3Rpb25zL3J1bnMvOTI4OTA3NTc1Mi9hdHRlbXB0cy8xMBYGCisGAQQBg78wARYECAwGcHVibGljMIGLBgorBgEEAdZ5AgQCBH0EewB5AHcA3T0wasbHETJjGR4cmWc3AqJKXrjePK3/h4pygC8p7o4AAAGPxR1zbgAABAMASDBGAiEA+8glQIxOAhXBAOS6S+8ZqwJcdwwSr/TWihs3dLqVAvoCIQDby9h1IcuDEr+zsWiL8Pw5CSTtkltJ421sE81Vvu6ApTAKBggqhkjOPQQDAwNnADBkAjA+DH7P+hh4VHWfCWXtrKToBKubBkKpfWCYQxjXM2vV/nPqbZFYOVZObe6ANrgydoYCMFUMb3xzsFNQYvsEYOi2KnrvF0tgopmXGVoznZ+q/2AIDW9F1E7Y6Y061eouAYdHWw==" - } - }, - "dsseEnvelope": { - "payload": "eyJfdHlwZSI6Imh0dHBzOi8vaW4tdG90by5pby9TdGF0ZW1lbnQvdjEiLCJzdWJqZWN0IjpbeyJuYW1lIjoiZ2hfMi41MC4wX3dpbmRvd3NfYXJtNjQuemlwIiwiZGlnZXN0Ijp7InNoYTI1NiI6IjhhYWQxMjBiNDE2Mzg2YjQyNjllZjYyYzhmZGViY2FkMzFhNzA4NDcyOTc4MTdhMTQ5ZGFmOTI3ZWRjODU1NDgifX1dLCJwcmVkaWNhdGVUeXBlIjoiaHR0cHM6Ly9zbHNhLmRldi9wcm92ZW5hbmNlL3YxIiwicHJlZGljYXRlIjp7ImJ1aWxkRGVmaW5pdGlvbiI6eyJidWlsZFR5cGUiOiJodHRwczovL3Nsc2EtZnJhbWV3b3JrLmdpdGh1Yi5pby9naXRodWItYWN0aW9ucy1idWlsZHR5cGVzL3dvcmtmbG93L3YxIiwiZXh0ZXJuYWxQYXJhbWV0ZXJzIjp7IndvcmtmbG93Ijp7InJlZiI6InJlZnMvaGVhZHMvdHJ1bmsiLCJyZXBvc2l0b3J5IjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkiLCJwYXRoIjoiLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWwifX0sImludGVybmFsUGFyYW1ldGVycyI6eyJnaXRodWIiOnsiZXZlbnRfbmFtZSI6IndvcmtmbG93X2Rpc3BhdGNoIiwicmVwb3NpdG9yeV9pZCI6IjIxMjYxMzA0OSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1OTcwNDcxMSJ9fSwicmVzb2x2ZWREZXBlbmRlbmNpZXMiOlt7InVyaSI6ImdpdCtodHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaUByZWZzL2hlYWRzL3RydW5rIiwiZGlnZXN0Ijp7ImdpdENvbW1pdCI6ImZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAifX1dfSwicnVuRGV0YWlscyI6eyJidWlsZGVyIjp7ImlkIjoiaHR0cHM6Ly9naXRodWIuY29tL2FjdGlvbnMvcnVubmVyL2dpdGh1Yi1ob3N0ZWQifSwibWV0YWRhdGEiOnsiaW52b2NhdGlvbklkIjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvYWN0aW9ucy9ydW5zLzkyODkwNzU3NTIvYXR0ZW1wdHMvMSJ9fX19", - "payloadType": "application/vnd.in-toto+json", - "signatures": [ - { - "sig": "MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ==" - } - ] - } - }, - "repository_id": 1 - } - ] - } - ] - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "attestations" - } - } - }, - "/orgs/{org}/attestations/delete-request": { - "post": { - "summary": "Delete attestations in bulk", - "description": "Delete artifact attestations in bulk by either subject digests or unique ID.", - "tags": [ - "orgs" - ], - "operationId": "orgs/delete-attestations-bulk", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "oneOf": [ - { - "properties": { - "subject_digests": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of subject digests associated with the artifact attestations to delete.", - "minItems": 1, - "maxItems": 1024 - } - }, - "required": [ - "subject_digests" - ] - }, - { - "properties": { - "attestation_ids": { - "type": "array", - "items": { - "type": "integer" - }, - "description": "List of unique IDs associated with the artifact attestations to delete.", - "minItems": 1, - "maxItems": 1024 + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" } - }, - "required": [ - "attestation_ids" - ] - } - ], - "description": "The request body must include either `subject_digests` or `attestation_ids`, but not both." - }, - "examples": { - "by-subject-digests": { - "summary": "Delete by subject digests", - "value": { - "subject_digests": [ - "sha256:abc123", - "sha512:def456" - ] - } - }, - "by-attestation-ids": { - "summary": "Delete by attestation IDs", - "value": { - "attestation_ids": [ - 111, - 222 ] } } @@ -97044,117 +95074,11 @@ } } }, - "responses": { - "200": { - "description": "Response" - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "orgs", - "subcategory": "attestations" - } - } - }, - "/orgs/{org}/attestations/digest/{subject_digest}": { - "delete": { - "summary": "Delete attestations by subject digest", - "description": "Delete an artifact attestation by subject digest.", - "tags": [ - "orgs" - ], - "operationId": "orgs/delete-attestations-by-subject-digest", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "subject_digest", - "description": "Subject Digest", - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "x-multi-segment": true - } - ], - "responses": { - "200": { - "description": "Response" - }, - "204": { - "description": "Response" - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "attestations" + "subcategory": "orgs" } } }, @@ -115170,29 +113094,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,7 +169737,7 @@ }, { "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`", "in": "query", "required": false, "schema": { @@ -171844,10 +169745,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] + } } }, { @@ -353327,16 +351225,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 +351252,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 +574914,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,7 +736905,7 @@ }, { "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`", "in": "query", "required": false, "schema": { @@ -739048,10 +736913,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] + } } } ], @@ -776666,7 +774528,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" ], 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..62bfd3898 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 @@ -905,7 +905,7 @@ paths: - subscriptions_url - type - url - type: &292 + type: &280 type: string description: The type of credit the user is receiving. enum: @@ -1038,7 +1038,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &106 + schema: &101 title: Validation Error Simple description: Validation Error Simple type: object @@ -1071,7 +1071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &605 + - &601 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1656,7 +1656,7 @@ paths: schema: type: integer default: 30 - - &177 + - &175 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1672,7 +1672,7 @@ paths: application/json: schema: type: array - items: &178 + items: &176 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1768,7 +1768,7 @@ paths: - installation_id - repository_id examples: - default: &179 + default: &177 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1831,7 +1831,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &105 + schema: &100 title: Validation Error description: Validation Error type: object @@ -1903,7 +1903,7 @@ paths: description: Response content: application/json: - schema: &180 + schema: &178 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2038,7 +2038,7 @@ paths: - request - response examples: - default: &181 + default: &179 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2242,7 +2242,7 @@ paths: parameters: - *17 - *19 - - &75 + - &69 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 +2792,7 @@ paths: suspended_at: suspended_by: headers: - Link: &57 + Link: &52 example: ; rel="next", ; rel="last" schema: @@ -2982,7 +2982,7 @@ paths: - selected repositories: type: array - items: &66 + items: &61 title: Repository description: A repository on GitHub. type: object @@ -3009,7 +3009,7 @@ paths: license: anyOf: - type: 'null' - - &71 + - &66 title: License Simple description: License Simple type: object @@ -5387,7 +5387,7 @@ paths: responses: '202': *37 '422': *7 - '500': &100 + '500': &94 description: Internal Error content: application/json: @@ -8959,7 +8959,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 + - &446 name: has in: query description: |- @@ -9001,31 +9001,6 @@ paths: - *46 - *38 - *39 - - &169 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &170 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - *17 responses: '200': @@ -9034,11 +9009,11 @@ paths: application/json: schema: type: array - items: &171 + items: &169 type: object description: A Dependabot alert. properties: - number: &52 + number: &142 type: integer description: The security alert number. readOnly: true @@ -9104,7 +9079,7 @@ paths: - direct - transitive - - security_advisory: &459 + security_advisory: &447 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9311,23 +9286,23 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *50 - url: &55 + url: &145 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &56 + html_url: &146 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &53 + created_at: &143 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: &144 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9372,7 +9347,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: &448 type: - string - 'null' @@ -9399,7 +9374,7 @@ paths: - repository additionalProperties: false examples: - default: &172 + default: &170 value: - number: 2 state: dismissed @@ -9727,740 +9702,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 +9723,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 +9788,7 @@ paths: - updated_at - group_id examples: - default: &59 + default: &54 value: - id: 1 name: Justice League @@ -10560,7 +9801,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 @@ -10623,9 +9864,9 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10643,7 +9884,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 +9903,7 @@ paths: type: array items: *4 examples: - default: &61 + default: &56 value: - login: octocat id: 1 @@ -10683,7 +9924,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10701,7 +9942,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 +9973,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10750,7 +9991,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 +10022,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10799,8 +10040,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 +10055,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &63 + exampleKey1: &58 value: login: octocat id: 1 @@ -10850,8 +10091,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 +10100,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *63 + exampleKey1: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10877,8 +10118,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 @@ -10903,7 +10144,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *40 - - &64 + - &59 name: team_slug description: The slug of the team name. in: path @@ -10915,11 +10156,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 +10178,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *40 - - *64 + - *59 requestBody: required: true content: @@ -10983,11 +10224,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 +10249,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *40 - - *64 + - *59 responses: '204': description: Response @@ -11046,7 +10287,7 @@ paths: application/json: schema: type: array - items: &94 + items: &88 title: Event description: Event type: object @@ -11057,7 +10298,7 @@ paths: type: - string - 'null' - actor: &65 + actor: &60 title: Actor description: Actor type: object @@ -11098,7 +10339,7 @@ paths: - id - name - url - org: *65 + org: *60 payload: oneOf: - title: CreateEvent @@ -11145,7 +10386,7 @@ paths: properties: action: type: string - discussion: &699 + discussion: &695 title: Discussion description: A Discussion in a repository. type: object @@ -11442,7 +10683,7 @@ paths: - id labels: type: array - items: &67 + items: &62 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11525,7 +10766,7 @@ paths: properties: action: type: string - issue: &68 + issue: &63 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -11648,7 +10889,7 @@ paths: milestone: anyOf: - type: 'null' - - &238 + - &236 title: Milestone description: A collection of related issues and pull requests. @@ -11820,7 +11061,7 @@ paths: timeline_url: type: string format: uri - type: &199 + type: &197 title: Issue Type description: The type of issue. type: @@ -11874,12 +11115,12 @@ paths: - node_id - name - description - repository: *66 + repository: *61 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &69 + author_association: &64 title: author_association type: string description: How the author is associated with the @@ -11895,7 +11136,7 @@ paths: - OWNER examples: - OWNER - reactions: &70 + reactions: &65 title: Reaction Rollup type: object properties: @@ -11931,7 +11172,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &617 + sub_issues_summary: &613 title: Sub-issues Summary type: object properties: @@ -11952,7 +11193,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &618 + issue_dependencies_summary: &614 title: Issue Dependencies Summary type: object properties: @@ -11971,7 +11212,7 @@ paths: - total_blocking issue_field_values: type: array - items: &619 + items: &615 title: Issue Field Value description: A value assigned to an issue field type: object @@ -12071,10 +11312,10 @@ paths: assignees: type: array items: *4 - label: *67 + label: *62 labels: type: array - items: *67 + items: *62 required: - action - issue @@ -12083,8 +11324,8 @@ paths: properties: action: type: string - issue: *68 - comment: &506 + issue: *63 + comment: &494 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12134,12 +11375,12 @@ paths: issue_url: type: string format: uri - author_association: *69 + author_association: *64 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *65 required: - id - node_id @@ -12318,7 +11559,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *66 allow_forking: type: boolean is_template: @@ -12409,7 +11650,7 @@ paths: type: string number: type: integer - pull_request: &72 + pull_request: &67 title: Pull Request Minimal type: object properties: @@ -12480,10 +11721,10 @@ paths: assignees: type: array items: *4 - label: *67 + label: *62 labels: type: array - items: *67 + items: *62 required: - action - number @@ -12493,7 +11734,7 @@ paths: properties: action: type: string - pull_request: *72 + pull_request: *67 comment: type: object properties: @@ -12747,7 +11988,7 @@ paths: - pull_request updated_at: type: string - pull_request: *72 + pull_request: *67 required: - action - review @@ -12796,7 +12037,7 @@ paths: updated_at: type: string format: date-time - reactions: *70 + reactions: *65 required: - action - comment @@ -12807,7 +12048,7 @@ paths: type: string release: allOf: - - &558 + - &546 title: Release description: A release. type: object @@ -12889,7 +12130,7 @@ paths: author: *4 assets: type: array - items: &559 + items: &547 title: Release Asset description: Data related to a release. type: object @@ -12964,7 +12205,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *70 + reactions: *65 required: - assets_url - upload_url @@ -13057,7 +12298,19 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *73 + '503': &95 + 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 +12400,7 @@ paths: _links: type: object properties: - timeline: &74 + timeline: &68 title: Link With Type description: Hypermedia Link with Type type: object @@ -13159,17 +12412,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: *68 + security_advisories: *68 + current_user: *68 + current_user_public: *68 + current_user_actor: *68 + current_user_organization: *68 current_user_organizations: type: array - items: *74 - repository_discussions: *74 - repository_discussions_category: *74 + items: *68 + repository_discussions: *68 + repository_discussions_category: *68 required: - timeline - user @@ -13231,7 +12484,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *75 + - *69 - *17 - *19 responses: @@ -13241,7 +12494,7 @@ paths: application/json: schema: type: array - items: &76 + items: &70 title: Base Gist description: Base Gist type: object @@ -13338,7 +12591,7 @@ paths: - created_at - updated_at examples: - default: &77 + default: &71 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13383,7 +12636,7 @@ paths: site_admin: false truncated: false headers: - Link: *57 + Link: *52 '304': *35 '403': *27 x-github: @@ -13462,7 +12715,7 @@ paths: description: Response content: application/json: - schema: &78 + schema: &72 title: Gist Simple description: Gist Simple type: object @@ -13480,7 +12733,7 @@ paths: url: type: string format: uri - user: &631 + user: &627 title: Public User description: Public User type: object @@ -13854,7 +13107,7 @@ paths: truncated: type: boolean examples: - default: &79 + default: &73 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13958,7 +13211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *75 + - *69 - *17 - *19 responses: @@ -13968,11 +13221,11 @@ paths: application/json: schema: type: array - items: *76 + items: *70 examples: - default: *77 + default: *71 headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '403': *27 @@ -13992,7 +13245,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *75 + - *69 - *17 - *19 responses: @@ -14002,11 +13255,11 @@ paths: application/json: schema: type: array - items: *76 + items: *70 examples: - default: *77 + default: *71 headers: - Link: *57 + Link: *52 '401': *23 '304': *35 '403': *27 @@ -14032,7 +13285,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &80 + - &74 name: gist_id description: The unique identifier of the gist. in: path @@ -14044,10 +13297,10 @@ paths: description: Response content: application/json: - schema: *78 + schema: *72 examples: - default: *79 - '403': &83 + default: *73 + '403': &77 description: Forbidden Gist content: application/json: @@ -14096,7 +13349,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *80 + - *74 requestBody: required: true content: @@ -14160,9 +13413,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *72 examples: - updateGist: *79 + updateGist: *73 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -14320,7 +13573,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *80 + - *74 responses: '204': description: Response @@ -14349,7 +13602,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *80 + - *74 - *17 - *19 responses: @@ -14359,7 +13612,7 @@ paths: application/json: schema: type: array - items: &81 + items: &75 title: Gist Comment description: A comment made to a gist. type: object @@ -14397,7 +13650,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *69 + author_association: *64 required: - url - id @@ -14437,7 +13690,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 +13715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *80 + - *74 requestBody: required: true content: @@ -14488,9 +13741,9 @@ paths: description: Response content: application/json: - schema: *81 + schema: *75 examples: - default: &82 + default: &76 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14548,8 +13801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *80 - - &84 + - *74 + - &78 name: comment_id description: The unique identifier of the comment. in: path @@ -14562,12 +13815,12 @@ paths: description: Response content: application/json: - schema: *81 + schema: *75 examples: - default: *82 + default: *76 '304': *35 '404': *6 - '403': *83 + '403': *77 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14589,8 +13842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *80 - - *84 + - *74 + - *78 requestBody: required: true content: @@ -14616,9 +13869,9 @@ paths: description: Response content: application/json: - schema: *81 + schema: *75 examples: - default: *82 + default: *76 '404': *6 x-github: githubCloudOnly: false @@ -14635,8 +13888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *80 - - *84 + - *74 + - *78 responses: '204': description: Response @@ -14659,7 +13912,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *80 + - *74 - *17 - *19 responses: @@ -14760,7 +14013,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *80 + - *74 - *17 - *19 responses: @@ -14770,7 +14023,7 @@ paths: application/json: schema: type: array - items: *78 + items: *72 examples: default: value: @@ -14816,7 +14069,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '404': *6 '304': *35 '403': *27 @@ -14835,13 +14088,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *80 + - *74 responses: '201': description: Response content: application/json: - schema: *76 + schema: *70 examples: default: value: @@ -14912,7 +14165,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *80 + - *74 responses: '204': description: Response if gist is starred @@ -14942,7 +14195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *80 + - *74 responses: '204': description: Response @@ -14964,7 +14217,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *80 + - *74 responses: '204': description: Response @@ -14993,7 +14246,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *80 + - *74 - name: sha in: path required: true @@ -15004,9 +14257,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *72 examples: - default: *79 + default: *73 '422': *15 '404': *6 '403': *27 @@ -15167,7 +14420,7 @@ paths: type: integer repositories: type: array - items: *66 + items: *61 repository_selection: type: string examples: @@ -15291,7 +14544,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '403': *27 '304': *35 '401': *23 @@ -15375,7 +14628,7 @@ paths: - closed - all default: open - - &202 + - &200 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -15394,7 +14647,7 @@ paths: - comments default: created - *46 - - *75 + - *69 - name: collab in: query required: false @@ -15424,9 +14677,9 @@ paths: application/json: schema: type: array - items: *68 + items: *63 examples: - default: &203 + default: &201 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15671,7 +14924,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '404': *6 @@ -15706,7 +14959,7 @@ paths: application/json: schema: type: array - items: *71 + items: *66 examples: default: value: @@ -16004,7 +15257,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &85 + X-CommonMarker-Version: &79 example: 0.17.4 schema: type: string @@ -16059,7 +15312,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *85 + X-CommonMarker-Version: *79 content: text/html: schema: @@ -16088,7 +15341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &88 + - &82 name: account_id description: account_id parameter in: path @@ -16100,7 +15353,7 @@ paths: description: Response content: application/json: - schema: &87 + schema: &81 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -16134,7 +15387,7 @@ paths: - 'null' id: type: integer - plan: &86 + plan: &80 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -16237,7 +15490,7 @@ paths: - 'null' updated_at: type: string - plan: *86 + plan: *80 required: - url - id @@ -16245,7 +15498,7 @@ paths: - login - marketplace_purchase examples: - default: &89 + default: &83 value: url: https://api.github.com/orgs/github type: Organization @@ -16330,9 +15583,9 @@ paths: application/json: schema: type: array - items: *86 + items: *80 examples: - default: &90 + default: &84 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -16350,7 +15603,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '404': *6 '401': *23 x-github: @@ -16372,14 +15625,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &91 + - &85 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &92 + - &86 name: sort description: The property to sort the results by. in: query @@ -16409,9 +15662,9 @@ paths: application/json: schema: type: array - items: *87 + items: *81 examples: - default: &93 + default: &87 value: - url: https://api.github.com/orgs/github type: Organization @@ -16462,7 +15715,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '404': *6 '422': *15 '401': *23 @@ -16485,15 +15738,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *88 + - *82 responses: '200': description: Response content: application/json: - schema: *87 + schema: *81 examples: - default: *89 + default: *83 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -16525,11 +15778,11 @@ paths: application/json: schema: type: array - items: *86 + items: *80 examples: - default: *90 + default: *84 headers: - Link: *57 + Link: *52 '401': *23 x-github: githubCloudOnly: false @@ -16550,8 +15803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *91 - - *92 + - *85 + - *86 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16571,11 +15824,11 @@ paths: application/json: schema: type: array - items: *87 + items: *81 examples: - default: *93 + default: *87 headers: - Link: *57 + Link: *52 '401': *23 x-github: githubCloudOnly: false @@ -16838,14 +16091,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &314 + - &302 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &315 + - &303 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16862,7 +16115,7 @@ paths: application/json: schema: type: array - items: *94 + items: *88 examples: default: value: @@ -16907,7 +16160,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &323 + '301': &311 description: Moved permanently content: application/json: @@ -16929,7 +16182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &534 + - &522 name: all description: If `true`, show notifications marked as read. in: query @@ -16937,7 +16190,7 @@ paths: schema: type: boolean default: false - - &535 + - &523 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16946,8 +16199,8 @@ paths: schema: type: boolean default: false - - *75 - - &536 + - *69 + - &524 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 +16225,14 @@ paths: application/json: schema: type: array - items: &95 + items: &89 title: Thread description: Thread type: object properties: id: type: string - repository: &131 + repository: &126 title: Minimal Repository description: Minimal Repository type: object @@ -17318,7 +16571,7 @@ paths: type: boolean examples: - false - security_and_analysis: &250 + security_and_analysis: &248 type: - object - 'null' @@ -17483,7 +16736,7 @@ paths: - url - subscription_url examples: - default: &537 + default: &525 value: - id: '1' repository: @@ -17565,7 +16818,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 +16902,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &96 + - &90 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 +16916,7 @@ paths: description: Response content: application/json: - schema: *95 + schema: *89 examples: default: value: @@ -17765,7 +17018,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *96 + - *90 responses: '205': description: Reset Content @@ -17787,7 +17040,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *96 + - *90 responses: '204': description: No content @@ -17810,13 +17063,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *96 + - *90 responses: '200': description: Response content: application/json: - schema: &97 + schema: &91 title: Thread Subscription description: Thread Subscription type: object @@ -17860,7 +17113,7 @@ paths: - url - subscribed examples: - default: &98 + default: &92 value: subscribed: true ignored: false @@ -17891,7 +17144,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *96 + - *90 requestBody: required: false content: @@ -17912,9 +17165,9 @@ paths: description: Response content: application/json: - schema: *97 + schema: *91 examples: - default: *98 + default: *92 '304': *35 '403': *27 '401': *23 @@ -17937,7 +17190,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *96 + - *90 responses: '204': description: Response @@ -18104,7 +17357,7 @@ paths: - avatar_url - description examples: - default: &647 + default: &643 value: - login: github id: 1 @@ -18144,7 +17397,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 + - &93 name: org description: The organization name. The name is not case sensitive. in: path @@ -18301,7 +17554,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 + - *93 requestBody: required: true content: @@ -18367,7 +17620,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 + - *93 requestBody: required: true content: @@ -18404,9 +17657,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 +17668,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 + - *93 + - &96 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 +17678,7 @@ paths: required: false schema: type: integer - - &673 + - &669 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 +17687,7 @@ paths: required: false schema: type: integer - - &102 + - &97 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 +17702,14 @@ paths: required: false schema: type: string - - &674 + - &670 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &675 + - &671 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -18571,8 +17825,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *100 - '503': *73 + '500': *94 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18592,9 +17846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *99 - - *101 - - &678 + - *93 + - *96 + - &674 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 +17857,8 @@ paths: required: false schema: type: integer - - *102 - - &679 + - *97 + - &675 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 +17941,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *100 - '503': *73 + '500': *94 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18714,13 +17968,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: &103 + schema: &98 title: Organization Full description: Organization Full type: object @@ -19115,7 +18369,7 @@ paths: - updated_at - archived_at examples: - default-response: &104 + default-response: &99 value: login: github id: 1 @@ -19215,7 +18469,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *99 + - *93 requestBody: required: false content: @@ -19432,17 +18686,17 @@ paths: description: Response content: application/json: - schema: *103 + schema: *98 examples: - default: *104 + default: *99 '422': description: Validation failed content: application/json: schema: oneOf: - - *105 - - *106 + - *100 + - *101 '409': *45 x-github: githubCloudOnly: false @@ -19466,7 +18720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *99 + - *93 responses: '202': *37 '404': *6 @@ -19491,7 +18745,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response @@ -19517,7 +18771,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 +18792,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 + - *93 - *17 - *19 responses: @@ -19556,7 +18810,7 @@ paths: type: integer repository_cache_usages: type: array - items: &328 + items: &316 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19594,7 +18848,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 +18868,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *99 + - *93 - *17 - *19 responses: @@ -19632,7 +18886,7 @@ paths: type: integer runners: type: array - items: &107 + items: &102 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -19689,7 +18943,7 @@ paths: - size_gb - display_name - source - machine_size_details: &110 + machine_size_details: &105 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19794,7 +19048,7 @@ paths: - public_ip_enabled - platform examples: - default: &130 + default: &125 value: total_count: 2 runners: @@ -19836,7 +19090,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 +19108,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 + - *93 requestBody: required: true content: @@ -19921,9 +19175,9 @@ paths: description: Response content: application/json: - schema: *107 + schema: *102 examples: - default: &111 + default: &106 value: id: 5 name: My hosted ubuntu runner @@ -19962,7 +19216,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 + - *93 responses: '200': description: Response @@ -19978,7 +19232,7 @@ paths: type: integer images: type: array - items: &108 + items: &103 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20018,7 +19272,7 @@ paths: - display_name - source examples: - default: &109 + default: &104 value: id: ubuntu-20.04 platform: linux-x64 @@ -20042,7 +19296,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 + - *93 responses: '200': description: Response @@ -20058,9 +19312,9 @@ paths: type: integer images: type: array - items: *108 + items: *103 examples: - default: *109 + default: *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20077,7 +19331,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 + - *93 responses: '200': description: Response @@ -20132,7 +19386,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 + - *93 responses: '200': description: Response @@ -20148,7 +19402,7 @@ paths: type: integer machine_specs: type: array - items: *110 + items: *105 examples: default: value: @@ -20173,7 +19427,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 + - *93 responses: '200': description: Response @@ -20217,8 +19471,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 + - *93 + - &107 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -20230,11 +19484,11 @@ paths: description: Response content: application/json: - schema: *107 + schema: *102 examples: - default: *111 + default: *106 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20252,8 +19506,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 + - *93 + - *107 requestBody: required: true content: @@ -20291,9 +19545,9 @@ paths: description: Response content: application/json: - schema: *107 + schema: *102 examples: - default: *111 + default: *106 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20309,16 +19563,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 + - *93 + - *107 responses: '202': description: Response content: application/json: - schema: *107 + schema: *102 examples: - default: *111 + default: *106 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20338,13 +19592,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 + - *93 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &113 + schema: &108 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -20358,7 +19612,7 @@ paths: required: - include_claim_keys examples: - default: &114 + default: &109 value: include_claim_keys: - repo @@ -20380,20 +19634,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 + - *93 requestBody: required: true content: application/json: - schema: *113 + schema: *108 examples: - default: *114 + default: *109 responses: '201': description: Empty response content: application/json: - schema: &140 + schema: &135 title: Empty Object description: An object without any properties. type: object @@ -20423,7 +19677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response @@ -20432,7 +19686,7 @@ paths: schema: type: object properties: - enabled_repositories: &115 + enabled_repositories: &110 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -20445,7 +19699,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: &111 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -20453,12 +19707,12 @@ paths: - all - local_only - selected - selected_actions_url: &334 + selected_actions_url: &322 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: &112 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -20489,7 +19743,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *99 + - *93 responses: '204': description: Response @@ -20500,9 +19754,9 @@ paths: schema: type: object properties: - enabled_repositories: *115 - allowed_actions: *116 - sha_pinning_required: *117 + enabled_repositories: *110 + allowed_actions: *111 + sha_pinning_required: *112 required: - enabled_repositories examples: @@ -20530,13 +19784,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 + - *93 responses: '200': description: Response content: application/json: - schema: &338 + schema: &326 type: object properties: days: @@ -20573,12 +19827,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 + - *93 requestBody: required: true content: application/json: - schema: &339 + schema: &327 type: object properties: days: @@ -20615,13 +19869,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 + - *93 responses: '200': description: Response content: application/json: - schema: &118 + schema: &113 type: object properties: approval_policy: @@ -20635,7 +19889,7 @@ paths: required: - approval_policy examples: - default: &340 + default: &328 value: approval_policy: first_time_contributors '404': *6 @@ -20656,7 +19910,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 + - *93 responses: '204': description: Response @@ -20666,7 +19920,7 @@ paths: required: true content: application/json: - schema: *118 + schema: *113 examples: default: summary: Set approval policy to first time contributors @@ -20688,13 +19942,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 + - *93 responses: '200': description: Response content: application/json: - schema: &341 + schema: &329 type: object required: - run_workflows_from_fork_pull_requests @@ -20720,7 +19974,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &119 + default: &114 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -20743,12 +19997,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 + - *93 requestBody: required: true content: application/json: - schema: &342 + schema: &330 type: object required: - run_workflows_from_fork_pull_requests @@ -20771,7 +20025,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *119 + default: *114 responses: '204': description: Empty response for successful settings update @@ -20801,7 +20055,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 + - *93 - *17 - *19 responses: @@ -20819,9 +20073,9 @@ paths: type: number repositories: type: array - items: *66 + items: *61 examples: - default: &123 + default: &118 value: total_count: 1 repositories: @@ -20961,7 +20215,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 + - *93 responses: '204': description: Response @@ -21005,8 +20259,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 + - *93 + - &115 name: repository_id description: The unique identifier of the repository. in: path @@ -21034,8 +20288,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 + - *93 + - *115 responses: '204': description: Response @@ -21058,13 +20312,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 + - *93 responses: '200': description: Response content: application/json: - schema: &121 + schema: &116 type: object properties: github_owned_allowed: @@ -21086,7 +20340,7 @@ paths: items: type: string examples: - default: &122 + default: &117 value: github_owned_allowed: true verified_allowed: false @@ -21111,7 +20365,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 + - *93 responses: '204': description: Response @@ -21119,9 +20373,9 @@ paths: required: false content: application/json: - schema: *121 + schema: *116 examples: - selected_actions: *122 + selected_actions: *117 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21141,7 +20395,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response @@ -21189,7 +20443,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *99 + - *93 requestBody: required: true content: @@ -21236,7 +20490,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 + - *93 - *17 - *19 responses: @@ -21251,9 +20505,9 @@ paths: type: integer repositories: type: array - items: *66 + items: *61 examples: - default: *123 + default: *118 '403': *27 '404': *6 x-github: @@ -21273,7 +20527,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 + - *93 requestBody: required: true content: @@ -21321,8 +20575,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 + - *93 + - *115 responses: '204': description: No content @@ -21348,8 +20602,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 + - *93 + - *115 responses: '204': description: No content @@ -21377,23 +20631,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: &343 + schema: &331 type: object properties: - default_workflow_permissions: &124 + default_workflow_permissions: &119 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: &120 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -21401,7 +20655,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &126 + default: &121 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -21426,7 +20680,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *99 + - *93 responses: '204': description: Success response @@ -21434,13 +20688,13 @@ paths: required: false content: application/json: - schema: &344 + schema: &332 type: object properties: - default_workflow_permissions: *124 - can_approve_pull_request_reviews: *125 + default_workflow_permissions: *119 + can_approve_pull_request_reviews: *120 examples: - default: *126 + default: *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21460,7 +20714,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 + - *93 - *17 - *19 - name: visible_to_repository @@ -21485,7 +20739,7 @@ paths: type: number runner_groups: type: array - items: &127 + items: &122 type: object properties: id: @@ -21602,7 +20856,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 + - *93 requestBody: required: true content: @@ -21675,9 +20929,9 @@ paths: description: Response content: application/json: - schema: *127 + schema: *122 examples: - default: &129 + default: &124 value: id: 2 name: octo-runner-group @@ -21712,8 +20966,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 + - *93 + - &123 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -21725,7 +20979,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *122 examples: default: value: @@ -21761,8 +21015,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 + - *93 + - *123 requestBody: required: true content: @@ -21818,9 +21072,9 @@ paths: description: Response content: application/json: - schema: *127 + schema: *122 examples: - default: *129 + default: *124 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21839,8 +21093,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 + - *93 + - *123 responses: '204': description: Response @@ -21863,8 +21117,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 + - *93 + - *123 - *17 - *19 responses: @@ -21882,11 +21136,11 @@ paths: type: number runners: type: array - items: *107 + items: *102 examples: - default: *130 + default: *125 headers: - Link: *57 + Link: *52 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21906,8 +21160,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 + - *93 + - *123 - *19 - *17 responses: @@ -21925,9 +21179,9 @@ paths: type: number repositories: type: array - items: *131 + items: *126 examples: - default: &634 + default: &630 value: total_count: 1 repositories: @@ -22179,8 +21433,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 + - *93 + - *123 requestBody: required: true content: @@ -22224,9 +21478,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 + - *93 + - *123 + - *115 responses: '204': description: Response @@ -22248,9 +21502,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 + - *93 + - *123 + - *115 responses: '204': description: Response @@ -22273,8 +21527,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 + - *93 + - *123 - *17 - *19 responses: @@ -22292,7 +21546,7 @@ paths: type: number runners: type: array - items: &133 + items: &128 title: Self hosted runners description: A self hosted runner type: object @@ -22326,7 +21580,7 @@ paths: type: boolean labels: type: array - items: &136 + items: &131 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -22356,7 +21610,7 @@ paths: - busy - labels examples: - default: &134 + default: &129 value: total_count: 2 runners: @@ -22396,7 +21650,7 @@ paths: name: no-gpu type: custom headers: - Link: *57 + Link: *52 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22415,8 +21669,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 + - *93 + - *123 requestBody: required: true content: @@ -22460,9 +21714,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 + - *93 + - *123 + - &127 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -22490,9 +21744,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 + - *93 + - *123 + - *127 responses: '204': description: Response @@ -22522,7 +21776,7 @@ paths: in: query schema: type: string - - *99 + - *93 - *17 - *19 responses: @@ -22540,11 +21794,11 @@ paths: type: integer runners: type: array - items: *133 + items: *128 examples: - default: *134 + default: *129 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22566,7 +21820,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response @@ -22574,7 +21828,7 @@ paths: application/json: schema: type: array - items: &345 + items: &333 title: Runner Application description: Runner Application type: object @@ -22599,7 +21853,7 @@ paths: - download_url - filename examples: - default: &346 + default: &334 value: - os: osx architecture: x64 @@ -22642,7 +21896,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 + - *93 requestBody: required: true content: @@ -22685,7 +21939,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &347 + '201': &335 description: Response content: application/json: @@ -22695,7 +21949,7 @@ paths: - runner - encoded_jit_config properties: - runner: *133 + runner: *128 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -22752,13 +22006,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 + - *93 responses: '201': description: Response content: application/json: - schema: &135 + schema: &130 title: Authentication Token description: Authentication Token type: object @@ -22782,7 +22036,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *66 + items: *61 single_file: type: - string @@ -22800,7 +22054,7 @@ paths: - token - expires_at examples: - default: &348 + default: &336 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22831,15 +22085,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 + - *93 responses: '201': description: Response content: application/json: - schema: *135 + schema: *130 examples: - default: &349 + default: &337 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22864,16 +22118,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 + - *93 + - *127 responses: '200': description: Response content: application/json: - schema: *133 + schema: *128 examples: - default: &350 + default: &338 value: id: 23 name: MBP @@ -22914,8 +22168,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 + - *93 + - *127 responses: '204': description: Response @@ -22941,10 +22195,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 + - *93 + - *127 responses: - '200': &137 + '200': &132 description: Response content: application/json: @@ -22958,7 +22212,7 @@ paths: type: integer labels: type: array - items: *136 + items: *131 examples: default: value: @@ -22997,8 +22251,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 + - *93 + - *127 requestBody: required: true content: @@ -23022,7 +22276,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *132 '404': *6 '422': *7 x-github: @@ -23046,8 +22300,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 + - *93 + - *127 requestBody: required: true content: @@ -23072,7 +22326,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *132 '404': *6 '422': *7 x-github: @@ -23096,10 +22350,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 + - *93 + - *127 responses: - '200': &351 + '200': &339 description: Response content: application/json: @@ -23113,7 +22367,7 @@ paths: type: integer labels: type: array - items: *136 + items: *131 examples: default: value: @@ -23154,9 +22408,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 + - *93 + - *127 + - &340 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23164,7 +22418,7 @@ paths: schema: type: string responses: - '200': *137 + '200': *132 '404': *6 '422': *7 x-github: @@ -23189,7 +22443,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *99 + - *93 - *17 - *19 responses: @@ -23207,7 +22461,7 @@ paths: type: integer secrets: type: array - items: &138 + items: &133 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23259,7 +22513,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 +22536,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: &364 + schema: &352 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23323,7 +22577,7 @@ paths: - key_id - key examples: - default: &365 + default: &353 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23348,8 +22602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *99 - - &139 + - *93 + - &134 name: secret_name description: The name of the secret. in: path @@ -23361,7 +22615,7 @@ paths: description: Response content: application/json: - schema: *138 + schema: *133 examples: default: value: @@ -23391,8 +22645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 requestBody: required: true content: @@ -23449,7 +22703,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -23475,8 +22729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 responses: '204': description: Response @@ -23502,8 +22756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 - *19 - *17 responses: @@ -23521,9 +22775,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *126 examples: - default: &143 + default: &138 value: total_count: 1 repositories: @@ -23615,8 +22869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 requestBody: required: true content: @@ -23668,8 +22922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 - name: repository_id in: path required: true @@ -23702,8 +22956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 - name: repository_id in: path required: true @@ -23735,8 +22989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *99 - - &333 + - *93 + - &321 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 +23014,7 @@ paths: type: integer variables: type: array - items: &141 + items: &136 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23829,7 +23083,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 +23104,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *99 + - *93 requestBody: required: true content: @@ -23898,7 +23152,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -23923,8 +23177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *99 - - &142 + - *93 + - &137 name: name description: The name of the variable. in: path @@ -23936,7 +23190,7 @@ paths: description: Response content: application/json: - schema: *141 + schema: *136 examples: default: value: @@ -23966,8 +23220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *99 - - *142 + - *93 + - *137 requestBody: required: true content: @@ -24029,8 +23283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *99 - - *142 + - *93 + - *137 responses: '204': description: Response @@ -24056,8 +23310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *99 - - *142 + - *93 + - *137 - *19 - *17 responses: @@ -24075,9 +23329,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *126 examples: - default: *143 + default: *138 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24103,8 +23357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *99 - - *142 + - *93 + - *137 requestBody: required: true content: @@ -24153,8 +23407,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *99 - - *142 + - *93 + - *137 - name: repository_id in: path required: true @@ -24188,8 +23442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *99 - - *142 + - *93 + - *137 - name: repository_id in: path required: true @@ -24220,7 +23474,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *99 + - *93 requestBody: required: true content: @@ -24362,7 +23616,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *99 + - *93 - 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 +23702,7 @@ paths: - *17 - *38 - *39 - - *99 + - *93 requestBody: required: true content: @@ -24471,12 +23725,12 @@ paths: required: - subject_digests examples: - default: &662 + default: &658 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &663 + withPredicateType: &659 value: subject_digests: - sha256:abc123 @@ -24535,7 +23789,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &664 + default: &660 value: attestations_subject_digests: - sha256:abc: @@ -24644,7 +23898,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *99 + - *93 requestBody: required: true content: @@ -24709,7 +23963,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *99 + - *93 - name: subject_digest description: Subject Digest in: path @@ -24728,6 +23982,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/orgs#list-attestation-repositories + parameters: + - *17 + - *38 + - *39 + - *93 + - 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: orgs "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -24740,7 +24045,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *99 + - *93 - name: attestation_id description: Attestation ID in: path @@ -24778,7 +24083,7 @@ paths: - *17 - *38 - *39 - - *99 + - *93 - 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 +24136,7 @@ paths: initiator: type: string examples: - default: &378 + default: &366 value: attestations: - bundle: @@ -24938,7 +24243,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *99 + - *93 - *17 - *19 responses: @@ -24950,7 +24255,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24969,8 +24274,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 + - *93 + - *57 responses: '204': description: If the user is blocked @@ -24995,8 +24300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *99 - - *62 + - *93 + - *57 responses: '204': description: Response @@ -25016,8 +24321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *99 - - *62 + - *93 + - *57 responses: '204': description: Response @@ -25042,7 +24347,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *99 + - *93 - *19 - *17 - *46 @@ -25050,7 +24355,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &144 + schema: &139 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -25076,7 +24381,7 @@ paths: application/json: schema: type: array - items: &145 + items: &140 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -25184,7 +24489,7 @@ paths: parent: anyOf: - type: 'null' - - &214 + - &212 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -25320,7 +24625,7 @@ paths: - string - 'null' format: date-time - state: *144 + state: *139 contact_link: description: The contact link of the campaign. type: @@ -25416,9 +24721,9 @@ paths: closed_at: state: open headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25442,7 +24747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *99 + - *93 requestBody: required: true content: @@ -25537,9 +24842,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *140 examples: - default: &146 + default: &141 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -25588,7 +24893,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25610,7 +24915,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *99 + - *93 - name: campaign_number description: The campaign number. in: path @@ -25622,16 +24927,16 @@ paths: description: Response content: application/json: - schema: *145 + schema: *140 examples: - default: *146 + default: *141 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25652,7 +24957,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *99 + - *93 - name: campaign_number description: The campaign number. in: path @@ -25702,7 +25007,7 @@ paths: - string - 'null' format: uri - state: *144 + state: *139 examples: default: value: @@ -25712,9 +25017,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *140 examples: - default: *146 + default: *141 '400': description: Bad Request content: @@ -25726,7 +25031,7 @@ paths: content: application/json: schema: *3 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25747,7 +25052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *99 + - *93 - name: campaign_number description: The campaign number. in: path @@ -25758,7 +25063,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25780,8 +25085,8 @@ 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 + - *93 + - &390 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`, @@ -25791,7 +25096,7 @@ paths: schema: &149 type: string description: The name of the tool used to generate the code scanning analysis. - - &403 + - &391 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 @@ -25815,7 +25120,7 @@ paths: be returned. in: query required: false - schema: &405 + schema: &393 type: string description: State of a code scanning alert. enum: @@ -25838,7 +25143,7 @@ paths: be returned. in: query required: false - schema: &406 + schema: &394 type: string description: Severity of a code scanning alert. enum: @@ -25859,12 +25164,12 @@ paths: items: type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: &407 + number: *142 + created_at: *143 + updated_at: *144 + url: *145 + html_url: *146 + instances_url: &395 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -25886,7 +25191,7 @@ paths: - type: 'null' - *4 dismissed_at: *148 - dismissed_reason: &408 + dismissed_reason: &396 type: - string - 'null' @@ -25897,14 +25202,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &409 + dismissed_comment: &397 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &410 + rule: &398 type: object properties: id: @@ -25965,7 +25270,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &411 + tool: &399 type: object properties: name: *149 @@ -25976,15 +25281,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *150 - most_recent_instance: &412 + most_recent_instance: &400 type: object properties: - ref: &404 + ref: &392 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &422 + analysis_key: &410 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25995,7 +25300,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &423 + category: &411 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -26294,9 +25599,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': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26318,7 +25623,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *99 + - *93 - name: target_type in: query description: The target type of the code security configuration @@ -26429,7 +25734,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *99 + - *93 requestBody: required: true content: @@ -26672,7 +25977,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *99 + - *93 responses: '200': description: Response @@ -26706,7 +26011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *99 + - *93 requestBody: required: true content: @@ -26758,7 +26063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *99 + - *93 - *43 responses: '200': @@ -26791,7 +26096,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *99 + - *93 - *43 requestBody: required: true @@ -27048,7 +26353,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *99 + - *93 - *43 responses: '204': *156 @@ -27079,7 +26384,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *99 + - *93 - *43 requestBody: required: true @@ -27143,7 +26448,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 + - *93 - *43 requestBody: required: true @@ -27213,7 +26518,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 + - *93 - *43 - name: per_page description: The number of results per page (max 100). For more information, @@ -27272,7 +26577,7 @@ paths: parameters: - *17 - *19 - - *99 + - *93 responses: '200': description: Response @@ -27288,7 +26593,7 @@ paths: type: integer codespaces: type: array - items: &204 + items: &202 type: object title: Codespace description: A codespace. @@ -27319,11 +26624,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *131 + repository: *126 machine: anyOf: - type: 'null' - - &435 + - &423 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -27610,7 +26915,7 @@ paths: - pulls_url - recent_folders examples: - default: &205 + default: &203 value: total_count: 3 codespaces: @@ -28020,7 +27325,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -28042,7 +27347,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *99 + - *93 deprecated: true requestBody: required: true @@ -28086,7 +27391,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28109,7 +27414,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *99 + - *93 deprecated: true requestBody: required: true @@ -28141,7 +27446,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28164,7 +27469,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *99 + - *93 requestBody: required: true content: @@ -28195,7 +27500,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28216,7 +27521,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *99 + - *93 - *17 - *19 responses: @@ -28275,7 +27580,7 @@ paths: - updated_at - visibility examples: - default: &436 + default: &424 value: total_count: 2 secrets: @@ -28288,7 +27593,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28307,13 +27612,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: &437 + schema: &425 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -28348,7 +27653,7 @@ paths: - key_id - key examples: - default: &438 + default: &426 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28371,8 +27676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 responses: '200': description: Response @@ -28380,14 +27685,14 @@ paths: application/json: schema: *159 examples: - default: &440 + default: &428 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 +27712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 requestBody: required: true content: @@ -28463,7 +27768,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -28489,8 +27794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 responses: '204': description: Response @@ -28515,8 +27820,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 + - *93 + - *134 - *19 - *17 responses: @@ -28534,9 +27839,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *126 examples: - default: *143 + default: *138 '404': *6 x-github: githubCloudOnly: false @@ -28558,8 +27863,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 + - *93 + - *134 requestBody: required: true content: @@ -28609,8 +27914,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 + - *93 + - *134 - name: repository_id in: path required: true @@ -28643,8 +27948,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 + - *93 + - *134 - name: repository_id in: path required: true @@ -28683,7 +27988,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 + - *93 responses: '200': description: OK @@ -28792,7 +28097,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -28824,7 +28129,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 + - *93 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -28847,7 +28152,7 @@ paths: currently being billed. seats: type: array - items: &207 + items: &205 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -28866,7 +28171,7 @@ paths: access to GitHub Copilot, if applicable. oneOf: - *161 - - *58 + - *53 type: - 'null' - object @@ -28996,8 +28301,8 @@ paths: type: User site_admin: false headers: - Link: *57 - '500': *100 + Link: *52 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -29030,7 +28335,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 + - *93 requestBody: content: application/json: @@ -29072,7 +28377,7 @@ paths: default: value: seats_created: 5 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -29108,7 +28413,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 + - *93 requestBody: content: application/json: @@ -29150,7 +28455,7 @@ paths: default: value: seats_cancelled: 5 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -29188,7 +28493,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 + - *93 requestBody: content: application/json: @@ -29229,7 +28534,7 @@ paths: default: value: seats_created: 5 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -29265,7 +28570,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 + - *93 requestBody: content: application/json: @@ -29307,7 +28612,7 @@ paths: default: value: seats_cancelled: 5 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -29346,7 +28651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *99 + - *93 - 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 +28683,7 @@ paths: application/json: schema: type: array - items: &296 + items: &284 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -29693,7 +28998,7 @@ paths: - date additionalProperties: true examples: - default: &297 + default: &285 value: - date: '2024-06-24' total_active_users: 24 @@ -29792,10 +29097,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *100 + '500': *94 '403': *27 '404': *6 - '422': &298 + '422': &286 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -29822,7 +29127,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *99 + - *93 - *162 - *163 - *164 @@ -29870,8 +29175,6 @@ paths: - *46 - *38 - *39 - - *169 - - *170 - *17 responses: '200': @@ -29880,9 +29183,9 @@ paths: application/json: schema: type: array - items: *171 + items: *169 examples: - default: *172 + default: *170 '304': *35 '400': *14 '403': *27 @@ -29908,7 +29211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *99 + - *93 - *17 - *19 responses: @@ -29926,7 +29229,7 @@ paths: type: integer secrets: type: array - items: &173 + items: &171 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -29978,7 +29281,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 +29302,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: &463 + schema: &451 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -30024,7 +29327,7 @@ paths: - key_id - key examples: - default: &464 + default: &452 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30047,14 +29350,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 responses: '200': description: Response content: application/json: - schema: *173 + schema: *171 examples: default: value: @@ -30082,8 +29385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 requestBody: required: true content: @@ -30142,7 +29445,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -30166,8 +29469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 responses: '204': description: Response @@ -30191,8 +29494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 - *19 - *17 responses: @@ -30210,9 +29513,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *126 examples: - default: *143 + default: *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30233,8 +29536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 requestBody: required: true content: @@ -30284,8 +29587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 - name: repository_id in: path required: true @@ -30316,8 +29619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *93 + - *134 - name: repository_id in: path required: true @@ -30347,7 +29650,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 + - *93 responses: '200': description: Response @@ -30355,7 +29658,7 @@ paths: application/json: schema: type: array - items: &216 + items: &214 title: Package description: A software package type: object @@ -30408,7 +29711,7 @@ paths: repository: anyOf: - type: 'null' - - *131 + - *126 created_at: type: string format: date-time @@ -30426,7 +29729,7 @@ paths: - created_at - updated_at examples: - default: &217 + default: &215 value: - id: 197 name: hello_docker @@ -30504,7 +29807,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *99 + - *93 - *17 - *19 responses: @@ -30514,7 +29817,7 @@ paths: application/json: schema: type: array - items: *94 + items: *88 examples: 200-response: value: @@ -30586,7 +29889,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *99 + - *93 - *17 - *19 responses: @@ -30596,7 +29899,7 @@ paths: application/json: schema: type: array - items: &196 + items: &194 title: Organization Invitation description: Organization Invitation type: object @@ -30650,7 +29953,7 @@ paths: - invitation_teams_url - node_id examples: - default: &197 + default: &195 value: - id: 1 login: monalisa @@ -30683,7 +29986,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 +30010,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *99 + - *93 - *17 - *19 responses: @@ -30717,7 +30020,7 @@ paths: application/json: schema: type: array - items: &174 + items: &172 title: Org Hook description: Org Hook type: object @@ -30817,7 +30120,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -30840,7 +30143,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *99 + - *93 requestBody: required: true content: @@ -30902,9 +30205,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *172 examples: - default: &175 + default: &173 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -30951,8 +30254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *99 - - &176 + - *93 + - &174 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -30965,9 +30268,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *172 examples: - default: *175 + default: *173 '404': *6 x-github: githubCloudOnly: false @@ -30994,8 +30297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *99 - - *176 + - *93 + - *174 requestBody: required: false content: @@ -31041,7 +30344,7 @@ paths: description: Response content: application/json: - schema: *174 + schema: *172 examples: default: value: @@ -31082,8 +30385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *99 - - *176 + - *93 + - *174 responses: '204': description: Response @@ -31110,8 +30413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *99 - - *176 + - *93 + - *174 responses: '200': description: Response @@ -31141,8 +30444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *99 - - *176 + - *93 + - *174 requestBody: required: false content: @@ -31192,10 +30495,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *99 - - *176 + - *93 + - *174 - *17 - - *177 + - *175 responses: '200': description: Response @@ -31203,9 +30506,9 @@ paths: application/json: schema: type: array - items: *178 + items: *176 examples: - default: *179 + default: *177 '400': *14 '422': *15 x-github: @@ -31230,17 +30533,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *99 - - *176 + - *93 + - *174 - *16 responses: '200': description: Response content: application/json: - schema: *180 + schema: *178 examples: - default: *181 + default: *179 '400': *14 '422': *15 x-github: @@ -31265,8 +30568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *99 - - *176 + - *93 + - *174 - *16 responses: '202': *37 @@ -31295,8 +30598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *99 - - *176 + - *93 + - *174 responses: '204': description: Response @@ -31318,8 +30621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *99 - - &186 + - *93 + - &184 name: actor_type in: path description: The type of the actor @@ -31332,14 +30635,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &187 + - &185 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &182 + - &180 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -31347,7 +30650,7 @@ paths: required: true schema: type: string - - &183 + - &181 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -31441,13 +30744,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *99 - - *182 - - *183 + - *93 + - *180 + - *181 - *19 - *17 - *46 - - &192 + - &190 name: sort description: The property to sort the results by. in: query @@ -31526,15 +30829,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *99 - - *182 - - *183 + - *93 + - *180 + - *181 responses: '200': description: Response content: application/json: - schema: &184 + schema: &182 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -31550,7 +30853,7 @@ paths: type: integer format: int64 examples: - default: &185 + default: &183 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -31570,24 +30873,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *99 - - &188 + - *93 + - &186 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *182 - - *183 + - *180 + - *181 responses: '200': description: Response content: application/json: - schema: *184 + schema: *182 examples: - default: *185 + default: *183 x-github: enabledForGitHubApps: true category: orgs @@ -31605,19 +30908,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *99 - - *182 - - *183 - - *186 - - *187 + - *93 + - *180 + - *181 + - *184 + - *185 responses: '200': description: Response content: application/json: - schema: *184 + schema: *182 examples: - default: *185 + default: *183 x-github: enabledForGitHubApps: true category: orgs @@ -31634,10 +30937,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *99 - - *182 - - *183 - - &189 + - *93 + - *180 + - *181 + - &187 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -31650,7 +30953,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &188 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -31666,7 +30969,7 @@ paths: type: integer format: int64 examples: - default: &191 + default: &189 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -31702,19 +31005,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *99 - - *188 - - *182 - - *183 - - *189 + - *93 + - *186 + - *180 + - *181 + - *187 responses: '200': description: Response content: application/json: - schema: *190 + schema: *188 examples: - default: *191 + default: *189 x-github: enabledForGitHubApps: true category: orgs @@ -31731,20 +31034,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *99 - - *186 + - *93 + - *184 + - *185 + - *180 + - *181 - *187 - - *182 - - *183 - - *189 responses: '200': description: Response content: application/json: - schema: *190 + schema: *188 examples: - default: *191 + default: *189 x-github: enabledForGitHubApps: true category: orgs @@ -31761,14 +31064,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *99 - - *188 - - *182 - - *183 + - *93 + - *186 + - *180 + - *181 - *19 - *17 - *46 - - *192 + - *190 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -31844,7 +31147,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *99 + - *93 responses: '200': description: Response @@ -31852,7 +31155,7 @@ paths: application/json: schema: *20 examples: - default: &502 + default: &490 value: id: 1 account: @@ -31921,7 +31224,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *99 + - *93 - *17 - *19 responses: @@ -31991,7 +31294,7 @@ paths: suspended_at: suspended_by: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32010,7 +31313,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response @@ -32018,12 +31321,12 @@ paths: application/json: schema: anyOf: - - &194 + - &192 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &193 + limit: &191 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -32051,7 +31354,7 @@ paths: properties: {} additionalProperties: false examples: - default: &195 + default: &193 value: limit: collaborators_only origin: organization @@ -32075,18 +31378,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *99 + - *93 requestBody: required: true content: application/json: - schema: &503 + schema: &491 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *193 + limit: *191 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -32111,9 +31414,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *192 examples: - default: *195 + default: *193 '422': *15 x-github: githubCloudOnly: false @@ -32131,7 +31434,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *99 + - *93 responses: '204': description: Response @@ -32155,7 +31458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *99 + - *93 - *17 - *19 - name: role @@ -32189,11 +31492,11 @@ paths: application/json: schema: type: array - items: *196 + items: *194 examples: - default: *197 + default: *195 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32214,7 +31517,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *99 + - *93 requestBody: required: false content: @@ -32268,7 +31571,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *194 examples: default: value: @@ -32322,8 +31625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *99 - - &198 + - *93 + - &196 name: invitation_id description: The unique identifier of the invitation. in: path @@ -32353,8 +31656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *99 - - *198 + - *93 + - *196 - *17 - *19 responses: @@ -32366,7 +31669,7 @@ paths: type: array items: *161 examples: - default: &215 + default: &213 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -32382,7 +31685,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 +31704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response @@ -32409,7 +31712,7 @@ paths: application/json: schema: type: array - items: *199 + items: *197 examples: default: value: @@ -32447,7 +31750,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *99 + - *93 requestBody: required: true content: @@ -32497,9 +31800,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *197 examples: - default: &200 + default: &198 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -32531,8 +31834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *99 - - &201 + - *93 + - &199 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -32588,9 +31891,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *197 examples: - default: *200 + default: *198 '404': *6 '422': *7 x-github: @@ -32614,8 +31917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *99 - - *201 + - *93 + - *199 responses: '204': description: Response @@ -32648,7 +31951,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *99 + - *93 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -32678,7 +31981,7 @@ paths: - closed - all default: open - - *202 + - *200 - name: type description: Can be the name of an issue type. in: query @@ -32697,7 +32000,7 @@ paths: - comments default: created - *46 - - *75 + - *69 - *17 - *19 responses: @@ -32707,11 +32010,11 @@ paths: application/json: schema: type: array - items: *68 + items: *63 examples: - default: *203 + default: *201 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32731,7 +32034,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *99 + - *93 - 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 +32072,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -32789,8 +32092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *99 - - *62 + - *93 + - *57 responses: '204': description: Response if requester is an organization member and user is @@ -32824,8 +32127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *99 - - *62 + - *93 + - *57 responses: '204': description: Response @@ -32851,8 +32154,8 @@ paths: parameters: - *17 - *19 - - *99 - - *62 + - *93 + - *57 responses: '200': description: Response @@ -32868,11 +32171,11 @@ paths: type: integer codespaces: type: array - items: *204 + items: *202 examples: - default: *205 + default: *203 '304': *35 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -32895,9 +32198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *99 - - *62 - - &206 + - *93 + - *57 + - &204 name: codespace_name in: path required: true @@ -32907,7 +32210,7 @@ paths: responses: '202': *37 '304': *35 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -32930,17 +32233,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *99 - - *62 - - *206 + - *93 + - *57 + - *204 responses: '200': description: Response content: application/json: - schema: *204 + schema: *202 examples: - default: &434 + default: &422 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -33082,7 +32385,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -33113,14 +32416,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *99 - - *62 + - *93 + - *57 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *207 + schema: *205 examples: default: value: @@ -33164,7 +32467,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': *94 '401': *23 '403': *27 '404': *6 @@ -33189,14 +32492,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *99 - - *62 + - *93 + - *57 responses: '200': description: Response content: application/json: - schema: &208 + schema: &206 title: Org Membership description: Org Membership type: object @@ -33265,7 +32568,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &209 + response-if-user-has-an-active-admin-membership-with-organization: &207 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -33333,8 +32636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *99 - - *62 + - *93 + - *57 requestBody: required: false content: @@ -33362,9 +32665,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *206 examples: - response-if-user-already-had-membership-with-organization: *209 + response-if-user-already-had-membership-with-organization: *207 '422': *15 '403': *27 x-github: @@ -33388,8 +32691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *99 - - *62 + - *93 + - *57 responses: '204': description: Response @@ -33414,7 +32717,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *99 + - *93 - *17 - *19 - name: exclude @@ -33436,7 +32739,7 @@ paths: application/json: schema: type: array - items: &210 + items: &208 title: Migration description: A migration. type: object @@ -33478,7 +32781,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *66 + items: *61 url: type: string format: uri @@ -33677,7 +32980,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 +32996,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *99 + - *93 requestBody: required: true content: @@ -33774,7 +33077,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *208 examples: default: value: @@ -33952,8 +33255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *99 - - &211 + - *93 + - &209 name: migration_id description: The unique identifier of the migration. in: path @@ -33981,7 +33284,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *210 + schema: *208 examples: default: value: @@ -34150,8 +33453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *99 - - *211 + - *93 + - *209 responses: '302': description: Response @@ -34172,8 +33475,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *99 - - *211 + - *93 + - *209 responses: '204': description: Response @@ -34196,9 +33499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *99 - - *211 - - &646 + - *93 + - *209 + - &642 name: repo_name description: repo_name parameter in: path @@ -34225,8 +33528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *99 - - *211 + - *93 + - *209 - *17 - *19 responses: @@ -34236,9 +33539,9 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: - default: &222 + default: &220 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -34349,7 +33652,7 @@ paths: secret_scanning_non_provider_patterns: status: disabled headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -34375,7 +33678,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response - list of organization roles @@ -34391,7 +33694,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &213 + items: &211 title: Organization Role description: Organization roles type: object @@ -34540,8 +33843,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 + - *93 + - *59 responses: '204': description: Response @@ -34566,9 +33869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *99 - - *64 - - &212 + - *93 + - *59 + - &210 name: role_id description: The unique identifier of the role. in: path @@ -34603,9 +33906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *99 - - *64 - - *212 + - *93 + - *59 + - *210 responses: '204': description: Response @@ -34630,8 +33933,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 + - *93 + - *57 responses: '204': description: Response @@ -34656,9 +33959,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *99 - - *62 - - *212 + - *93 + - *57 + - *210 responses: '204': description: Response @@ -34688,9 +33991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *99 - - *62 - - *212 + - *93 + - *57 + - *210 responses: '204': description: Response @@ -34718,14 +34021,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *99 - - *212 + - *93 + - *210 responses: '200': description: Response content: application/json: - schema: *213 + schema: *211 examples: default: value: @@ -34775,8 +34078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *99 - - *212 + - *93 + - *210 - *17 - *19 responses: @@ -34855,7 +34158,7 @@ paths: parent: anyOf: - type: 'null' - - *214 + - *212 type: description: The ownership type of the team type: string @@ -34888,9 +34191,9 @@ paths: - type - parent examples: - default: *215 + default: *213 headers: - Link: *57 + Link: *52 '404': description: Response if the organization or role does not exist. '422': @@ -34917,8 +34220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *99 - - *212 + - *93 + - *210 - *17 - *19 responses: @@ -34947,7 +34250,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *214 + items: *212 name: type: - string @@ -35064,9 +34367,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 +34391,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *99 + - *93 - 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 +34418,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35140,8 +34443,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 + - *93 + - *57 requestBody: required: false content: @@ -35198,8 +34501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *99 - - *62 + - *93 + - *57 responses: '204': description: Response @@ -35256,8 +34559,8 @@ paths: - docker - nuget - container - - *99 - - &648 + - *93 + - &644 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -35293,12 +34596,12 @@ paths: application/json: schema: type: array - items: *216 + items: *214 examples: - default: *217 + default: *215 '403': *27 '401': *23 - '400': &650 + '400': &646 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -35320,7 +34623,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &218 + - &216 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -35338,20 +34641,20 @@ paths: - docker - nuget - container - - &219 + - &217 name: package_name description: The name of the package. in: path required: true schema: type: string - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: *216 + schema: *214 examples: default: value: @@ -35403,9 +34706,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *218 - - *219 - - *99 + - *216 + - *217 + - *93 responses: '204': description: Response @@ -35437,9 +34740,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *218 - - *219 - - *99 + - *216 + - *217 + - *93 - name: token description: package token schema: @@ -35471,9 +34774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *218 - - *219 - - *99 + - *216 + - *217 + - *93 - *19 - *17 - name: state @@ -35493,7 +34796,7 @@ paths: application/json: schema: type: array - items: &220 + items: &218 title: Package Version description: A version of a software package type: object @@ -35628,10 +34931,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *218 - - *219 - - *99 - - &221 + - *216 + - *217 + - *93 + - &219 name: package_version_id description: Unique identifier of the package version. in: path @@ -35643,7 +34946,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *218 examples: default: value: @@ -35679,10 +34982,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *218 + - *216 + - *217 + - *93 - *219 - - *99 - - *221 responses: '204': description: Response @@ -35714,10 +35017,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *218 + - *216 + - *217 + - *93 - *219 - - *99 - - *221 responses: '204': description: Response @@ -35744,10 +35047,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *99 + - *93 - *17 - *19 - - &223 + - &221 name: sort description: The property by which to sort the results. in: query @@ -35758,7 +35061,7 @@ paths: - created_at default: created_at - *46 - - &224 + - &222 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -35770,7 +35073,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &225 + - &223 name: repository description: The name of the repository to use to filter the results. in: query @@ -35779,7 +35082,7 @@ paths: type: string examples: - Hello-World - - &226 + - &224 name: permission description: The permission to use to filter the results. in: query @@ -35788,7 +35091,7 @@ paths: type: string examples: - issues_read - - &227 + - &225 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -35798,7 +35101,7 @@ paths: schema: type: string format: date-time - - &228 + - &226 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -35808,7 +35111,7 @@ paths: schema: type: string format: date-time - - &229 + - &227 name: token_id description: The ID of the token in: query @@ -35821,7 +35124,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *100 + '500': *94 '422': *15 '404': *6 '403': *27 @@ -35956,7 +35259,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 +35279,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 + - *93 requestBody: required: true content: @@ -36018,7 +35321,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *100 + '500': *94 '422': *15 '404': *6 '403': *27 @@ -36043,7 +35346,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 + - *93 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -36080,7 +35383,7 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *100 + '500': *94 '422': *15 '404': *6 '403': *27 @@ -36105,7 +35408,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 + - *93 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -36116,7 +35419,7 @@ paths: - *17 - *19 responses: - '500': *100 + '500': *94 '404': *6 '403': *27 '200': @@ -36125,11 +35428,11 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: - default: *222 + default: *220 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36150,19 +35453,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *99 + - *93 - *17 - *19 - - *223 + - *221 - *46 + - *222 + - *223 - *224 - *225 - *226 - *227 - - *228 - - *229 responses: - '500': *100 + '500': *94 '422': *15 '404': *6 '403': *27 @@ -36291,7 +35594,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 +35614,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 + - *93 requestBody: required: true content: @@ -36346,7 +35649,7 @@ paths: - 1296269 - 1296280 responses: - '500': *100 + '500': *94 '404': *6 '202': *37 '403': *27 @@ -36371,7 +35674,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 + - *93 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -36399,7 +35702,7 @@ paths: value: action: revoke responses: - '500': *100 + '500': *94 '404': *6 '204': *156 '403': *27 @@ -36423,7 +35726,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 + - *93 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -36433,7 +35736,7 @@ paths: - *17 - *19 responses: - '500': *100 + '500': *94 '404': *6 '403': *27 '200': @@ -36442,11 +35745,11 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: - default: *222 + default: *220 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36468,7 +35771,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *99 + - *93 - *17 - *19 responses: @@ -36486,7 +35789,7 @@ paths: type: integer configurations: type: array - items: &230 + items: &228 title: Organization private registry description: Private registry configuration for an organization type: object @@ -36555,7 +35858,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *57 + Link: *52 '400': *14 '404': *6 x-github: @@ -36577,7 +35880,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 + - *93 requestBody: required: true content: @@ -36745,7 +36048,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &231 + org-private-registry-with-selected-visibility: &229 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -36786,7 +36089,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 + - *93 responses: '200': description: Response @@ -36814,7 +36117,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -36836,16 +36139,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *99 - - *139 + - *93 + - *134 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *230 + schema: *228 examples: - default: *231 + default: *229 '404': *6 x-github: githubCloudOnly: false @@ -36866,8 +36169,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 + - *93 + - *134 requestBody: required: true content: @@ -36963,8 +36266,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 + - *93 + - *134 responses: '204': description: Response @@ -36989,7 +36292,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects parameters: - - *99 + - *93 - name: state description: Indicates the state of the projects to return. in: query @@ -37010,7 +36313,7 @@ paths: application/json: schema: type: array - items: &232 + items: &230 title: Project description: Projects are a way to organize columns and cards of work. @@ -37143,7 +36446,7 @@ paths: organization_permission: write private: true headers: - Link: *57 + Link: *52 '422': *7 x-github: githubCloudOnly: false @@ -37166,7 +36469,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project parameters: - - *99 + - *93 requestBody: required: true content: @@ -37192,7 +36495,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *230 examples: default: value: @@ -37230,7 +36533,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &320 + '410': &308 description: Gone content: application/json: @@ -37256,7 +36559,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *99 + - *93 - name: q description: Limit results to projects of the specified type. in: query @@ -37273,7 +36576,7 @@ paths: application/json: schema: type: array - items: &233 + items: &231 title: Projects v2 Project description: A projects v2 project type: object @@ -37347,7 +36650,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &727 + - &723 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -37432,7 +36735,7 @@ paths: - deleted_at - deleted_by examples: - default: &234 + default: &232 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -37515,7 +36818,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37535,24 +36838,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &235 + - &233 name: project_number description: The project's number. in: path required: true schema: type: integer - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: *233 + schema: *231 examples: - default: *234 + default: *232 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37572,8 +36875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *235 - - *99 + - *233 + - *93 - *17 - *38 - *39 @@ -37584,7 +36887,7 @@ paths: application/json: schema: type: array - items: &236 + items: &234 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -37734,7 +37037,7 @@ paths: - updated_at - project_url examples: - default: &237 + default: &235 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -37757,7 +37060,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37777,25 +37080,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *235 - - &667 + - *233 + - &663 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: *236 + schema: *234 examples: - default: *237 + default: *235 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37816,8 +37119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *235 - - *99 + - *233 + - *93 - 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,8 +37129,10 @@ 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` in: query required: false schema: @@ -37835,8 +37140,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 - *38 - *39 - *17 @@ -37847,7 +37150,7 @@ paths: application/json: schema: type: array - items: &242 + items: &240 title: Projects v2 Item description: An item belonging to a project type: object @@ -37864,7 +37167,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &240 + content_type: &238 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -37921,7 +37224,7 @@ paths: - updated_at - archived_at examples: - default: &243 + default: &241 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -38595,7 +37898,7 @@ paths: type: sub_issues_progress value: headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -38615,8 +37918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *99 - - *235 + - *93 + - *233 requestBody: required: true description: Details of the item to add to the project. @@ -38653,7 +37956,7 @@ paths: description: Response content: application/json: - schema: &668 + schema: &664 title: Projects v2 Item description: An item belonging to a project type: object @@ -38666,8 +37969,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *68 - - &447 + - *63 + - &435 title: Pull Request Simple description: Pull Request Simple type: object @@ -38787,7 +38090,7 @@ paths: milestone: anyOf: - type: 'null' - - *238 + - *236 active_lock_reason: type: - string @@ -38850,7 +38153,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *61 sha: type: string user: @@ -38870,7 +38173,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *61 sha: type: string user: @@ -38886,7 +38189,7 @@ paths: _links: type: object properties: - comments: &239 + comments: &237 title: Link description: Hypermedia Link type: object @@ -38895,13 +38198,13 @@ paths: type: string required: - href - commits: *239 - statuses: *239 - html: *239 - issue: *239 - review_comments: *239 - review_comment: *239 - self: *239 + commits: *237 + statuses: *237 + html: *237 + issue: *237 + review_comments: *237 + review_comment: *237 + self: *237 required: - comments - commits @@ -38911,8 +38214,8 @@ paths: - review_comments - review_comment - self - author_association: *69 - auto_merge: &544 + author_association: *64 + auto_merge: &532 title: Auto merge description: The status of auto merging a pull request. type: @@ -39014,7 +38317,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *240 + content_type: *238 creator: *4 created_at: type: string @@ -39051,7 +38354,7 @@ paths: - updated_at - archived_at examples: - issue: &241 + issue: &239 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -39106,7 +38409,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *241 + pull_request: *239 '304': *35 '403': *27 '401': *23 @@ -39126,9 +38429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *235 - - *99 - - &244 + - *233 + - *93 + - &242 name: item_id description: The unique identifier of the project item. in: path @@ -39152,11 +38455,11 @@ paths: description: Response content: application/json: - schema: *242 + schema: *240 examples: - default: *243 + default: *241 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -39175,9 +38478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *235 - - *99 - - *244 + - *233 + - *93 + - *242 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -39250,13 +38553,13 @@ paths: description: Response content: application/json: - schema: *242 + schema: *240 examples: - text_field: *243 - number_field: *243 - date_field: *243 - single_select_field: *243 - iteration_field: *243 + text_field: *241 + number_field: *241 + date_field: *241 + single_select_field: *241 + iteration_field: *241 '401': *23 '403': *27 '404': *6 @@ -39276,9 +38579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *235 - - *99 - - *244 + - *233 + - *93 + - *242 responses: '204': description: Response @@ -39302,7 +38605,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response @@ -39310,7 +38613,7 @@ paths: application/json: schema: type: array - items: &245 + items: &243 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -39386,7 +38689,7 @@ paths: - property_name - value_type examples: - default: &246 + default: &244 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -39434,7 +38737,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 + - *93 requestBody: required: true content: @@ -39445,7 +38748,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *245 + items: *243 minItems: 1 maxItems: 100 required: @@ -39475,9 +38778,9 @@ paths: application/json: schema: type: array - items: *245 + items: *243 examples: - default: *246 + default: *244 '403': *27 '404': *6 x-github: @@ -39498,8 +38801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *99 - - &247 + - *93 + - &245 name: custom_property_name description: The custom property name in: path @@ -39511,9 +38814,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *243 examples: - default: &248 + default: &246 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -39547,8 +38850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *99 - - *247 + - *93 + - *245 requestBody: required: true content: @@ -39626,9 +38929,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *243 examples: - default: *248 + default: *246 '403': *27 '404': *6 x-github: @@ -39651,8 +38954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *99 - - *247 + - *93 + - *245 responses: '204': *156 '403': *27 @@ -39675,7 +38978,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *99 + - *93 - *17 - *19 - name: repository_query @@ -39716,7 +39019,7 @@ paths: - octocat/Hello-World properties: type: array - items: &249 + items: &247 title: Custom Property Value description: Custom property name and associated value type: object @@ -39758,7 +39061,7 @@ paths: - property_name: team value: octocat headers: - Link: *57 + Link: *52 '403': *27 '404': *6 x-github: @@ -39786,7 +39089,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 + - *93 requestBody: required: true content: @@ -39806,7 +39109,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *249 + items: *247 required: - repository_names - properties @@ -39847,7 +39150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *99 + - *93 - *17 - *19 responses: @@ -39859,9 +39162,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39878,8 +39181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *99 - - *62 + - *93 + - *57 responses: '204': description: Response if user is a public member @@ -39903,8 +39206,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 + - *93 + - *57 responses: '204': description: Response @@ -39925,8 +39228,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 + - *93 + - *57 responses: '204': description: Response @@ -39950,7 +39253,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *99 + - *93 - name: type description: Specifies the types of repositories you want returned. in: query @@ -39996,11 +39299,11 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: - default: *222 + default: *220 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40019,7 +39322,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *99 + - *93 requestBody: required: true content: @@ -40201,7 +39504,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &310 title: Full Repository description: Full Repository type: object @@ -40547,7 +39850,7 @@ paths: template_repository: anyOf: - type: 'null' - - *66 + - *61 temp_clone_token: type: - string @@ -40647,13 +39950,13 @@ paths: license: anyOf: - type: 'null' - - *71 + - *66 organization: anyOf: - type: 'null' - *4 - parent: *66 - source: *66 + parent: *61 + source: *61 forks: type: integer master_branch: @@ -40666,7 +39969,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &452 + code_of_conduct: &440 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -40696,7 +39999,7 @@ paths: - key - name - html_url - security_and_analysis: *250 + security_and_analysis: *248 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -40780,7 +40083,7 @@ paths: - network_count - subscribers_count examples: - default: &324 + default: &312 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41298,10 +40601,10 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *93 - *17 - *19 - - &567 + - &555 name: targets description: | A comma-separated list of rule targets to filter by. @@ -41320,7 +40623,7 @@ paths: application/json: schema: type: array - items: &276 + items: &274 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -41355,7 +40658,7 @@ paths: source: type: string description: The name of the source - enforcement: &253 + enforcement: &251 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -41368,7 +40671,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &254 + items: &252 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -41439,7 +40742,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &251 + - &249 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -41463,7 +40766,7 @@ paths: match. items: type: string - - &255 + - &253 title: Organization ruleset conditions type: object description: |- @@ -41477,7 +40780,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *251 + - *249 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -41511,7 +40814,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *251 + - *249 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -41533,7 +40836,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *251 + - *249 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -41546,7 +40849,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &252 + items: &250 title: Repository ruleset property targeting definition type: object @@ -41579,7 +40882,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *252 + items: *250 required: - repository_property type: @@ -41587,12 +40890,12 @@ paths: - object rules: type: array - items: &568 + items: &556 title: Repository Rule type: object description: A repository rule. oneOf: - - &256 + - &254 title: creation description: Only allow users with bypass permission to create matching refs. @@ -41604,7 +40907,7 @@ paths: type: string enum: - creation - - &257 + - &255 title: update description: Only allow users with bypass permission to update matching refs. @@ -41625,7 +40928,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &258 + - &256 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -41637,7 +40940,7 @@ paths: type: string enum: - deletion - - &259 + - &257 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -41649,7 +40952,7 @@ paths: type: string enum: - required_linear_history - - &565 + - &553 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -41727,7 +41030,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &260 + - &258 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -41751,7 +41054,7 @@ paths: type: string required: - required_deployment_environments - - &261 + - &259 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -41763,7 +41066,7 @@ paths: type: string enum: - required_signatures - - &262 + - &260 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -41825,7 +41128,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &263 + - &261 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -41873,7 +41176,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &264 + - &262 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -41885,7 +41188,7 @@ paths: type: string enum: - non_fast_forward - - &265 + - &263 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -41921,7 +41224,7 @@ paths: required: - operator - pattern - - &266 + - &264 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -41957,7 +41260,7 @@ paths: required: - operator - pattern - - &267 + - &265 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -41993,7 +41296,7 @@ paths: required: - operator - pattern - - &268 + - &266 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -42029,7 +41332,7 @@ paths: required: - operator - pattern - - &269 + - &267 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -42065,7 +41368,7 @@ paths: required: - operator - pattern - - &270 + - &268 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -42090,7 +41393,7 @@ paths: type: string required: - restricted_file_paths - - &271 + - &269 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -42114,7 +41417,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &272 + - &270 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -42137,7 +41440,7 @@ paths: type: string required: - restricted_file_extensions - - &273 + - &271 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -42162,7 +41465,7 @@ paths: maximum: 100 required: - max_file_size - - &274 + - &272 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -42212,7 +41515,7 @@ paths: - repository_id required: - workflows - - &275 + - &273 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -42273,7 +41576,7 @@ paths: - tool required: - code_scanning_tools - - &566 + - &554 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -42334,7 +41637,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *94 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -42350,7 +41653,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *93 requestBody: description: Request body required: true @@ -42371,20 +41674,22 @@ paths: - push - repository default: branch - enforcement: *253 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *255 + items: *252 + conditions: *253 rules: type: array description: An array of rules within the ruleset. - items: &278 + items: &276 title: Repository Rule type: object description: A repository rule. oneOf: + - *254 + - *255 - *256 - *257 - *258 @@ -42403,8 +41708,6 @@ paths: - *271 - *272 - *273 - - *274 - - *275 required: - name - enforcement @@ -42442,9 +41745,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: &277 + default: &275 value: id: 21 name: super cool ruleset @@ -42484,7 +41787,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *94 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -42498,8 +41801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *99 - - &569 + - *93 + - &557 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 +41817,7 @@ paths: in: query schema: type: string - - &570 + - &558 name: time_period description: |- The time period to filter by. @@ -42530,14 +41833,14 @@ paths: - week - month default: day - - &571 + - &559 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 + - &560 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -42557,7 +41860,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &561 title: Rule Suites description: Response type: array @@ -42613,7 +41916,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &574 + default: &562 value: - id: 21 actor_id: 12 @@ -42637,7 +41940,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42656,8 +41959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *99 - - &575 + - *93 + - &563 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -42673,7 +41976,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &564 title: Rule Suite description: Response type: object @@ -42780,7 +42083,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &577 + default: &565 value: id: 21 actor_id: 12 @@ -42815,7 +42118,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42841,7 +42144,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *93 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42853,11 +42156,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: *277 + default: *275 '404': *6 - '500': *100 + '500': *94 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -42873,7 +42176,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *93 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42899,16 +42202,16 @@ paths: - tag - push - repository - enforcement: *253 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *255 + items: *252 + conditions: *253 rules: description: An array of rules within the ruleset. type: array - items: *278 + items: *276 examples: default: value: @@ -42943,11 +42246,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: *277 + default: *275 '404': *6 - '500': *100 + '500': *94 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -42963,7 +42266,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *93 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42974,7 +42277,7 @@ paths: '204': description: Response '404': *6 - '500': *100 + '500': *94 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -42986,7 +42289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *99 + - *93 - *17 - *19 - name: ruleset_id @@ -43002,7 +42305,7 @@ paths: application/json: schema: type: array - items: &279 + items: &277 title: Ruleset version type: object description: The historical version of a ruleset @@ -43026,7 +42329,7 @@ paths: type: string format: date-time examples: - default: &579 + default: &567 value: - version_id: 3 actor: @@ -43044,7 +42347,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43061,7 +42364,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *99 + - *93 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43079,9 +42382,9 @@ paths: description: Response content: application/json: - schema: &580 + schema: &568 allOf: - - *279 + - *277 - type: object required: - state @@ -43128,7 +42431,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43150,15 +42453,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 + - *93 + - &569 + 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 + - &570 + 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 + - &571 + 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 + - &572 + 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 + - &573 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 +42509,7 @@ paths: required: false schema: type: string - - &582 + - &574 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 +42519,42 @@ paths: required: false schema: type: string - - *284 - - *285 - - *286 - - *287 + - &575 + 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 + - &576 + 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 + - &577 + 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 + - &578 + 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 +42562,615 @@ paths: application/json: schema: type: array - items: *288 + items: + type: object + properties: + number: *142 + created_at: *143 + updated_at: + anyOf: + - type: 'null' + - *144 + url: *145 + html_url: *146 + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this + alert. + state: &579 + 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: &580 + 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' + - &581 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &583 + 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 + - &584 + 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 + - &585 + 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 + - &586 + 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 + - &587 + 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 + - &588 + 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 + - &589 + 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 + - &590 + 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 + - &591 + 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 + - &592 + 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 + - &593 + 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 + - &594 + 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 + - &595 + 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': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43220,7 +43195,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *99 + - *93 responses: '200': description: Response @@ -43232,7 +43207,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &291 + pattern_config_version: &279 type: - string - 'null' @@ -43242,7 +43217,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &290 + items: &278 type: object properties: token_type: @@ -43311,7 +43286,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *290 + items: *278 examples: default: value: @@ -43360,7 +43335,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *99 + - *93 requestBody: required: true content: @@ -43368,7 +43343,7 @@ paths: schema: type: object properties: - pattern_config_version: *291 + pattern_config_version: *279 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -43394,7 +43369,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *291 + custom_pattern_version: *279 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -43448,7 +43423,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 + - *93 - *46 - name: sort description: The property to sort the results by. @@ -43492,7 +43467,7 @@ paths: application/json: schema: type: array - items: &603 + items: &599 description: A repository security advisory. type: object properties: @@ -43736,7 +43711,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *280 credits_detailed: type: - array @@ -43747,7 +43722,7 @@ paths: type: object properties: user: *4 - type: *292 + type: *280 state: type: string description: The state of the user's acceptance of the @@ -43811,7 +43786,7 @@ paths: - private_fork additionalProperties: false examples: - default: &604 + default: &600 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44190,7 +44165,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *99 + - *93 responses: '200': description: Response @@ -44198,9 +44173,9 @@ paths: application/json: schema: type: array - items: *214 + items: *212 examples: - default: *215 + default: *213 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44223,8 +44198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *99 - - *64 + - *93 + - *59 responses: '204': description: Response @@ -44249,8 +44224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *99 - - *64 + - *93 + - *59 responses: '204': description: Response @@ -44279,13 +44254,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: &669 + schema: &665 type: object properties: total_minutes_used: @@ -44355,7 +44330,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &670 + default: &666 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -44385,13 +44360,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: &671 + schema: &667 type: object properties: total_gigabytes_bandwidth_used: @@ -44409,7 +44384,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &672 + default: &668 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -44435,13 +44410,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: &676 + schema: &672 type: object properties: days_left_in_billing_cycle: @@ -44459,7 +44434,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &677 + default: &673 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -44483,7 +44458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *99 + - *93 responses: '200': description: Immutable releases settings response @@ -44533,7 +44508,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *99 + - *93 responses: '204': description: Response @@ -44591,7 +44566,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *99 + - *93 - *19 - *17 responses: @@ -44609,9 +44584,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *126 examples: - default: *143 + default: *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44630,7 +44605,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *99 + - *93 requestBody: required: true content: @@ -44679,8 +44654,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 + - *93 + - *115 responses: '204': description: Response @@ -44702,8 +44677,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 + - *93 + - *115 responses: '204': description: Response @@ -44726,7 +44701,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 + - *93 - *17 - *19 responses: @@ -44744,7 +44719,7 @@ paths: type: integer network_configurations: type: array - items: &293 + items: &281 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -44808,7 +44783,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44827,7 +44802,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 + - *93 requestBody: required: true content: @@ -44869,9 +44844,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *281 examples: - default: &294 + default: &282 value: id: 123456789ABCDEF name: My network configuration @@ -44899,8 +44874,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 + - *93 + - &283 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -44912,11 +44887,11 @@ paths: description: Response content: application/json: - schema: *293 + schema: *281 examples: - default: *294 + default: *282 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44935,8 +44910,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 + - *93 + - *283 requestBody: required: true content: @@ -44975,9 +44950,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *281 examples: - default: *294 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44996,8 +44971,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 + - *93 + - *283 responses: '204': description: Response @@ -45020,7 +44995,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 + - *93 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -45079,7 +45054,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 +45084,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *99 - - *64 + - *93 + - *59 - 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 +45117,13 @@ paths: application/json: schema: type: array - items: *296 + items: *284 examples: - default: *297 - '500': *100 + default: *285 + '500': *94 '403': *27 '404': *6 - '422': *298 + '422': *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45166,7 +45141,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *99 + - *93 - *17 - *19 responses: @@ -45178,9 +45153,9 @@ paths: type: array items: *161 examples: - default: *215 + default: *213 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -45200,7 +45175,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *99 + - *93 requestBody: required: true content: @@ -45272,7 +45247,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &287 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45346,7 +45321,7 @@ paths: parent: anyOf: - type: 'null' - - *214 + - *212 members_count: type: integer examples: @@ -45671,7 +45646,7 @@ paths: - repos_count - organization examples: - default: &300 + default: &288 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45741,16 +45716,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *99 - - *64 + - *93 + - *59 responses: '200': description: Response content: application/json: - schema: *299 + schema: *287 examples: - default: *300 + default: *288 '404': *6 x-github: githubCloudOnly: false @@ -45771,8 +45746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *99 - - *64 + - *93 + - *59 requestBody: required: false content: @@ -45835,16 +45810,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *287 examples: - default: *300 + default: *288 '201': description: Response content: application/json: - schema: *299 + schema: *287 examples: - default: *300 + default: *288 '404': *6 '422': *15 '403': *27 @@ -45869,8 +45844,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *99 - - *64 + - *93 + - *59 responses: '204': description: Response @@ -45896,8 +45871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *99 - - *64 + - *93 + - *59 - *46 - *17 - *19 @@ -45914,7 +45889,7 @@ paths: application/json: schema: type: array - items: &301 + items: &289 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -46005,7 +45980,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *70 + reactions: *65 required: - author - body @@ -46025,7 +46000,7 @@ paths: - updated_at - url examples: - default: &621 + default: &617 value: - author: login: octocat @@ -46075,7 +46050,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46099,8 +46074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *99 - - *64 + - *93 + - *59 requestBody: required: true content: @@ -46134,9 +46109,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *289 examples: - default: &302 + default: &290 value: author: login: octocat @@ -46208,9 +46183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *99 - - *64 - - &303 + - *93 + - *59 + - &291 name: discussion_number description: The number that identifies the discussion. in: path @@ -46222,9 +46197,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *289 examples: - default: *302 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46246,9 +46221,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *99 - - *64 - - *303 + - *93 + - *59 + - *291 requestBody: required: false content: @@ -46271,9 +46246,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *289 examples: - default: &622 + default: &618 value: author: login: octocat @@ -46343,9 +46318,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *99 - - *64 - - *303 + - *93 + - *59 + - *291 responses: '204': description: Response @@ -46371,9 +46346,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *99 - - *64 - - *303 + - *93 + - *59 + - *291 - *46 - *17 - *19 @@ -46384,7 +46359,7 @@ paths: application/json: schema: type: array - items: &304 + items: &292 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46449,7 +46424,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *70 + reactions: *65 required: - author - body @@ -46464,7 +46439,7 @@ paths: - updated_at - url examples: - default: &623 + default: &619 value: - author: login: octocat @@ -46508,7 +46483,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46532,9 +46507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *99 - - *64 - - *303 + - *93 + - *59 + - *291 requestBody: required: true content: @@ -46556,9 +46531,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *292 examples: - default: &305 + default: &293 value: author: login: octocat @@ -46624,10 +46599,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - &306 + - *93 + - *59 + - *291 + - &294 name: comment_number description: The number that identifies the comment. in: path @@ -46639,9 +46614,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *292 examples: - default: *305 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46663,10 +46638,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *93 + - *59 + - *291 + - *294 requestBody: required: true content: @@ -46688,9 +46663,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *292 examples: - default: &624 + default: &620 value: author: login: octocat @@ -46754,10 +46729,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *93 + - *59 + - *291 + - *294 responses: '204': description: Response @@ -46783,10 +46758,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 + - *93 + - *59 + - *291 + - *294 - 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 +46787,7 @@ paths: application/json: schema: type: array - items: &307 + items: &295 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46856,7 +46831,7 @@ paths: - content - created_at examples: - default: &309 + default: &297 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46882,7 +46857,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46906,10 +46881,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 + - *93 + - *59 + - *291 + - *294 requestBody: required: true content: @@ -46942,9 +46917,9 @@ paths: team discussion comment content: application/json: - schema: *307 + schema: *295 examples: - default: &308 + default: &296 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46973,9 +46948,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46998,11 +46973,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 + - *93 + - *59 + - *291 + - *294 + - &298 name: reaction_id description: The unique identifier of the reaction. in: path @@ -47034,9 +47009,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *99 - - *64 - - *303 + - *93 + - *59 + - *291 - 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 +47037,11 @@ paths: application/json: schema: type: array - items: *307 + items: *295 examples: - default: *309 + default: *297 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47090,9 +47065,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *99 - - *64 - - *303 + - *93 + - *59 + - *291 requestBody: required: true content: @@ -47124,16 +47099,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '201': description: Response content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47156,10 +47131,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *99 - - *64 - - *303 - - *310 + - *93 + - *59 + - *291 + - *298 responses: '204': description: Response @@ -47183,8 +47158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *99 - - *64 + - *93 + - *59 - *17 - *19 responses: @@ -47194,11 +47169,11 @@ paths: application/json: schema: type: array - items: *196 + items: *194 examples: - default: *197 + default: *195 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47218,8 +47193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *99 - - *64 + - *93 + - *59 - name: role description: Filters members returned by their role in the team. in: query @@ -47242,9 +47217,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47272,15 +47247,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *99 - - *64 - - *62 + - *93 + - *59 + - *57 responses: '200': description: Response content: application/json: - schema: &311 + schema: &299 title: Team Membership description: Team Membership type: object @@ -47308,7 +47283,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &625 + response-if-user-is-a-team-maintainer: &621 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47344,9 +47319,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 - - *62 + - *93 + - *59 + - *57 requestBody: required: false content: @@ -47371,9 +47346,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *299 examples: - response-if-users-membership-with-team-is-now-pending: &626 + response-if-users-membership-with-team-is-now-pending: &622 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47408,9 +47383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *99 - - *64 - - *62 + - *93 + - *59 + - *57 responses: '204': description: Response @@ -47435,8 +47410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *99 - - *64 + - *93 + - *59 - *17 - *19 responses: @@ -47446,7 +47421,7 @@ paths: application/json: schema: type: array - items: &312 + items: &300 title: Team Project description: A team's access to a project. type: object @@ -47515,7 +47490,7 @@ paths: - updated_at - permissions examples: - default: &627 + default: &623 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47555,7 +47530,7 @@ paths: write: true admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47578,9 +47553,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *99 - - *64 - - &313 + - *93 + - *59 + - &301 name: project_id description: The unique identifier of the project. in: path @@ -47592,9 +47567,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *300 examples: - default: &628 + default: &624 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47656,9 +47631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *99 - - *64 - - *313 + - *93 + - *59 + - *301 requestBody: required: false content: @@ -47725,9 +47700,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *99 - - *64 - - *313 + - *93 + - *59 + - *301 responses: '204': description: Response @@ -47754,8 +47729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *99 - - *64 + - *93 + - *59 - *17 - *19 responses: @@ -47765,11 +47740,11 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: - default: *222 + default: *220 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47796,16 +47771,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 + - *93 + - *59 + - *302 + - *303 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &629 + schema: &625 title: Team Repository description: A team's access to a repository. type: object @@ -47831,7 +47806,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *66 forks: type: integer permissions: @@ -48446,10 +48421,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 + - *93 + - *59 + - *302 + - *303 requestBody: required: false content: @@ -48494,10 +48469,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 + - *93 + - *59 + - *302 + - *303 responses: '204': description: Response @@ -48521,8 +48496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *99 - - *64 + - *93 + - *59 - *17 - *19 responses: @@ -48534,7 +48509,7 @@ paths: type: array items: *161 examples: - response-if-child-teams-exist: &630 + response-if-child-teams-exist: &626 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48562,7 +48537,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 +48562,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 + - *93 - name: security_product in: path description: The security feature to enable or disable. @@ -48661,7 +48636,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &316 + - &304 name: column_id description: The unique identifier of the column. in: path @@ -48673,7 +48648,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &305 title: Project Column description: Project columns contain cards of work. type: object @@ -48727,7 +48702,7 @@ paths: - created_at - updated_at examples: - default: &318 + default: &306 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48762,7 +48737,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *316 + - *304 requestBody: required: true content: @@ -48787,9 +48762,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *305 examples: - default: *318 + default: *306 '304': *35 '403': *27 '401': *23 @@ -48814,7 +48789,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *316 + - *304 responses: '204': description: Response @@ -48843,7 +48818,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *316 + - *304 requestBody: required: true content: @@ -48904,15 +48879,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *313 + - *301 responses: '200': description: Response content: application/json: - schema: *232 + schema: *230 examples: - default: &319 + default: &307 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -48969,7 +48944,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *313 + - *301 requestBody: required: false content: @@ -49018,9 +48993,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *230 examples: - default: *319 + default: *307 '404': description: Not Found if the authenticated user does not have access to the project @@ -49041,7 +49016,7 @@ paths: items: type: string '401': *23 - '410': *320 + '410': *308 '422': *7 x-github: githubCloudOnly: false @@ -49064,7 +49039,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *313 + - *301 responses: '204': description: Delete Success @@ -49085,7 +49060,7 @@ paths: items: type: string '401': *23 - '410': *320 + '410': *308 '404': *6 x-github: githubCloudOnly: false @@ -49109,7 +49084,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *313 + - *301 - 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 +49111,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 '422': *15 '304': *35 @@ -49166,8 +49141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *313 - - *62 + - *301 + - *57 requestBody: required: false content: @@ -49221,8 +49196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *313 - - *62 + - *301 + - *57 responses: '204': description: Response @@ -49253,8 +49228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *313 - - *62 + - *301 + - *57 responses: '200': description: Response @@ -49324,7 +49299,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *313 + - *301 - *17 - *19 responses: @@ -49334,7 +49309,7 @@ paths: application/json: schema: type: array - items: *317 + items: *305 examples: default: value: @@ -49347,7 +49322,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 +49347,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *313 + - *301 requestBody: required: true content: @@ -49396,7 +49371,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *305 examples: default: value: @@ -49461,7 +49436,7 @@ paths: resources: type: object properties: - core: &321 + core: &309 title: Rate Limit type: object properties: @@ -49478,21 +49453,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: *309 + search: *309 + code_search: *309 + source_import: *309 + integration_manifest: *309 + code_scanning_upload: *309 + actions_runner_registration: *309 + scim: *309 + dependency_snapshots: *309 + dependency_sbom: *309 + code_scanning_autofix: *309 required: - core - search - rate: *321 + rate: *309 required: - rate - resources @@ -49597,14 +49572,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *322 + schema: *310 examples: default-response: summary: Default response @@ -50105,7 +50080,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *323 + '301': *311 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50123,8 +50098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: false content: @@ -50372,10 +50347,10 @@ paths: description: Response content: application/json: - schema: *322 + schema: *310 examples: - default: *324 - '307': &325 + default: *312 + '307': &313 description: Temporary Redirect content: application/json: @@ -50404,8 +50379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -50427,7 +50402,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *325 + '307': *313 '404': *6 '409': *45 x-github: @@ -50451,11 +50426,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 - - &356 + - &344 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50478,7 +50453,7 @@ paths: type: integer artifacts: type: array - items: &326 + items: &314 title: Artifact description: An artifact type: object @@ -50573,7 +50548,7 @@ paths: - expires_at - updated_at examples: - default: &357 + default: &345 value: total_count: 2 artifacts: @@ -50612,7 +50587,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50634,9 +50609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *314 - - *315 - - &327 + - *302 + - *303 + - &315 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50648,7 +50623,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *314 examples: default: value: @@ -50686,9 +50661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *314 + - *302 + - *303 - *315 - - *327 responses: '204': description: Response @@ -50712,9 +50687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *314 + - *302 + - *303 - *315 - - *327 - name: archive_format in: path required: true @@ -50728,7 +50703,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': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50751,14 +50726,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 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *328 + schema: *316 examples: default: value: @@ -50784,11 +50759,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 - - &329 + - &317 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 +50797,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &318 title: Repository actions caches description: Repository actions caches type: object @@ -50872,7 +50847,7 @@ paths: - total_count - actions_caches examples: - default: &331 + default: &319 value: total_count: 1 actions_caches: @@ -50884,7 +50859,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 +50879,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 + - *302 + - *303 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *329 + - *317 responses: '200': description: Response content: application/json: - schema: *330 + schema: *318 examples: - default: *331 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50940,8 +50915,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 + - *302 + - *303 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50972,9 +50947,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 + - *302 + - *303 + - &320 name: job_id description: The unique identifier of the job. in: path @@ -50986,7 +50961,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &348 title: Job description: Information of a job execution in a workflow run type: object @@ -51333,9 +51308,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 + - *302 + - *303 + - *320 responses: '302': description: Response @@ -51363,9 +51338,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 + - *302 + - *303 + - *320 requestBody: required: false content: @@ -51387,7 +51362,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -51411,8 +51386,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 + - *302 + - *303 responses: '200': description: Status response @@ -51462,8 +51437,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 + - *302 + - *303 requestBody: required: true content: @@ -51497,7 +51472,7 @@ paths: description: Empty response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -51526,8 +51501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -51545,7 +51520,7 @@ paths: type: integer secrets: type: array - items: &362 + items: &350 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51566,7 +51541,7 @@ paths: - created_at - updated_at examples: - default: &363 + default: &351 value: total_count: 2 secrets: @@ -51577,7 +51552,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 +51574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *314 - - *315 - - *333 + - *302 + - *303 + - *321 - *19 responses: '200': @@ -51618,7 +51593,7 @@ paths: type: integer variables: type: array - items: &366 + items: &354 title: Actions Variable type: object properties: @@ -51652,7 +51627,7 @@ paths: - created_at - updated_at examples: - default: &367 + default: &355 value: total_count: 2 variables: @@ -51665,7 +51640,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 +51660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -51695,12 +51670,12 @@ paths: schema: type: object properties: - enabled: &335 + enabled: &323 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *116 - selected_actions_url: *334 - sha_pinning_required: *117 + allowed_actions: *111 + selected_actions_url: *322 + sha_pinning_required: *112 required: - enabled examples: @@ -51728,8 +51703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -51740,9 +51715,9 @@ paths: schema: type: object properties: - enabled: *335 - allowed_actions: *116 - sha_pinning_required: *117 + enabled: *323 + allowed_actions: *111 + sha_pinning_required: *112 required: - enabled examples: @@ -51772,14 +51747,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 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: &336 + schema: &324 type: object properties: access_level: @@ -51796,7 +51771,7 @@ paths: required: - access_level examples: - default: &337 + default: &325 value: access_level: organization x-github: @@ -51820,15 +51795,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 + - *302 + - *303 requestBody: required: true content: application/json: - schema: *336 + schema: *324 examples: - default: *337 + default: *325 responses: '204': description: Response @@ -51852,14 +51827,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 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *338 + schema: *326 examples: default: value: @@ -51883,8 +51858,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 + - *302 + - *303 responses: '204': description: Empty response for successful settings update @@ -51894,7 +51869,7 @@ paths: required: true content: application/json: - schema: *339 + schema: *327 examples: default: summary: Set retention days @@ -51918,16 +51893,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 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *118 + schema: *113 examples: - default: *340 + default: *328 '404': *6 x-github: enabledForGitHubApps: true @@ -51946,8 +51921,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 + - *302 + - *303 responses: '204': description: Response @@ -51957,7 +51932,7 @@ paths: required: true content: application/json: - schema: *118 + schema: *113 examples: default: summary: Set approval policy to first time contributors @@ -51981,16 +51956,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 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *341 + schema: *329 examples: - default: *119 + default: *114 '403': *27 '404': *6 x-github: @@ -52010,15 +51985,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 + - *302 + - *303 requestBody: required: true content: application/json: - schema: *342 + schema: *330 examples: - default: *119 + default: *114 responses: '204': description: Empty response for successful settings update @@ -52042,16 +52017,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 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *121 + schema: *116 examples: - default: *122 + default: *117 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52070,8 +52045,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 + - *302 + - *303 responses: '204': description: Response @@ -52079,9 +52054,9 @@ paths: required: false content: application/json: - schema: *121 + schema: *116 examples: - selected_actions: *122 + selected_actions: *117 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52103,16 +52078,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *343 + schema: *331 examples: - default: *126 + default: *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52133,8 +52108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Success response @@ -52145,9 +52120,9 @@ paths: required: true content: application/json: - schema: *344 + schema: *332 examples: - default: *126 + default: *121 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52174,8 +52149,8 @@ paths: in: query schema: type: string - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -52193,11 +52168,11 @@ paths: type: integer runners: type: array - items: *133 + items: *128 examples: - default: *134 + default: *129 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52219,8 +52194,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 + - *302 + - *303 responses: '200': description: Response @@ -52228,9 +52203,9 @@ paths: application/json: schema: type: array - items: *345 + items: *333 examples: - default: *346 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52252,8 +52227,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 + - *302 + - *303 requestBody: required: true content: @@ -52296,7 +52271,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *347 + '201': *335 '404': *6 '422': *7 '409': *45 @@ -52327,16 +52302,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 + - *302 + - *303 responses: '201': description: Response content: application/json: - schema: *135 + schema: *130 examples: - default: *348 + default: *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52364,16 +52339,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 + - *302 + - *303 responses: '201': description: Response content: application/json: - schema: *135 + schema: *130 examples: - default: *349 + default: *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52395,17 +52370,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 + - *302 + - *303 + - *127 responses: '200': description: Response content: application/json: - schema: *133 + schema: *128 examples: - default: *350 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52426,9 +52401,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 + - *302 + - *303 + - *127 responses: '204': description: Response @@ -52454,11 +52429,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 + - *302 + - *303 + - *127 responses: - '200': *137 + '200': *132 '404': *6 x-github: githubCloudOnly: false @@ -52480,9 +52455,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 + - *302 + - *303 + - *127 requestBody: required: true content: @@ -52506,7 +52481,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *132 '404': *6 '422': *7 x-github: @@ -52530,9 +52505,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 + - *302 + - *303 + - *127 requestBody: required: true content: @@ -52557,7 +52532,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *132 '404': *6 '422': *7 x-github: @@ -52581,11 +52556,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 + - *302 + - *303 + - *127 responses: - '200': *351 + '200': *339 '404': *6 x-github: githubCloudOnly: false @@ -52612,12 +52587,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 + - *302 + - *303 + - *127 + - *340 responses: - '200': *137 + '200': *132 '404': *6 '422': *7 x-github: @@ -52643,9 +52618,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 + - *302 + - *303 + - &358 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 +52628,7 @@ paths: required: false schema: type: string - - &371 + - &359 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52661,7 +52636,7 @@ paths: required: false schema: type: string - - &372 + - &360 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 +52645,7 @@ paths: required: false schema: type: string - - &373 + - &361 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 +52672,7 @@ paths: - pending - *17 - *19 - - &374 + - &362 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 +52681,7 @@ paths: schema: type: string format: date-time - - &353 + - &341 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52715,13 +52690,13 @@ paths: schema: type: boolean default: false - - &375 + - &363 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &376 + - &364 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52744,7 +52719,7 @@ paths: type: integer workflow_runs: type: array - items: &354 + items: &342 title: Workflow Run description: An invocation of a workflow type: object @@ -52861,7 +52836,7 @@ paths: type: - array - 'null' - items: *72 + items: *67 created_at: type: string format: date-time @@ -52922,7 +52897,7 @@ paths: head_commit: anyOf: - type: 'null' - - &398 + - &386 title: Simple Commit description: A commit. type: object @@ -52996,8 +52971,8 @@ paths: - timestamp - author - committer - repository: *131 - head_repository: *131 + repository: *126 + head_repository: *126 head_repository_id: type: integer examples: @@ -53037,7 +53012,7 @@ paths: - workflow_url - pull_requests examples: - default: &377 + default: &365 value: total_count: 1 workflow_runs: @@ -53251,7 +53226,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 +53248,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *314 - - *315 - - &355 + - *302 + - *303 + - &343 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *353 + - *341 responses: '200': description: Response content: application/json: - schema: *354 + schema: *342 examples: - default: &358 + default: &346 value: id: 30433642 name: Build @@ -53531,9 +53506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *302 + - *303 + - *343 responses: '204': description: Response @@ -53556,9 +53531,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 + - *302 + - *303 + - *343 responses: '200': description: Response @@ -53686,15 +53661,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 + - *302 + - *303 + - *343 responses: '201': description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -53721,12 +53696,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *314 - - *315 - - *355 + - *302 + - *303 + - *343 - *17 - *19 - - *356 + - *344 responses: '200': description: Response @@ -53742,11 +53717,11 @@ paths: type: integer artifacts: type: array - items: *326 + items: *314 examples: - default: *357 + default: *345 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53768,25 +53743,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 + - *302 + - *303 + - *343 + - &347 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *353 + - *341 responses: '200': description: Response content: application/json: - schema: *354 + schema: *342 examples: - default: *358 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53809,10 +53784,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 + - *302 + - *303 + - *343 + - *347 - *17 - *19 responses: @@ -53830,9 +53805,9 @@ paths: type: integer jobs: type: array - items: *360 + items: *348 examples: - default: &361 + default: &349 value: total_count: 1 jobs: @@ -53921,7 +53896,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -53945,10 +53920,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 + - *302 + - *303 + - *343 + - *347 responses: '302': description: Response @@ -53976,15 +53951,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *302 + - *303 + - *343 responses: '202': description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -54011,9 +53986,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 + - *302 + - *303 + - *343 requestBody: required: true content: @@ -54080,15 +54055,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *302 + - *303 + - *343 responses: '202': description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -54115,9 +54090,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 + - *302 + - *303 + - *343 - 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 +54122,11 @@ paths: type: integer jobs: type: array - items: *360 + items: *348 examples: - default: *361 + default: *349 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54174,9 +54149,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *314 - - *315 - - *355 + - *302 + - *303 + - *343 responses: '302': description: Response @@ -54203,14 +54178,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *314 - - *315 - - *355 + - *302 + - *303 + - *343 responses: '204': description: Response '403': *27 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54232,9 +54207,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 + - *302 + - *303 + - *343 responses: '200': description: Response @@ -54303,7 +54278,7 @@ paths: items: type: object properties: - type: &472 + type: &460 type: string description: The type of reviewer. enum: @@ -54389,9 +54364,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 + - *302 + - *303 + - *343 requestBody: required: true content: @@ -54441,7 +54416,7 @@ paths: application/json: schema: type: array - items: &467 + items: &455 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54553,7 +54528,7 @@ paths: - created_at - updated_at examples: - default: &468 + default: &456 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54609,9 +54584,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *314 - - *315 - - *355 + - *302 + - *303 + - *343 requestBody: required: false content: @@ -54633,7 +54608,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -54656,9 +54631,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 + - *302 + - *303 + - *343 requestBody: required: false content: @@ -54680,7 +54655,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -54712,9 +54687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *314 - - *315 - - *355 + - *302 + - *303 + - *343 responses: '200': description: Response @@ -54851,8 +54826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -54870,11 +54845,11 @@ paths: type: integer secrets: type: array - items: *362 + items: *350 examples: - default: *363 + default: *351 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54897,16 +54872,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *364 + schema: *352 examples: - default: *365 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54928,17 +54903,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *302 + - *303 + - *134 responses: '200': description: Response content: application/json: - schema: *362 + schema: *350 examples: - default: &485 + default: &473 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54964,9 +54939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *302 + - *303 + - *134 requestBody: required: true content: @@ -54997,7 +54972,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -55023,9 +54998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *302 + - *303 + - *134 responses: '204': description: Response @@ -55050,9 +55025,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *314 - - *315 - - *333 + - *302 + - *303 + - *321 - *19 responses: '200': @@ -55069,11 +55044,11 @@ paths: type: integer variables: type: array - items: *366 + items: *354 examples: - default: *367 + default: *355 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55094,8 +55069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -55122,7 +55097,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -55147,17 +55122,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *302 + - *303 + - *137 responses: '200': description: Response content: application/json: - schema: *366 + schema: *354 examples: - default: &486 + default: &474 value: name: USERNAME value: octocat @@ -55183,9 +55158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *302 + - *303 + - *137 requestBody: required: true content: @@ -55227,9 +55202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *302 + - *303 + - *137 responses: '204': description: Response @@ -55254,8 +55229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -55273,7 +55248,7 @@ paths: type: integer workflows: type: array - items: &368 + items: &356 title: Workflow description: A GitHub Actions workflow type: object @@ -55368,7 +55343,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 +55366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *314 - - *315 - - &369 + - *302 + - *303 + - &357 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55408,7 +55383,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *356 examples: default: value: @@ -55441,9 +55416,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *314 - - *315 - - *369 + - *302 + - *303 + - *357 responses: '204': description: Response @@ -55468,9 +55443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *314 - - *315 - - *369 + - *302 + - *303 + - *357 responses: '204': description: Response @@ -55521,9 +55496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *314 - - *315 - - *369 + - *302 + - *303 + - *357 responses: '204': description: Response @@ -55550,19 +55525,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 + - *302 + - *303 + - *357 + - *358 + - *359 + - *360 + - *361 - *17 - *19 - - *374 - - *353 - - *375 - - *376 + - *362 + - *341 + - *363 + - *364 responses: '200': description: Response @@ -55578,11 +55553,11 @@ paths: type: integer workflow_runs: type: array - items: *354 + items: *342 examples: - default: *377 + default: *365 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55612,9 +55587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *314 - - *315 - - *369 + - *302 + - *303 + - *357 responses: '200': description: Response @@ -55675,8 +55650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *314 - - *315 + - *302 + - *303 - *46 - *17 - *38 @@ -55825,7 +55800,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '422': *7 x-github: githubCloudOnly: false @@ -55844,8 +55819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -55857,9 +55832,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -55882,8 +55857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *314 - - *315 + - *302 + - *303 - name: assignee in: path required: true @@ -55919,8 +55894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -56032,8 +56007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *38 - *39 @@ -56089,7 +56064,7 @@ paths: initiator: type: string examples: - default: *378 + default: *366 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56109,8 +56084,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -56118,7 +56093,7 @@ paths: application/json: schema: type: array - items: &379 + items: &367 title: Autolink reference description: An autolink reference. type: object @@ -56177,8 +56152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -56217,9 +56192,9 @@ paths: description: response content: application/json: - schema: *379 + schema: *367 examples: - default: &380 + default: &368 value: id: 1 key_prefix: TICKET- @@ -56250,9 +56225,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 + - *302 + - *303 + - &369 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56264,9 +56239,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *367 examples: - default: *380 + default: *368 '404': *6 x-github: githubCloudOnly: false @@ -56286,9 +56261,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 + - *302 + - *303 + - *369 responses: '204': description: Response @@ -56312,8 +56287,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 + - *302 + - *303 responses: '200': description: Response if Dependabot is enabled @@ -56363,8 +56338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -56385,8 +56360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -56406,8 +56381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *314 - - *315 + - *302 + - *303 - 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 +56420,7 @@ paths: - url protected: type: boolean - protection: &383 + protection: &371 title: Branch Protection description: Branch Protection type: object @@ -56488,7 +56463,7 @@ paths: required: - contexts - checks - enforce_admins: &386 + enforce_admins: &374 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56505,7 +56480,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &388 + required_pull_request_reviews: &376 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56589,7 +56564,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &385 + restrictions: &373 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56864,7 +56839,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 +56857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *314 - - *315 - - &384 + - *302 + - *303 + - &372 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 +56873,14 @@ paths: description: Response content: application/json: - schema: &394 + schema: &382 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &443 + commit: &431 title: Commit description: Commit type: object @@ -56944,7 +56919,7 @@ paths: author: anyOf: - type: 'null' - - &382 + - &370 title: Git User description: Metaproperties for Git author/committer information. @@ -56965,7 +56940,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *370 message: type: string examples: @@ -56989,7 +56964,7 @@ paths: required: - sha - url - verification: &492 + verification: &480 title: Verification type: object properties: @@ -57025,14 +57000,14 @@ paths: author: oneOf: - *4 - - *140 + - *135 type: - 'null' - object committer: oneOf: - *4 - - *140 + - *135 type: - 'null' - object @@ -57069,7 +57044,7 @@ paths: type: integer files: type: array - items: &454 + items: &442 title: Diff Entry description: Diff Entry type: object @@ -57165,7 +57140,7 @@ paths: - self protected: type: boolean - protection: *383 + protection: *371 protection_url: type: string format: uri @@ -57274,7 +57249,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *323 + '301': *311 '404': *6 x-github: githubCloudOnly: false @@ -57296,15 +57271,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '200': description: Response content: application/json: - schema: *383 + schema: *371 examples: default: value: @@ -57498,9 +57473,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: true content: @@ -57760,7 +57735,7 @@ paths: url: type: string format: uri - required_status_checks: &391 + required_status_checks: &379 title: Status Check Policy description: Status Check Policy type: object @@ -57919,7 +57894,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *385 + restrictions: *373 required_conversation_resolution: type: object properties: @@ -58031,9 +58006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '204': description: Response @@ -58058,17 +58033,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '200': description: Response content: application/json: - schema: *386 + schema: *374 examples: - default: &387 + default: &375 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58090,17 +58065,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '200': description: Response content: application/json: - schema: *386 + schema: *374 examples: - default: *387 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58119,9 +58094,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '204': description: Response @@ -58146,17 +58121,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '200': description: Response content: application/json: - schema: *388 + schema: *376 examples: - default: &389 + default: &377 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58252,9 +58227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: false content: @@ -58352,9 +58327,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *376 examples: - default: *389 + default: *377 '422': *15 x-github: githubCloudOnly: false @@ -58375,9 +58350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '204': description: Response @@ -58404,17 +58379,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '200': description: Response content: application/json: - schema: *386 + schema: *374 examples: - default: &390 + default: &378 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58437,17 +58412,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '200': description: Response content: application/json: - schema: *386 + schema: *374 examples: - default: *390 + default: *378 '404': *6 x-github: githubCloudOnly: false @@ -58467,9 +58442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '204': description: Response @@ -58494,17 +58469,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '200': description: Response content: application/json: - schema: *391 + schema: *379 examples: - default: &392 + default: &380 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58530,9 +58505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: false content: @@ -58584,9 +58559,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *379 examples: - default: *392 + default: *380 '404': *6 '422': *15 x-github: @@ -58608,9 +58583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '204': description: Response @@ -58634,9 +58609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '200': description: Response @@ -58670,9 +58645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: false content: @@ -58739,9 +58714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: false content: @@ -58805,9 +58780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: content: application/json: @@ -58873,15 +58848,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '200': description: Response content: application/json: - schema: *385 + schema: *373 examples: default: value: @@ -58972,9 +58947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 responses: '204': description: Response @@ -58997,9 +58972,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 + - *302 + - *303 + - *372 responses: '200': description: Response @@ -59009,7 +58984,7 @@ paths: type: array items: *5 examples: - default: &393 + default: &381 value: - id: 1 slug: octoapp @@ -59066,9 +59041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: true content: @@ -59102,7 +59077,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *381 '422': *15 x-github: githubCloudOnly: false @@ -59123,9 +59098,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: true content: @@ -59159,7 +59134,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *381 '422': *15 x-github: githubCloudOnly: false @@ -59180,9 +59155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: true content: @@ -59216,7 +59191,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *381 '422': *15 x-github: githubCloudOnly: false @@ -59238,9 +59213,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 + - *302 + - *303 + - *372 responses: '200': description: Response @@ -59250,7 +59225,7 @@ paths: type: array items: *161 examples: - default: *215 + default: *213 '404': *6 x-github: githubCloudOnly: false @@ -59270,9 +59245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: false content: @@ -59310,7 +59285,7 @@ paths: type: array items: *161 examples: - default: *215 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -59331,9 +59306,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: false content: @@ -59371,7 +59346,7 @@ paths: type: array items: *161 examples: - default: *215 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -59392,9 +59367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: content: application/json: @@ -59431,7 +59406,7 @@ paths: type: array items: *161 examples: - default: *215 + default: *213 '422': *15 x-github: githubCloudOnly: false @@ -59453,9 +59428,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 + - *302 + - *303 + - *372 responses: '200': description: Response @@ -59465,7 +59440,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '404': *6 x-github: githubCloudOnly: false @@ -59489,9 +59464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: true content: @@ -59524,7 +59499,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59549,9 +59524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: true content: @@ -59584,7 +59559,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59609,9 +59584,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: true content: @@ -59644,7 +59619,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59671,9 +59646,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 requestBody: required: true content: @@ -59695,7 +59670,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *382 examples: default: value: @@ -59811,8 +59786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -60091,7 +60066,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &383 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60226,8 +60201,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *72 - deployment: &688 + items: *67 + deployment: &684 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60514,9 +60489,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *314 - - *315 - - &396 + - *302 + - *303 + - &384 name: check_run_id description: The unique identifier of the check run. in: path @@ -60528,9 +60503,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *383 examples: - default: &397 + default: &385 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60630,9 +60605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *314 - - *315 - - *396 + - *302 + - *303 + - *384 requestBody: required: true content: @@ -60872,9 +60847,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *383 examples: - default: *397 + default: *385 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60894,9 +60869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *314 - - *315 - - *396 + - *302 + - *303 + - *384 - *17 - *19 responses: @@ -60986,7 +60961,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 +60981,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *314 - - *315 - - *396 + - *302 + - *303 + - *384 responses: '201': description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -61052,8 +61027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -61075,7 +61050,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &399 + schema: &387 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61157,12 +61132,12 @@ paths: type: - array - 'null' - items: *72 + items: *67 app: anyOf: - type: 'null' - *5 - repository: *131 + repository: *126 created_at: type: - string @@ -61173,7 +61148,7 @@ paths: - string - 'null' format: date-time - head_commit: *398 + head_commit: *386 latest_check_runs_count: type: integer check_runs_url: @@ -61201,7 +61176,7 @@ paths: - check_runs_url - pull_requests examples: - default: &400 + default: &388 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61492,9 +61467,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *399 + schema: *387 examples: - default: *400 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61513,8 +61488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -61575,7 +61550,7 @@ paths: required: - app_id - setting - repository: *131 + repository: *126 examples: default: value: @@ -61823,9 +61798,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *314 - - *315 - - &401 + - *302 + - *303 + - &389 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61837,9 +61812,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *387 examples: - default: *400 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61862,17 +61837,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 + - *302 + - *303 + - *389 + - &437 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &450 + - &438 name: status description: Returns check runs with the specified `status`. in: query @@ -61911,9 +61886,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *383 examples: - default: &451 + default: &439 value: total_count: 1 check_runs: @@ -61995,7 +61970,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 +61990,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *314 - - *315 - - *401 + - *302 + - *303 + - *389 responses: '201': description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -62050,21 +62025,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 + - *302 + - *303 + - *390 + - *391 - *19 - *17 - - &420 + - &408 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: *392 + - &409 name: pr description: The number of the pull request for the results you want to list. in: query @@ -62089,13 +62064,13 @@ paths: be returned. in: query required: false - schema: *405 + schema: *393 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *406 + schema: *394 responses: '200': description: Response @@ -62106,12 +62081,12 @@ paths: items: type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: *407 + number: *142 + created_at: *143 + updated_at: *144 + url: *145 + html_url: *146 + instances_url: *395 state: *151 fixed_at: *147 dismissed_by: @@ -62119,11 +62094,11 @@ paths: - type: 'null' - *4 dismissed_at: *148 - dismissed_reason: *408 - dismissed_comment: *409 - rule: *410 - tool: *411 - most_recent_instance: *412 + dismissed_reason: *396 + dismissed_comment: *397 + rule: *398 + tool: *399 + most_recent_instance: *400 dismissal_approved_by: anyOf: - type: 'null' @@ -62246,14 +62221,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &413 + '403': &401 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62273,9 +62248,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 + - *302 + - *303 + - &402 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62283,21 +62258,21 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *52 + schema: *142 responses: '200': description: Response content: application/json: - schema: &415 + schema: &403 type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: *407 + number: *142 + created_at: *143 + updated_at: *144 + url: *145 + html_url: *146 + instances_url: *395 state: *151 fixed_at: *147 dismissed_by: @@ -62305,8 +62280,8 @@ paths: - type: 'null' - *4 dismissed_at: *148 - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_reason: *396 + dismissed_comment: *397 rule: type: object properties: @@ -62368,8 +62343,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *411 - most_recent_instance: *412 + tool: *399 + most_recent_instance: *400 dismissal_approved_by: anyOf: - type: 'null' @@ -62465,9 +62440,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *413 + '403': *401 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62485,9 +62460,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 + - *302 + - *303 + - *402 requestBody: required: true content: @@ -62502,8 +62477,8 @@ paths: enum: - open - dismissed - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_reason: *396 + dismissed_comment: *397 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62522,7 +62497,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *403 examples: default: value: @@ -62598,14 +62573,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &419 + '403': &407 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': *95 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62625,15 +62600,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 + - *302 + - *303 + - *402 responses: '200': description: Response content: application/json: - schema: &416 + schema: &404 type: object properties: status: @@ -62660,13 +62635,13 @@ paths: - description - started_at examples: - default: &417 + default: &405 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &418 + '400': &406 description: Bad Request content: application/json: @@ -62677,9 +62652,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': *401 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62702,29 +62677,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 + - *302 + - *303 + - *402 responses: '200': description: OK content: application/json: - schema: *416 + schema: *404 examples: - default: *417 + default: *405 '202': description: Accepted content: application/json: - schema: *416 + schema: *404 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *418 + '400': *406 '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 +62709,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62756,9 +62731,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 + - *302 + - *303 + - *402 requestBody: required: false content: @@ -62804,12 +62779,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *418 - '403': *419 + '400': *406 + '403': *407 '404': *6 '422': description: Unprocessable Entity - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62829,13 +62804,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 + - *302 + - *303 + - *402 - *19 - *17 - - *420 - - *421 + - *408 + - *409 responses: '200': description: Response @@ -62843,7 +62818,7 @@ paths: application/json: schema: type: array - items: *412 + items: *400 examples: default: value: @@ -62882,9 +62857,9 @@ paths: end_column: 50 classifications: - source - '403': *413 + '403': *401 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62916,25 +62891,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 + - *302 + - *303 + - *390 + - *391 - *19 - *17 - - *421 + - *409 - 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: *392 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &424 + schema: &412 type: string description: An identifier for the upload. examples: @@ -62956,23 +62931,23 @@ paths: application/json: schema: type: array - items: &425 + items: &413 type: object properties: - ref: *404 - commit_sha: &433 + ref: *392 + commit_sha: &421 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: *410 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *423 + category: *411 error: type: string examples: @@ -62997,8 +62972,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *424 - tool: *411 + sarif_id: *412 + tool: *399 deletable: type: boolean warning: @@ -63060,9 +63035,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *413 + '403': *401 '404': *6 - '503': *73 + '503': *95 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63096,8 +63071,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 + - *302 + - *303 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63110,7 +63085,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *413 examples: response: summary: application/json response @@ -63164,14 +63139,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *413 + '403': *401 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *73 + '503': *95 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63251,8 +63226,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 + - *302 + - *303 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63308,9 +63283,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': *407 '404': *6 - '503': *73 + '503': *95 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63330,8 +63305,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 + - *302 + - *303 responses: '200': description: Response @@ -63339,7 +63314,7 @@ paths: application/json: schema: type: array - items: &426 + items: &414 title: CodeQL Database description: A CodeQL database. type: object @@ -63451,9 +63426,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': *401 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63480,8 +63455,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 + - *302 + - *303 - name: language in: path description: The language of the CodeQL database. @@ -63493,7 +63468,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *414 examples: default: value: @@ -63525,11 +63500,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': &444 description: Found - '403': *413 + '403': *401 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63549,8 +63524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *314 - - *315 + - *302 + - *303 - name: language in: path description: The language of the CodeQL database. @@ -63560,9 +63535,9 @@ paths: responses: '204': description: Response - '403': *419 + '403': *407 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63588,8 +63563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -63598,7 +63573,7 @@ paths: type: object additionalProperties: false properties: - language: &427 + language: &415 type: string description: The language targeted by the CodeQL query enum: @@ -63677,7 +63652,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &431 + schema: &419 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63687,7 +63662,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *427 + query_language: *415 query_pack_url: type: string description: The download url for the query pack. @@ -63735,7 +63710,7 @@ paths: items: type: object properties: - repository: &428 + repository: &416 title: Repository Identifier description: Repository Identifier type: object @@ -63777,7 +63752,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &432 + analysis_status: &420 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63809,7 +63784,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: &417 type: object properties: repository_count: @@ -63824,7 +63799,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: *416 required: - repository_count - repositories @@ -63847,8 +63822,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *429 - over_limit_repos: *429 + no_codeql_db_repos: *417 + over_limit_repos: *417 required: - access_mismatch_repos - not_found_repos @@ -63864,7 +63839,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &430 + value: &418 summary: Default response value: id: 1 @@ -64016,17 +63991,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *430 + value: *418 repository_lists: summary: Response for a successful variant analysis submission - value: *430 + value: *418 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64047,8 +64022,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 + - *302 + - *303 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64060,11 +64035,11 @@ paths: description: Response content: application/json: - schema: *431 + schema: *419 examples: - default: *430 + default: *418 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64085,7 +64060,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 + - *302 - name: repo in: path description: The name of the controller repository. @@ -64120,7 +64095,7 @@ paths: type: object properties: repository: *51 - analysis_status: *432 + analysis_status: *420 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64224,7 +64199,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64245,8 +64220,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 + - *302 + - *303 responses: '200': description: Response @@ -64339,9 +64314,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *413 + '403': *401 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64360,8 +64335,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 + - *302 + - *303 requestBody: required: true content: @@ -64430,7 +64405,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -64455,7 +64430,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *419 + '403': *407 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64469,7 +64444,7 @@ paths: content: application/json: schema: *3 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64526,8 +64501,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 + - *302 + - *303 requestBody: required: true content: @@ -64535,7 +64510,7 @@ paths: schema: type: object properties: - commit_sha: *433 + commit_sha: *421 ref: type: string description: |- @@ -64595,7 +64570,7 @@ paths: schema: type: object properties: - id: *424 + id: *412 url: type: string description: The REST API URL for checking the status of the upload. @@ -64609,11 +64584,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': *407 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *73 + '503': *95 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64632,8 +64607,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 + - *302 + - *303 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64681,10 +64656,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': *401 '404': description: Not Found if the sarif id does not match any upload - '503': *73 + '503': *95 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64706,8 +64681,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 + - *302 + - *303 responses: '200': description: Response @@ -64788,8 +64763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *314 - - *315 + - *302 + - *303 - 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 +64892,8 @@ paths: parameters: - *17 - *19 - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -64934,7 +64909,7 @@ paths: type: integer codespaces: type: array - items: *204 + items: *202 examples: default: value: @@ -65210,7 +65185,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': *94 '401': *23 '403': *27 '404': *6 @@ -65232,8 +65207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -65297,22 +65272,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *204 + schema: *202 examples: - default: *434 + default: *422 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *204 + schema: *202 examples: - default: *434 + default: *422 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65336,8 +65311,8 @@ paths: parameters: - *17 - *19 - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -65377,7 +65352,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *100 + '500': *94 '400': *14 '401': *23 '403': *27 @@ -65401,8 +65376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65439,9 +65414,9 @@ paths: type: integer machines: type: array - items: *435 + items: *423 examples: - default: &637 + default: &633 value: total_count: 2 machines: @@ -65458,7 +65433,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -65481,8 +65456,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *314 - - *315 + - *302 + - *303 - 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 +65544,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 + - *302 + - *303 - 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 +65593,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65639,8 +65614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -65658,7 +65633,7 @@ paths: type: integer secrets: type: array - items: &439 + items: &427 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65679,9 +65654,9 @@ paths: - created_at - updated_at examples: - default: *436 + default: *424 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65702,16 +65677,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *437 + schema: *425 examples: - default: *438 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65731,17 +65706,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *302 + - *303 + - *134 responses: '200': description: Response content: application/json: - schema: *439 + schema: *427 examples: - default: *440 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65761,9 +65736,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 + - *302 + - *303 + - *134 requestBody: required: true content: @@ -65791,7 +65766,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -65815,9 +65790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *302 + - *303 + - *134 responses: '204': description: Response @@ -65845,8 +65820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *314 - - *315 + - *302 + - *303 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65884,7 +65859,7 @@ paths: application/json: schema: type: array - items: &441 + items: &429 title: Collaborator description: Collaborator type: object @@ -66052,7 +66027,7 @@ paths: admin: false role_name: write headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -66077,9 +66052,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 + - *302 + - *303 + - *57 responses: '204': description: Response if user is a collaborator @@ -66125,9 +66100,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *302 + - *303 + - *57 requestBody: required: false content: @@ -66153,7 +66128,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &505 + schema: &493 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66165,7 +66140,7 @@ paths: format: int64 examples: - 42 - repository: *131 + repository: *126 invitee: anyOf: - type: 'null' @@ -66341,7 +66316,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: *100 '403': *27 x-github: triggersNotification: true @@ -66381,9 +66356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *302 + - *303 + - *57 responses: '204': description: No Content when collaborator was removed from the repository. @@ -66414,9 +66389,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *314 - - *315 - - *62 + - *302 + - *303 + - *57 responses: '200': description: if user has admin permissions @@ -66436,7 +66411,7 @@ paths: user: anyOf: - type: 'null' - - *441 + - *429 required: - permission - role_name @@ -66490,8 +66465,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -66501,7 +66476,7 @@ paths: application/json: schema: type: array - items: &442 + items: &430 title: Commit Comment description: Commit Comment type: object @@ -66542,8 +66517,8 @@ paths: updated_at: type: string format: date-time - author_association: *69 - reactions: *70 + author_association: *64 + reactions: *65 required: - url - html_url @@ -66559,7 +66534,7 @@ paths: - created_at - updated_at examples: - default: &445 + default: &433 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 +66568,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 +66593,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *302 + - *303 + - *78 responses: '200': description: Response content: application/json: - schema: *442 + schema: *430 examples: - default: &446 + default: &434 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 +66660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *302 + - *303 + - *78 requestBody: required: true content: @@ -66709,7 +66684,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *430 examples: default: value: @@ -66760,9 +66735,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *302 + - *303 + - *78 responses: '204': description: Response @@ -66783,9 +66758,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *302 + - *303 + - *78 - 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 +66786,11 @@ paths: application/json: schema: type: array - items: *307 + items: *295 examples: - default: *309 + default: *297 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -66834,9 +66809,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *302 + - *303 + - *78 requestBody: required: true content: @@ -66868,16 +66843,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '201': description: Reaction created content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '422': *15 x-github: githubCloudOnly: false @@ -66899,10 +66874,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *314 - - *315 - - *84 - - *310 + - *302 + - *303 + - *78 + - *298 responses: '204': description: Response @@ -66951,8 +66926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *314 - - *315 + - *302 + - *303 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67008,9 +66983,9 @@ paths: application/json: schema: type: array - items: *443 + items: *431 examples: - default: &551 + default: &539 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67080,8 +67055,8 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *57 - '500': *100 + Link: *52 + '500': *94 '400': *14 '404': *6 '409': *45 @@ -67104,9 +67079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *314 - - *315 - - &444 + - *302 + - *303 + - &432 name: commit_sha description: The SHA of the commit. in: path @@ -67178,9 +67153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *314 - - *315 - - *444 + - *302 + - *303 + - *432 - *17 - *19 responses: @@ -67190,11 +67165,11 @@ paths: application/json: schema: type: array - items: *442 + items: *430 examples: - default: *445 + default: *433 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67220,9 +67195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *314 - - *315 - - *444 + - *302 + - *303 + - *432 requestBody: required: true content: @@ -67257,9 +67232,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *430 examples: - default: *446 + default: *434 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67287,9 +67262,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 + - *302 + - *303 + - *432 - *17 - *19 responses: @@ -67299,9 +67274,9 @@ paths: application/json: schema: type: array - items: *447 + items: *435 examples: - default: &543 + default: &531 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67780,7 +67755,7 @@ paths: auto_merge: draft: false headers: - Link: *57 + Link: *52 '409': *45 x-github: githubCloudOnly: false @@ -67838,11 +67813,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *314 - - *315 + - *302 + - *303 - *19 - *17 - - &448 + - &436 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 +67832,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *431 examples: - default: &531 + default: &519 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67945,8 +67920,8 @@ paths: ..... '422': *15 '404': *6 - '500': *100 - '503': *73 + '500': *94 + '503': *95 '409': *45 x-github: githubCloudOnly: false @@ -67972,11 +67947,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 + - *302 + - *303 + - *436 + - *437 + - *438 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68010,11 +67985,11 @@ paths: type: integer check_runs: type: array - items: *395 + items: *383 examples: - default: *451 + default: *439 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68037,9 +68012,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 + - *302 + - *303 + - *436 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68047,7 +68022,7 @@ paths: schema: type: integer example: 1 - - *449 + - *437 - *17 - *19 responses: @@ -68065,7 +68040,7 @@ paths: type: integer check_suites: type: array - items: *399 + items: *387 examples: default: value: @@ -68240,7 +68215,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 +68240,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 + - *302 + - *303 + - *436 - *17 - *19 responses: @@ -68338,7 +68313,7 @@ paths: type: string total_count: type: integer - repository: *131 + repository: *126 commit_url: type: string format: uri @@ -68469,9 +68444,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *314 - - *315 - - *448 + - *302 + - *303 + - *436 - *17 - *19 responses: @@ -68481,7 +68456,7 @@ paths: application/json: schema: type: array - items: &608 + items: &604 title: Status description: The status of a commit. type: object @@ -68561,8 +68536,8 @@ paths: type: User site_admin: false headers: - Link: *57 - '301': *323 + Link: *52 + '301': *311 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68590,8 +68565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -68624,11 +68599,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *452 + - *440 code_of_conduct_file: anyOf: - type: 'null' - - &453 + - &441 title: Community Health File type: object properties: @@ -68644,23 +68619,23 @@ paths: license: anyOf: - type: 'null' - - *71 + - *66 contributing: anyOf: - type: 'null' - - *453 + - *441 readme: anyOf: - type: 'null' - - *453 + - *441 issue_template: anyOf: - type: 'null' - - *453 + - *441 pull_request_template: anyOf: - type: 'null' - - *453 + - *441 required: - code_of_conduct - code_of_conduct_file @@ -68789,8 +68764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *314 - - *315 + - *302 + - *303 - *19 - *17 - name: basehead @@ -68838,8 +68813,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *443 - merge_base_commit: *443 + base_commit: *431 + merge_base_commit: *431 status: type: string enum: @@ -68863,10 +68838,10 @@ paths: - 6 commits: type: array - items: *443 + items: *431 files: type: array - items: *454 + items: *442 required: - url - html_url @@ -69109,8 +69084,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *100 - '503': *73 + '500': *94 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69152,8 +69127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *314 - - *315 + - *302 + - *303 - name: path description: path parameter in: path @@ -69306,7 +69281,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &455 + response-if-content-is-a-file: &443 summary: Response if content is a file value: type: file @@ -69443,7 +69418,7 @@ paths: - size - type - url - - &556 + - &544 title: Content File description: Content File type: object @@ -69661,7 +69636,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *455 + response-if-content-is-a-file: *443 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69730,7 +69705,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *456 + '302': *444 '304': *35 x-github: githubCloudOnly: false @@ -69753,8 +69728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *314 - - *315 + - *302 + - *303 - name: path description: path parameter in: path @@ -69849,7 +69824,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &445 title: File Commit description: File Commit type: object @@ -70005,7 +69980,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *445 examples: example-for-creating-a-file: value: @@ -70059,7 +70034,7 @@ paths: schema: oneOf: - *3 - - &487 + - &475 description: Repository rule violation was detected type: object properties: @@ -70080,7 +70055,7 @@ paths: items: type: object properties: - placeholder_id: &600 + placeholder_id: &596 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70112,8 +70087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *314 - - *315 + - *302 + - *303 - name: path description: path parameter in: path @@ -70174,7 +70149,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *445 examples: default: value: @@ -70209,7 +70184,7 @@ paths: '422': *15 '404': *6 '409': *45 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70229,8 +70204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *314 - - *315 + - *302 + - *303 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70331,7 +70306,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *57 + Link: *52 '204': description: Response if repository is empty '403': *27 @@ -70354,8 +70329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 - *162 - *163 - *164 @@ -70367,18 +70342,10 @@ paths: schema: type: string - *166 - - *458 + - *446 - *167 - *168 - *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 +70356,6 @@ paths: default: 30 - *38 - *39 - - *169 - - *170 responses: '200': description: Response @@ -70398,11 +70363,11 @@ paths: application/json: schema: type: array - items: &461 + items: &449 type: object description: A Dependabot alert. properties: - number: *52 + number: *142 state: type: string description: The state of the Dependabot alert. @@ -70448,12 +70413,12 @@ paths: - direct - transitive - - security_advisory: *459 + security_advisory: *447 security_vulnerability: *50 - url: *55 - html_url: *56 - created_at: *53 - updated_at: *54 + url: *145 + html_url: *146 + created_at: *143 + updated_at: *144 dismissed_at: *148 dismissed_by: anyOf: @@ -70479,7 +70444,7 @@ paths: dismissal. maxLength: 280 fixed_at: *147 - auto_dismissed_at: *460 + auto_dismissed_at: *448 required: - number - state @@ -70709,9 +70674,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *314 - - *315 - - &462 + - *302 + - *303 + - &450 name: alert_number in: path description: |- @@ -70720,13 +70685,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *52 + schema: *142 responses: '200': description: Response content: application/json: - schema: *461 + schema: *449 examples: default: value: @@ -70839,9 +70804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *314 - - *315 - - *462 + - *302 + - *303 + - *450 requestBody: required: true content: @@ -70886,7 +70851,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *449 examples: default: value: @@ -71015,8 +70980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -71034,7 +70999,7 @@ paths: type: integer secrets: type: array - items: &465 + items: &453 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71066,7 +71031,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 +71053,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *463 + schema: *451 examples: - default: *464 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71117,15 +71082,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *302 + - *303 + - *134 responses: '200': description: Response content: application/json: - schema: *465 + schema: *453 examples: default: value: @@ -71151,9 +71116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *302 + - *303 + - *134 requestBody: required: true content: @@ -71181,7 +71146,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -71205,9 +71170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *302 + - *303 + - *134 responses: '204': description: Response @@ -71229,8 +71194,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 + - *302 + - *303 - 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 +71345,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 +71369,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 + - *302 + - *303 responses: '200': description: Response @@ -71642,7 +71607,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *57 + Link: *52 '404': *6 '403': *27 x-github: @@ -71665,8 +71630,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 + - *302 + - *303 requestBody: required: true content: @@ -71749,7 +71714,7 @@ paths: - version - url additionalProperties: false - metadata: &466 + metadata: &454 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71788,7 +71753,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *466 + metadata: *454 resolved: type: object description: A collection of resolved package dependencies. @@ -71802,7 +71767,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *466 + metadata: *454 relationship: type: string description: A notation of whether a dependency is requested @@ -71935,8 +71900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *314 - - *315 + - *302 + - *303 - name: sha description: The SHA recorded at creation time. in: query @@ -71977,11 +71942,11 @@ paths: application/json: schema: type: array - items: *467 + items: *455 examples: - default: *468 + default: *456 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72045,8 +72010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -72128,7 +72093,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *455 examples: simple-example: summary: Simple example @@ -72201,9 +72166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *314 - - *315 - - &469 + - *302 + - *303 + - &457 name: deployment_id description: deployment_id parameter in: path @@ -72215,7 +72180,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *455 examples: default: value: @@ -72280,9 +72245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *314 - - *315 - - *469 + - *302 + - *303 + - *457 responses: '204': description: Response @@ -72304,9 +72269,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *314 - - *315 - - *469 + - *302 + - *303 + - *457 - *17 - *19 responses: @@ -72316,7 +72281,7 @@ paths: application/json: schema: type: array - items: &470 + items: &458 title: Deployment Status description: The status of a deployment. type: object @@ -72460,7 +72425,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 +72445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *314 - - *315 - - *469 + - *302 + - *303 + - *457 requestBody: required: true content: @@ -72557,9 +72522,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *458 examples: - default: &471 + default: &459 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72615,9 +72580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *314 - - *315 - - *469 + - *302 + - *303 + - *457 - name: status_id in: path required: true @@ -72628,9 +72593,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *458 examples: - default: *471 + default: *459 '404': *6 x-github: githubCloudOnly: false @@ -72655,8 +72620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -72713,8 +72678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -72732,7 +72697,7 @@ paths: - 5 environments: type: array - items: &473 + items: &461 title: Environment description: Details of a deployment environment type: object @@ -72794,7 +72759,7 @@ paths: type: string examples: - wait_timer - wait_timer: &475 + wait_timer: &463 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -72836,7 +72801,7 @@ paths: items: type: object properties: - type: *472 + type: *460 reviewer: anyOf: - *4 @@ -72863,7 +72828,7 @@ paths: - id - node_id - type - deployment_branch_policy: &476 + deployment_branch_policy: &464 type: - object - 'null' @@ -72980,9 +72945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *314 - - *315 - - &474 + - *302 + - *303 + - &462 name: environment_name in: path required: true @@ -72995,9 +72960,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *461 examples: - default: &477 + default: &465 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73081,9 +73046,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *314 - - *315 - - *474 + - *302 + - *303 + - *462 requestBody: required: false content: @@ -73093,7 +73058,7 @@ paths: - object - 'null' properties: - wait_timer: *475 + wait_timer: *463 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -73112,14 +73077,14 @@ paths: items: type: object properties: - type: *472 + type: *460 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: *464 additionalProperties: false examples: default: @@ -73139,9 +73104,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *461 examples: - default: *477 + default: *465 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73165,9 +73130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *314 - - *315 - - *474 + - *302 + - *303 + - *462 responses: '204': description: Default response @@ -73192,9 +73157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *314 - - *315 - - *474 + - *302 + - *303 + - *462 - *17 - *19 responses: @@ -73213,7 +73178,7 @@ paths: - 2 branch_policies: type: array - items: &478 + items: &466 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73274,9 +73239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 + - *302 + - *303 + - *462 requestBody: required: true content: @@ -73324,9 +73289,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *466 examples: - example-wildcard: &479 + example-wildcard: &467 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73368,10 +73333,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 + - *302 + - *303 + - *462 + - &468 name: branch_policy_id in: path required: true @@ -73383,9 +73348,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *466 examples: - default: *479 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73404,10 +73369,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 + - *302 + - *303 + - *462 + - *468 requestBody: required: true content: @@ -73436,9 +73401,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *466 examples: - default: *479 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73457,10 +73422,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 + - *302 + - *303 + - *462 + - *468 responses: '204': description: Response @@ -73485,9 +73450,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 + - *462 + - *303 + - *302 responses: '200': description: List of deployment protection rules @@ -73504,7 +73469,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &481 + items: &469 title: Deployment protection rule description: Deployment protection rule type: object @@ -73526,7 +73491,7 @@ paths: for the environment. examples: - true - app: &482 + app: &470 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73629,9 +73594,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 + - *462 + - *303 + - *302 requestBody: content: application/json: @@ -73652,9 +73617,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *481 + schema: *469 examples: - default: &483 + default: &471 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73689,9 +73654,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 + - *462 + - *303 + - *302 - *19 - *17 responses: @@ -73711,7 +73676,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *482 + items: *470 examples: default: value: @@ -73746,10 +73711,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 + - *302 + - *303 + - *462 + - &472 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73761,9 +73726,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *469 examples: - default: *483 + default: *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73784,10 +73749,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *474 - - *315 - - *314 - - *484 + - *462 + - *303 + - *302 + - *472 responses: '204': description: Response @@ -73813,9 +73778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *314 - - *315 - - *474 + - *302 + - *303 + - *462 - *17 - *19 responses: @@ -73833,11 +73798,11 @@ paths: type: integer secrets: type: array - items: *362 + items: *350 examples: - default: *363 + default: *351 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73860,17 +73825,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *314 - - *315 - - *474 + - *302 + - *303 + - *462 responses: '200': description: Response content: application/json: - schema: *364 + schema: *352 examples: - default: *365 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73892,18 +73857,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *302 + - *303 + - *462 + - *134 responses: '200': description: Response content: application/json: - schema: *362 + schema: *350 examples: - default: *485 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73925,10 +73890,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 + - *302 + - *303 + - *462 + - *134 requestBody: required: true content: @@ -73959,7 +73924,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -73985,10 +73950,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *302 + - *303 + - *462 + - *134 responses: '204': description: Default response @@ -74013,10 +73978,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *314 - - *315 - - *474 - - *333 + - *302 + - *303 + - *462 + - *321 - *19 responses: '200': @@ -74033,11 +73998,11 @@ paths: type: integer variables: type: array - items: *366 + items: *354 examples: - default: *367 + default: *355 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74058,9 +74023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *314 - - *315 - - *474 + - *302 + - *303 + - *462 requestBody: required: true content: @@ -74087,7 +74052,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -74112,18 +74077,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *314 - - *315 - - *474 - - *142 + - *302 + - *303 + - *462 + - *137 responses: '200': description: Response content: application/json: - schema: *366 + schema: *354 examples: - default: *486 + default: *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74144,10 +74109,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *314 - - *315 - - *142 - - *474 + - *302 + - *303 + - *137 + - *462 requestBody: required: true content: @@ -74189,10 +74154,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *314 - - *315 - - *142 - - *474 + - *302 + - *303 + - *137 + - *462 responses: '204': description: Response @@ -74214,8 +74179,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -74225,7 +74190,7 @@ paths: application/json: schema: type: array - items: *94 + items: *88 examples: 200-response: value: @@ -74283,8 +74248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *314 - - *315 + - *302 + - *303 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74306,7 +74271,7 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: default: value: @@ -74419,7 +74384,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 +74408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: false content: @@ -74477,9 +74442,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *310 examples: - default: *324 + default: *312 '400': *14 '422': *15 '403': *27 @@ -74500,8 +74465,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -74560,8 +74525,8 @@ paths: application/json: schema: oneOf: - - *105 - - *487 + - *100 + - *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74586,8 +74551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *314 - - *315 + - *302 + - *303 - name: file_sha in: path required: true @@ -74687,8 +74652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -74797,7 +74762,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &476 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75024,15 +74989,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *314 - - *315 - - *444 + - *302 + - *303 + - *432 responses: '200': description: Response content: application/json: - schema: *488 + schema: *476 examples: default: value: @@ -75088,9 +75053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *314 - - *315 - - &489 + - *302 + - *303 + - &477 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 +75072,7 @@ paths: application/json: schema: type: array - items: &490 + items: &478 title: Git Reference description: Git references within a repository type: object @@ -75161,7 +75126,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 +75148,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *314 - - *315 - - *489 + - *302 + - *303 + - *477 responses: '200': description: Response content: application/json: - schema: *490 + schema: *478 examples: - default: &491 + default: &479 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75222,8 +75187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -75252,9 +75217,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *478 examples: - default: *491 + default: *479 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75280,9 +75245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *314 - - *315 - - *489 + - *302 + - *303 + - *477 requestBody: required: true content: @@ -75311,9 +75276,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *478 examples: - default: *491 + default: *479 '422': *15 '409': *45 x-github: @@ -75331,9 +75296,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *314 - - *315 - - *489 + - *302 + - *303 + - *477 responses: '204': description: Response @@ -75388,8 +75353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -75456,7 +75421,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &481 title: Git Tag description: Metadata for a Git tag type: object @@ -75512,7 +75477,7 @@ paths: - sha - type - url - verification: *492 + verification: *480 required: - sha - url @@ -75522,7 +75487,7 @@ paths: - tag - message examples: - default: &494 + default: &482 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75595,8 +75560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *314 - - *315 + - *302 + - *303 - name: tag_sha in: path required: true @@ -75607,9 +75572,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *481 examples: - default: *494 + default: *482 '404': *6 '409': *45 x-github: @@ -75633,8 +75598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -75708,7 +75673,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &483 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75810,8 +75775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *314 - - *315 + - *302 + - *303 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75834,7 +75799,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *483 examples: default-response: summary: Default response @@ -75893,8 +75858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -75904,7 +75869,7 @@ paths: application/json: schema: type: array - items: &496 + items: &484 title: Webhook description: Webhooks for repositories. type: object @@ -75967,7 +75932,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &719 + last_response: &715 title: Hook Response type: object properties: @@ -76025,7 +75990,7 @@ paths: status: unused message: headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -76044,8 +76009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: false content: @@ -76098,9 +76063,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *484 examples: - default: &497 + default: &485 value: type: Repository id: 12345678 @@ -76148,17 +76113,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *302 + - *303 + - *174 responses: '200': description: Response content: application/json: - schema: *496 + schema: *484 examples: - default: *497 + default: *485 '404': *6 x-github: githubCloudOnly: false @@ -76178,9 +76143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *302 + - *303 + - *174 requestBody: required: true content: @@ -76225,9 +76190,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *484 examples: - default: *497 + default: *485 '422': *15 '404': *6 x-github: @@ -76248,9 +76213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *302 + - *303 + - *174 responses: '204': description: Response @@ -76274,9 +76239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *314 - - *315 - - *176 + - *302 + - *303 + - *174 responses: '200': description: Response @@ -76303,9 +76268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *314 - - *315 - - *176 + - *302 + - *303 + - *174 requestBody: required: false content: @@ -76349,11 +76314,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *302 + - *303 + - *174 - *17 - - *177 + - *175 responses: '200': description: Response @@ -76361,9 +76326,9 @@ paths: application/json: schema: type: array - items: *178 + items: *176 examples: - default: *179 + default: *177 '400': *14 '422': *15 x-github: @@ -76382,18 +76347,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *302 + - *303 + - *174 - *16 responses: '200': description: Response content: application/json: - schema: *180 + schema: *178 examples: - default: *181 + default: *179 '400': *14 '422': *15 x-github: @@ -76412,9 +76377,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *302 + - *303 + - *174 - *16 responses: '202': *37 @@ -76437,9 +76402,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *302 + - *303 + - *174 responses: '204': description: Response @@ -76464,9 +76429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *314 - - *315 - - *176 + - *302 + - *303 + - *174 responses: '204': description: Response @@ -76489,8 +76454,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 + - *302 + - *303 responses: '200': description: Response if immutable releases are enabled @@ -76538,8 +76503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': *156 '409': *45 @@ -76559,8 +76524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': *156 '409': *45 @@ -76617,14 +76582,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: &498 + schema: &486 title: Import description: A repository import from an external source. type: object @@ -76731,7 +76696,7 @@ paths: - html_url - authors_url examples: - default: &501 + default: &489 value: vcs: subversion use_lfs: true @@ -76747,7 +76712,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': &487 description: Unavailable due to service under maintenance. content: application/json: @@ -76776,8 +76741,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -76825,7 +76790,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *486 examples: default: value: @@ -76850,7 +76815,7 @@ paths: type: string '422': *15 '404': *6 - '503': *499 + '503': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76878,8 +76843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: false content: @@ -76931,7 +76896,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *486 examples: example-1: summary: Example 1 @@ -76979,7 +76944,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': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77002,12 +76967,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response - '503': *499 + '503': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77033,9 +76998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *314 - - *315 - - &659 + - *302 + - *303 + - &655 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77049,7 +77014,7 @@ paths: application/json: schema: type: array - items: &500 + items: &488 title: Porter Author description: Porter Author type: object @@ -77103,7 +77068,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': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77128,8 +77093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *314 - - *315 + - *302 + - *303 - name: author_id in: path required: true @@ -77159,7 +77124,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *488 examples: default: value: @@ -77172,7 +77137,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *499 + '503': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77196,8 +77161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -77238,7 +77203,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *499 + '503': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77266,8 +77231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -77294,11 +77259,11 @@ paths: description: Response content: application/json: - schema: *498 + schema: *486 examples: - default: *501 + default: *489 '422': *15 - '503': *499 + '503': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77321,8 +77286,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 + - *302 + - *303 responses: '200': description: Response @@ -77330,8 +77295,8 @@ paths: application/json: schema: *20 examples: - default: *502 - '301': *323 + default: *490 + '301': *311 '404': *6 x-github: githubCloudOnly: false @@ -77351,8 +77316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -77360,12 +77325,12 @@ paths: application/json: schema: anyOf: - - *194 + - *192 - type: object properties: {} additionalProperties: false examples: - default: &504 + default: &492 value: limit: collaborators_only origin: repository @@ -77390,13 +77355,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: application/json: - schema: *503 + schema: *491 examples: default: summary: Example request body @@ -77408,9 +77373,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *192 examples: - default: *504 + default: *492 '409': description: Response x-github: @@ -77432,8 +77397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -77456,8 +77421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -77467,9 +77432,9 @@ paths: application/json: schema: type: array - items: *505 + items: *493 examples: - default: &652 + default: &648 value: - id: 1 repository: @@ -77583,7 +77548,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77600,9 +77565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *314 - - *315 - - *198 + - *302 + - *303 + - *196 requestBody: required: false content: @@ -77631,7 +77596,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *493 examples: default: value: @@ -77762,9 +77727,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *314 - - *315 - - *198 + - *302 + - *303 + - *196 responses: '204': description: Response @@ -77795,8 +77760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *314 - - *315 + - *302 + - *303 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -77844,7 +77809,7 @@ paths: required: false schema: type: string - - *202 + - *200 - name: sort description: What to sort results by. in: query @@ -77857,7 +77822,7 @@ paths: - comments default: created - *46 - - *75 + - *69 - *17 - *19 responses: @@ -77867,9 +77832,9 @@ paths: application/json: schema: type: array - items: *68 + items: *63 examples: - default: &512 + default: &500 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78016,8 +77981,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *57 - '301': *323 + Link: *52 + '301': *311 '422': *15 '404': *6 x-github: @@ -78046,8 +78011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -78137,9 +78102,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: &509 + default: &497 value: id: 1 node_id: MDU6SXNzdWUx @@ -78293,9 +78258,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *73 + '503': *95 '404': *6 - '410': *320 + '410': *308 x-github: triggersNotification: true githubCloudOnly: false @@ -78323,9 +78288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *314 - - *315 - - *92 + - *302 + - *303 + - *86 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -78335,7 +78300,7 @@ paths: enum: - asc - desc - - *75 + - *69 - *17 - *19 responses: @@ -78345,9 +78310,9 @@ paths: application/json: schema: type: array - items: *506 + items: *494 examples: - default: &511 + default: &499 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78378,7 +78343,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 +78370,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *302 + - *303 + - *78 responses: '200': description: Response content: application/json: - schema: *506 + schema: *494 examples: - default: &507 + default: &495 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78469,9 +78434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *302 + - *303 + - *78 requestBody: required: true content: @@ -78493,9 +78458,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *494 examples: - default: *507 + default: *495 '422': *15 x-github: githubCloudOnly: false @@ -78513,9 +78478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *302 + - *303 + - *78 responses: '204': description: Response @@ -78535,9 +78500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *302 + - *303 + - *78 - 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 +78528,11 @@ paths: application/json: schema: type: array - items: *307 + items: *295 examples: - default: *309 + default: *297 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -78586,9 +78551,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *302 + - *303 + - *78 requestBody: required: true content: @@ -78620,16 +78585,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '201': description: Reaction created content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '422': *15 x-github: githubCloudOnly: false @@ -78651,10 +78616,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *314 - - *315 - - *84 - - *310 + - *302 + - *303 + - *78 + - *298 responses: '204': description: Response @@ -78674,8 +78639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -78685,7 +78650,7 @@ paths: application/json: schema: type: array - items: &508 + items: &496 title: Issue Event description: Issue Event type: object @@ -78732,7 +78697,7 @@ paths: issue: anyOf: - type: 'null' - - *68 + - *63 label: title: Issue Event Label description: Issue Event Label @@ -78832,7 +78797,7 @@ paths: required: - from - to - author_association: *69 + author_association: *64 lock_reason: type: - string @@ -79006,7 +78971,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -79024,8 +78989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *314 - - *315 + - *302 + - *303 - name: event_id in: path required: true @@ -79036,7 +79001,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *496 examples: default: value: @@ -79229,7 +79194,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *320 + '410': *308 '403': *27 x-github: githubCloudOnly: false @@ -79263,9 +79228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *314 - - *315 - - &510 + - *302 + - *303 + - &498 name: issue_number description: The number that identifies the issue. in: path @@ -79277,12 +79242,12 @@ paths: description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: *509 - '301': *323 + default: *497 + '301': *311 '404': *6 - '410': *320 + '410': *308 '304': *35 x-github: githubCloudOnly: false @@ -79307,9 +79272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: required: false content: @@ -79428,15 +79393,15 @@ paths: description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: *509 + default: *497 '422': *15 - '503': *73 + '503': *95 '403': *27 - '301': *323 + '301': *311 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79454,9 +79419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: required: false content: @@ -79482,9 +79447,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: *509 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79500,9 +79465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: content: application/json: @@ -79527,9 +79492,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: *509 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79551,9 +79516,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 + - *302 + - *303 + - *498 - name: assignee in: path required: true @@ -79593,10 +79558,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *314 - - *315 - - *510 - - *75 + - *302 + - *303 + - *498 + - *69 - *17 - *19 responses: @@ -79606,13 +79571,13 @@ paths: application/json: schema: type: array - items: *506 + items: *494 examples: - default: *511 + default: *499 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79641,9 +79606,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: required: true content: @@ -79665,16 +79630,16 @@ paths: description: Response content: application/json: - schema: *506 + schema: *494 examples: - default: *507 + default: *495 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *320 + '410': *308 '422': *15 '404': *6 x-github: @@ -79702,9 +79667,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 + - *302 + - *303 + - *498 - *17 - *19 responses: @@ -79714,14 +79679,14 @@ paths: application/json: schema: type: array - items: *68 + items: *63 examples: - default: *512 + default: *500 headers: - Link: *57 - '301': *323 + Link: *52 + '301': *311 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79749,9 +79714,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 + - *302 + - *303 + - *498 requestBody: required: true content: @@ -79773,17 +79738,17 @@ paths: description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: *509 + default: *497 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *323 + '301': *311 '403': *27 - '410': *320 + '410': *308 '422': *15 '404': *6 x-github: @@ -79814,9 +79779,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 + - *302 + - *303 + - *498 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79828,15 +79793,15 @@ paths: description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: *509 - '301': *323 + default: *497 + '301': *311 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *308 x-github: triggersNotification: true githubCloudOnly: false @@ -79862,9 +79827,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 + - *302 + - *303 + - *498 - *17 - *19 responses: @@ -79874,14 +79839,14 @@ paths: application/json: schema: type: array - items: *68 + items: *63 examples: - default: *512 + default: *500 headers: - Link: *57 - '301': *323 + Link: *52 + '301': *311 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79898,9 +79863,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 - *17 - *19 responses: @@ -79914,7 +79879,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &514 + - &502 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79963,7 +79928,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &503 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80091,7 +80056,7 @@ paths: - performed_via_github_app - assignee - assigner - - &516 + - &504 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80137,7 +80102,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &505 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80183,7 +80148,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &506 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80232,7 +80197,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &507 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -80274,7 +80239,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &508 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80316,7 +80281,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &509 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80372,7 +80337,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &510 title: Locked Issue Event description: Locked Issue Event type: object @@ -80417,7 +80382,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &511 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80478,7 +80443,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &512 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80539,7 +80504,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &525 + - &513 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80600,7 +80565,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &514 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80692,8 +80657,8 @@ paths: name: label color: red headers: - Link: *57 - '410': *320 + Link: *52 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80710,9 +80675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 - *17 - *19 responses: @@ -80722,9 +80687,9 @@ paths: application/json: schema: type: array - items: *67 + items: *62 examples: - default: &513 + default: &501 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80741,10 +80706,10 @@ paths: color: a2eeef default: false headers: - Link: *57 - '301': *323 + Link: *52 + '301': *311 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80761,9 +80726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: required: false content: @@ -80822,12 +80787,12 @@ paths: application/json: schema: type: array - items: *67 + items: *62 examples: - default: *513 - '301': *323 + default: *501 + '301': *311 '404': *6 - '410': *320 + '410': *308 '422': *15 x-github: githubCloudOnly: false @@ -80844,9 +80809,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: required: false content: @@ -80906,12 +80871,12 @@ paths: application/json: schema: type: array - items: *67 + items: *62 examples: - default: *513 - '301': *323 + default: *501 + '301': *311 '404': *6 - '410': *320 + '410': *308 '422': *15 x-github: githubCloudOnly: false @@ -80928,15 +80893,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 responses: '204': description: Response - '301': *323 + '301': *311 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80955,9 +80920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 - name: name in: path required: true @@ -80970,7 +80935,7 @@ paths: application/json: schema: type: array - items: *67 + items: *62 examples: default: value: @@ -80981,9 +80946,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *323 + '301': *311 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81003,9 +80968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: required: false content: @@ -81034,7 +80999,7 @@ paths: '204': description: Response '403': *27 - '410': *320 + '410': *308 '404': *6 '422': *15 x-github: @@ -81052,9 +81017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 responses: '204': description: Response @@ -81084,20 +81049,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 responses: '200': description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: *509 - '301': *323 + default: *497 + '301': *311 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81114,9 +81079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 - 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 +81107,13 @@ paths: application/json: schema: type: array - items: *307 + items: *295 examples: - default: *309 + default: *297 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81166,9 +81131,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: required: true content: @@ -81200,16 +81165,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '201': description: Response content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '422': *15 x-github: githubCloudOnly: false @@ -81231,10 +81196,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *314 - - *315 - - *510 - - *310 + - *302 + - *303 + - *498 + - *298 responses: '204': description: Response @@ -81263,9 +81228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: required: true content: @@ -81287,9 +81252,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: *509 + default: *497 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81322,9 +81287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 - *17 - *19 responses: @@ -81334,13 +81299,13 @@ paths: application/json: schema: type: array - items: *68 + items: *63 examples: - default: *512 + default: *500 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81368,9 +81333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: required: true content: @@ -81397,16 +81362,16 @@ paths: description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: *509 + default: *497 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *320 + '410': *308 '422': *15 '404': *6 x-github: @@ -81426,9 +81391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 requestBody: required: true content: @@ -81459,13 +81424,13 @@ paths: description: Response content: application/json: - schema: *68 + schema: *63 examples: - default: *509 + default: *497 '403': *27 '404': *6 '422': *7 - '503': *73 + '503': *95 x-github: triggersNotification: true githubCloudOnly: false @@ -81483,9 +81448,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *314 - - *315 - - *510 + - *302 + - *303 + - *498 - *17 - *19 responses: @@ -81500,19 +81465,19 @@ paths: description: Timeline Event type: object anyOf: + - *502 + - *503 + - *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 +81525,12 @@ paths: issue_url: type: string format: uri - author_association: *69 + author_association: *64 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *65 required: - event - actor @@ -81596,7 +81561,7 @@ paths: properties: type: type: string - issue: *68 + issue: *63 required: - event - created_at @@ -81818,7 +81783,7 @@ paths: type: string body_text: type: string - author_association: *69 + author_association: *64 required: - event - id @@ -81841,7 +81806,7 @@ paths: type: string comments: type: array - items: &545 + items: &533 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81946,7 +81911,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *69 + author_association: *64 _links: type: object properties: @@ -82041,7 +82006,7 @@ paths: enum: - line - file - reactions: *70 + reactions: *65 body_html: type: string examples: @@ -82079,7 +82044,7 @@ paths: type: string comments: type: array - items: *442 + items: *430 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82352,9 +82317,9 @@ paths: type: User site_admin: true headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82371,8 +82336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -82382,7 +82347,7 @@ paths: application/json: schema: type: array - items: &527 + items: &515 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82434,7 +82399,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82450,8 +82415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -82487,9 +82452,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *515 examples: - default: &528 + default: &516 value: id: 1 key: ssh-rsa AAA... @@ -82523,9 +82488,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *314 - - *315 - - &529 + - *302 + - *303 + - &517 name: key_id description: The unique identifier of the key. in: path @@ -82537,9 +82502,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *515 examples: - default: *528 + default: *516 '404': *6 x-github: githubCloudOnly: false @@ -82557,9 +82522,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *314 - - *315 - - *529 + - *302 + - *303 + - *517 responses: '204': description: Response @@ -82579,8 +82544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -82590,11 +82555,11 @@ paths: application/json: schema: type: array - items: *67 + items: *62 examples: - default: *513 + default: *501 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -82613,8 +82578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -82650,9 +82615,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *62 examples: - default: &530 + default: &518 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82684,8 +82649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *314 - - *315 + - *302 + - *303 - name: name in: path required: true @@ -82696,9 +82661,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *62 examples: - default: *530 + default: *518 '404': *6 x-github: githubCloudOnly: false @@ -82715,8 +82680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *314 - - *315 + - *302 + - *303 - name: name in: path required: true @@ -82755,7 +82720,7 @@ paths: description: Response content: application/json: - schema: *67 + schema: *62 examples: default: value: @@ -82781,8 +82746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *314 - - *315 + - *302 + - *303 - name: name in: path required: true @@ -82808,8 +82773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -82848,9 +82813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *314 - - *315 - - *420 + - *302 + - *303 + - *408 responses: '200': description: Response @@ -82916,7 +82881,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *66 required: - _links - git_url @@ -82997,8 +82962,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 + - *302 + - *303 requestBody: required: true content: @@ -83063,8 +83028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -83098,9 +83063,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *443 + schema: *431 examples: - default: *531 + default: *519 '204': description: Response when already merged '404': @@ -83125,8 +83090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *314 - - *315 + - *302 + - *303 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -83167,7 +83132,7 @@ paths: application/json: schema: type: array - items: *238 + items: *236 examples: default: value: @@ -83206,7 +83171,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 +83188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -83264,9 +83229,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *236 examples: - default: &532 + default: &520 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 +83290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *314 - - *315 - - &533 + - *302 + - *303 + - &521 name: milestone_number description: The number that identifies the milestone. in: path @@ -83339,9 +83304,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *236 examples: - default: *532 + default: *520 '404': *6 x-github: githubCloudOnly: false @@ -83358,9 +83323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *314 - - *315 - - *533 + - *302 + - *303 + - *521 requestBody: required: false content: @@ -83398,9 +83363,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *236 examples: - default: *532 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83416,9 +83381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *314 - - *315 - - *533 + - *302 + - *303 + - *521 responses: '204': description: Response @@ -83439,9 +83404,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 + - *302 + - *303 + - *521 - *17 - *19 responses: @@ -83451,11 +83416,11 @@ paths: application/json: schema: type: array - items: *67 + items: *62 examples: - default: *513 + default: *501 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83472,12 +83437,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 + - *302 + - *303 + - *522 + - *523 + - *69 + - *524 - *17 - *19 responses: @@ -83487,11 +83452,11 @@ paths: application/json: schema: type: array - items: *95 + items: *89 examples: - default: *537 + default: *525 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83513,8 +83478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: false content: @@ -83572,14 +83537,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: &538 + schema: &526 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83723,7 +83688,7 @@ paths: - custom_404 - public examples: - default: &539 + default: &527 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83764,8 +83729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -83820,9 +83785,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *526 examples: - default: *539 + default: *527 '422': *15 '409': *45 x-github: @@ -83845,8 +83810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -83946,8 +83911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -83973,8 +83938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -83984,7 +83949,7 @@ paths: application/json: schema: type: array - items: &540 + items: &528 title: Page Build description: Page Build type: object @@ -84057,7 +84022,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 +84041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *314 - - *315 + - *302 + - *303 responses: '201': description: Response @@ -84124,16 +84089,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *540 + schema: *528 examples: - default: &541 + default: &529 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -84181,8 +84146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *314 - - *315 + - *302 + - *303 - name: build_id in: path required: true @@ -84193,9 +84158,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *528 examples: - default: *541 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84215,8 +84180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -84324,9 +84289,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 + - *302 + - *303 + - &530 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84384,9 +84349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *314 - - *315 - - *542 + - *302 + - *303 + - *530 responses: '204': *156 '404': *6 @@ -84413,8 +84378,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 + - *302 + - *303 responses: '200': description: Response @@ -84682,7 +84647,7 @@ paths: description: Empty response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -84709,8 +84674,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 + - *302 + - *303 responses: '200': description: Private vulnerability reporting status @@ -84747,8 +84712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': *156 '422': *14 @@ -84769,8 +84734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': *156 '422': *14 @@ -84793,8 +84758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *314 - - *315 + - *302 + - *303 - name: state description: Indicates the state of the projects to return. in: query @@ -84815,7 +84780,7 @@ paths: application/json: schema: type: array - items: *232 + items: *230 examples: default: value: @@ -84851,11 +84816,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': *308 '422': *7 x-github: githubCloudOnly: false @@ -84878,8 +84843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -84905,13 +84870,13 @@ paths: description: Response content: application/json: - schema: *232 + schema: *230 examples: - default: *319 + default: *307 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *308 '422': *7 x-github: githubCloudOnly: false @@ -84934,8 +84899,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 + - *302 + - *303 responses: '200': description: Response @@ -84943,7 +84908,7 @@ paths: application/json: schema: type: array - items: *249 + items: *247 examples: default: value: @@ -84974,8 +84939,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 + - *302 + - *303 requestBody: required: true content: @@ -84987,7 +84952,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *249 + items: *247 required: - properties examples: @@ -85037,8 +85002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *314 - - *315 + - *302 + - *303 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85098,11 +85063,11 @@ paths: application/json: schema: type: array - items: *447 + items: *435 examples: - default: *543 + default: *531 headers: - Link: *57 + Link: *52 '304': *35 '422': *15 x-github: @@ -85132,8 +85097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -85200,7 +85165,7 @@ paths: description: Response content: application/json: - schema: &547 + schema: &535 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85329,7 +85294,7 @@ paths: milestone: anyOf: - type: 'null' - - *238 + - *236 active_lock_reason: type: - string @@ -85384,7 +85349,7 @@ paths: type: - array - 'null' - items: *214 + items: *212 head: type: object properties: @@ -85392,7 +85357,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *61 sha: type: string user: *4 @@ -85409,7 +85374,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *61 sha: type: string user: *4 @@ -85422,14 +85387,14 @@ paths: _links: type: object properties: - comments: *239 - commits: *239 - statuses: *239 - html: *239 - issue: *239 - review_comments: *239 - review_comment: *239 - self: *239 + comments: *237 + commits: *237 + statuses: *237 + html: *237 + issue: *237 + review_comments: *237 + review_comment: *237 + self: *237 required: - comments - commits @@ -85439,8 +85404,8 @@ paths: - review_comments - review_comment - self - author_association: *69 - auto_merge: *544 + author_association: *64 + auto_merge: *532 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -85542,7 +85507,7 @@ paths: - merged_by - review_comments examples: - default: &548 + default: &536 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86069,8 +86034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *314 - - *315 + - *302 + - *303 - name: sort in: query required: false @@ -86089,7 +86054,7 @@ paths: enum: - asc - desc - - *75 + - *69 - *17 - *19 responses: @@ -86099,9 +86064,9 @@ paths: application/json: schema: type: array - items: *545 + items: *533 examples: - default: &550 + default: &538 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86153,7 +86118,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86178,17 +86143,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 + - *302 + - *303 + - *78 responses: '200': description: Response content: application/json: - schema: *545 + schema: *533 examples: - default: &546 + default: &534 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86263,9 +86228,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 + - *302 + - *303 + - *78 requestBody: required: true content: @@ -86287,9 +86252,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *533 examples: - default: *546 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86305,9 +86270,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 + - *302 + - *303 + - *78 responses: '204': description: Response @@ -86328,9 +86293,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 + - *302 + - *303 + - *78 - 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 +86321,11 @@ paths: application/json: schema: type: array - items: *307 + items: *295 examples: - default: *309 + default: *297 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -86379,9 +86344,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 + - *302 + - *303 + - *78 requestBody: required: true content: @@ -86413,16 +86378,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '201': description: Reaction created content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '422': *15 x-github: githubCloudOnly: false @@ -86444,10 +86409,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 + - *302 + - *303 + - *78 + - *298 responses: '204': description: Response @@ -86490,9 +86455,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *314 - - *315 - - &549 + - *302 + - *303 + - &537 name: pull_number description: The number that identifies the pull request. in: path @@ -86505,9 +86470,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *547 + schema: *535 examples: - default: *548 + default: *536 '304': *35 '404': *6 '406': @@ -86515,8 +86480,8 @@ paths: content: application/json: schema: *3 - '500': *100 - '503': *73 + '500': *94 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86542,9 +86507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *314 - - *315 - - *549 + - *302 + - *303 + - *537 requestBody: required: false content: @@ -86586,9 +86551,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *535 examples: - default: *548 + default: *536 '422': *15 '403': *27 x-github: @@ -86610,9 +86575,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 + - *302 + - *303 + - *537 requestBody: required: true content: @@ -86673,21 +86638,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *204 + schema: *202 examples: - default: *434 + default: *422 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *204 + schema: *202 examples: - default: *434 + default: *422 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86713,10 +86678,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 + - *302 + - *303 + - *537 + - *86 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -86726,7 +86691,7 @@ paths: enum: - asc - desc - - *75 + - *69 - *17 - *19 responses: @@ -86736,11 +86701,11 @@ paths: application/json: schema: type: array - items: *545 + items: *533 examples: - default: *550 + default: *538 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86771,9 +86736,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 + - *302 + - *303 + - *537 requestBody: required: true content: @@ -86879,7 +86844,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *533 examples: example-for-a-multi-line-comment: value: @@ -86967,10 +86932,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 + - *302 + - *303 + - *537 + - *78 requestBody: required: true content: @@ -86992,7 +86957,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *533 examples: default: value: @@ -87078,9 +87043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *314 - - *315 - - *549 + - *302 + - *303 + - *537 - *17 - *19 responses: @@ -87090,11 +87055,11 @@ paths: application/json: schema: type: array - items: *443 + items: *431 examples: - default: *551 + default: *539 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87122,9 +87087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *314 - - *315 - - *549 + - *302 + - *303 + - *537 - *17 - *19 responses: @@ -87134,7 +87099,7 @@ paths: application/json: schema: type: array - items: *454 + items: *442 examples: default: value: @@ -87150,10 +87115,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': *94 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87172,9 +87137,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 + - *302 + - *303 + - *537 responses: '204': description: Response if pull request has been merged @@ -87197,9 +87162,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *314 - - *315 - - *549 + - *302 + - *303 + - *537 requestBody: required: false content: @@ -87311,9 +87276,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 + - *302 + - *303 + - *537 responses: '200': description: Response @@ -87370,7 +87335,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 +87353,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 + - *302 + - *303 + - *537 requestBody: required: false content: @@ -87427,7 +87392,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *435 examples: default: value: @@ -87963,9 +87928,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 + - *302 + - *303 + - *537 requestBody: required: true content: @@ -87999,7 +87964,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *435 examples: default: value: @@ -88504,9 +88469,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *302 + - *303 + - *537 - *17 - *19 responses: @@ -88516,7 +88481,7 @@ paths: application/json: schema: type: array - items: &552 + items: &540 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88590,7 +88555,7 @@ paths: type: string body_text: type: string - author_association: *69 + author_association: *64 required: - id - node_id @@ -88639,7 +88604,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88672,9 +88637,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 + - *302 + - *303 + - *537 requestBody: required: false content: @@ -88764,9 +88729,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *540 examples: - default: &554 + default: &542 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88829,10 +88794,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 + - *302 + - *303 + - *537 + - &541 name: review_id description: The unique identifier of the review. in: path @@ -88844,9 +88809,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *540 examples: - default: &555 + default: &543 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88905,10 +88870,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 + - *302 + - *303 + - *537 + - *541 requestBody: required: true content: @@ -88931,7 +88896,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *540 examples: default: value: @@ -88993,18 +88958,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 + - *302 + - *303 + - *537 + - *541 responses: '200': description: Response content: application/json: - schema: *552 + schema: *540 examples: - default: *554 + default: *542 '422': *7 '404': *6 x-github: @@ -89031,10 +88996,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 + - *302 + - *303 + - *537 + - *541 - *17 - *19 responses: @@ -89128,13 +89093,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *69 + author_association: *64 _links: type: object properties: - self: *239 - html: *239 - pull_request: *239 + self: *237 + html: *237 + pull_request: *237 required: - self - html @@ -89143,7 +89108,7 @@ paths: type: string body_html: type: string - reactions: *70 + reactions: *65 side: description: The side of the first line of the range for a multi-line comment. @@ -89263,7 +89228,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 +89257,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 + - *302 + - *303 + - *537 + - *541 requestBody: required: true content: @@ -89324,7 +89289,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *540 examples: default: value: @@ -89387,10 +89352,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 + - *302 + - *303 + - *537 + - *541 requestBody: required: true content: @@ -89425,9 +89390,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *540 examples: - default: *555 + default: *543 '404': *6 '422': *7 '403': *27 @@ -89449,9 +89414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *314 - - *315 - - *549 + - *302 + - *303 + - *537 requestBody: required: false content: @@ -89515,8 +89480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *314 - - *315 + - *302 + - *303 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89529,9 +89494,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *544 examples: - default: &557 + default: &545 value: type: file encoding: base64 @@ -89573,8 +89538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *314 - - *315 + - *302 + - *303 - name: dir description: The alternate path to look for a README file in: path @@ -89594,9 +89559,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *544 examples: - default: *557 + default: *545 '404': *6 '422': *15 x-github: @@ -89618,8 +89583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -89629,7 +89594,7 @@ paths: application/json: schema: type: array - items: *558 + items: *546 examples: default: value: @@ -89703,7 +89668,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -89723,8 +89688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -89800,9 +89765,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *546 examples: - default: &562 + default: &550 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 +89872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *314 - - *315 - - &560 + - *302 + - *303 + - &548 name: asset_id description: The unique identifier of the asset. in: path @@ -89921,9 +89886,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *547 examples: - default: &561 + default: &549 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 +89923,7 @@ paths: type: User site_admin: false '404': *6 - '302': *456 + '302': *444 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89974,9 +89939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *314 - - *315 - - *560 + - *302 + - *303 + - *548 requestBody: required: false content: @@ -90005,9 +89970,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *547 examples: - default: *561 + default: *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90023,9 +89988,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *314 - - *315 - - *560 + - *302 + - *303 + - *548 responses: '204': description: Response @@ -90049,8 +90014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -90136,16 +90101,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response content: application/json: - schema: *558 + schema: *546 examples: - default: *562 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90162,8 +90127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *314 - - *315 + - *302 + - *303 - name: tag description: tag parameter in: path @@ -90176,9 +90141,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *546 examples: - default: *562 + default: *550 '404': *6 x-github: githubCloudOnly: false @@ -90200,9 +90165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *314 - - *315 - - &563 + - *302 + - *303 + - &551 name: release_id description: The unique identifier of the release. in: path @@ -90216,9 +90181,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: *546 examples: - default: *562 + default: *550 '401': description: Unauthorized x-github: @@ -90236,9 +90201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *314 - - *315 - - *563 + - *302 + - *303 + - *551 requestBody: required: false content: @@ -90302,9 +90267,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *546 examples: - default: *562 + default: *550 '404': description: Not Found if the discussion category name is invalid content: @@ -90325,9 +90290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *314 - - *315 - - *563 + - *302 + - *303 + - *551 responses: '204': description: Response @@ -90347,9 +90312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *314 - - *315 - - *563 + - *302 + - *303 + - *551 - *17 - *19 responses: @@ -90359,7 +90324,7 @@ paths: application/json: schema: type: array - items: *559 + items: *547 examples: default: value: @@ -90396,7 +90361,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90440,9 +90405,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 + - *302 + - *303 + - *551 - name: name in: query required: true @@ -90468,7 +90433,7 @@ paths: description: Response for successful upload content: application/json: - schema: *559 + schema: *547 examples: response-for-successful-upload: value: @@ -90523,9 +90488,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *314 - - *315 - - *563 + - *302 + - *303 + - *551 - 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 +90514,11 @@ paths: application/json: schema: type: array - items: *307 + items: *295 examples: - default: *309 + default: *297 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -90572,9 +90537,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *314 - - *315 - - *563 + - *302 + - *303 + - *551 requestBody: required: true content: @@ -90604,16 +90569,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '201': description: Reaction created content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 '422': *15 x-github: githubCloudOnly: false @@ -90635,10 +90600,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *314 - - *315 - - *563 - - *310 + - *302 + - *303 + - *551 + - *298 responses: '204': description: Response @@ -90662,9 +90627,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *314 - - *315 - - *384 + - *302 + - *303 + - *372 - *17 - *19 responses: @@ -90680,8 +90645,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *256 - - &564 + - *254 + - &552 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90700,69 +90665,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *255 + - *552 + - allOf: + - *256 + - *552 - allOf: - *257 - - *564 + - *552 + - allOf: + - *553 + - *552 - allOf: - *258 - - *564 + - *552 - allOf: - *259 - - *564 - - allOf: - - *565 - - *564 + - *552 - allOf: - *260 - - *564 + - *552 - allOf: - *261 - - *564 + - *552 - allOf: - *262 - - *564 + - *552 - allOf: - *263 - - *564 + - *552 - allOf: - *264 - - *564 + - *552 - allOf: - *265 - - *564 + - *552 - allOf: - *266 - - *564 + - *552 - allOf: - *267 - - *564 + - *552 - allOf: - *268 - - *564 + - *552 - allOf: - *269 - - *564 + - *552 - allOf: - *270 - - *564 + - *552 - allOf: - *271 - - *564 + - *552 - allOf: - *272 - - *564 + - *552 - allOf: - *273 - - *564 - - allOf: - - *274 - - *564 + - *552 - allOf: - - *275 - - *564 - - allOf: - - *566 - - *564 + - *554 + - *552 examples: default: value: @@ -90801,8 +90766,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 - name: includes_parents @@ -90813,7 +90778,7 @@ paths: schema: type: boolean default: true - - *567 + - *555 responses: '200': description: Response @@ -90821,7 +90786,7 @@ paths: application/json: schema: type: array - items: *276 + items: *274 examples: default: value: @@ -90852,7 +90817,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *94 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -90868,8 +90833,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *302 + - *303 requestBody: description: Request body required: true @@ -90889,16 +90854,16 @@ paths: - tag - push default: branch - enforcement: *253 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *251 + items: *252 + conditions: *249 rules: type: array description: An array of rules within the ruleset. - items: *568 + items: *556 required: - name - enforcement @@ -90929,9 +90894,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: &578 + default: &566 value: id: 42 name: super cool ruleset @@ -90964,7 +90929,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *100 + '500': *94 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -90978,12 +90943,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 + - *302 + - *303 + - *557 + - *558 + - *559 + - *560 - *17 - *19 responses: @@ -90991,11 +90956,11 @@ paths: description: Response content: application/json: - schema: *573 + schema: *561 examples: - default: *574 + default: *562 '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91014,19 +90979,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *314 - - *315 - - *575 + - *302 + - *303 + - *563 responses: '200': description: Response content: application/json: - schema: *576 + schema: *564 examples: - default: *577 + default: *565 '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91052,8 +91017,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *302 + - *303 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91073,11 +91038,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: *578 + default: *566 '404': *6 - '500': *100 + '500': *94 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -91093,8 +91058,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *302 + - *303 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91119,16 +91084,16 @@ paths: - branch - tag - push - enforcement: *253 + enforcement: *251 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *251 + items: *252 + conditions: *249 rules: description: An array of rules within the ruleset. type: array - items: *568 + items: *556 examples: default: value: @@ -91156,11 +91121,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *274 examples: - default: *578 + default: *566 '404': *6 - '500': *100 + '500': *94 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -91176,8 +91141,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *302 + - *303 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91188,7 +91153,7 @@ paths: '204': description: Response '404': *6 - '500': *100 + '500': *94 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -91200,8 +91165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 - name: ruleset_id @@ -91217,11 +91182,11 @@ paths: application/json: schema: type: array - items: *279 + items: *277 examples: - default: *579 + default: *567 '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91238,8 +91203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *314 - - *315 + - *302 + - *303 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91257,7 +91222,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *568 examples: default: value: @@ -91290,7 +91255,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91312,21 +91277,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 + - *302 + - *303 + - *569 + - *570 + - *571 + - *572 - *46 - *19 - *17 - - *581 - - *582 - - *284 - - *285 - - *286 - - *287 + - *573 + - *574 + - *575 + - *576 + - *577 + - *578 responses: '200': description: Response @@ -91334,24 +91299,24 @@ paths: application/json: schema: type: array - items: &586 + items: &582 type: object properties: - number: *52 - created_at: *53 + number: *142 + created_at: *143 updated_at: anyOf: - type: 'null' - - *54 - url: *55 - html_url: *56 + - *144 + url: *145 + html_url: *146 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *583 - resolution: *584 + state: *579 + resolution: *580 resolved_at: type: - string @@ -91445,7 +91410,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *585 + - *581 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -91568,7 +91533,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91590,16 +91555,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 + - *302 + - *303 + - *402 + - *578 responses: '200': description: Response content: application/json: - schema: *586 + schema: *582 examples: default: value: @@ -91630,7 +91595,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91651,9 +91616,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 + - *302 + - *303 + - *402 requestBody: required: true content: @@ -91661,8 +91626,8 @@ paths: schema: type: object properties: - state: *583 - resolution: *584 + state: *579 + resolution: *580 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91681,7 +91646,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *582 examples: default: value: @@ -91734,7 +91699,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *73 + '503': *95 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91756,9 +91721,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 + - *302 + - *303 + - *402 - *19 - *17 responses: @@ -91769,7 +91734,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &739 + items: &735 type: object properties: type: @@ -91796,6 +91761,10 @@ paths: - commit details: oneOf: + - *583 + - *584 + - *585 + - *586 - *587 - *588 - *589 @@ -91805,10 +91774,6 @@ paths: - *593 - *594 - *595 - - *596 - - *597 - - *598 - - *599 examples: default: value: @@ -91868,11 +91833,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': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91894,8 +91859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -91903,14 +91868,14 @@ paths: schema: type: object properties: - reason: &601 + reason: &597 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *600 + placeholder_id: *596 required: - reason - placeholder_id @@ -91927,7 +91892,7 @@ paths: schema: type: object properties: - reason: *601 + reason: *597 expire_at: type: - string @@ -91951,7 +91916,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *73 + '503': *95 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91963,6 +91928,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 +91939,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 + - *302 + - *303 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *73 + '503': *95 '200': description: Response content: @@ -91987,7 +91955,7 @@ paths: properties: incremental_scans: type: array - items: &602 + items: &598 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92015,15 +91983,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *602 + items: *598 backfill_scans: type: array - items: *602 + items: *598 custom_pattern_backfill_scans: type: array items: allOf: - - *602 + - *598 - type: object properties: pattern_name: @@ -92093,8 +92061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *314 - - *315 + - *302 + - *303 - *46 - name: sort description: The property to sort the results by. @@ -92138,9 +92106,9 @@ paths: application/json: schema: type: array - items: *603 + items: *599 examples: - default: *604 + default: *600 '400': *14 '404': *6 x-github: @@ -92163,8 +92131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -92244,7 +92212,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *280 required: - login - type @@ -92334,9 +92302,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *599 examples: - default: &606 + default: &602 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92569,8 +92537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -92683,7 +92651,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *599 examples: default: value: @@ -92830,17 +92798,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 + - *302 + - *303 + - *601 responses: '200': description: Response content: application/json: - schema: *603 + schema: *599 examples: - default: *606 + default: *602 '403': *27 '404': *6 x-github: @@ -92864,9 +92832,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 + - *302 + - *303 + - *601 requestBody: required: true content: @@ -92946,7 +92914,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *280 required: - login - type @@ -93037,17 +93005,17 @@ paths: description: Response content: application/json: - schema: *603 + schema: *599 examples: - default: *606 - add_credit: *606 + default: *602 + add_credit: *602 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *105 + schema: *100 examples: invalid_state_transition: value: @@ -93078,9 +93046,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 + - *302 + - *303 + - *601 responses: '202': *37 '400': *14 @@ -93107,17 +93075,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 + - *302 + - *303 + - *601 responses: '202': description: Response content: application/json: - schema: *322 + schema: *310 examples: - default: *324 + default: *312 '400': *14 '422': *15 '403': *27 @@ -93143,8 +93111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -93218,7 +93186,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -93240,8 +93208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93250,7 +93218,7 @@ paths: application/json: schema: type: array - items: &607 + items: &603 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93283,8 +93251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -93362,8 +93330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -93457,8 +93425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93612,8 +93580,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 + - *302 + - *303 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93623,7 +93591,7 @@ paths: application/json: schema: type: array - items: *607 + items: *603 examples: default: value: @@ -93656,8 +93624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *314 - - *315 + - *302 + - *303 - name: sha in: path required: true @@ -93713,7 +93681,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *604 examples: default: value: @@ -93767,8 +93735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -93780,9 +93748,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93800,14 +93768,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &609 + schema: &605 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93880,8 +93848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: false content: @@ -93907,7 +93875,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *605 examples: default: value: @@ -93934,8 +93902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -93955,8 +93923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -94015,7 +93983,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 +94006,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 + - *302 + - *303 responses: '200': description: Response @@ -94047,7 +94015,7 @@ paths: application/json: schema: type: array - items: &610 + items: &606 title: Tag protection description: Tag protection type: object @@ -94104,8 +94072,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 + - *302 + - *303 requestBody: required: true content: @@ -94128,7 +94096,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *606 examples: default: value: @@ -94159,8 +94127,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 + - *302 + - *303 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -94197,8 +94165,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *314 - - *315 + - *302 + - *303 - name: ref in: path required: true @@ -94234,8 +94202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *314 - - *315 + - *302 + - *303 - *17 - *19 responses: @@ -94247,9 +94215,9 @@ paths: type: array items: *161 examples: - default: *215 + default: *213 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -94267,8 +94235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *314 - - *315 + - *302 + - *303 - *19 - *17 responses: @@ -94276,7 +94244,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &607 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94288,7 +94256,7 @@ paths: required: - names examples: - default: &612 + default: &608 value: names: - octocat @@ -94311,8 +94279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -94343,9 +94311,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *607 examples: - default: *612 + default: *608 '404': *6 '422': *7 x-github: @@ -94366,9 +94334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *314 - - *315 - - &613 + - *302 + - *303 + - &609 name: per description: The time frame to display results for. in: query @@ -94399,7 +94367,7 @@ paths: - 128 clones: type: array - items: &614 + items: &610 title: Traffic type: object properties: @@ -94486,8 +94454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -94581,8 +94549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *314 - - *315 + - *302 + - *303 responses: '200': description: Response @@ -94645,9 +94613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *314 - - *315 - - *613 + - *302 + - *303 + - *609 responses: '200': description: Response @@ -94668,7 +94636,7 @@ paths: - 3782 views: type: array - items: *614 + items: *610 required: - uniques - count @@ -94745,8 +94713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *314 - - *315 + - *302 + - *303 requestBody: required: true content: @@ -94782,7 +94750,7 @@ paths: description: Response content: application/json: - schema: *131 + schema: *126 examples: default: value: @@ -95020,8 +94988,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 + - *302 + - *303 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -95044,8 +95012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -95067,8 +95035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -95094,8 +95062,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *314 - - *315 + - *302 + - *303 - name: ref in: path required: true @@ -95187,9 +95155,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *310 examples: - default: *324 + default: *312 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95230,7 +95198,7 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: default: value: @@ -95419,7 +95387,7 @@ paths: html_url: type: string format: uri - repository: *131 + repository: *126 score: type: number file_size: @@ -95438,7 +95406,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &615 + text_matches: &611 title: Search Result Text Matches type: array items: @@ -95553,7 +95521,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *73 + '503': *95 '422': *15 '403': *27 x-github: @@ -95601,7 +95569,7 @@ paths: enum: - author-date - committer-date - - &616 + - &612 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 +95638,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *370 comment_count: type: integer message: @@ -95689,7 +95657,7 @@ paths: url: type: string format: uri - verification: *492 + verification: *480 required: - author - committer @@ -95704,7 +95672,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *370 parents: type: array items: @@ -95716,12 +95684,12 @@ paths: type: string sha: type: string - repository: *131 + repository: *126 score: type: number node_id: type: string - text_matches: *615 + text_matches: *611 required: - sha - node_id @@ -95913,7 +95881,7 @@ paths: - interactions - created - updated - - *616 + - *612 - *17 - *19 - name: advanced_search @@ -96010,11 +95978,11 @@ paths: type: - string - 'null' - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: type: string state_reason: @@ -96028,7 +95996,7 @@ paths: milestone: anyOf: - type: 'null' - - *238 + - *236 comments: type: integer created_at: @@ -96042,7 +96010,7 @@ paths: - string - 'null' format: date-time - text_matches: *615 + text_matches: *611 pull_request: type: object properties: @@ -96080,10 +96048,10 @@ paths: type: string score: type: number - author_association: *69 + author_association: *64 draft: type: boolean - repository: *66 + repository: *61 body_html: type: string body_text: @@ -96091,12 +96059,12 @@ paths: timeline_url: type: string format: uri - type: *199 + type: *197 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *65 required: - assignee - closed_at @@ -96212,7 +96180,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *73 + '503': *95 '422': *15 '304': *35 '403': *27 @@ -96265,7 +96233,7 @@ paths: enum: - created - updated - - *616 + - *612 - *17 - *19 responses: @@ -96310,7 +96278,7 @@ paths: - 'null' score: type: number - text_matches: *615 + text_matches: *611 required: - id - node_id @@ -96395,7 +96363,7 @@ paths: - forks - help-wanted-issues - updated - - *616 + - *612 - *17 - *19 responses: @@ -96614,7 +96582,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *66 permissions: type: object properties: @@ -96632,7 +96600,7 @@ paths: - admin - pull - push - text_matches: *615 + text_matches: *611 temp_clone_token: type: string allow_merge_commit: @@ -96835,7 +96803,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *73 + '503': *95 '422': *15 '304': *35 x-github: @@ -96940,7 +96908,7 @@ paths: - string - 'null' format: uri - text_matches: *615 + text_matches: *611 related: type: - array @@ -97133,7 +97101,7 @@ paths: - followers - repositories - joined - - *616 + - *612 - *17 - *19 responses: @@ -97243,7 +97211,7 @@ paths: type: - boolean - 'null' - text_matches: *615 + text_matches: *611 blog: type: - string @@ -97305,7 +97273,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *73 + '503': *95 '422': *15 x-github: githubCloudOnly: false @@ -97325,7 +97293,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &620 + - &616 name: team_id description: The unique identifier of the team. in: path @@ -97337,9 +97305,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *287 examples: - default: *300 + default: *288 '404': *6 x-github: githubCloudOnly: false @@ -97366,7 +97334,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *620 + - *616 requestBody: required: true content: @@ -97430,16 +97398,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *287 examples: - default: *300 + default: *288 '201': description: Response content: application/json: - schema: *299 + schema: *287 examples: - default: *300 + default: *288 '404': *6 '422': *15 '403': *27 @@ -97467,7 +97435,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *620 + - *616 responses: '204': description: Response @@ -97498,7 +97466,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *620 + - *616 - *46 - *17 - *19 @@ -97509,11 +97477,11 @@ paths: application/json: schema: type: array - items: *301 + items: *289 examples: - default: *621 + default: *617 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97540,7 +97508,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *620 + - *616 requestBody: required: true content: @@ -97574,9 +97542,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *289 examples: - default: *302 + default: *290 x-github: triggersNotification: true githubCloudOnly: false @@ -97603,16 +97571,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *620 - - *303 + - *616 + - *291 responses: '200': description: Response content: application/json: - schema: *301 + schema: *289 examples: - default: *302 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97637,8 +97605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *620 - - *303 + - *616 + - *291 requestBody: required: false content: @@ -97661,9 +97629,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *289 examples: - default: *622 + default: *618 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97688,8 +97656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *620 - - *303 + - *616 + - *291 responses: '204': description: Response @@ -97718,8 +97686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *620 - - *303 + - *616 + - *291 - *46 - *17 - *19 @@ -97730,11 +97698,11 @@ paths: application/json: schema: type: array - items: *304 + items: *292 examples: - default: *623 + default: *619 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97761,8 +97729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *620 - - *303 + - *616 + - *291 requestBody: required: true content: @@ -97784,9 +97752,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *292 examples: - default: *305 + default: *293 x-github: triggersNotification: true githubCloudOnly: false @@ -97813,17 +97781,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *616 + - *291 + - *294 responses: '200': description: Response content: application/json: - schema: *304 + schema: *292 examples: - default: *305 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97848,9 +97816,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *616 + - *291 + - *294 requestBody: required: true content: @@ -97872,9 +97840,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *292 examples: - default: *624 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97899,9 +97867,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *616 + - *291 + - *294 responses: '204': description: Response @@ -97930,9 +97898,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 + - *616 + - *291 + - *294 - 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 +97926,11 @@ paths: application/json: schema: type: array - items: *307 + items: *295 examples: - default: *309 + default: *297 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97989,9 +97957,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 + - *616 + - *291 + - *294 requestBody: required: true content: @@ -98023,9 +97991,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98051,8 +98019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *620 - - *303 + - *616 + - *291 - 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 +98046,11 @@ paths: application/json: schema: type: array - items: *307 + items: *295 examples: - default: *309 + default: *297 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98109,8 +98077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *620 - - *303 + - *616 + - *291 requestBody: required: true content: @@ -98142,9 +98110,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *295 examples: - default: *308 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98168,7 +98136,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *620 + - *616 - *17 - *19 responses: @@ -98178,11 +98146,11 @@ paths: application/json: schema: type: array - items: *196 + items: *194 examples: - default: *197 + default: *195 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98206,7 +98174,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *620 + - *616 - name: role description: Filters members returned by their role in the team. in: query @@ -98229,9 +98197,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98257,8 +98225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *620 - - *62 + - *616 + - *57 responses: '204': description: if user is a member @@ -98294,8 +98262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *620 - - *62 + - *616 + - *57 responses: '204': description: Response @@ -98334,8 +98302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *620 - - *62 + - *616 + - *57 responses: '204': description: Response @@ -98371,16 +98339,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *616 + - *57 responses: '200': description: Response content: application/json: - schema: *311 + schema: *299 examples: - response-if-user-is-a-team-maintainer: *625 + response-if-user-is-a-team-maintainer: *621 '404': *6 x-github: githubCloudOnly: false @@ -98413,8 +98381,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 + - *616 + - *57 requestBody: required: false content: @@ -98439,9 +98407,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *299 examples: - response-if-users-membership-with-team-is-now-pending: *626 + response-if-users-membership-with-team-is-now-pending: *622 '403': description: Forbidden if team synchronization is set up '422': @@ -98475,8 +98443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *616 + - *57 responses: '204': description: Response @@ -98504,7 +98472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *620 + - *616 - *17 - *19 responses: @@ -98514,11 +98482,11 @@ paths: application/json: schema: type: array - items: *312 + items: *300 examples: - default: *627 + default: *623 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98542,16 +98510,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *620 - - *313 + - *616 + - *301 responses: '200': description: Response content: application/json: - schema: *312 + schema: *300 examples: - default: *628 + default: *624 '404': description: Not Found if project is not managed by this team x-github: @@ -98575,8 +98543,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *620 - - *313 + - *616 + - *301 requestBody: required: false content: @@ -98643,8 +98611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *620 - - *313 + - *616 + - *301 responses: '204': description: Response @@ -98671,7 +98639,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *620 + - *616 - *17 - *19 responses: @@ -98681,11 +98649,11 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: - default: *222 + default: *220 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98713,15 +98681,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 + - *616 + - *302 + - *303 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *629 + schema: *625 examples: alternative-response-with-extra-repository-information: value: @@ -98872,9 +98840,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 + - *616 + - *302 + - *303 requestBody: required: false content: @@ -98924,9 +98892,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 + - *616 + - *302 + - *303 responses: '204': description: Response @@ -98951,7 +98919,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *620 + - *616 - *17 - *19 responses: @@ -98963,9 +98931,9 @@ paths: type: array items: *161 examples: - response-if-child-teams-exist: *630 + response-if-child-teams-exist: *626 headers: - Link: *57 + Link: *52 '404': *6 '403': *27 '422': *15 @@ -98996,7 +98964,7 @@ paths: application/json: schema: oneOf: - - &632 + - &628 title: Private User description: Private User type: object @@ -99246,7 +99214,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *631 + - *627 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99406,7 +99374,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *628 examples: default: value: @@ -99485,7 +99453,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '304': *35 '404': *6 '403': *27 @@ -99508,7 +99476,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 +99504,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 +99528,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -99609,11 +99577,11 @@ paths: type: integer codespaces: type: array - items: *204 + items: *202 examples: - default: *205 + default: *203 '304': *35 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -99750,21 +99718,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *204 + schema: *202 examples: - default: *434 + default: *422 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *204 + schema: *202 examples: - default: *434 + default: *422 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99804,7 +99772,7 @@ paths: type: integer secrets: type: array - items: &633 + items: &629 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99846,9 +99814,9 @@ paths: - visibility - selected_repositories_url examples: - default: *436 + default: *424 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99918,13 +99886,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *139 + - *134 responses: '200': description: Response content: application/json: - schema: *633 + schema: *629 examples: default: value: @@ -99954,7 +99922,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 + - *134 requestBody: required: true content: @@ -99999,7 +99967,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -100027,7 +99995,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *139 + - *134 responses: '204': description: Response @@ -100052,7 +100020,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *139 + - *134 responses: '200': description: Response @@ -100068,13 +100036,13 @@ paths: type: integer repositories: type: array - items: *131 + items: *126 examples: - default: *634 + default: *630 '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100095,7 +100063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *139 + - *134 requestBody: required: true content: @@ -100127,7 +100095,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100149,7 +100117,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *139 + - *134 - name: repository_id in: path required: true @@ -100161,7 +100129,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100182,7 +100150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *139 + - *134 - name: repository_id in: path required: true @@ -100194,7 +100162,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100214,17 +100182,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *206 + - *204 responses: '200': description: Response content: application/json: - schema: *204 + schema: *202 examples: - default: *434 + default: *422 '304': *35 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -100248,7 +100216,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *206 + - *204 requestBody: required: false content: @@ -100278,9 +100246,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *202 examples: - default: *434 + default: *422 '401': *23 '403': *27 '404': *6 @@ -100302,11 +100270,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *206 + - *204 responses: '202': *37 '304': *35 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -100331,13 +100299,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *206 + - *204 responses: '202': description: Response content: application/json: - schema: &635 + schema: &631 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100390,7 +100358,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &636 + default: &632 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100398,7 +100366,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -100422,7 +100390,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *206 + - *204 - name: export_id in: path required: true @@ -100435,9 +100403,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *631 examples: - default: *636 + default: *632 '404': *6 x-github: githubCloudOnly: false @@ -100458,7 +100426,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *206 + - *204 responses: '200': description: Response @@ -100474,11 +100442,11 @@ paths: type: integer machines: type: array - items: *435 + items: *423 examples: - default: *637 + default: *633 '304': *35 - '500': *100 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -100505,7 +100473,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *206 + - *204 requestBody: required: true content: @@ -100561,11 +100529,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *322 + repository: *310 machine: anyOf: - type: 'null' - - *435 + - *423 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -101362,17 +101330,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *206 + - *204 responses: '200': description: Response content: application/json: - schema: *204 + schema: *202 examples: - default: *434 + default: *422 '304': *35 - '500': *100 + '500': *94 '400': *14 '401': *23 '402': @@ -101402,16 +101370,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *206 + - *204 responses: '200': description: Response content: application/json: - schema: *204 + schema: *202 examples: - default: *434 - '500': *100 + default: *422 + '500': *94 '401': *23 '403': *27 '404': *6 @@ -101440,9 +101408,9 @@ paths: application/json: schema: type: array - items: *216 + items: *214 examples: - default: &649 + default: &645 value: - id: 197 name: hello_docker @@ -101543,7 +101511,7 @@ paths: application/json: schema: type: array - items: &638 + items: &634 title: Email description: Email type: object @@ -101613,16 +101581,16 @@ paths: application/json: schema: type: array - items: *638 + items: *634 examples: - default: &651 + default: &647 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -101692,7 +101660,7 @@ paths: application/json: schema: type: array - items: *638 + items: *634 examples: default: value: @@ -101804,9 +101772,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -101837,9 +101805,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -101859,7 +101827,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 +101857,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 +101882,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 +101918,7 @@ paths: application/json: schema: type: array - items: &639 + items: &635 title: GPG Key description: A unique encryption key type: object @@ -102095,7 +102063,7 @@ paths: - subkeys - revoked examples: - default: &665 + default: &661 value: - id: 3 name: Octocat's GPG Key @@ -102127,7 +102095,7 @@ paths: revoked: false raw_key: string headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -102180,9 +102148,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *635 examples: - default: &640 + default: &636 value: id: 3 name: Octocat's GPG Key @@ -102239,7 +102207,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 + - &637 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102251,9 +102219,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *635 examples: - default: *640 + default: *636 '404': *6 '304': *35 '403': *27 @@ -102276,7 +102244,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 + - *637 responses: '204': description: Response @@ -102419,7 +102387,7 @@ paths: suspended_at: suspended_by: headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -102465,11 +102433,11 @@ paths: type: string repositories: type: array - items: *66 + items: *61 examples: - default: *123 + default: *118 headers: - Link: *57 + Link: *52 '404': *6 '403': *27 '304': *35 @@ -102492,7 +102460,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *120 + - *115 responses: '204': description: Response @@ -102518,7 +102486,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *120 + - *115 responses: '204': description: Response @@ -102552,12 +102520,12 @@ paths: application/json: schema: anyOf: - - *194 + - *192 - type: object properties: {} additionalProperties: false examples: - default: *195 + default: *193 '204': description: Response when there are no restrictions x-github: @@ -102581,7 +102549,7 @@ paths: required: true content: application/json: - schema: *503 + schema: *491 examples: default: value: @@ -102592,7 +102560,7 @@ paths: description: Response content: application/json: - schema: *194 + schema: *192 examples: default: value: @@ -102673,7 +102641,7 @@ paths: - closed - all default: open - - *202 + - *200 - name: sort description: What to sort results by. in: query @@ -102686,7 +102654,7 @@ paths: - comments default: created - *46 - - *75 + - *69 - *17 - *19 responses: @@ -102696,11 +102664,11 @@ paths: application/json: schema: type: array - items: *68 + items: *63 examples: - default: *203 + default: *201 headers: - Link: *57 + Link: *52 '404': *6 '304': *35 x-github: @@ -102731,7 +102699,7 @@ paths: application/json: schema: type: array - items: &642 + items: &638 title: Key description: Key type: object @@ -102783,7 +102751,7 @@ paths: verified: false read_only: false headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -102834,9 +102802,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *638 examples: - default: &643 + default: &639 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102869,15 +102837,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 + - *517 responses: '200': description: Response content: application/json: - schema: *642 + schema: *638 examples: - default: *643 + default: *639 '404': *6 '304': *35 '403': *27 @@ -102900,7 +102868,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 + - *517 responses: '204': description: Response @@ -102933,7 +102901,7 @@ paths: application/json: schema: type: array - items: &644 + items: &640 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103001,7 +102969,7 @@ paths: - id - type - login - plan: *86 + plan: *80 required: - billing_cycle - next_billing_date @@ -103012,7 +102980,7 @@ paths: - account - plan examples: - default: &645 + default: &641 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103045,7 +103013,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '304': *35 '401': *23 '404': *6 @@ -103074,11 +103042,11 @@ paths: application/json: schema: type: array - items: *644 + items: *640 examples: - default: *645 + default: *641 headers: - Link: *57 + Link: *52 '304': *35 '401': *23 x-github: @@ -103116,7 +103084,7 @@ paths: application/json: schema: type: array - items: *208 + items: *206 examples: default: value: @@ -103193,7 +103161,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -103218,13 +103186,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *99 + - *93 responses: '200': description: Response content: application/json: - schema: *208 + schema: *206 examples: default: value: @@ -103282,7 +103250,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *99 + - *93 requestBody: required: true content: @@ -103307,7 +103275,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *206 examples: default: value: @@ -103375,7 +103343,7 @@ paths: application/json: schema: type: array - items: *210 + items: *208 examples: default: value: @@ -103528,7 +103496,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -103637,7 +103605,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *208 examples: default: value: @@ -103817,7 +103785,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *211 + - *209 - name: exclude in: query required: false @@ -103830,7 +103798,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *208 examples: default: value: @@ -104024,7 +103992,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *211 + - *209 responses: '302': description: Response @@ -104050,7 +104018,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *211 + - *209 responses: '204': description: Response @@ -104079,8 +104047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *211 - - *646 + - *209 + - *642 responses: '204': description: Response @@ -104104,7 +104072,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *211 + - *209 - *17 - *19 responses: @@ -104114,11 +104082,11 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: - default: *222 + default: *220 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -104153,9 +104121,9 @@ paths: type: array items: *160 examples: - default: *647 + default: *643 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -104195,7 +104163,7 @@ paths: - docker - nuget - container - - *648 + - *644 - *19 - *17 responses: @@ -104205,10 +104173,10 @@ paths: application/json: schema: type: array - items: *216 + items: *214 examples: - default: *649 - '400': *650 + default: *645 + '400': *646 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104228,16 +104196,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *218 - - *219 + - *216 + - *217 responses: '200': description: Response content: application/json: - schema: *216 + schema: *214 examples: - default: &666 + default: &662 value: id: 40201 name: octo-name @@ -104350,8 +104318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *218 - - *219 + - *216 + - *217 responses: '204': description: Response @@ -104381,8 +104349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *218 - - *219 + - *216 + - *217 - name: token description: package token schema: @@ -104414,8 +104382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *218 - - *219 + - *216 + - *217 - *19 - *17 - name: state @@ -104435,7 +104403,7 @@ paths: application/json: schema: type: array - items: *220 + items: *218 examples: default: value: @@ -104484,15 +104452,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *218 + - *216 + - *217 - *219 - - *221 responses: '200': description: Response content: application/json: - schema: *220 + schema: *218 examples: default: value: @@ -104528,9 +104496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *218 + - *216 + - *217 - *219 - - *221 responses: '204': description: Response @@ -104560,9 +104528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *218 + - *216 + - *217 - *219 - - *221 responses: '204': description: Response @@ -104620,7 +104588,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *230 examples: default: value: @@ -104692,11 +104660,11 @@ paths: application/json: schema: type: array - items: *638 + items: *634 examples: - default: *651 + default: *647 headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -104805,9 +104773,9 @@ paths: application/json: schema: type: array - items: *66 + items: *61 examples: - default: &658 + default: &654 summary: Default response value: - id: 1296269 @@ -104928,7 +104896,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '403': *27 @@ -105125,9 +105093,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *310 examples: - default: *324 + default: *312 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105165,11 +105133,11 @@ paths: application/json: schema: type: array - items: *505 + items: *493 examples: - default: *652 + default: *648 headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105190,7 +105158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *198 + - *196 responses: '204': description: Response @@ -105213,7 +105181,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *198 + - *196 responses: '204': description: Response @@ -105246,7 +105214,7 @@ paths: application/json: schema: type: array - items: &653 + items: &649 title: Social account description: Social media account type: object @@ -105263,12 +105231,12 @@ paths: - provider - url examples: - default: &654 + default: &650 value: - provider: twitter url: https://twitter.com/github headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105326,9 +105294,9 @@ paths: application/json: schema: type: array - items: *653 + items: *649 examples: - default: *654 + default: *650 '422': *15 '304': *35 '404': *6 @@ -105416,7 +105384,7 @@ paths: application/json: schema: type: array - items: &655 + items: &651 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105436,7 +105404,7 @@ paths: - title - created_at examples: - default: &680 + default: &676 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105449,7 +105417,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 +105471,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *651 examples: - default: &656 + default: &652 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105536,7 +105504,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 + - &653 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105548,9 +105516,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *651 examples: - default: *656 + default: *652 '404': *6 '304': *35 '403': *27 @@ -105573,7 +105541,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 + - *653 responses: '204': description: Response @@ -105602,7 +105570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &681 + - &677 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 +105593,13 @@ paths: application/json: schema: type: array - items: *66 + items: *61 examples: - default-response: *658 + default-response: *654 application/vnd.github.v3.star+json: schema: type: array - items: &682 + items: &678 title: Starred Repository description: Starred Repository type: object @@ -105639,7 +105607,7 @@ paths: starred_at: type: string format: date-time - repo: *66 + repo: *61 required: - starred_at - repo @@ -105767,7 +105735,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -105787,8 +105755,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 + - *302 + - *303 responses: '204': description: Response if this repository is starred by you @@ -105816,8 +105784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -105841,8 +105809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *314 - - *315 + - *302 + - *303 responses: '204': description: Response @@ -105875,11 +105843,11 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: - default: *222 + default: *220 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -105914,7 +105882,7 @@ paths: application/json: schema: type: array - items: *299 + items: *287 examples: default: value: @@ -105965,7 +105933,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105992,7 +105960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *88 + - *82 responses: '200': description: Response @@ -106000,10 +105968,10 @@ paths: application/json: schema: oneOf: - - *632 - - *631 + - *628 + - *627 examples: - default-response: &660 + default-response: &656 summary: Default response value: login: octocat @@ -106038,7 +106006,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: &657 summary: Response with GitHub plan information value: login: octocat @@ -106098,7 +106066,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *659 + - *655 - *17 responses: '200': @@ -106109,7 +106077,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: Link: example: ; rel="next" @@ -106139,7 +106107,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 +106115,11 @@ paths: application/json: schema: oneOf: - - *632 - - *631 + - *628 + - *627 examples: - default-response: *660 - response-with-git-hub-plan-information: *661 + default-response: *656 + response-with-git-hub-plan-information: *657 '404': *6 x-github: githubCloudOnly: false @@ -106177,7 +106145,7 @@ paths: - *17 - *38 - *39 - - *62 + - *57 requestBody: required: true content: @@ -106200,8 +106168,8 @@ paths: required: - subject_digests examples: - default: *662 - withPredicateType: *663 + default: *658 + withPredicateType: *659 responses: '200': description: Response @@ -106255,7 +106223,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *664 + default: *660 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106273,7 +106241,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 +106306,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 +106337,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 +106375,7 @@ paths: - *17 - *38 - *39 - - *62 + - *57 - name: subject_digest description: Subject Digest in: path @@ -106459,12 +106427,12 @@ paths: initiator: type: string examples: - default: *378 + default: *366 '201': description: Response content: application/json: - schema: *140 + schema: *135 examples: default: value: @@ -106490,7 +106458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *62 + - *57 responses: '200': description: Response @@ -106498,9 +106466,9 @@ paths: application/json: schema: type: array - items: *216 + items: *214 examples: - default: *649 + default: *645 '403': *27 '401': *23 x-github: @@ -106523,7 +106491,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 +106501,7 @@ paths: application/json: schema: type: array - items: *94 + items: *88 examples: default: value: @@ -106595,8 +106563,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 + - *93 - *17 - *19 responses: @@ -106606,7 +106574,7 @@ paths: application/json: schema: type: array - items: *94 + items: *88 examples: default: value: @@ -106683,7 +106651,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 +106661,7 @@ paths: application/json: schema: type: array - items: *94 + items: *88 examples: default: value: @@ -106751,7 +106719,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 +106731,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106782,7 +106750,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 +106762,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106813,7 +106781,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 +106808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *62 - - *75 + - *57 + - *69 - *17 - *19 responses: @@ -106851,11 +106819,11 @@ paths: application/json: schema: type: array - items: *76 + items: *70 examples: - default: *77 + default: *71 headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -106874,7 +106842,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 +106852,11 @@ paths: application/json: schema: type: array - items: *639 + items: *635 examples: - default: *665 + default: *661 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106910,7 +106878,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 +106950,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 +106958,7 @@ paths: application/json: schema: *20 examples: - default: *502 + default: *490 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107008,7 +106976,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 +107012,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107064,7 +107032,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: @@ -107076,9 +107044,9 @@ paths: type: array items: *160 examples: - default: *647 + default: *643 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107115,8 +107083,8 @@ paths: - docker - nuget - container - - *648 - - *62 + - *644 + - *57 - *19 - *17 responses: @@ -107126,12 +107094,12 @@ paths: application/json: schema: type: array - items: *216 + items: *214 examples: - default: *649 + default: *645 '403': *27 '401': *23 - '400': *650 + '400': *646 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107151,17 +107119,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *218 - - *219 - - *62 + - *216 + - *217 + - *57 responses: '200': description: Response content: application/json: - schema: *216 + schema: *214 examples: - default: *666 + default: *662 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107182,9 +107150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *218 - - *219 - - *62 + - *216 + - *217 + - *57 responses: '204': description: Response @@ -107216,9 +107184,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *218 - - *219 - - *62 + - *216 + - *217 + - *57 - name: token description: package token schema: @@ -107250,9 +107218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *218 - - *219 - - *62 + - *216 + - *217 + - *57 responses: '200': description: Response @@ -107260,7 +107228,7 @@ paths: application/json: schema: type: array - items: *220 + items: *218 examples: default: value: @@ -107318,16 +107286,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *218 + - *216 + - *217 - *219 - - *221 - - *62 + - *57 responses: '200': description: Response content: application/json: - schema: *220 + schema: *218 examples: default: value: @@ -107362,10 +107330,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *218 + - *216 + - *217 + - *57 - *219 - - *62 - - *221 responses: '204': description: Response @@ -107397,10 +107365,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *218 + - *216 + - *217 + - *57 - *219 - - *62 - - *221 responses: '204': description: Response @@ -107426,7 +107394,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-user-projects parameters: - - *62 + - *57 - name: state description: Indicates the state of the projects to return. in: query @@ -107447,7 +107415,7 @@ paths: application/json: schema: type: array - items: *232 + items: *230 examples: default: value: @@ -107483,7 +107451,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 +107473,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *62 + - *57 - name: q description: Limit results to projects of the specified type. in: query @@ -107522,11 +107490,11 @@ paths: application/json: schema: type: array - items: *233 + items: *231 examples: - default: *234 + default: *232 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107546,18 +107514,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *235 - - *62 + - *233 + - *57 responses: '200': description: Response content: application/json: - schema: *233 + schema: *231 examples: - default: *234 + default: *232 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107577,8 +107545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *235 - - *62 + - *233 + - *57 - *17 - *38 - *39 @@ -107589,11 +107557,11 @@ paths: application/json: schema: type: array - items: *236 + items: *234 examples: - default: *237 + default: *235 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107613,19 +107581,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *235 - - *667 - - *62 + - *233 + - *663 + - *57 responses: '200': description: Response content: application/json: - schema: *236 + schema: *234 examples: - default: *237 + default: *235 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107646,8 +107614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *235 - - *62 + - *233 + - *57 - *38 - *39 - *17 @@ -107659,8 +107627,10 @@ 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` in: query required: false schema: @@ -107668,8 +107638,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 responses: '200': description: Response @@ -107677,11 +107645,11 @@ paths: application/json: schema: type: array - items: *242 + items: *240 examples: - default: *243 + default: *241 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107700,8 +107668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *62 - - *235 + - *57 + - *233 requestBody: required: true description: Details of the item to add to the project. @@ -107738,10 +107706,10 @@ paths: description: Response content: application/json: - schema: *668 + schema: *664 examples: - issue: *241 - pull_request: *241 + issue: *239 + pull_request: *239 '304': *35 '403': *27 '401': *23 @@ -107761,9 +107729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *235 - - *62 - - *244 + - *233 + - *57 + - *242 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -107781,11 +107749,11 @@ paths: description: Response content: application/json: - schema: *242 + schema: *240 examples: - default: *243 + default: *241 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107804,9 +107772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *235 - - *62 - - *244 + - *233 + - *57 + - *242 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -107879,13 +107847,13 @@ paths: description: Response content: application/json: - schema: *242 + schema: *240 examples: - text_field: *243 - number_field: *243 - date_field: *243 - single_select_field: *243 - iteration_field: *243 + text_field: *241 + number_field: *241 + date_field: *241 + single_select_field: *241 + iteration_field: *241 '401': *23 '403': *27 '404': *6 @@ -107905,9 +107873,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *235 - - *62 - - *244 + - *233 + - *57 + - *242 responses: '204': description: Response @@ -107934,7 +107902,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 +107912,7 @@ paths: application/json: schema: type: array - items: *94 + items: *88 examples: default: value: @@ -108009,7 +107977,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 +107987,7 @@ paths: application/json: schema: type: array - items: *94 + items: *88 examples: default: value: @@ -108082,7 +108050,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 +108093,11 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: - default: *222 + default: *220 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108151,15 +108119,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: *665 examples: - default: *670 + default: *666 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108181,15 +108149,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: *667 examples: - default: *672 + default: *668 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108198,7 +108166,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 +108177,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 + - *96 + - *669 + - *97 + - *670 + - *671 responses: '200': description: Response when getting a billing premium request usage report @@ -108318,8 +108289,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *100 - '503': *73 + '500': *94 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108341,15 +108312,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: *672 examples: - default: *677 + default: *673 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108369,11 +108340,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 + - *96 + - *674 + - *97 + - *675 responses: '200': description: Response when getting a billing usage report @@ -108443,8 +108414,8 @@ paths: repositoryName: user/example '400': *14 '403': *27 - '500': *100 - '503': *73 + '500': *94 + '503': *95 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108462,7 +108433,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 +108443,11 @@ paths: application/json: schema: type: array - items: *653 + items: *649 examples: - default: *654 + default: *650 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108494,7 +108465,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 +108475,11 @@ paths: application/json: schema: type: array - items: *655 + items: *651 examples: - default: *680 + default: *676 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108530,8 +108501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *62 - - *681 + - *57 + - *677 - *46 - *17 - *19 @@ -108543,13 +108514,13 @@ paths: schema: anyOf: - type: array - items: *682 + items: *678 - type: array - items: *66 + items: *61 examples: - default-response: *658 + default-response: *654 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108566,7 +108537,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 +108547,11 @@ paths: application/json: schema: type: array - items: *131 + items: *126 examples: - default: *222 + default: *220 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108707,7 +108678,7 @@ webhooks: type: string enum: - disabled - enterprise: &683 + enterprise: &679 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108776,7 +108747,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &684 + installation: &680 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108797,7 +108768,7 @@ webhooks: required: - id - node_id - organization: &685 + organization: &681 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108870,7 +108841,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &686 + repository: &682 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -108899,7 +108870,7 @@ webhooks: license: anyOf: - type: 'null' - - *71 + - *66 organization: anyOf: - type: 'null' @@ -109783,10 +109754,10 @@ webhooks: type: string enum: - enabled - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -109862,11 +109833,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: &687 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + rule: &683 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 +110060,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: *687 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + rule: *683 sender: *4 required: - action @@ -110281,11 +110252,11 @@ webhooks: - everyone required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: *687 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + rule: *683 sender: *4 required: - action @@ -110369,7 +110340,7 @@ webhooks: type: string enum: - completed - check_run: &689 + check_run: &685 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110434,8 +110405,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *72 - repository: *131 + items: *67 + repository: *126 status: type: string enum: @@ -110479,7 +110450,7 @@ webhooks: - examples: - neutral - deployment: *688 + deployment: *684 details_url: type: string examples: @@ -110539,7 +110510,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *72 + items: *67 started_at: type: string format: date-time @@ -110577,10 +110548,10 @@ webhooks: - output - app - pull_requests - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + installation: *680 + enterprise: *679 + organization: *681 + repository: *682 sender: *4 required: - check_run @@ -110973,11 +110944,11 @@ webhooks: type: string enum: - created - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *685 + installation: *680 + enterprise: *679 + organization: *681 + repository: *682 sender: *4 required: - check_run @@ -111373,11 +111344,11 @@ webhooks: type: string enum: - requested_action - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *685 + installation: *680 + enterprise: *679 + organization: *681 + repository: *682 requested_action: description: The action requested by the user. type: object @@ -111782,11 +111753,11 @@ webhooks: type: string enum: - rerequested - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *685 + installation: *680 + enterprise: *679 + organization: *681 + repository: *682 sender: *4 required: - check_run @@ -112778,10 +112749,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -113466,10 +113437,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -114148,10 +114119,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -114320,7 +114291,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *397 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114472,20 +114443,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &690 + commit_oid: &686 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: *679 + installation: *680 + organization: *681 + ref: &687 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: *682 sender: *4 required: - action @@ -114652,7 +114623,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *397 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114893,12 +114864,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *686 + enterprise: *679 + installation: *680 + organization: *681 + ref: *687 + repository: *682 sender: *4 required: - action @@ -114996,7 +114967,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *397 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 +115152,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *686 + enterprise: *679 + installation: *680 + organization: *681 + ref: *687 + repository: *682 sender: *4 required: - action @@ -115355,7 +115326,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *397 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115532,12 +115503,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *686 + enterprise: *679 + installation: *680 + organization: *681 + ref: *687 + repository: *682 sender: *4 required: - action @@ -115640,7 +115611,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *409 + dismissed_comment: *397 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 +115791,9 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 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 +115801,7 @@ webhooks: type: - string - 'null' - repository: *686 + repository: *682 sender: *4 required: - action @@ -115929,7 +115900,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *397 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 +116047,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *686 + enterprise: *679 + installation: *680 + organization: *681 + ref: *687 + repository: *682 sender: *4 required: - action @@ -116343,10 +116314,10 @@ webhooks: - updated_at - author_association - body - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -116427,18 +116398,18 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *685 - pusher_type: &692 + organization: *681 + pusher_type: &688 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &693 + ref: &689 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116448,7 +116419,7 @@ webhooks: enum: - tag - branch - repository: *686 + repository: *682 sender: *4 required: - ref @@ -116530,10 +116501,10 @@ webhooks: type: string enum: - created - definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + definition: *243 + enterprise: *679 + installation: *680 + organization: *681 sender: *4 required: - action @@ -116618,9 +116589,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 sender: *4 required: - action @@ -116697,10 +116668,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + definition: *243 + enterprise: *679 + installation: *680 + organization: *681 sender: *4 required: - action @@ -116777,10 +116748,10 @@ webhooks: type: string enum: - updated - definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + definition: *243 + enterprise: *679 + installation: *680 + organization: *681 sender: *4 required: - action @@ -116857,19 +116828,19 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - repository: *686 - organization: *685 + enterprise: *679 + installation: *680 + repository: *682 + organization: *681 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *249 + items: *247 old_property_values: type: array description: The old custom property values for the repository. - items: *249 + items: *247 required: - action - repository @@ -116945,18 +116916,18 @@ webhooks: title: delete event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - pusher_type: *692 - ref: *693 + enterprise: *679 + installation: *680 + organization: *681 + pusher_type: *688 + ref: *689 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *686 + repository: *682 sender: *4 required: - ref @@ -117040,11 +117011,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *449 + installation: *680 + organization: *681 + enterprise: *679 + repository: *682 sender: *4 required: - action @@ -117128,11 +117099,11 @@ webhooks: type: string enum: - auto_reopened - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *449 + installation: *680 + organization: *681 + enterprise: *679 + repository: *682 sender: *4 required: - action @@ -117216,11 +117187,11 @@ webhooks: type: string enum: - created - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *449 + installation: *680 + organization: *681 + enterprise: *679 + repository: *682 sender: *4 required: - action @@ -117302,11 +117273,11 @@ webhooks: type: string enum: - dismissed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *449 + installation: *680 + organization: *681 + enterprise: *679 + repository: *682 sender: *4 required: - action @@ -117388,11 +117359,11 @@ webhooks: type: string enum: - fixed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *449 + installation: *680 + organization: *681 + enterprise: *679 + repository: *682 sender: *4 required: - action @@ -117475,11 +117446,11 @@ webhooks: type: string enum: - reintroduced - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *449 + installation: *680 + organization: *681 + enterprise: *679 + repository: *682 sender: *4 required: - action @@ -117561,11 +117532,11 @@ webhooks: type: string enum: - reopened - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *449 + installation: *680 + organization: *681 + enterprise: *679 + repository: *682 sender: *4 required: - action @@ -117642,9 +117613,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - key: &694 + enterprise: *679 + installation: *680 + key: &690 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117682,8 +117653,8 @@ webhooks: - verified - created_at - read_only - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -117760,11 +117731,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - key: *694 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + key: *690 + organization: *681 + repository: *682 sender: *4 required: - action @@ -118336,12 +118307,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - workflow: &698 + workflow: &694 title: Workflow type: - object @@ -119079,13 +119050,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *467 + deployment: *455 pull_requests: type: array - items: *547 - repository: *686 - organization: *685 - installation: *684 + items: *535 + repository: *682 + organization: *681 + installation: *680 sender: *4 responses: '200': @@ -119156,7 +119127,7 @@ webhooks: type: string enum: - approved - approver: &695 + approver: &691 type: object properties: avatar_url: @@ -119199,11 +119170,11 @@ webhooks: type: string comment: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - reviewers: &696 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + reviewers: &692 type: array items: type: object @@ -119284,7 +119255,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &697 + workflow_job_run: &693 type: object properties: conclusion: @@ -120030,18 +120001,18 @@ webhooks: type: string enum: - rejected - approver: *695 + approver: *691 comment: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - reviewers: *696 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + reviewers: *692 sender: *4 since: type: string - workflow_job_run: *697 + workflow_job_run: *693 workflow_job_runs: type: array items: @@ -120758,13 +120729,13 @@ webhooks: type: string enum: - requested - enterprise: *683 + enterprise: *679 environment: type: string - installation: *684 - organization: *685 - repository: *686 - requestor: &703 + installation: *680 + organization: *681 + repository: *682 + requestor: &699 title: User type: - object @@ -122707,12 +122678,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - workflow: *698 + workflow: *694 workflow_run: title: Deployment Workflow Run type: @@ -123403,7 +123374,7 @@ webhooks: type: string enum: - answered - answer: &701 + answer: &697 type: object properties: author_association: @@ -123563,11 +123534,11 @@ webhooks: - created_at - updated_at - body - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -123694,11 +123665,11 @@ webhooks: - from required: - category - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -123781,11 +123752,11 @@ webhooks: type: string enum: - closed - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -123867,7 +123838,7 @@ webhooks: type: string enum: - created - comment: &700 + comment: &696 type: object properties: author_association: @@ -124027,11 +123998,11 @@ webhooks: - updated_at - body - reactions - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -124114,12 +124085,12 @@ webhooks: type: string enum: - deleted - comment: *700 - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + comment: *696 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -124214,12 +124185,12 @@ webhooks: - from required: - body - comment: *700 - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + comment: *696 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -124303,11 +124274,11 @@ webhooks: type: string enum: - created - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -124389,11 +124360,11 @@ webhooks: type: string enum: - deleted - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -124493,11 +124464,11 @@ webhooks: type: string required: - from - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -124579,10 +124550,10 @@ webhooks: type: string enum: - labeled - discussion: *699 - enterprise: *683 - installation: *684 - label: &702 + discussion: *695 + enterprise: *679 + installation: *680 + label: &698 title: Label type: object properties: @@ -124615,8 +124586,8 @@ webhooks: - color - default - description - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -124699,11 +124670,11 @@ webhooks: type: string enum: - locked - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -124785,11 +124756,11 @@ webhooks: type: string enum: - pinned - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -124871,11 +124842,11 @@ webhooks: type: string enum: - reopened - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -124960,16 +124931,16 @@ webhooks: changes: type: object properties: - new_discussion: *699 - new_repository: *686 + new_discussion: *695 + new_repository: *682 required: - new_discussion - new_repository - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -125052,10 +125023,10 @@ webhooks: type: string enum: - unanswered - discussion: *699 - old_answer: *701 - organization: *685 - repository: *686 + discussion: *695 + old_answer: *697 + organization: *681 + repository: *682 sender: *4 required: - action @@ -125137,12 +125108,12 @@ webhooks: type: string enum: - unlabeled - discussion: *699 - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + label: *698 + organization: *681 + repository: *682 sender: *4 required: - action @@ -125225,11 +125196,11 @@ webhooks: type: string enum: - unlocked - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -125311,11 +125282,11 @@ webhooks: type: string enum: - unpinned - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *695 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -125388,7 +125359,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *683 + enterprise: *679 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -126066,9 +126037,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *684 - organization: *685 - repository: *686 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - forkee @@ -126214,9 +126185,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 pages: description: The pages that were updated. type: array @@ -126254,7 +126225,7 @@ webhooks: - action - sha - html_url - repository: *686 + repository: *682 sender: *4 required: - pages @@ -126330,10 +126301,10 @@ webhooks: type: string enum: - created - enterprise: *683 + enterprise: *679 installation: *20 - organization: *685 - repositories: &704 + organization: *681 + repositories: &700 description: An array of repository objects that the installation can access. type: array @@ -126359,8 +126330,8 @@ webhooks: - name - full_name - private - repository: *686 - requester: *703 + repository: *682 + requester: *699 sender: *4 required: - action @@ -126435,11 +126406,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 + enterprise: *679 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *681 + repositories: *700 + repository: *682 requester: type: - 'null' @@ -126516,11 +126487,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *683 + enterprise: *679 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *681 + repositories: *700 + repository: *682 requester: type: - 'null' @@ -126597,10 +126568,10 @@ webhooks: type: string enum: - added - enterprise: *683 + enterprise: *679 installation: *20 - organization: *685 - repositories_added: &705 + organization: *681 + repositories_added: &701 description: An array of repository objects, which were added to the installation. type: array @@ -126646,15 +126617,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *686 - repository_selection: &706 + repository: *682 + repository_selection: &702 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *703 + requester: *699 sender: *4 required: - action @@ -126733,10 +126704,10 @@ webhooks: type: string enum: - removed - enterprise: *683 + enterprise: *679 installation: *20 - organization: *685 - repositories_added: *705 + organization: *681 + repositories_added: *701 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -126763,9 +126734,9 @@ webhooks: - name - full_name - private - repository: *686 - repository_selection: *706 - requester: *703 + repository: *682 + repository_selection: *702 + requester: *699 sender: *4 required: - action @@ -126844,11 +126815,11 @@ webhooks: type: string enum: - suspend - enterprise: *683 + enterprise: *679 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *681 + repositories: *700 + repository: *682 requester: type: - 'null' @@ -127030,10 +127001,10 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 target_type: type: string @@ -127112,11 +127083,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *683 + enterprise: *679 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *681 + repositories: *700 + repository: *682 requester: type: - 'null' @@ -127364,8 +127335,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128182,8 +128153,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128200,7 +128171,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -128544,8 +128515,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -128625,7 +128596,7 @@ webhooks: type: string enum: - deleted - comment: &707 + comment: &703 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -128792,8 +128763,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129606,8 +129577,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129624,7 +129595,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -129970,8 +129941,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -130051,7 +130022,7 @@ webhooks: type: string enum: - edited - changes: &731 + changes: &727 description: The changes to the comment. type: object properties: @@ -130063,9 +130034,9 @@ webhooks: type: string required: - from - comment: *707 - enterprise: *683 - installation: *684 + comment: *703 + enterprise: *679 + installation: *680 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130881,8 +130852,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130899,7 +130870,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -131243,8 +131214,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -131328,15 +131299,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 + blocked_issue: *63 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: *63 + blocking_issue_repo: *61 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -131424,15 +131395,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 + blocked_issue: *63 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: *63 + blocking_issue_repo: *61 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -131519,15 +131490,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 - blocked_issue_repo: *66 + blocked_issue: *63 + blocked_issue_repo: *61 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *63 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -131615,15 +131586,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 - blocked_issue_repo: *66 + blocked_issue: *63 + blocked_issue_repo: *61 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *63 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -131708,10 +131679,10 @@ webhooks: type: string enum: - assigned - assignee: *703 - enterprise: *683 - installation: *684 - issue: &710 + assignee: *699 + enterprise: *679 + installation: *680 + issue: &706 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132523,11 +132494,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132544,7 +132515,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -132647,8 +132618,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -132728,8 +132699,8 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133546,11 +133517,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133567,7 +133538,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -133813,8 +133784,8 @@ webhooks: required: - state - closed_at - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -133893,8 +133864,8 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134702,11 +134673,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134723,7 +134694,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -134825,8 +134796,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -134905,8 +134876,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135737,11 +135708,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135758,7 +135729,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -135839,7 +135810,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &708 + milestone: &704 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135982,8 +135953,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -136082,8 +136053,8 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136895,11 +136866,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136913,7 +136884,7 @@ webhooks: timeline_url: type: string format: uri - type: *199 + type: *197 title: description: Title of the issue type: string @@ -137019,9 +136990,9 @@ webhooks: - active_lock_reason - body - reactions - label: *702 - organization: *685 - repository: *686 + label: *698 + organization: *681 + repository: *682 sender: *4 required: - action @@ -137101,8 +137072,8 @@ webhooks: type: string enum: - labeled - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137913,11 +137884,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137931,7 +137902,7 @@ webhooks: timeline_url: type: string format: uri - type: *199 + type: *197 title: description: Title of the issue type: string @@ -138037,9 +138008,9 @@ webhooks: - active_lock_reason - body - reactions - label: *702 - organization: *685 - repository: *686 + label: *698 + organization: *681 + repository: *682 sender: *4 required: - action @@ -138119,8 +138090,8 @@ webhooks: type: string enum: - locked - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138956,11 +138927,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138974,7 +138945,7 @@ webhooks: timeline_url: type: string format: uri - type: *199 + type: *197 title: description: Title of the issue type: string @@ -139057,8 +139028,8 @@ webhooks: format: uri user_view_type: type: string - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -139137,8 +139108,8 @@ webhooks: type: string enum: - milestoned - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139968,11 +139939,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139989,7 +139960,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -140069,9 +140040,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *708 - organization: *685 - repository: *686 + milestone: *704 + organization: *681 + repository: *682 sender: *4 required: - action @@ -140963,11 +140934,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141063,7 +141034,7 @@ webhooks: required: - login - id - type: *199 + type: *197 required: - id - number @@ -141544,8 +141515,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142357,11 +142328,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142378,7 +142349,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -142480,8 +142451,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -142561,9 +142532,9 @@ webhooks: type: string enum: - pinned - enterprise: *683 - installation: *684 - issue: &709 + enterprise: *679 + installation: *680 + issue: &705 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143369,11 +143340,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143390,7 +143361,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -143492,8 +143463,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -143572,8 +143543,8 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144407,11 +144378,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144508,9 +144479,9 @@ webhooks: format: uri user_view_type: type: string - type: *199 - organization: *685 - repository: *686 + type: *197 + organization: *681 + repository: *682 sender: *4 required: - action @@ -145399,11 +145370,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145420,7 +145391,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -146002,11 +145973,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *683 - installation: *684 - issue: *709 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + issue: *705 + organization: *681 + repository: *682 sender: *4 required: - action @@ -146086,12 +146057,12 @@ webhooks: type: string enum: - typed - enterprise: *683 - installation: *684 - issue: *710 - type: *199 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + issue: *706 + type: *197 + organization: *681 + repository: *682 sender: *4 required: - action @@ -146172,7 +146143,7 @@ webhooks: type: string enum: - unassigned - assignee: &734 + assignee: &730 title: User type: - object @@ -146244,11 +146215,11 @@ webhooks: required: - login - id - enterprise: *683 - installation: *684 - issue: *710 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + issue: *706 + organization: *681 + repository: *682 sender: *4 required: - action @@ -146327,12 +146298,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *683 - installation: *684 - issue: *710 - label: *702 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + issue: *706 + label: *698 + organization: *681 + repository: *682 sender: *4 required: - action @@ -146412,8 +146383,8 @@ webhooks: type: string enum: - unlocked - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147247,11 +147218,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *613 + issue_dependencies_summary: *614 issue_field_values: type: array - items: *619 + items: *615 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147268,7 +147239,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *197 updated_at: type: string format: date-time @@ -147348,8 +147319,8 @@ webhooks: format: uri user_view_type: type: string - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -147429,11 +147400,11 @@ webhooks: type: string enum: - unpinned - enterprise: *683 - installation: *684 - issue: *709 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + issue: *705 + organization: *681 + repository: *682 sender: *4 required: - action @@ -147512,12 +147483,12 @@ webhooks: type: string enum: - untyped - enterprise: *683 - installation: *684 - issue: *710 - type: *199 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + issue: *706 + type: *197 + organization: *681 + repository: *682 sender: *4 required: - action @@ -147597,11 +147568,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + label: *698 + organization: *681 + repository: *682 sender: *4 required: - action @@ -147679,11 +147650,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + label: *698 + organization: *681 + repository: *682 sender: *4 required: - action @@ -147793,11 +147764,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + label: *698 + organization: *681 + repository: *682 sender: *4 required: - action @@ -147879,9 +147850,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: &711 + enterprise: *679 + installation: *680 + marketplace_purchase: &707 title: Marketplace Purchase type: object required: @@ -147969,8 +147940,8 @@ webhooks: type: integer unit_count: type: integer - organization: *685 - previous_marketplace_purchase: &712 + organization: *681 + previous_marketplace_purchase: &708 title: Marketplace Purchase type: object properties: @@ -148054,7 +148025,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *682 sender: *4 required: - action @@ -148134,10 +148105,10 @@ webhooks: - changed effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 + enterprise: *679 + installation: *680 + marketplace_purchase: *707 + organization: *681 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148225,7 +148196,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *682 sender: *4 required: - action @@ -148307,10 +148278,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 + enterprise: *679 + installation: *680 + marketplace_purchase: *707 + organization: *681 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148396,7 +148367,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *682 sender: *4 required: - action @@ -148477,8 +148448,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 marketplace_purchase: title: Marketplace Purchase type: object @@ -148564,9 +148535,9 @@ webhooks: type: integer unit_count: type: integer - organization: *685 - previous_marketplace_purchase: *712 - repository: *686 + organization: *681 + previous_marketplace_purchase: *708 + repository: *682 sender: *4 required: - action @@ -148646,12 +148617,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 - previous_marketplace_purchase: *712 - repository: *686 + enterprise: *679 + installation: *680 + marketplace_purchase: *707 + organization: *681 + previous_marketplace_purchase: *708 + repository: *682 sender: *4 required: - action @@ -148753,11 +148724,11 @@ webhooks: type: string required: - to - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + member: *699 + organization: *681 + repository: *682 sender: *4 required: - action @@ -148859,11 +148830,11 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + member: *699 + organization: *681 + repository: *682 sender: *4 required: - action @@ -148942,11 +148913,11 @@ webhooks: type: string enum: - removed - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + member: *699 + organization: *681 + repository: *682 sender: *4 required: - action @@ -149024,11 +148995,11 @@ webhooks: type: string enum: - added - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + member: *699 + organization: *681 + repository: *682 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149106,7 +149077,7 @@ webhooks: required: - login - id - team: &713 + team: &709 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149336,11 +149307,11 @@ webhooks: type: string enum: - removed - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + member: *699 + organization: *681 + repository: *682 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149419,7 +149390,7 @@ webhooks: required: - login - id - team: *713 + team: *709 required: - action - scope @@ -149501,8 +149472,8 @@ webhooks: type: string enum: - checks_requested - installation: *684 - merge_group: &714 + installation: *680 + merge_group: &710 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149521,15 +149492,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *398 + head_commit: *386 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -149615,10 +149586,10 @@ webhooks: - merged - invalidated - dequeued - installation: *684 - merge_group: *714 - organization: *685 - repository: *686 + installation: *680 + merge_group: *710 + organization: *681 + repository: *682 sender: *4 required: - action @@ -149691,7 +149662,7 @@ webhooks: type: string enum: - deleted - enterprise: *683 + enterprise: *679 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -149800,12 +149771,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *684 - organization: *685 + installation: *680 + organization: *681 repository: anyOf: - type: 'null' - - *686 + - *682 sender: *4 required: - action @@ -149885,11 +149856,11 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + milestone: *704 + organization: *681 + repository: *682 sender: *4 required: - action @@ -149968,9 +149939,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - milestone: &715 + enterprise: *679 + installation: *680 + milestone: &711 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150112,8 +150083,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -150192,11 +150163,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + milestone: *704 + organization: *681 + repository: *682 sender: *4 required: - action @@ -150306,11 +150277,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + milestone: *704 + organization: *681 + repository: *682 sender: *4 required: - action @@ -150390,11 +150361,11 @@ webhooks: type: string enum: - opened - enterprise: *683 - installation: *684 - milestone: *715 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + milestone: *711 + organization: *681 + repository: *682 sender: *4 required: - action @@ -150473,11 +150444,11 @@ webhooks: type: string enum: - blocked - blocked_user: *703 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + blocked_user: *699 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -150556,11 +150527,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *703 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + blocked_user: *699 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -150639,9 +150610,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - membership: &716 + enterprise: *679 + installation: *680 + membership: &712 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150751,8 +150722,8 @@ webhooks: - role - organization_url - user - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 required: - action @@ -150830,11 +150801,11 @@ webhooks: type: string enum: - member_added - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + membership: *712 + organization: *681 + repository: *682 sender: *4 required: - action @@ -150913,8 +150884,8 @@ webhooks: type: string enum: - member_invited - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -151036,10 +151007,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 - user: *703 + user: *699 required: - action - invitation @@ -151117,11 +151088,11 @@ webhooks: type: string enum: - member_removed - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + membership: *712 + organization: *681 + repository: *682 sender: *4 required: - action @@ -151208,11 +151179,11 @@ webhooks: properties: from: type: string - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + membership: *712 + organization: *681 + repository: *682 sender: *4 required: - action @@ -151288,9 +151259,9 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 package: description: Information about the package. type: object @@ -151813,7 +151784,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &717 + items: &713 title: Ruby Gems metadata type: object properties: @@ -151910,7 +151881,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *682 sender: *4 required: - action @@ -151986,9 +151957,9 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 package: description: Information about the package. type: object @@ -152350,7 +152321,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *717 + items: *713 source_url: type: string format: uri @@ -152421,7 +152392,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *682 sender: *4 required: - action @@ -152602,12 +152573,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *683 + enterprise: *679 id: type: integer - installation: *684 - organization: *685 - repository: *686 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - id @@ -152684,7 +152655,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &718 + personal_access_token_request: &714 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -152834,10 +152805,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *683 - organization: *685 + enterprise: *679 + organization: *681 sender: *4 - installation: *684 + installation: *680 required: - action - personal_access_token_request @@ -152914,11 +152885,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *718 - enterprise: *683 - organization: *685 + personal_access_token_request: *714 + enterprise: *679 + organization: *681 sender: *4 - installation: *684 + installation: *680 required: - action - personal_access_token_request @@ -152994,11 +152965,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *718 - enterprise: *683 - organization: *685 + personal_access_token_request: *714 + enterprise: *679 + organization: *681 sender: *4 - installation: *684 + installation: *680 required: - action - personal_access_token_request @@ -153073,11 +153044,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *718 - organization: *685 - enterprise: *683 + personal_access_token_request: *714 + organization: *681 + enterprise: *679 sender: *4 - installation: *684 + installation: *680 required: - action - personal_access_token_request @@ -153182,7 +153153,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *719 + last_response: *715 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153214,8 +153185,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 zen: description: Random string of GitHub zen. @@ -153460,10 +153431,10 @@ webhooks: - from required: - note - enterprise: *683 - installation: *684 - organization: *685 - project_card: &720 + enterprise: *679 + installation: *680 + organization: *681 + project_card: &716 title: Project Card type: object properties: @@ -153586,7 +153557,7 @@ webhooks: - creator - created_at - updated_at - repository: *686 + repository: *682 sender: *4 required: - action @@ -153667,11 +153638,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project_card: *720 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + project_card: *716 + repository: *682 sender: *4 required: - action @@ -153751,9 +153722,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 project_card: title: Project Card type: object @@ -153883,7 +153854,7 @@ webhooks: repository: anyOf: - type: 'null' - - *686 + - *682 sender: *4 required: - action @@ -153977,11 +153948,11 @@ webhooks: - from required: - note - enterprise: *683 - installation: *684 - organization: *685 - project_card: *720 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + project_card: *716 + repository: *682 sender: *4 required: - action @@ -154075,9 +154046,9 @@ webhooks: - from required: - column_id - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 project_card: allOf: - title: Project Card @@ -154274,7 +154245,7 @@ webhooks: type: string required: - after_id - repository: *686 + repository: *682 sender: *4 required: - action @@ -154354,10 +154325,10 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - organization: *685 - project: &722 + enterprise: *679 + installation: *680 + organization: *681 + project: &718 title: Project type: object properties: @@ -154484,7 +154455,7 @@ webhooks: - creator - created_at - updated_at - repository: *686 + repository: *682 sender: *4 required: - action @@ -154564,10 +154535,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project_column: &721 + enterprise: *679 + installation: *680 + organization: *681 + project_column: &717 title: Project Column type: object properties: @@ -154607,7 +154578,7 @@ webhooks: - name - created_at - updated_at - repository: *686 + repository: *682 sender: *4 required: - action @@ -154686,14 +154657,14 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 + enterprise: *679 + installation: *680 + organization: *681 + project_column: *717 repository: anyOf: - type: 'null' - - *686 + - *682 sender: *4 required: - action @@ -154782,11 +154753,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + project_column: *717 + repository: *682 sender: *4 required: - action @@ -154866,11 +154837,11 @@ webhooks: type: string enum: - moved - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + project_column: *717 + repository: *682 sender: *4 required: - action @@ -154950,11 +154921,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + project: *718 + repository: *682 sender: *4 required: - action @@ -155034,14 +155005,14 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - project: *722 + enterprise: *679 + installation: *680 + organization: *681 + project: *718 repository: anyOf: - type: 'null' - - *686 + - *682 sender: *4 required: - action @@ -155142,11 +155113,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + project: *718 + repository: *682 sender: *4 required: - action @@ -155225,11 +155196,11 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + project: *718 + repository: *682 sender: *4 required: - action @@ -155310,9 +155281,9 @@ webhooks: type: string enum: - closed - installation: *684 - organization: *685 - projects_v2: *233 + installation: *680 + organization: *681 + projects_v2: *231 sender: *4 required: - action @@ -155393,9 +155364,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2: *233 + installation: *680 + organization: *681 + projects_v2: *231 sender: *4 required: - action @@ -155476,9 +155447,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2: *233 + installation: *680 + organization: *681 + projects_v2: *231 sender: *4 required: - action @@ -155599,9 +155570,9 @@ webhooks: type: string to: type: string - installation: *684 - organization: *685 - projects_v2: *233 + installation: *680 + organization: *681 + projects_v2: *231 sender: *4 required: - action @@ -155684,7 +155655,7 @@ webhooks: type: string enum: - archived - changes: &726 + changes: &722 type: object properties: archived_at: @@ -155700,9 +155671,9 @@ webhooks: - string - 'null' format: date-time - installation: *684 - organization: *685 - projects_v2_item: &723 + installation: *680 + organization: *681 + projects_v2_item: &719 title: Projects v2 Item description: An item belonging to a project type: object @@ -155720,7 +155691,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *240 + content_type: *238 creator: *4 created_at: type: string @@ -155842,9 +155813,9 @@ webhooks: - 'null' to: type: string - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *680 + organization: *681 + projects_v2_item: *719 sender: *4 required: - action @@ -155926,9 +155897,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *680 + organization: *681 + projects_v2_item: *719 sender: *4 required: - action @@ -156009,9 +155980,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *680 + organization: *681 + projects_v2_item: *719 sender: *4 required: - action @@ -156116,7 +156087,7 @@ webhooks: oneOf: - type: string - type: integer - - &724 + - &720 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156140,7 +156111,7 @@ webhooks: required: - id - name - - &725 + - &721 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156180,8 +156151,8 @@ webhooks: oneOf: - type: string - type: integer - - *724 - - *725 + - *720 + - *721 type: - 'null' - string @@ -156204,9 +156175,9 @@ webhooks: - 'null' required: - body - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *680 + organization: *681 + projects_v2_item: *719 sender: *4 required: - action @@ -156303,9 +156274,9 @@ webhooks: type: - string - 'null' - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *680 + organization: *681 + projects_v2_item: *719 sender: *4 required: - action @@ -156388,10 +156359,10 @@ webhooks: type: string enum: - restored - changes: *726 - installation: *684 - organization: *685 - projects_v2_item: *723 + changes: *722 + installation: *680 + organization: *681 + projects_v2_item: *719 sender: *4 required: - action @@ -156473,9 +156444,9 @@ webhooks: type: string enum: - reopened - installation: *684 - organization: *685 - projects_v2: *233 + installation: *680 + organization: *681 + projects_v2: *231 sender: *4 required: - action @@ -156556,9 +156527,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *680 + organization: *681 + projects_v2_status_update: *723 sender: *4 required: - action @@ -156639,9 +156610,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *680 + organization: *681 + projects_v2_status_update: *723 sender: *4 required: - action @@ -156787,9 +156758,9 @@ webhooks: - string - 'null' format: date - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *680 + organization: *681 + projects_v2_status_update: *723 sender: *4 required: - action @@ -156860,10 +156831,10 @@ webhooks: title: public event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - repository @@ -156940,13 +156911,13 @@ webhooks: type: string enum: - assigned - assignee: *703 - enterprise: *683 - installation: *684 - number: &728 + assignee: *699 + enterprise: *679 + installation: *680 + number: &724 description: The pull request number. type: integer - organization: *685 + organization: *681 pull_request: title: Pull Request type: object @@ -159295,7 +159266,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 sender: *4 required: - action @@ -159377,11 +159348,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 number: type: integer - organization: *685 + organization: *681 pull_request: title: Pull Request type: object @@ -161723,7 +161694,7 @@ webhooks: - draft reason: type: string - repository: *686 + repository: *682 sender: *4 required: - action @@ -161805,11 +161776,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 number: type: integer - organization: *685 + organization: *681 pull_request: title: Pull Request type: object @@ -164151,7 +164122,7 @@ webhooks: - draft reason: type: string - repository: *686 + repository: *682 sender: *4 required: - action @@ -164233,13 +164204,13 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: &729 + enterprise: *679 + installation: *680 + number: *724 + organization: *681 + pull_request: &725 allOf: - - *547 + - *535 - type: object properties: allow_auto_merge: @@ -164301,7 +164272,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *686 + repository: *682 sender: *4 required: - action @@ -164382,12 +164353,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *679 + installation: *680 + number: *724 + organization: *681 + pull_request: *725 + repository: *682 sender: *4 required: - action @@ -164467,11 +164438,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *683 - milestone: *238 - number: *728 - organization: *685 - pull_request: &730 + enterprise: *679 + milestone: *236 + number: *724 + organization: *681 + pull_request: &726 title: Pull Request type: object properties: @@ -166798,7 +166769,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 sender: *4 required: - action @@ -166877,11 +166848,11 @@ webhooks: type: string enum: - dequeued - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 number: type: integer - organization: *685 + organization: *681 pull_request: title: Pull Request type: object @@ -169227,7 +169198,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *686 + repository: *682 sender: *4 required: - action @@ -169351,12 +169322,12 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *679 + installation: *680 + number: *724 + organization: *681 + pull_request: *725 + repository: *682 sender: *4 required: - action @@ -169436,11 +169407,11 @@ webhooks: type: string enum: - enqueued - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 number: type: integer - organization: *685 + organization: *681 pull_request: title: Pull Request type: object @@ -171771,7 +171742,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 sender: *4 required: - action @@ -171851,11 +171822,11 @@ webhooks: type: string enum: - labeled - enterprise: *683 - installation: *684 - label: *702 - number: *728 - organization: *685 + enterprise: *679 + installation: *680 + label: *698 + number: *724 + organization: *681 pull_request: title: Pull Request type: object @@ -174203,7 +174174,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 sender: *4 required: - action @@ -174284,10 +174255,10 @@ webhooks: type: string enum: - locked - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *679 + installation: *680 + number: *724 + organization: *681 pull_request: title: Pull Request type: object @@ -176633,7 +176604,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 sender: *4 required: - action @@ -176713,12 +176684,12 @@ webhooks: type: string enum: - milestoned - enterprise: *683 - milestone: *238 - number: *728 - organization: *685 - pull_request: *730 - repository: *686 + enterprise: *679 + milestone: *236 + number: *724 + organization: *681 + pull_request: *726 + repository: *682 sender: *4 required: - action @@ -176797,12 +176768,12 @@ webhooks: type: string enum: - opened - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *679 + installation: *680 + number: *724 + organization: *681 + pull_request: *725 + repository: *682 sender: *4 required: - action @@ -176883,12 +176854,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *679 + installation: *680 + number: *724 + organization: *681 + pull_request: *725 + repository: *682 sender: *4 required: - action @@ -176968,12 +176939,12 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *679 + installation: *680 + number: *724 + organization: *681 + pull_request: *725 + repository: *682 sender: *4 required: - action @@ -177348,9 +177319,9 @@ webhooks: - start_side - side - reactions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 pull_request: type: object properties: @@ -179580,7 +179551,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *682 sender: *4 required: - action @@ -179660,7 +179631,7 @@ webhooks: type: string enum: - deleted - comment: &732 + comment: &728 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 +179924,9 @@ webhooks: - start_side - side - reactions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 pull_request: type: object properties: @@ -182173,7 +182144,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *682 sender: *4 required: - action @@ -182253,11 +182224,11 @@ webhooks: type: string enum: - edited - changes: *731 - comment: *732 - enterprise: *683 - installation: *684 - organization: *685 + changes: *727 + comment: *728 + enterprise: *679 + installation: *680 + organization: *681 pull_request: type: object properties: @@ -184478,7 +184449,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *682 sender: *4 required: - action @@ -184559,9 +184530,9 @@ webhooks: type: string enum: - dismissed - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 pull_request: title: Simple Pull Request type: object @@ -186794,7 +186765,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *682 review: description: The review that was affected. type: object @@ -187045,9 +187016,9 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 pull_request: title: Simple Pull Request type: object @@ -189161,8 +189132,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 - review: &733 + repository: *682 + review: &729 description: The review that was affected. type: object properties: @@ -189400,12 +189371,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 number: description: The pull request number. type: integer - organization: *685 + organization: *681 pull_request: title: Pull Request type: object @@ -191752,7 +191723,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 requested_reviewer: title: User type: @@ -191838,12 +191809,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 number: description: The pull request number. type: integer - organization: *685 + organization: *681 pull_request: title: Pull Request type: object @@ -194197,7 +194168,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194392,12 +194363,12 @@ webhooks: type: string enum: - review_requested - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 number: description: The pull request number. type: integer - organization: *685 + organization: *681 pull_request: title: Pull Request type: object @@ -196746,7 +196717,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 requested_reviewer: title: User type: @@ -196833,12 +196804,12 @@ webhooks: type: string enum: - review_requested - enterprise: *683 - installation: *684 + enterprise: *679 + installation: *680 number: description: The pull request number. type: integer - organization: *685 + organization: *681 pull_request: title: Pull Request type: object @@ -199178,7 +199149,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199362,9 +199333,9 @@ webhooks: type: string enum: - submitted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 pull_request: title: Simple Pull Request type: object @@ -201600,8 +201571,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 - review: *733 + repository: *682 + review: *729 sender: *4 required: - action @@ -201681,9 +201652,9 @@ webhooks: type: string enum: - resolved - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 pull_request: title: Simple Pull Request type: object @@ -203814,7 +203785,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *682 sender: *4 thread: type: object @@ -204211,9 +204182,9 @@ webhooks: type: string enum: - unresolved - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 pull_request: title: Simple Pull Request type: object @@ -206327,7 +206298,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *682 sender: *4 thread: type: object @@ -206726,10 +206697,10 @@ webhooks: type: string before: type: string - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *679 + installation: *680 + number: *724 + organization: *681 pull_request: title: Pull Request type: object @@ -209064,7 +209035,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 sender: *4 required: - action @@ -209146,11 +209117,11 @@ webhooks: type: string enum: - unassigned - assignee: *734 - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + assignee: *730 + enterprise: *679 + installation: *680 + number: *724 + organization: *681 pull_request: title: Pull Request type: object @@ -211500,7 +211471,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 sender: *4 required: - action @@ -211579,11 +211550,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *683 - installation: *684 - label: *702 - number: *728 - organization: *685 + enterprise: *679 + installation: *680 + label: *698 + number: *724 + organization: *681 pull_request: title: Pull Request type: object @@ -213922,7 +213893,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 sender: *4 required: - action @@ -214003,10 +213974,10 @@ webhooks: type: string enum: - unlocked - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *679 + installation: *680 + number: *724 + organization: *681 pull_request: title: Pull Request type: object @@ -216335,7 +216306,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *682 sender: *4 required: - action @@ -216538,7 +216509,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *683 + enterprise: *679 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216633,8 +216604,8 @@ webhooks: - url - author - committer - installation: *684 - organization: *685 + installation: *680 + organization: *681 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217222,9 +217193,9 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 registry_package: type: object properties: @@ -217701,7 +217672,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *717 + items: *713 summary: type: string tag_name: @@ -217757,7 +217728,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *682 sender: *4 required: - action @@ -217835,9 +217806,9 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 registry_package: type: object properties: @@ -218149,7 +218120,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *717 + items: *713 summary: type: string tag_name: @@ -218199,7 +218170,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *682 sender: *4 required: - action @@ -218276,10 +218247,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - release: &735 + enterprise: *679 + installation: *680 + organization: *681 + release: &731 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218610,7 +218581,7 @@ webhooks: - updated_at - zipball_url - body - repository: *686 + repository: *682 sender: *4 required: - action @@ -218687,11 +218658,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + release: *731 + repository: *682 sender: *4 required: - action @@ -218808,11 +218779,11 @@ webhooks: type: boolean required: - to - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + release: *731 + repository: *682 sender: *4 required: - action @@ -218890,9 +218861,9 @@ webhooks: type: string enum: - prereleased - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -219228,7 +219199,7 @@ webhooks: - string - 'null' format: uri - repository: *686 + repository: *682 sender: *4 required: - action @@ -219304,10 +219275,10 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - release: &736 + enterprise: *679 + installation: *680 + organization: *681 + release: &732 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219640,7 +219611,7 @@ webhooks: - string - 'null' format: uri - repository: *686 + repository: *682 sender: *4 required: - action @@ -219716,11 +219687,11 @@ webhooks: type: string enum: - released - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + release: *731 + repository: *682 sender: *4 required: - action @@ -219796,11 +219767,11 @@ webhooks: type: string enum: - unpublished - enterprise: *683 - installation: *684 - organization: *685 - release: *736 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + release: *732 + repository: *682 sender: *4 required: - action @@ -219876,11 +219847,11 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_advisory: *603 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + repository_advisory: *599 sender: *4 required: - action @@ -219956,11 +219927,11 @@ webhooks: type: string enum: - reported - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_advisory: *603 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + repository_advisory: *599 sender: *4 required: - action @@ -220036,10 +220007,10 @@ webhooks: type: string enum: - archived - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -220116,10 +220087,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -220197,10 +220168,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -220285,10 +220256,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: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -220403,10 +220374,10 @@ webhooks: - 'null' items: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -220478,10 +220449,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 status: type: string @@ -220562,10 +220533,10 @@ webhooks: type: string enum: - privatized - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -220642,10 +220613,10 @@ webhooks: type: string enum: - publicized - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -220739,10 +220710,10 @@ webhooks: - name required: - repository - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -220822,11 +220793,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_ruleset: *276 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + repository_ruleset: *274 sender: *4 required: - action @@ -220904,11 +220875,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_ruleset: *276 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + repository_ruleset: *274 sender: *4 required: - action @@ -220986,11 +220957,11 @@ webhooks: type: string enum: - edited - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_ruleset: *276 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + repository_ruleset: *274 changes: type: object properties: @@ -221009,16 +220980,16 @@ webhooks: properties: added: type: array - items: *251 + items: *249 deleted: type: array - items: *251 + items: *249 updated: type: array items: type: object properties: - condition: *251 + condition: *249 changes: type: object properties: @@ -221051,16 +221022,16 @@ webhooks: properties: added: type: array - items: *568 + items: *556 deleted: type: array - items: *568 + items: *556 updated: type: array items: type: object properties: - rule: *568 + rule: *556 changes: type: object properties: @@ -221297,10 +221268,10 @@ webhooks: - from required: - owner - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -221378,10 +221349,10 @@ webhooks: type: string enum: - unarchived - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -221459,7 +221430,7 @@ webhooks: type: string enum: - create - alert: &737 + alert: &733 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221583,10 +221554,10 @@ webhooks: type: string enum: - open - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -221796,10 +221767,10 @@ webhooks: type: string enum: - dismissed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -221877,11 +221848,11 @@ webhooks: type: string enum: - reopen - alert: *737 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *733 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -222083,10 +222054,10 @@ webhooks: enum: - fixed - open - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -222164,17 +222135,17 @@ webhooks: type: string enum: - created - alert: &738 + alert: &734 type: object properties: - number: *52 - created_at: *53 + number: *142 + created_at: *143 updated_at: anyOf: - type: 'null' - - *54 - url: *55 - html_url: *56 + - *144 + url: *145 + html_url: *146 locations_url: type: string format: uri @@ -222278,10 +222249,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -222362,11 +222333,11 @@ webhooks: type: string enum: - created - alert: *738 - installation: *684 - location: *739 - organization: *685 - repository: *686 + alert: *734 + installation: *680 + location: *735 + organization: *681 + repository: *682 sender: *4 required: - location @@ -222604,11 +222575,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *734 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -222686,11 +222657,11 @@ webhooks: type: string enum: - reopened - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *734 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -222768,11 +222739,11 @@ webhooks: type: string enum: - resolved - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *734 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -222850,11 +222821,11 @@ webhooks: type: string enum: - validated - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *734 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -222984,10 +222955,10 @@ webhooks: - organization - enterprise - - repository: *686 - enterprise: *683 - installation: *684 - organization: *685 + repository: *682 + enterprise: *679 + installation: *680 + organization: *681 sender: *4 required: - action @@ -223065,11 +223036,11 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - security_advisory: &740 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + security_advisory: &736 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223255,11 +223226,11 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - security_advisory: *740 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 + security_advisory: *736 sender: *4 required: - action @@ -223332,10 +223303,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223521,11 +223492,11 @@ webhooks: from: type: object properties: - security_and_analysis: *250 - enterprise: *683 - installation: *684 - organization: *685 - repository: *322 + security_and_analysis: *248 + enterprise: *679 + installation: *680 + organization: *681 + repository: *310 sender: *4 required: - changes @@ -223603,12 +223574,12 @@ webhooks: type: string enum: - cancelled - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - sponsorship: &741 + sponsorship: &737 type: object properties: created_at: @@ -223913,12 +223884,12 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - sponsorship: *741 + sponsorship: *737 required: - action - sponsorship @@ -224006,12 +223977,12 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - sponsorship: *741 + sponsorship: *737 required: - action - changes @@ -224088,17 +224059,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &742 + effective_date: &738 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: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - sponsorship: *741 + sponsorship: *737 required: - action - sponsorship @@ -224172,7 +224143,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &743 + changes: &739 type: object properties: tier: @@ -224216,13 +224187,13 @@ webhooks: - from required: - tier - effective_date: *742 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + effective_date: *738 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - sponsorship: *741 + sponsorship: *737 required: - action - changes @@ -224299,13 +224270,13 @@ webhooks: type: string enum: - tier_changed - changes: *743 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + changes: *739 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - sponsorship: *741 + sponsorship: *737 required: - action - changes @@ -224379,10 +224350,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224466,10 +224437,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224903,15 +224874,15 @@ webhooks: type: - string - 'null' - enterprise: *683 + enterprise: *679 id: description: The unique identifier of the status. type: integer - installation: *684 + installation: *680 name: type: string - organization: *685 - repository: *686 + organization: *681 + repository: *682 sender: *4 sha: description: The Commit SHA. @@ -225021,15 +224992,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - parent_issue_repo: *66 + parent_issue: *63 + parent_issue_repo: *61 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - installation: *684 - organization: *685 - repository: *686 + sub_issue: *63 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -225113,15 +225084,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - parent_issue_repo: *66 + parent_issue: *63 + parent_issue_repo: *61 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - installation: *684 - organization: *685 - repository: *686 + sub_issue: *63 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -225205,15 +225176,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - sub_issue_repo: *66 + sub_issue: *63 + sub_issue_repo: *61 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - installation: *684 - organization: *685 - repository: *686 + parent_issue: *63 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -225297,15 +225268,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - sub_issue_repo: *66 + sub_issue: *63 + sub_issue_repo: *61 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - installation: *684 - organization: *685 - repository: *686 + parent_issue: *63 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -225382,12 +225353,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - team: &744 + team: &740 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225617,9 +225588,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 repository: title: Repository description: A git repository @@ -226089,7 +226060,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *740 required: - action - team @@ -226165,9 +226136,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 repository: title: Repository description: A git repository @@ -226637,7 +226608,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *740 required: - action - team @@ -226714,9 +226685,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 repository: title: Repository description: A git repository @@ -227186,7 +227157,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *740 required: - action - team @@ -227330,9 +227301,9 @@ webhooks: - from required: - permissions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 repository: title: Repository description: A git repository @@ -227802,7 +227773,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *740 required: - action - changes @@ -227880,9 +227851,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *679 + installation: *680 + organization: *681 repository: title: Repository description: A git repository @@ -228352,7 +228323,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *740 required: - action - team @@ -228428,10 +228399,10 @@ webhooks: type: string enum: - started - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 required: - action @@ -228504,17 +228475,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *683 + enterprise: *679 inputs: type: - object - 'null' additionalProperties: true - installation: *684 - organization: *685 + installation: *680 + organization: *681 ref: type: string - repository: *686 + repository: *682 sender: *4 workflow: type: string @@ -228596,10 +228567,10 @@ webhooks: type: string enum: - completed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 workflow_job: allOf: @@ -228855,7 +228826,7 @@ webhooks: type: string required: - conclusion - deployment: *467 + deployment: *455 required: - action - repository @@ -228934,10 +228905,10 @@ webhooks: type: string enum: - in_progress - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 workflow_job: allOf: @@ -229219,7 +229190,7 @@ webhooks: required: - status - steps - deployment: *467 + deployment: *455 required: - action - repository @@ -229298,10 +229269,10 @@ webhooks: type: string enum: - queued - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 workflow_job: type: object @@ -229447,7 +229418,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *455 required: - action - repository @@ -229526,10 +229497,10 @@ webhooks: type: string enum: - waiting - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 workflow_job: type: object @@ -229676,7 +229647,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *455 required: - action - repository @@ -229756,12 +229727,12 @@ webhooks: type: string enum: - completed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - workflow: *698 + workflow: *694 workflow_run: title: Workflow Run type: object @@ -230780,12 +230751,12 @@ webhooks: type: string enum: - in_progress - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - workflow: *698 + workflow: *694 workflow_run: title: Workflow Run type: object @@ -231789,12 +231760,12 @@ webhooks: type: string enum: - requested - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *679 + installation: *680 + organization: *681 + repository: *682 sender: *4 - workflow: *698 + workflow: *694 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..56ffae28c 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -45251,29 +45251,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 +59915,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "secret-scanning", "subcategory": "secret-scanning" @@ -62886,7 +62863,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" ], @@ -114540,7 +114517,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" ], @@ -135677,6 +135654,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/orgs#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": "orgs" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -158163,29 +158244,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,7 +217747,7 @@ }, { "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`", "in": "query", "required": false, "schema": { @@ -217697,10 +217755,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] + } } }, { @@ -405202,16 +405257,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 +405284,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 +631385,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,7 +805654,7 @@ }, { "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`", "in": "query", "required": false, "schema": { @@ -805640,10 +805662,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] + } } } ], @@ -843270,7 +843289,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" ], 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..affe153c0 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -913,7 +913,7 @@ paths: - subscriptions_url - type - url - type: &397 + type: &395 type: string description: The type of credit the user is receiving. enum: @@ -1079,7 +1079,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 + - &711 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1664,7 +1664,7 @@ paths: schema: type: integer default: 30 - - &309 + - &307 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 +1680,7 @@ paths: application/json: schema: type: array - items: &310 + items: &308 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1776,7 +1776,7 @@ paths: - installation_id - repository_id examples: - default: &311 + default: &309 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1808,7 +1808,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &723 + schema: &721 title: Scim Error description: Scim Error type: object @@ -1911,7 +1911,7 @@ paths: description: Response content: application/json: - schema: &312 + schema: &310 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2046,7 +2046,7 @@ paths: - request - response examples: - default: &313 + default: &311 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -8718,7 +8718,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &724 + '401': &722 description: Authorization failure '404': *6 x-github: @@ -12983,7 +12983,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &509 + instances_url: &507 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13019,7 +13019,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &510 + dismissed_reason: &508 type: - string - 'null' @@ -13030,14 +13030,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &511 + dismissed_comment: &509 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &512 + rule: &510 type: object properties: id: @@ -13098,7 +13098,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &513 + tool: &511 type: object properties: name: *100 @@ -13109,15 +13109,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *101 - most_recent_instance: &514 + most_recent_instance: &512 type: object properties: - ref: &507 + ref: &505 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &524 + analysis_key: &522 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13128,7 +13128,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: &523 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -15533,7 +15533,7 @@ paths: parent: anyOf: - type: 'null' - - &344 + - &342 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -16719,7 +16719,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 + - &558 name: has in: query description: |- @@ -16761,31 +16761,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,7 +16769,7 @@ paths: application/json: schema: type: array - items: &303 + items: &301 type: object description: A Dependabot alert. properties: @@ -16861,7 +16836,7 @@ paths: - direct - transitive - - security_advisory: &561 + security_advisory: &559 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17097,7 +17072,7 @@ paths: dismissal. maxLength: 280 fixed_at: *119 - auto_dismissed_at: &562 + auto_dismissed_at: &560 type: - string - 'null' @@ -17124,7 +17099,7 @@ paths: - repository additionalProperties: false examples: - default: &304 + default: &302 value: - number: 2 state: dismissed @@ -17653,7 +17628,7 @@ paths: - name - created_on examples: - default: &407 + default: &405 value: total_count: 2 network_configurations: @@ -17876,7 +17851,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 + - &406 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17888,7 +17863,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &407 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17927,7 +17902,7 @@ paths: - subnet_id - region examples: - default: &410 + default: &408 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -18233,7 +18208,7 @@ paths: required: true content: application/json: - schema: &375 + schema: &373 title: Custom Property Set Payload description: Custom property set payload type: object @@ -19307,7 +19282,7 @@ paths: conditions: anyOf: - *132 - - &380 + - &378 title: Organization ruleset conditions type: object description: |- @@ -19357,7 +19332,7 @@ paths: - object rules: type: array - items: &679 + items: &677 title: Repository Rule type: object description: A repository rule. @@ -19366,7 +19341,7 @@ paths: - *139 - *140 - *141 - - &676 + - &674 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -19460,7 +19435,7 @@ paths: - *155 - *156 - *157 - - &677 + - &675 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -19716,7 +19691,7 @@ paths: type: string format: date-time examples: - default: &383 + default: &381 value: - version_id: 3 actor: @@ -19769,7 +19744,7 @@ paths: description: Response content: application/json: - schema: &384 + schema: &382 allOf: - *162 - type: object @@ -19824,7 +19799,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 + - &383 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19835,7 +19810,7 @@ paths: enum: - open - resolved - - &386 + - &384 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19845,7 +19820,7 @@ paths: required: false schema: type: string - - &387 + - &385 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19854,7 +19829,7 @@ paths: required: false schema: type: string - - &388 + - &386 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 +19845,7 @@ paths: - *17 - *97 - *98 - - &389 + - &387 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19879,7 +19854,7 @@ paths: required: false schema: type: string - - &390 + - &388 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19888,7 +19863,7 @@ paths: schema: type: boolean default: false - - &391 + - &389 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19897,7 +19872,7 @@ paths: schema: type: boolean default: false - - &392 + - &390 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19913,7 +19888,7 @@ paths: application/json: schema: type: array - items: &393 + items: &391 type: object properties: number: *109 @@ -19929,14 +19904,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &691 + state: &689 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: &690 type: - string - 'null' @@ -20043,14 +20018,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &693 + - &691 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &695 + - &693 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 +20082,7 @@ paths: - blob_url - commit_sha - commit_url - - &696 + - &694 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 +20143,7 @@ paths: - page_url - commit_sha - commit_url - - &697 + - &695 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 +20158,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &698 + - &696 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 +20173,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &699 + - &697 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 +20188,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &700 + - &698 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 +20203,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &701 + - &699 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 +20218,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &702 + - &700 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 +20233,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &703 + - &701 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 +20248,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &704 + - &702 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 +20263,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &705 + - &703 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 +20278,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &706 + - &704 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 +20293,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &707 + - &705 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 +20318,7 @@ paths: - type: 'null' - *4 examples: - default: &394 + default: &392 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -20523,7 +20498,7 @@ paths: '404': *6 '503': *163 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: false category: secret-scanning subcategory: secret-scanning @@ -20552,7 +20527,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &393 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -20639,7 +20614,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *164 examples: - default: &396 + default: &394 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -20783,7 +20758,7 @@ paths: description: Response content: application/json: - schema: &398 + schema: &396 type: object properties: total_minutes_used: @@ -20853,7 +20828,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &399 + default: &397 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20884,7 +20859,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 + - &398 name: advanced_security_product in: query description: | @@ -20904,7 +20879,7 @@ paths: description: Success content: application/json: - schema: &401 + schema: &399 type: object properties: total_advanced_security_committers: @@ -20967,7 +20942,7 @@ paths: required: - repositories examples: - default: &402 + default: &400 value: total_advanced_security_committers: 2 total_count: 2 @@ -21581,7 +21556,7 @@ paths: description: Response content: application/json: - schema: &403 + schema: &401 type: object properties: total_gigabytes_bandwidth_used: @@ -21599,7 +21574,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &404 + default: &402 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -21612,8 +21587,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 @@ -21840,7 +21817,7 @@ paths: description: Response content: application/json: - schema: &405 + schema: &403 type: object properties: days_left_in_billing_cycle: @@ -21858,7 +21835,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &406 + default: &404 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -22744,7 +22721,7 @@ paths: properties: action: type: string - discussion: &829 + discussion: &827 title: Discussion description: A Discussion in a repository. type: object @@ -23247,7 +23224,7 @@ paths: milestone: anyOf: - type: 'null' - - &368 + - &366 title: Milestone description: A collection of related issues and pull requests. @@ -23419,7 +23396,7 @@ paths: timeline_url: type: string format: uri - type: &331 + type: &329 title: Issue Type description: The type of issue. type: @@ -23530,7 +23507,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &751 + sub_issues_summary: &749 title: Sub-issues Summary type: object properties: @@ -23551,7 +23528,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &752 + issue_dependencies_summary: &750 title: Issue Dependencies Summary type: object properties: @@ -23570,7 +23547,7 @@ paths: - total_blocking issue_field_values: type: array - items: &753 + items: &751 title: Issue Field Value description: A value assigned to an issue field type: object @@ -23683,7 +23660,7 @@ paths: action: type: string issue: *183 - comment: &617 + comment: &615 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -24406,7 +24383,7 @@ paths: type: string release: allOf: - - &669 + - &667 title: Release description: A release. type: object @@ -24488,7 +24465,7 @@ paths: author: *4 assets: type: array - items: &670 + items: &668 title: Release Asset description: Data related to a release. type: object @@ -25079,7 +25056,7 @@ paths: url: type: string format: uri - user: &765 + user: &763 title: Public User description: Public User type: object @@ -26974,7 +26951,7 @@ paths: - closed - all default: open - - &334 + - &332 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -27025,7 +27002,7 @@ paths: type: array items: *183 examples: - default: &335 + default: &333 value: - id: 1 node_id: MDU6SXNzdWUx @@ -28437,14 +28414,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 + - &428 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &431 + - &429 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -28506,7 +28483,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &444 + '301': &442 description: Moved permanently content: application/json: @@ -28528,7 +28505,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 + - &643 name: all description: If `true`, show notifications marked as read. in: query @@ -28536,7 +28513,7 @@ paths: schema: type: boolean default: false - - &646 + - &644 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -28546,7 +28523,7 @@ paths: type: boolean default: false - *189 - - &647 + - &645 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: @@ -28917,7 +28894,7 @@ paths: type: boolean examples: - false - security_and_analysis: &377 + security_and_analysis: &375 type: - object - 'null' @@ -29090,7 +29067,7 @@ paths: - url - subscription_url examples: - default: &648 + default: &646 value: - id: '1' repository: @@ -29643,7 +29620,7 @@ paths: type: array items: *62 examples: - default: &781 + default: &779 value: - login: github id: 1 @@ -30058,9 +30035,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 @@ -31097,7 +31075,7 @@ paths: type: integer repository_cache_usages: type: array - items: &449 + items: &447 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -33020,7 +32998,7 @@ paths: type: array items: *246 examples: - default: &768 + default: &766 value: total_count: 1 repositories: @@ -34064,7 +34042,7 @@ paths: description: Response content: application/json: - schema: &469 + schema: &467 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -34099,7 +34077,7 @@ paths: - key_id - key examples: - default: &470 + default: &468 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34512,7 +34490,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *76 - - &454 + - &452 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)." @@ -35325,12 +35303,12 @@ paths: required: - subject_digests examples: - default: &796 + default: &794 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &797 + withPredicateType: &795 value: subject_digests: - sha256:abc123 @@ -35389,7 +35367,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &798 + default: &796 value: attestations_subject_digests: - sha256:abc: @@ -35582,6 +35560,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/orgs#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: orgs "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -35685,7 +35714,7 @@ paths: initiator: type: string examples: - default: &483 + default: &481 value: attestations: - bundle: @@ -36601,7 +36630,7 @@ paths: be returned. in: query required: false - schema: &508 + schema: &506 type: string description: Severity of a code scanning alert. enum: @@ -37617,7 +37646,7 @@ paths: type: integer codespaces: type: array - items: &336 + items: &334 type: object title: Codespace description: A codespace. @@ -37652,7 +37681,7 @@ paths: machine: anyOf: - type: 'null' - - &537 + - &535 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -37939,7 +37968,7 @@ paths: - pulls_url - recent_folders examples: - default: &337 + default: &335 value: total_count: 3 codespaces: @@ -38604,7 +38633,7 @@ paths: - updated_at - visibility examples: - default: &538 + default: &536 value: total_count: 2 secrets: @@ -38642,7 +38671,7 @@ paths: description: Response content: application/json: - schema: &539 + schema: &537 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -38677,7 +38706,7 @@ paths: - key_id - key examples: - default: &540 + default: &538 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38709,7 +38738,7 @@ paths: application/json: schema: *288 examples: - default: &542 + default: &540 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -40311,8 +40340,6 @@ paths: - *99 - *97 - *98 - - *301 - - *302 - *17 responses: '200': @@ -40321,9 +40348,9 @@ paths: application/json: schema: type: array - items: *303 + items: *301 examples: - default: *304 + default: *302 '304': *35 '400': *14 '403': *27 @@ -40367,7 +40394,7 @@ paths: type: integer secrets: type: array - items: &305 + items: &303 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -40446,7 +40473,7 @@ paths: description: Response content: application/json: - schema: &565 + schema: &563 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -40465,7 +40492,7 @@ paths: - key_id - key examples: - default: &566 + default: &564 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -40495,7 +40522,7 @@ paths: description: Response content: application/json: - schema: *305 + schema: *303 examples: default: value: @@ -40795,7 +40822,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *76 - - &574 + - &572 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -40803,7 +40830,7 @@ paths: required: false schema: type: string - - &575 + - &573 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -40811,7 +40838,7 @@ paths: required: false schema: type: string - - &576 + - &574 name: time_period description: |- The time period to filter by. @@ -40827,7 +40854,7 @@ paths: - week - month default: month - - &577 + - &575 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -40852,7 +40879,7 @@ paths: application/json: schema: type: array - items: &578 + items: &576 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -41015,7 +41042,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &579 + default: &577 value: - id: 21 number: 42 @@ -41106,7 +41133,7 @@ paths: - *92 - *93 - *94 - - &580 + - &578 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 +41159,7 @@ paths: application/json: schema: type: array - items: &581 + items: &579 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 +41286,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &582 + default: &580 value: - id: 21 number: 42 @@ -41347,7 +41374,7 @@ paths: application/json: schema: type: array - items: &346 + items: &344 title: Package description: A software package type: object @@ -41418,7 +41445,7 @@ paths: - created_at - updated_at examples: - default: &347 + default: &345 value: - id: 197 name: hello_docker @@ -41605,7 +41632,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &423 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -41695,7 +41722,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &426 + default: &424 value: group_id: '123' group_name: Octocat admins @@ -41750,7 +41777,7 @@ paths: description: Response content: application/json: - schema: &423 + schema: &421 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -41790,7 +41817,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &424 + default: &422 value: groups: - group_id: '123' @@ -41834,7 +41861,7 @@ paths: application/json: schema: type: array - items: &328 + items: &326 title: Organization Invitation description: Organization Invitation type: object @@ -41888,7 +41915,7 @@ paths: - invitation_teams_url - node_id examples: - default: &329 + default: &327 value: - id: 1 login: monalisa @@ -41955,7 +41982,7 @@ paths: application/json: schema: type: array - items: &378 + items: &376 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -41969,7 +41996,7 @@ paths: - name - description examples: - default: &379 + default: &377 value: - name: add_assignee description: Assign or remove a user @@ -42010,7 +42037,7 @@ paths: application/json: schema: type: array - items: &306 + items: &304 title: Org Hook description: Org Hook type: object @@ -42193,9 +42220,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *304 examples: - default: &307 + default: &305 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -42240,7 +42267,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *76 - - &308 + - &306 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 +42280,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *304 examples: - default: *307 + default: *305 '404': *6 x-github: githubCloudOnly: false @@ -42277,7 +42304,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *76 - - *308 + - *306 requestBody: required: false content: @@ -42323,7 +42350,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *304 examples: default: value: @@ -42363,7 +42390,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *76 - - *308 + - *306 responses: '204': description: Response @@ -42389,7 +42416,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *76 - - *308 + - *306 responses: '200': description: Response @@ -42418,7 +42445,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *76 - - *308 + - *306 requestBody: required: false content: @@ -42467,9 +42494,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *76 - - *308 + - *306 - *17 - - *309 + - *307 responses: '200': description: Response @@ -42477,9 +42504,9 @@ paths: application/json: schema: type: array - items: *310 + items: *308 examples: - default: *311 + default: *309 '400': *14 '422': *15 x-github: @@ -42503,16 +42530,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *76 - - *308 + - *306 - *16 responses: '200': description: Response content: application/json: - schema: *312 + schema: *310 examples: - default: *313 + default: *311 '400': *14 '422': *15 x-github: @@ -42536,7 +42563,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *76 - - *308 + - *306 - *16 responses: '202': *37 @@ -42563,7 +42590,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *76 - - *308 + - *306 responses: '204': description: Response @@ -42586,7 +42613,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *76 - - &318 + - &316 name: actor_type in: path description: The type of the actor @@ -42599,14 +42626,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &319 + - &317 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &314 + - &312 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 +42641,7 @@ paths: required: true schema: type: string - - &315 + - &313 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 +42736,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *76 - - *314 - - *315 + - *312 + - *313 - *19 - *17 - *99 - - &324 + - &322 name: sort description: The property to sort the results by. in: query @@ -42794,14 +42821,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *76 - - *314 - - *315 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: &316 + schema: &314 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -42817,7 +42844,7 @@ paths: type: integer format: int64 examples: - default: &317 + default: &315 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -42838,23 +42865,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *76 - - &320 + - &318 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *314 - - *315 + - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *316 + schema: *314 examples: - default: *317 + default: *315 x-github: enabledForGitHubApps: true category: orgs @@ -42873,18 +42900,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 + - *312 + - *313 + - *316 + - *317 responses: '200': description: Response content: application/json: - schema: *316 + schema: *314 examples: - default: *317 + default: *315 x-github: enabledForGitHubApps: true category: orgs @@ -42902,9 +42929,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *76 - - *314 - - *315 - - &321 + - *312 + - *313 + - &319 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -42917,7 +42944,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &320 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -42933,7 +42960,7 @@ paths: type: integer format: int64 examples: - default: &323 + default: &321 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -42970,18 +42997,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *76 - - *320 - - *314 - - *315 - - *321 + - *318 + - *312 + - *313 + - *319 responses: '200': description: Response content: application/json: - schema: *322 + schema: *320 examples: - default: *323 + default: *321 x-github: enabledForGitHubApps: true category: orgs @@ -42999,19 +43026,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *76 - - *318 + - *316 + - *317 + - *312 + - *313 - *319 - - *314 - - *315 - - *321 responses: '200': description: Response content: application/json: - schema: *322 + schema: *320 examples: - default: *323 + default: *321 x-github: enabledForGitHubApps: true category: orgs @@ -43029,13 +43056,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *76 - - *320 - - *314 - - *315 + - *318 + - *312 + - *313 - *19 - *17 - *99 - - *324 + - *322 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -43119,7 +43146,7 @@ paths: application/json: schema: *20 examples: - default: &613 + default: &611 value: id: 1 account: @@ -43285,12 +43312,12 @@ paths: application/json: schema: anyOf: - - &326 + - &324 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &325 + limit: &323 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -43318,7 +43345,7 @@ paths: properties: {} additionalProperties: false examples: - default: &327 + default: &325 value: limit: collaborators_only origin: organization @@ -43347,13 +43374,13 @@ paths: required: true content: application/json: - schema: &614 + schema: &612 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *325 + limit: *323 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -43378,9 +43405,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *324 examples: - default: *327 + default: *325 '422': *15 x-github: githubCloudOnly: false @@ -43458,9 +43485,9 @@ paths: application/json: schema: type: array - items: *328 + items: *326 examples: - default: *329 + default: *327 headers: Link: *41 '404': *6 @@ -43538,7 +43565,7 @@ paths: description: Response content: application/json: - schema: *328 + schema: *326 examples: default: value: @@ -43595,7 +43622,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *76 - - &330 + - &328 name: invitation_id description: The unique identifier of the invitation. in: path @@ -43629,7 +43656,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *76 - - *330 + - *328 - *17 - *19 responses: @@ -43641,7 +43668,7 @@ paths: type: array items: *273 examples: - default: &345 + default: &343 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -43684,7 +43711,7 @@ paths: application/json: schema: type: array - items: *331 + items: *329 examples: default: value: @@ -43772,9 +43799,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *329 examples: - default: &332 + default: &330 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -43807,7 +43834,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *76 - - &333 + - &331 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -43863,9 +43890,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *329 examples: - default: *332 + default: *330 '404': *6 '422': *7 x-github: @@ -43890,7 +43917,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *76 - - *333 + - *331 responses: '204': description: Response @@ -43953,7 +43980,7 @@ paths: - closed - all default: open - - *334 + - *332 - name: type description: Can be the name of an issue type. in: query @@ -43984,7 +44011,7 @@ paths: type: array items: *183 examples: - default: *335 + default: *333 headers: Link: *41 '404': *6 @@ -44143,9 +44170,9 @@ paths: type: integer codespaces: type: array - items: *336 + items: *334 examples: - default: *337 + default: *335 '304': *35 '500': *38 '401': *23 @@ -44172,7 +44199,7 @@ paths: parameters: - *76 - *178 - - &338 + - &336 name: codespace_name in: path required: true @@ -44207,15 +44234,15 @@ paths: parameters: - *76 - *178 - - *338 + - *336 responses: '200': description: Response content: application/json: - schema: *336 + schema: *334 examples: - default: &536 + default: &534 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -44471,7 +44498,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &337 title: Org Membership description: Org Membership type: object @@ -44540,7 +44567,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: &338 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -44637,9 +44664,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *337 examples: - response-if-user-already-had-membership-with-organization: *340 + response-if-user-already-had-membership-with-organization: *338 '422': *15 '403': *27 x-github: @@ -44711,7 +44738,7 @@ paths: application/json: schema: type: array - items: &341 + items: &339 title: Migration description: A migration. type: object @@ -45049,7 +45076,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *339 examples: default: value: @@ -45228,7 +45255,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *76 - - &342 + - &340 name: migration_id description: The unique identifier of the migration. in: path @@ -45256,7 +45283,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *341 + schema: *339 examples: default: value: @@ -45426,7 +45453,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *76 - - *342 + - *340 responses: '302': description: Response @@ -45448,7 +45475,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *76 - - *342 + - *340 responses: '204': description: Response @@ -45472,8 +45499,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *76 - - *342 - - &780 + - *340 + - &778 name: repo_name description: repo_name parameter in: path @@ -45501,7 +45528,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *76 - - *342 + - *340 - *17 - *19 responses: @@ -45513,7 +45540,7 @@ paths: type: array items: *246 examples: - default: &352 + default: &350 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -45722,7 +45749,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &343 + items: &341 title: Organization Role description: Organization roles type: object @@ -45931,7 +45958,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *341 examples: default: value: @@ -46161,7 +46188,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *341 examples: default: value: @@ -46258,7 +46285,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *341 examples: default: value: @@ -46417,7 +46444,7 @@ paths: parent: anyOf: - type: 'null' - - *344 + - *342 type: description: The ownership type of the team type: string @@ -46450,7 +46477,7 @@ paths: - type - parent examples: - default: *345 + default: *343 headers: Link: *41 '404': @@ -46509,7 +46536,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *344 + items: *342 name: type: - string @@ -46819,7 +46846,7 @@ paths: - nuget - container - *76 - - &782 + - &780 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -46855,12 +46882,12 @@ paths: application/json: schema: type: array - items: *346 + items: *344 examples: - default: *347 + default: *345 '403': *27 '401': *23 - '400': &784 + '400': &782 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -46882,7 +46909,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 + - &346 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 +46927,7 @@ paths: - docker - nuget - container - - &349 + - &347 name: package_name description: The name of the package. in: path @@ -46913,7 +46940,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *344 examples: default: value: @@ -46965,8 +46992,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 + - *346 + - *347 - *76 responses: '204': @@ -46999,8 +47026,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 + - *346 + - *347 - *76 - name: token description: package token @@ -47033,8 +47060,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 + - *346 + - *347 - *76 - *19 - *17 @@ -47055,7 +47082,7 @@ paths: application/json: schema: type: array - items: &350 + items: &348 title: Package Version description: A version of a software package type: object @@ -47190,10 +47217,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 + - *346 + - *347 - *76 - - &351 + - &349 name: package_version_id description: Unique identifier of the package version. in: path @@ -47205,7 +47232,7 @@ paths: description: Response content: application/json: - schema: *350 + schema: *348 examples: default: value: @@ -47241,10 +47268,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 + - *346 + - *347 - *76 - - *351 + - *349 responses: '204': description: Response @@ -47276,10 +47303,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 + - *346 + - *347 - *76 - - *351 + - *349 responses: '204': description: Response @@ -47309,7 +47336,7 @@ paths: - *76 - *17 - *19 - - &353 + - &351 name: sort description: The property by which to sort the results. in: query @@ -47320,7 +47347,7 @@ paths: - created_at default: created_at - *99 - - &354 + - &352 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -47332,7 +47359,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &355 + - &353 name: repository description: The name of the repository to use to filter the results. in: query @@ -47341,7 +47368,7 @@ paths: type: string examples: - Hello-World - - &356 + - &354 name: permission description: The permission to use to filter the results. in: query @@ -47350,7 +47377,7 @@ paths: type: string examples: - issues_read - - &357 + - &355 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 +47387,7 @@ paths: schema: type: string format: date-time - - &358 + - &356 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 +47397,7 @@ paths: schema: type: string format: date-time - - &359 + - &357 name: token_id description: The ID of the token in: query @@ -47689,7 +47716,7 @@ paths: type: array items: *246 examples: - default: *352 + default: *350 headers: Link: *41 x-github: @@ -47715,14 +47742,14 @@ paths: - *76 - *17 - *19 - - *353 + - *351 - *99 + - *352 + - *353 - *354 - *355 - *356 - *357 - - *358 - - *359 responses: '500': *38 '422': *15 @@ -48006,7 +48033,7 @@ paths: type: array items: *246 examples: - default: *352 + default: *350 headers: Link: *41 x-github: @@ -48048,7 +48075,7 @@ paths: type: integer configurations: type: array - items: &360 + items: &358 title: Organization private registry description: Private registry configuration for an organization type: object @@ -48307,7 +48334,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &361 + org-private-registry-with-selected-visibility: &359 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -48405,9 +48432,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *360 + schema: *358 examples: - default: *361 + default: *359 '404': *6 x-github: githubCloudOnly: false @@ -48572,7 +48599,7 @@ paths: application/json: schema: type: array - items: &362 + items: &360 title: Project description: Projects are a way to organize columns and cards of work. @@ -48754,7 +48781,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *360 examples: default: value: @@ -48792,7 +48819,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &441 + '410': &439 description: Gone content: application/json: @@ -48835,7 +48862,7 @@ paths: application/json: schema: type: array - items: &363 + items: &361 title: Projects v2 Project description: A projects v2 project type: object @@ -48909,7 +48936,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &857 + - &855 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -48994,7 +49021,7 @@ paths: - deleted_at - deleted_by examples: - default: &364 + default: &362 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -49097,7 +49124,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &365 + - &363 name: project_number description: The project's number. in: path @@ -49110,9 +49137,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *361 examples: - default: *364 + default: *362 headers: Link: *41 '304': *35 @@ -49134,7 +49161,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *365 + - *363 - *76 - *17 - *97 @@ -49146,7 +49173,7 @@ paths: application/json: schema: type: array - items: &366 + items: &364 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -49296,7 +49323,7 @@ paths: - updated_at - project_url examples: - default: &367 + default: &365 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -49339,8 +49366,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 + - *363 + - &799 name: field_id description: The unique identifier of the field. in: path @@ -49353,9 +49380,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *364 examples: - default: *367 + default: *365 headers: Link: *41 '304': *35 @@ -49378,7 +49405,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 + - *363 - *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,8 +49415,10 @@ 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` in: query required: false schema: @@ -49397,8 +49426,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 - *97 - *98 - *17 @@ -49409,7 +49436,7 @@ paths: application/json: schema: type: array - items: &372 + items: &370 title: Projects v2 Item description: An item belonging to a project type: object @@ -49426,7 +49453,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: &368 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -49483,7 +49510,7 @@ paths: - updated_at - archived_at examples: - default: &373 + default: &371 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -50178,7 +50205,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *76 - - *365 + - *363 requestBody: required: true description: Details of the item to add to the project. @@ -50215,7 +50242,7 @@ paths: description: Response content: application/json: - schema: &802 + schema: &800 title: Projects v2 Item description: An item belonging to a project type: object @@ -50229,7 +50256,7 @@ paths: content: oneOf: - *183 - - &549 + - &547 title: Pull Request Simple description: Pull Request Simple type: object @@ -50349,7 +50376,7 @@ paths: milestone: anyOf: - type: 'null' - - *368 + - *366 active_lock_reason: type: - string @@ -50448,7 +50475,7 @@ paths: _links: type: object properties: - comments: &369 + comments: &367 title: Link description: Hypermedia Link type: object @@ -50457,13 +50484,13 @@ paths: type: string required: - href - commits: *369 - statuses: *369 - html: *369 - issue: *369 - review_comments: *369 - review_comment: *369 - self: *369 + commits: *367 + statuses: *367 + html: *367 + issue: *367 + review_comments: *367 + review_comment: *367 + self: *367 required: - comments - commits @@ -50474,7 +50501,7 @@ paths: - review_comment - self author_association: *184 - auto_merge: &655 + auto_merge: &653 title: Auto merge description: The status of auto merging a pull request. type: @@ -50576,7 +50603,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *370 + content_type: *368 creator: *4 created_at: type: string @@ -50613,7 +50640,7 @@ paths: - updated_at - archived_at examples: - issue: &371 + issue: &369 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -50668,7 +50695,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: *369 '304': *35 '403': *27 '401': *23 @@ -50688,9 +50715,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 + - *363 - *76 - - &374 + - &372 name: item_id description: The unique identifier of the project item. in: path @@ -50714,9 +50741,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *370 examples: - default: *373 + default: *371 headers: Link: *41 '304': *35 @@ -50737,9 +50764,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *365 + - *363 - *76 - - *374 + - *372 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -50812,13 +50839,13 @@ paths: description: Response content: application/json: - schema: *372 + schema: *370 examples: - text_field: *373 - number_field: *373 - date_field: *373 - single_select_field: *373 - iteration_field: *373 + text_field: *371 + number_field: *371 + date_field: *371 + single_select_field: *371 + iteration_field: *371 '401': *23 '403': *27 '404': *6 @@ -50838,9 +50865,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *365 + - *363 - *76 - - *374 + - *372 responses: '204': description: Response @@ -51003,7 +51030,7 @@ paths: required: true content: application/json: - schema: *375 + schema: *373 examples: default: value: @@ -51109,7 +51136,7 @@ paths: - octocat/Hello-World properties: type: array - items: &376 + items: &374 title: Custom Property Value description: Custom property name and associated value type: object @@ -51199,7 +51226,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *376 + items: *374 required: - repository_names - properties @@ -51392,7 +51419,7 @@ paths: type: array items: *246 examples: - default: *352 + default: *350 headers: Link: *41 x-github: @@ -51596,7 +51623,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &441 title: Full Repository description: Full Repository type: object @@ -52061,7 +52088,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &554 + code_of_conduct: &552 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -52091,7 +52118,7 @@ paths: - key - name - html_url - security_and_analysis: *377 + security_and_analysis: *375 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -52175,7 +52202,7 @@ paths: - network_count - subscribers_count examples: - default: &445 + default: &443 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -52701,9 +52728,9 @@ paths: application/json: schema: type: array - items: *378 + items: *376 examples: - default: *379 + default: *377 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -52728,7 +52755,7 @@ paths: - *76 - *17 - *19 - - &678 + - &676 name: targets description: | A comma-separated list of rule targets to filter by. @@ -52820,11 +52847,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *137 - conditions: *380 + conditions: *378 rules: type: array description: An array of rules within the ruleset. - items: &382 + items: &380 title: Repository Rule type: object description: A repository rule. @@ -52888,7 +52915,7 @@ paths: application/json: schema: *158 examples: - default: &381 + default: &379 value: id: 21 name: super cool ruleset @@ -52943,7 +52970,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *76 - - &680 + - &678 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 @@ -52955,14 +52982,14 @@ paths: x-multi-segment: true - *270 - *94 - - &681 + - &679 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 + - &680 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52982,7 +53009,7 @@ paths: description: Response content: application/json: - schema: &683 + schema: &681 title: Rule Suites description: Response type: array @@ -53038,7 +53065,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &684 + default: &682 value: - id: 21 actor_id: 12 @@ -53082,7 +53109,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *76 - - &685 + - &683 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -53098,7 +53125,7 @@ paths: description: Response content: application/json: - schema: &686 + schema: &684 title: Rule Suite description: Response type: object @@ -53205,7 +53232,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &687 + default: &685 value: id: 21 actor_id: 12 @@ -53280,7 +53307,7 @@ paths: application/json: schema: *158 examples: - default: *381 + default: *379 '404': *6 '500': *38 put: @@ -53329,11 +53356,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *137 - conditions: *380 + conditions: *378 rules: description: An array of rules within the ruleset. type: array - items: *382 + items: *380 examples: default: value: @@ -53370,7 +53397,7 @@ paths: application/json: schema: *158 examples: - default: *381 + default: *379 '404': *6 '500': *38 delete: @@ -53429,7 +53456,7 @@ paths: type: array items: *162 examples: - default: *383 + default: *381 '404': *6 '500': *38 x-github: @@ -53466,7 +53493,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *382 examples: default: value: @@ -53529,14 +53556,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *76 + - *383 + - *384 - *385 - *386 - - *387 - - *388 - *99 - *19 - *17 - - &689 + - &687 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 +53573,7 @@ paths: required: false schema: type: string - - &690 + - &688 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 +53583,10 @@ paths: required: false schema: type: string + - *387 + - *388 - *389 - *390 - - *391 - - *392 responses: '200': description: Response @@ -53567,9 +53594,9 @@ paths: application/json: schema: type: array - items: *393 + items: *391 examples: - default: *394 + default: *392 headers: Link: *41 '404': *6 @@ -53604,9 +53631,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *393 examples: - default: *396 + default: *394 '403': *27 '404': *6 patch: @@ -53759,7 +53786,7 @@ paths: application/json: schema: type: array - items: &711 + items: &709 description: A repository security advisory. type: object properties: @@ -54003,7 +54030,7 @@ paths: login: type: string description: The username of the user credited. - type: *397 + type: *395 credits_detailed: type: - array @@ -54014,7 +54041,7 @@ paths: type: object properties: user: *4 - type: *397 + type: *395 state: type: string description: The state of the user's acceptance of the @@ -54078,7 +54105,7 @@ paths: - private_fork additionalProperties: false examples: - default: &712 + default: &710 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -54465,9 +54492,9 @@ paths: application/json: schema: type: array - items: *344 + items: *342 examples: - default: *345 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54552,9 +54579,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *396 examples: - default: *399 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54579,7 +54606,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 + - *398 - *17 - *19 responses: @@ -54587,9 +54614,9 @@ paths: description: Success content: application/json: - schema: *401 + schema: *399 examples: - default: *402 + default: *400 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54617,9 +54644,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *401 examples: - default: *404 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54647,9 +54674,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *403 examples: - default: *406 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54932,7 +54959,7 @@ paths: type: array items: *122 examples: - default: *407 + default: *405 headers: Link: *41 x-github: @@ -55133,15 +55160,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 + - *406 responses: '200': description: Response content: application/json: - schema: *409 + schema: *407 examples: - default: *410 + default: *408 headers: Link: *41 x-github: @@ -55179,7 +55206,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &430 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -55231,7 +55258,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &433 + default: &431 value: groups: - group_id: '123' @@ -55345,7 +55372,7 @@ paths: type: array items: *273 examples: - default: *345 + default: *343 headers: Link: *41 '403': *27 @@ -55439,7 +55466,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &409 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -55513,7 +55540,7 @@ paths: parent: anyOf: - type: 'null' - - *344 + - *342 members_count: type: integer examples: @@ -55838,7 +55865,7 @@ paths: - repos_count - organization examples: - default: &412 + default: &410 value: id: 1 node_id: MDQ6VGVhbTE= @@ -55915,9 +55942,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *409 examples: - default: *412 + default: *410 '404': *6 x-github: githubCloudOnly: false @@ -56002,16 +56029,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *411 + schema: *409 examples: - default: *412 + default: *410 '201': description: Response content: application/json: - schema: *411 + schema: *409 examples: - default: *412 + default: *410 '404': *6 '422': *15 '403': *27 @@ -56081,7 +56108,7 @@ paths: application/json: schema: type: array - items: &413 + items: &411 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -56192,7 +56219,7 @@ paths: - updated_at - url examples: - default: &755 + default: &753 value: - author: login: octocat @@ -56301,9 +56328,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *411 examples: - default: &414 + default: &412 value: author: login: octocat @@ -56377,7 +56404,7 @@ paths: parameters: - *76 - *180 - - &415 + - &413 name: discussion_number description: The number that identifies the discussion. in: path @@ -56389,9 +56416,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *411 examples: - default: *414 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56415,7 +56442,7 @@ paths: parameters: - *76 - *180 - - *415 + - *413 requestBody: required: false content: @@ -56438,9 +56465,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *411 examples: - default: &756 + default: &754 value: author: login: octocat @@ -56512,7 +56539,7 @@ paths: parameters: - *76 - *180 - - *415 + - *413 responses: '204': description: Response @@ -56540,7 +56567,7 @@ paths: parameters: - *76 - *180 - - *415 + - *413 - *99 - *17 - *19 @@ -56551,7 +56578,7 @@ paths: application/json: schema: type: array - items: &416 + items: &414 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -56631,7 +56658,7 @@ paths: - updated_at - url examples: - default: &757 + default: &755 value: - author: login: octocat @@ -56701,7 +56728,7 @@ paths: parameters: - *76 - *180 - - *415 + - *413 requestBody: required: true content: @@ -56723,9 +56750,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *414 examples: - default: &417 + default: &415 value: author: login: octocat @@ -56793,8 +56820,8 @@ paths: parameters: - *76 - *180 - - *415 - - &418 + - *413 + - &416 name: comment_number description: The number that identifies the comment. in: path @@ -56806,9 +56833,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *414 examples: - default: *417 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56832,8 +56859,8 @@ paths: parameters: - *76 - *180 - - *415 - - *418 + - *413 + - *416 requestBody: required: true content: @@ -56855,9 +56882,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *414 examples: - default: &758 + default: &756 value: author: login: octocat @@ -56923,8 +56950,8 @@ paths: parameters: - *76 - *180 - - *415 - - *418 + - *413 + - *416 responses: '204': description: Response @@ -56952,8 +56979,8 @@ paths: parameters: - *76 - *180 - - *415 - - *418 + - *413 + - *416 - 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 +57006,7 @@ paths: application/json: schema: type: array - items: &419 + items: &417 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -57023,7 +57050,7 @@ paths: - content - created_at examples: - default: &421 + default: &419 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -57075,8 +57102,8 @@ paths: parameters: - *76 - *180 - - *415 - - *418 + - *413 + - *416 requestBody: required: true content: @@ -57109,9 +57136,9 @@ paths: team discussion comment content: application/json: - schema: *419 + schema: *417 examples: - default: &420 + default: &418 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -57140,9 +57167,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *417 examples: - default: *420 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57167,9 +57194,9 @@ paths: parameters: - *76 - *180 - - *415 - - *418 - - &422 + - *413 + - *416 + - &420 name: reaction_id description: The unique identifier of the reaction. in: path @@ -57203,7 +57230,7 @@ paths: parameters: - *76 - *180 - - *415 + - *413 - 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 +57256,9 @@ paths: application/json: schema: type: array - items: *419 + items: *417 examples: - default: *421 + default: *419 headers: Link: *41 x-github: @@ -57259,7 +57286,7 @@ paths: parameters: - *76 - *180 - - *415 + - *413 requestBody: required: true content: @@ -57291,16 +57318,16 @@ paths: description: Response content: application/json: - schema: *419 + schema: *417 examples: - default: *420 + default: *418 '201': description: Response content: application/json: - schema: *419 + schema: *417 examples: - default: *420 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -57325,8 +57352,8 @@ paths: parameters: - *76 - *180 - - *415 - - *422 + - *413 + - *420 responses: '204': description: Response @@ -57356,9 +57383,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *421 examples: - default: *424 + default: *422 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57402,9 +57429,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *423 examples: - default: *426 + default: *424 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -57459,9 +57486,9 @@ paths: application/json: schema: type: array - items: *328 + items: *326 examples: - default: *329 + default: *327 headers: Link: *41 x-github: @@ -57545,7 +57572,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &425 title: Team Membership description: Team Membership type: object @@ -57573,7 +57600,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &759 + response-if-user-is-a-team-maintainer: &757 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57636,9 +57663,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *425 examples: - response-if-users-membership-with-team-is-now-pending: &760 + response-if-users-membership-with-team-is-now-pending: &758 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57711,7 +57738,7 @@ paths: application/json: schema: type: array - items: &428 + items: &426 title: Team Project description: A team's access to a project. type: object @@ -57780,7 +57807,7 @@ paths: - updated_at - permissions examples: - default: &761 + default: &759 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57845,7 +57872,7 @@ paths: parameters: - *76 - *180 - - &429 + - &427 name: project_id description: The unique identifier of the project. in: path @@ -57857,9 +57884,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *426 examples: - default: &762 + default: &760 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57923,7 +57950,7 @@ paths: parameters: - *76 - *180 - - *429 + - *427 requestBody: required: false content: @@ -57992,7 +58019,7 @@ paths: parameters: - *76 - *180 - - *429 + - *427 responses: '204': description: Response @@ -58032,7 +58059,7 @@ paths: type: array items: *246 examples: - default: *352 + default: *350 headers: Link: *41 x-github: @@ -58063,14 +58090,14 @@ paths: parameters: - *76 - *180 - - *430 - - *431 + - *428 + - *429 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &763 + schema: &761 title: Team Repository description: A team's access to a repository. type: object @@ -58713,8 +58740,8 @@ paths: parameters: - *76 - *180 - - *430 - - *431 + - *428 + - *429 requestBody: required: false content: @@ -58761,8 +58788,8 @@ paths: parameters: - *76 - *180 - - *430 - - *431 + - *428 + - *429 responses: '204': description: Response @@ -58795,9 +58822,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *430 examples: - default: *433 + default: *431 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -58863,7 +58890,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *430 examples: default: value: @@ -58908,7 +58935,7 @@ paths: type: array items: *273 examples: - response-if-child-teams-exist: &764 + response-if-child-teams-exist: &762 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -59035,7 +59062,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &434 + - &432 name: card_id description: The unique identifier of the card. in: path @@ -59047,7 +59074,7 @@ paths: description: Response content: application/json: - schema: &435 + schema: &433 title: Project Card description: Project cards represent a scope of work. type: object @@ -59122,7 +59149,7 @@ paths: - created_at - updated_at examples: - default: &436 + default: &434 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -59178,7 +59205,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 + - *432 requestBody: required: false content: @@ -59208,9 +59235,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *433 examples: - default: *436 + default: *434 '304': *35 '403': *27 '401': *23 @@ -59237,7 +59264,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *434 + - *432 responses: '204': description: Response @@ -59281,7 +59308,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *434 + - *432 requestBody: required: true content: @@ -59394,7 +59421,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &437 + - &435 name: column_id description: The unique identifier of the column. in: path @@ -59406,7 +59433,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &436 title: Project Column description: Project columns contain cards of work. type: object @@ -59460,7 +59487,7 @@ paths: - created_at - updated_at examples: - default: &439 + default: &437 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -59495,7 +59522,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 + - *435 requestBody: required: true content: @@ -59520,9 +59547,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *436 examples: - default: *439 + default: *437 '304': *35 '403': *27 '401': *23 @@ -59547,7 +59574,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *437 + - *435 responses: '204': description: Response @@ -59576,7 +59603,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *437 + - *435 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -59597,7 +59624,7 @@ paths: application/json: schema: type: array - items: *435 + items: *433 examples: default: value: @@ -59656,7 +59683,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *437 + - *435 requestBody: required: true content: @@ -59700,9 +59727,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *433 examples: - default: *436 + default: *434 '304': *35 '403': *27 '401': *23 @@ -59758,7 +59785,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *437 + - *435 requestBody: required: true content: @@ -59819,15 +59846,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *429 + - *427 responses: '200': description: Response content: application/json: - schema: *362 + schema: *360 examples: - default: &440 + default: &438 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -59884,7 +59911,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *429 + - *427 requestBody: required: false content: @@ -59933,9 +59960,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *360 examples: - default: *440 + default: *438 '404': description: Not Found if the authenticated user does not have access to the project @@ -59956,7 +59983,7 @@ paths: items: type: string '401': *23 - '410': *441 + '410': *439 '422': *7 x-github: githubCloudOnly: false @@ -59979,7 +60006,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *429 + - *427 responses: '204': description: Delete Success @@ -60000,7 +60027,7 @@ paths: items: type: string '401': *23 - '410': *441 + '410': *439 '404': *6 x-github: githubCloudOnly: false @@ -60024,7 +60051,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *429 + - *427 - 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 @@ -60081,7 +60108,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *429 + - *427 - *178 requestBody: required: false @@ -60136,7 +60163,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *429 + - *427 - *178 responses: '204': @@ -60168,7 +60195,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *429 + - *427 - *178 responses: '200': @@ -60239,7 +60266,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *429 + - *427 - *17 - *19 responses: @@ -60249,7 +60276,7 @@ paths: application/json: schema: type: array - items: *438 + items: *436 examples: default: value: @@ -60287,7 +60314,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *429 + - *427 requestBody: required: true content: @@ -60311,7 +60338,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *436 examples: default: value: @@ -60376,7 +60403,7 @@ paths: resources: type: object properties: - core: &442 + core: &440 title: Rate Limit type: object properties: @@ -60393,21 +60420,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: *440 + search: *440 + code_search: *440 + source_import: *440 + integration_manifest: *440 + code_scanning_upload: *440 + actions_runner_registration: *440 + scim: *440 + dependency_snapshots: *440 + dependency_sbom: *440 + code_scanning_autofix: *440 required: - core - search - rate: *442 + rate: *440 required: - rate - resources @@ -60512,14 +60539,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *430 - - *431 + - *428 + - *429 responses: '200': description: Response content: application/json: - schema: *443 + schema: *441 examples: default-response: summary: Default response @@ -61024,7 +61051,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *444 + '301': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61042,8 +61069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: false content: @@ -61301,10 +61328,10 @@ paths: description: Response content: application/json: - schema: *443 + schema: *441 examples: - default: *445 - '307': &446 + default: *443 + '307': &444 description: Temporary Redirect content: application/json: @@ -61333,8 +61360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *430 - - *431 + - *428 + - *429 responses: '204': description: Response @@ -61356,7 +61383,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': *444 '404': *6 '409': *107 x-github: @@ -61380,11 +61407,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 + - *428 + - *429 - *17 - *19 - - &461 + - &459 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -61407,7 +61434,7 @@ paths: type: integer artifacts: type: array - items: &447 + items: &445 title: Artifact description: An artifact type: object @@ -61502,7 +61529,7 @@ paths: - expires_at - updated_at examples: - default: &462 + default: &460 value: total_count: 2 artifacts: @@ -61563,9 +61590,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *430 - - *431 - - &448 + - *428 + - *429 + - &446 name: artifact_id description: The unique identifier of the artifact. in: path @@ -61577,7 +61604,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *445 examples: default: value: @@ -61615,9 +61642,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *430 - - *431 - - *448 + - *428 + - *429 + - *446 responses: '204': description: Response @@ -61641,9 +61668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *430 - - *431 - - *448 + - *428 + - *429 + - *446 - name: archive_format in: path required: true @@ -61657,7 +61684,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': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61680,14 +61707,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 + - *428 + - *429 responses: '200': description: Response content: application/json: - schema: *449 + schema: *447 examples: default: value: @@ -61713,11 +61740,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 + - *428 + - *429 - *17 - *19 - - &450 + - &448 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 +61778,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &449 title: Repository actions caches description: Repository actions caches type: object @@ -61801,7 +61828,7 @@ paths: - total_count - actions_caches examples: - default: &452 + default: &450 value: total_count: 1 actions_caches: @@ -61833,23 +61860,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 + - *428 + - *429 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *450 + - *448 responses: '200': description: Response content: application/json: - schema: *451 + schema: *449 examples: - default: *452 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61869,8 +61896,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 + - *428 + - *429 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -61901,9 +61928,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 + - *428 + - *429 + - &451 name: job_id description: The unique identifier of the job. in: path @@ -61915,7 +61942,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &463 title: Job description: Information of a job execution in a workflow run type: object @@ -62262,9 +62289,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 + - *428 + - *429 + - *451 responses: '302': description: Response @@ -62292,9 +62319,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 + - *428 + - *429 + - *451 requestBody: required: false content: @@ -62340,8 +62367,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 + - *428 + - *429 responses: '200': description: Status response @@ -62391,8 +62418,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 + - *428 + - *429 requestBody: required: true content: @@ -62455,8 +62482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *430 - - *431 + - *428 + - *429 - *17 - *19 responses: @@ -62474,7 +62501,7 @@ paths: type: integer secrets: type: array - items: &467 + items: &465 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -62495,7 +62522,7 @@ paths: - created_at - updated_at examples: - default: &468 + default: &466 value: total_count: 2 secrets: @@ -62528,9 +62555,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 + - *428 + - *429 + - *452 - *19 responses: '200': @@ -62547,7 +62574,7 @@ paths: type: integer variables: type: array - items: &471 + items: &469 title: Actions Variable type: object properties: @@ -62581,7 +62608,7 @@ paths: - created_at - updated_at examples: - default: &472 + default: &470 value: total_count: 2 variables: @@ -62614,8 +62641,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 + - *428 + - *429 responses: '200': description: Response @@ -62624,7 +62651,7 @@ paths: schema: type: object properties: - enabled: &455 + enabled: &453 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *49 @@ -62659,8 +62686,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 + - *428 + - *429 responses: '204': description: Response @@ -62671,7 +62698,7 @@ paths: schema: type: object properties: - enabled: *455 + enabled: *453 allowed_actions: *49 sha_pinning_required: *50 required: @@ -62704,14 +62731,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 + - *428 + - *429 responses: '200': description: Response content: application/json: - schema: &456 + schema: &454 type: object properties: access_level: @@ -62729,7 +62756,7 @@ paths: required: - access_level examples: - default: &457 + default: &455 value: access_level: organization x-github: @@ -62754,15 +62781,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 + - *428 + - *429 requestBody: required: true content: application/json: - schema: *456 + schema: *454 examples: - default: *457 + default: *455 responses: '204': description: Response @@ -62786,8 +62813,8 @@ 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 + - *428 + - *429 responses: '200': description: Response @@ -62817,8 +62844,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 + - *428 + - *429 responses: '204': description: Empty response for successful settings update @@ -62852,8 +62879,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 + - *428 + - *429 responses: '200': description: Response @@ -62880,8 +62907,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 + - *428 + - *429 responses: '204': description: Response @@ -62915,8 +62942,8 @@ 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 + - *428 + - *429 responses: '200': description: Response @@ -62944,8 +62971,8 @@ 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 + - *428 + - *429 requestBody: required: true content: @@ -62976,8 +63003,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 + - *428 + - *429 responses: '200': description: Response @@ -63008,8 +63035,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 + - *428 + - *429 responses: '204': description: Response @@ -63041,8 +63068,8 @@ 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 + - *428 + - *429 responses: '200': description: Response @@ -63071,8 +63098,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 + - *428 + - *429 responses: '204': description: Success response @@ -63112,8 +63139,8 @@ paths: in: query schema: type: string - - *430 - - *431 + - *428 + - *429 - *17 - *19 responses: @@ -63157,8 +63184,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 + - *428 + - *429 responses: '200': description: Response @@ -63190,8 +63217,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 + - *428 + - *429 requestBody: required: true content: @@ -63265,8 +63292,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 + - *428 + - *429 responses: '201': description: Response @@ -63302,8 +63329,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 + - *428 + - *429 responses: '201': description: Response @@ -63333,8 +63360,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 + - *428 + - *429 - *64 responses: '200': @@ -63364,8 +63391,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 + - *428 + - *429 - *64 responses: '204': @@ -63392,8 +63419,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 + - *428 + - *429 - *64 responses: '200': *70 @@ -63418,8 +63445,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 + - *428 + - *429 - *64 requestBody: required: true @@ -63468,8 +63495,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 + - *428 + - *429 - *64 requestBody: required: true @@ -63519,8 +63546,8 @@ 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 + - *428 + - *429 - *64 responses: '200': *253 @@ -63550,8 +63577,8 @@ 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 + - *428 + - *429 - *64 - *254 responses: @@ -63581,9 +63608,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 + - *428 + - *429 + - &473 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 +63618,7 @@ paths: required: false schema: type: string - - &476 + - &474 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -63599,7 +63626,7 @@ paths: required: false schema: type: string - - &477 + - &475 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 +63635,7 @@ paths: required: false schema: type: string - - &478 + - &476 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 +63662,7 @@ paths: - pending - *17 - *19 - - &479 + - &477 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 +63671,7 @@ paths: schema: type: string format: date-time - - &458 + - &456 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -63653,13 +63680,13 @@ paths: schema: type: boolean default: false - - &480 + - &478 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &481 + - &479 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -63682,7 +63709,7 @@ paths: type: integer workflow_runs: type: array - items: &459 + items: &457 title: Workflow Run description: An invocation of a workflow type: object @@ -63860,7 +63887,7 @@ paths: head_commit: anyOf: - type: 'null' - - &503 + - &501 title: Simple Commit description: A commit. type: object @@ -63975,7 +64002,7 @@ paths: - workflow_url - pull_requests examples: - default: &482 + default: &480 value: total_count: 1 workflow_runs: @@ -64211,24 +64238,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 + - *428 + - *429 + - &458 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *458 + - *456 responses: '200': description: Response content: application/json: - schema: *459 + schema: *457 examples: - default: &463 + default: &461 value: id: 30433642 name: Build @@ -64469,9 +64496,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 + - *428 + - *429 + - *458 responses: '204': description: Response @@ -64494,9 +64521,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 + - *428 + - *429 + - *458 responses: '200': description: Response @@ -64624,9 +64651,9 @@ 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 + - *428 + - *429 + - *458 responses: '201': description: Response @@ -64659,12 +64686,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 + - *428 + - *429 + - *458 - *17 - *19 - - *461 + - *459 responses: '200': description: Response @@ -64680,9 +64707,9 @@ paths: type: integer artifacts: type: array - items: *447 + items: *445 examples: - default: *462 + default: *460 headers: Link: *41 x-github: @@ -64706,25 +64733,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 + - *428 + - *429 + - *458 + - &462 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *458 + - *456 responses: '200': description: Response content: application/json: - schema: *459 + schema: *457 examples: - default: *463 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64747,10 +64774,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 + - *428 + - *429 + - *458 + - *462 - *17 - *19 responses: @@ -64768,9 +64795,9 @@ paths: type: integer jobs: type: array - items: *465 + items: *463 examples: - default: &466 + default: &464 value: total_count: 1 jobs: @@ -64883,10 +64910,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 + - *428 + - *429 + - *458 + - *462 responses: '302': description: Response @@ -64914,9 +64941,9 @@ 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 + - *428 + - *429 + - *458 responses: '202': description: Response @@ -64949,9 +64976,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 + - *428 + - *429 + - *458 requestBody: required: true content: @@ -65018,9 +65045,9 @@ 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 + - *428 + - *429 + - *458 responses: '202': description: Response @@ -65053,9 +65080,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 + - *428 + - *429 + - *458 - 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 +65112,9 @@ paths: type: integer jobs: type: array - items: *465 + items: *463 examples: - default: *466 + default: *464 headers: Link: *41 x-github: @@ -65112,9 +65139,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 + - *428 + - *429 + - *458 responses: '302': description: Response @@ -65141,9 +65168,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 + - *428 + - *429 + - *458 responses: '204': description: Response @@ -65170,9 +65197,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 + - *428 + - *429 + - *458 responses: '200': description: Response @@ -65241,7 +65268,7 @@ paths: items: type: object properties: - type: &583 + type: &581 type: string description: The type of reviewer. enum: @@ -65327,9 +65354,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 + - *428 + - *429 + - *458 requestBody: required: true content: @@ -65379,7 +65406,7 @@ paths: application/json: schema: type: array - items: &569 + items: &567 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -65491,7 +65518,7 @@ paths: - created_at - updated_at examples: - default: &570 + default: &568 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -65547,9 +65574,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 + - *428 + - *429 + - *458 requestBody: required: false content: @@ -65594,9 +65621,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 + - *428 + - *429 + - *458 requestBody: required: false content: @@ -65651,9 +65678,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 + - *428 + - *429 + - *458 responses: '200': description: Response @@ -65790,8 +65817,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *430 - - *431 + - *428 + - *429 - *17 - *19 responses: @@ -65809,9 +65836,9 @@ paths: type: integer secrets: type: array - items: *467 + items: *465 examples: - default: *468 + default: *466 headers: Link: *41 x-github: @@ -65836,16 +65863,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 + - *428 + - *429 responses: '200': description: Response content: application/json: - schema: *469 + schema: *467 examples: - default: *470 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65867,17 +65894,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *430 - - *431 + - *428 + - *429 - *256 responses: '200': description: Response content: application/json: - schema: *467 + schema: *465 examples: - default: &596 + default: &594 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -65903,8 +65930,8 @@ 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 + - *428 + - *429 - *256 requestBody: required: true @@ -65962,8 +65989,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *430 - - *431 + - *428 + - *429 - *256 responses: '204': @@ -65989,9 +66016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *430 - - *431 - - *454 + - *428 + - *429 + - *452 - *19 responses: '200': @@ -66008,9 +66035,9 @@ paths: type: integer variables: type: array - items: *471 + items: *469 examples: - default: *472 + default: *470 headers: Link: *41 x-github: @@ -66033,8 +66060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: true content: @@ -66086,17 +66113,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *430 - - *431 + - *428 + - *429 - *259 responses: '200': description: Response content: application/json: - schema: *471 + schema: *469 examples: - default: &597 + default: &595 value: name: USERNAME value: octocat @@ -66122,8 +66149,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *430 - - *431 + - *428 + - *429 - *259 requestBody: required: true @@ -66166,8 +66193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *430 - - *431 + - *428 + - *429 - *259 responses: '204': @@ -66193,8 +66220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *430 - - *431 + - *428 + - *429 - *17 - *19 responses: @@ -66212,7 +66239,7 @@ paths: type: integer workflows: type: array - items: &473 + items: &471 title: Workflow description: A GitHub Actions workflow type: object @@ -66330,9 +66357,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *430 - - *431 - - &474 + - *428 + - *429 + - &472 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -66347,7 +66374,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *471 examples: default: value: @@ -66380,9 +66407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *430 - - *431 - - *474 + - *428 + - *429 + - *472 responses: '204': description: Response @@ -66407,9 +66434,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 + - *428 + - *429 + - *472 responses: '204': description: Response @@ -66460,9 +66487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *430 - - *431 - - *474 + - *428 + - *429 + - *472 responses: '204': description: Response @@ -66489,19 +66516,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 + - *428 + - *429 + - *472 + - *473 - *474 - *475 - *476 - - *477 - - *478 - *17 - *19 + - *477 + - *456 + - *478 - *479 - - *458 - - *480 - - *481 responses: '200': description: Response @@ -66517,9 +66544,9 @@ paths: type: integer workflow_runs: type: array - items: *459 + items: *457 examples: - default: *482 + default: *480 headers: Link: *41 x-github: @@ -66552,9 +66579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *430 - - *431 - - *474 + - *428 + - *429 + - *472 responses: '200': description: Response @@ -66615,8 +66642,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *430 - - *431 + - *428 + - *429 - *99 - *17 - *97 @@ -66784,8 +66811,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *430 - - *431 + - *428 + - *429 - *17 - *19 responses: @@ -66822,8 +66849,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 + - *428 + - *429 - name: assignee in: path required: true @@ -66859,8 +66886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: true content: @@ -66972,8 +66999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *430 - - *431 + - *428 + - *429 - *17 - *97 - *98 @@ -67029,7 +67056,7 @@ paths: initiator: type: string examples: - default: *483 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67049,8 +67076,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 + - *428 + - *429 responses: '200': description: Response @@ -67058,7 +67085,7 @@ paths: application/json: schema: type: array - items: &484 + items: &482 title: Autolink reference description: An autolink reference. type: object @@ -67117,8 +67144,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 + - *428 + - *429 requestBody: required: true content: @@ -67157,9 +67184,9 @@ paths: description: response content: application/json: - schema: *484 + schema: *482 examples: - default: &485 + default: &483 value: id: 1 key_prefix: TICKET- @@ -67190,9 +67217,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 + - *428 + - *429 + - &484 name: autolink_id description: The unique identifier of the autolink. in: path @@ -67204,9 +67231,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *482 examples: - default: *485 + default: *483 '404': *6 x-github: githubCloudOnly: false @@ -67226,9 +67253,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 + - *428 + - *429 + - *484 responses: '204': description: Response @@ -67252,8 +67279,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 + - *428 + - *429 responses: '200': description: Response if Dependabot is enabled @@ -67303,8 +67330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *430 - - *431 + - *428 + - *429 responses: '204': description: Response @@ -67325,8 +67352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *430 - - *431 + - *428 + - *429 responses: '204': description: Response @@ -67346,8 +67373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *430 - - *431 + - *428 + - *429 - 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 +67412,7 @@ paths: - url protected: type: boolean - protection: &488 + protection: &486 title: Branch Protection description: Branch Protection type: object @@ -67428,7 +67455,7 @@ paths: required: - contexts - checks - enforce_admins: &491 + enforce_admins: &489 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -67445,7 +67472,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &493 + required_pull_request_reviews: &491 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -67529,7 +67556,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &490 + restrictions: &488 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -67822,9 +67849,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *430 - - *431 - - &489 + - *428 + - *429 + - &487 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 +67865,14 @@ paths: description: Response content: application/json: - schema: &499 + schema: &497 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &545 + commit: &543 title: Commit description: Commit type: object @@ -67884,7 +67911,7 @@ paths: author: anyOf: - type: 'null' - - &487 + - &485 title: Git User description: Metaproperties for Git author/committer information. @@ -67905,7 +67932,7 @@ paths: committer: anyOf: - type: 'null' - - *487 + - *485 message: type: string examples: @@ -67929,7 +67956,7 @@ paths: required: - sha - url - verification: &603 + verification: &601 title: Verification type: object properties: @@ -68009,7 +68036,7 @@ paths: type: integer files: type: array - items: &556 + items: &554 title: Diff Entry description: Diff Entry type: object @@ -68105,7 +68132,7 @@ paths: - self protected: type: boolean - protection: *488 + protection: *486 protection_url: type: string format: uri @@ -68214,7 +68241,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *444 + '301': *442 '404': *6 x-github: githubCloudOnly: false @@ -68236,15 +68263,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 + - *428 + - *429 + - *487 responses: '200': description: Response content: application/json: - schema: *488 + schema: *486 examples: default: value: @@ -68438,9 +68465,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 + - *428 + - *429 + - *487 requestBody: required: true content: @@ -68700,7 +68727,7 @@ paths: url: type: string format: uri - required_status_checks: &496 + required_status_checks: &494 title: Status Check Policy description: Status Check Policy type: object @@ -68859,7 +68886,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *490 + restrictions: *488 required_conversation_resolution: type: object properties: @@ -68971,9 +68998,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 + - *428 + - *429 + - *487 responses: '204': description: Response @@ -68998,17 +69025,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 + - *428 + - *429 + - *487 responses: '200': description: Response content: application/json: - schema: *491 + schema: *489 examples: - default: &492 + default: &490 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -69030,17 +69057,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 + - *428 + - *429 + - *487 responses: '200': description: Response content: application/json: - schema: *491 + schema: *489 examples: - default: *492 + default: *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69059,9 +69086,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 + - *428 + - *429 + - *487 responses: '204': description: Response @@ -69086,17 +69113,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 + - *428 + - *429 + - *487 responses: '200': description: Response content: application/json: - schema: *493 + schema: *491 examples: - default: &494 + default: &492 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -69192,9 +69219,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 + - *428 + - *429 + - *487 requestBody: required: false content: @@ -69292,9 +69319,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *491 examples: - default: *494 + default: *492 '422': *15 x-github: githubCloudOnly: false @@ -69315,9 +69342,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 + - *428 + - *429 + - *487 responses: '204': description: Response @@ -69344,17 +69371,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 + - *428 + - *429 + - *487 responses: '200': description: Response content: application/json: - schema: *491 + schema: *489 examples: - default: &495 + default: &493 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -69377,17 +69404,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 + - *428 + - *429 + - *487 responses: '200': description: Response content: application/json: - schema: *491 + schema: *489 examples: - default: *495 + default: *493 '404': *6 x-github: githubCloudOnly: false @@ -69407,9 +69434,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 + - *428 + - *429 + - *487 responses: '204': description: Response @@ -69434,17 +69461,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 + - *428 + - *429 + - *487 responses: '200': description: Response content: application/json: - schema: *496 + schema: *494 examples: - default: &497 + default: &495 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -69470,9 +69497,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 + - *428 + - *429 + - *487 requestBody: required: false content: @@ -69524,9 +69551,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *494 examples: - default: *497 + default: *495 '404': *6 '422': *15 x-github: @@ -69548,9 +69575,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 + - *428 + - *429 + - *487 responses: '204': description: Response @@ -69574,9 +69601,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 + - *428 + - *429 + - *487 responses: '200': description: Response @@ -69610,9 +69637,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 + - *428 + - *429 + - *487 requestBody: required: false content: @@ -69679,9 +69706,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 + - *428 + - *429 + - *487 requestBody: required: false content: @@ -69745,9 +69772,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 + - *428 + - *429 + - *487 requestBody: content: application/json: @@ -69813,15 +69840,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 + - *428 + - *429 + - *487 responses: '200': description: Response content: application/json: - schema: *490 + schema: *488 examples: default: value: @@ -69912,9 +69939,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 + - *428 + - *429 + - *487 responses: '204': description: Response @@ -69937,9 +69964,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 + - *428 + - *429 + - *487 responses: '200': description: Response @@ -69949,7 +69976,7 @@ paths: type: array items: *5 examples: - default: &498 + default: &496 value: - id: 1 slug: octoapp @@ -70006,9 +70033,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 + - *428 + - *429 + - *487 requestBody: required: true content: @@ -70042,7 +70069,7 @@ paths: type: array items: *5 examples: - default: *498 + default: *496 '422': *15 x-github: githubCloudOnly: false @@ -70063,9 +70090,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 + - *428 + - *429 + - *487 requestBody: required: true content: @@ -70099,7 +70126,7 @@ paths: type: array items: *5 examples: - default: *498 + default: *496 '422': *15 x-github: githubCloudOnly: false @@ -70120,9 +70147,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 + - *428 + - *429 + - *487 requestBody: required: true content: @@ -70156,7 +70183,7 @@ paths: type: array items: *5 examples: - default: *498 + default: *496 '422': *15 x-github: githubCloudOnly: false @@ -70178,9 +70205,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 + - *428 + - *429 + - *487 responses: '200': description: Response @@ -70190,7 +70217,7 @@ paths: type: array items: *273 examples: - default: *345 + default: *343 '404': *6 x-github: githubCloudOnly: false @@ -70210,9 +70237,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 + - *428 + - *429 + - *487 requestBody: required: false content: @@ -70250,7 +70277,7 @@ paths: type: array items: *273 examples: - default: *345 + default: *343 '422': *15 x-github: githubCloudOnly: false @@ -70271,9 +70298,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 + - *428 + - *429 + - *487 requestBody: required: false content: @@ -70311,7 +70338,7 @@ paths: type: array items: *273 examples: - default: *345 + default: *343 '422': *15 x-github: githubCloudOnly: false @@ -70332,9 +70359,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 + - *428 + - *429 + - *487 requestBody: content: application/json: @@ -70371,7 +70398,7 @@ paths: type: array items: *273 examples: - default: *345 + default: *343 '422': *15 x-github: githubCloudOnly: false @@ -70393,9 +70420,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 + - *428 + - *429 + - *487 responses: '200': description: Response @@ -70429,9 +70456,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 + - *428 + - *429 + - *487 requestBody: required: true content: @@ -70489,9 +70516,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 + - *428 + - *429 + - *487 requestBody: required: true content: @@ -70549,9 +70576,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 + - *428 + - *429 + - *487 requestBody: required: true content: @@ -70611,9 +70638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *430 - - *431 - - *489 + - *428 + - *429 + - *487 requestBody: required: true content: @@ -70635,7 +70662,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *497 examples: default: value: @@ -70749,8 +70776,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *430 - - *431 + - *428 + - *429 - *92 - *93 - *94 @@ -70786,8 +70813,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *430 - - *431 + - *428 + - *429 - name: bypass_request_number in: path required: true @@ -70860,8 +70887,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 + - *428 + - *429 - *92 - *93 - *94 @@ -70901,8 +70928,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 + - *428 + - *429 - name: bypass_request_number in: path required: true @@ -70972,8 +70999,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 + - *428 + - *429 - name: bypass_request_number in: path required: true @@ -71044,8 +71071,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 + - *428 + - *429 - name: bypass_response_id in: path required: true @@ -71078,8 +71105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: true content: @@ -71358,7 +71385,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &498 title: CheckRun description: A check performed on the code of a given code change type: object @@ -71494,7 +71521,7 @@ paths: check. type: array items: *187 - deployment: &818 + deployment: &816 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -71781,9 +71808,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 + - *428 + - *429 + - &499 name: check_run_id description: The unique identifier of the check run. in: path @@ -71795,9 +71822,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *498 examples: - default: &502 + default: &500 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -71897,9 +71924,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 + - *428 + - *429 + - *499 requestBody: required: true content: @@ -72139,9 +72166,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *498 examples: - default: *502 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72161,9 +72188,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 + - *428 + - *429 + - *499 - *17 - *19 responses: @@ -72273,9 +72300,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *430 - - *431 - - *501 + - *428 + - *429 + - *499 responses: '201': description: Response @@ -72319,8 +72346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: true content: @@ -72342,7 +72369,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &504 + schema: &502 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -72440,7 +72467,7 @@ paths: - string - 'null' format: date-time - head_commit: *503 + head_commit: *501 latest_check_runs_count: type: integer check_runs_url: @@ -72468,7 +72495,7 @@ paths: - check_runs_url - pull_requests examples: - default: &505 + default: &503 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -72759,9 +72786,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *504 + schema: *502 examples: - default: *505 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72780,8 +72807,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 + - *428 + - *429 requestBody: required: true content: @@ -73090,9 +73117,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 + - *428 + - *429 + - &504 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -73104,9 +73131,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *502 examples: - default: *505 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73129,17 +73156,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 + - *428 + - *429 + - *504 + - &549 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &552 + - &550 name: status description: Returns check runs with the specified `status`. in: query @@ -73178,9 +73205,9 @@ paths: type: integer check_runs: type: array - items: *500 + items: *498 examples: - default: &553 + default: &551 value: total_count: 1 check_runs: @@ -73282,9 +73309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *430 - - *431 - - *506 + - *428 + - *429 + - *504 responses: '201': description: Response @@ -73317,21 +73344,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 + - *428 + - *429 - *277 - *278 - *19 - *17 - - &522 + - &520 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: *505 + - &521 name: pr description: The number of the pull request for the results you want to list. in: query @@ -73362,7 +73389,7 @@ paths: be returned. in: query required: false - schema: *508 + schema: *506 responses: '200': description: Response @@ -73378,7 +73405,7 @@ paths: updated_at: *117 url: *114 html_url: *115 - instances_url: *509 + instances_url: *507 state: *102 fixed_at: *119 dismissed_by: @@ -73386,11 +73413,11 @@ paths: - type: 'null' - *4 dismissed_at: *118 - dismissed_reason: *510 - dismissed_comment: *511 - rule: *512 - tool: *513 - most_recent_instance: *514 + dismissed_reason: *508 + dismissed_comment: *509 + rule: *510 + tool: *511 + most_recent_instance: *512 dismissal_approved_by: anyOf: - type: 'null' @@ -73513,7 +73540,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &515 + '403': &513 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -73540,9 +73567,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 + - *428 + - *429 + - &514 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -73556,7 +73583,7 @@ paths: description: Response content: application/json: - schema: &517 + schema: &515 type: object properties: number: *109 @@ -73564,7 +73591,7 @@ paths: updated_at: *117 url: *114 html_url: *115 - instances_url: *509 + instances_url: *507 state: *102 fixed_at: *119 dismissed_by: @@ -73572,8 +73599,8 @@ paths: - type: 'null' - *4 dismissed_at: *118 - dismissed_reason: *510 - dismissed_comment: *511 + dismissed_reason: *508 + dismissed_comment: *509 rule: type: object properties: @@ -73635,8 +73662,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *513 - most_recent_instance: *514 + tool: *511 + most_recent_instance: *512 dismissal_approved_by: anyOf: - type: 'null' @@ -73732,7 +73759,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *515 + '403': *513 '404': *6 '503': *163 x-github: @@ -73752,9 +73779,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 + - *428 + - *429 + - *514 requestBody: required: true content: @@ -73769,8 +73796,8 @@ paths: enum: - open - dismissed - dismissed_reason: *510 - dismissed_comment: *511 + dismissed_reason: *508 + dismissed_comment: *509 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -73789,7 +73816,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *515 examples: default: value: @@ -73865,7 +73892,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &521 + '403': &519 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -73892,15 +73919,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 + - *428 + - *429 + - *514 responses: '200': description: Response content: application/json: - schema: &518 + schema: &516 type: object properties: status: @@ -73927,13 +73954,13 @@ paths: - description - started_at examples: - default: &519 + default: &517 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &520 + '400': &518 description: Bad Request content: application/json: @@ -73944,7 +73971,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *515 + '403': *513 '404': *6 '503': *163 x-github: @@ -73969,29 +73996,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 + - *428 + - *429 + - *514 responses: '200': description: OK content: application/json: - schema: *518 + schema: *516 examples: - default: *519 + default: *517 '202': description: Accepted content: application/json: - schema: *518 + schema: *516 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *520 + '400': *518 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -74023,9 +74050,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 + - *428 + - *429 + - *514 requestBody: required: false content: @@ -74071,8 +74098,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *520 - '403': *521 + '400': *518 + '403': *519 '404': *6 '422': description: Unprocessable Entity @@ -74096,13 +74123,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 + - *428 + - *429 + - *514 - *19 - *17 - - *522 - - *523 + - *520 + - *521 responses: '200': description: Response @@ -74110,7 +74137,7 @@ paths: application/json: schema: type: array - items: *514 + items: *512 examples: default: value: @@ -74149,7 +74176,7 @@ paths: end_column: 50 classifications: - source - '403': *515 + '403': *513 '404': *6 '503': *163 x-github: @@ -74183,25 +74210,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 + - *428 + - *429 - *277 - *278 - *19 - *17 - - *523 + - *521 - 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: *505 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &526 + schema: &524 type: string description: An identifier for the upload. examples: @@ -74223,23 +74250,23 @@ paths: application/json: schema: type: array - items: &527 + items: &525 type: object properties: - ref: *507 - commit_sha: &535 + ref: *505 + commit_sha: &533 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: *522 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *525 + category: *523 error: type: string examples: @@ -74264,8 +74291,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *526 - tool: *513 + sarif_id: *524 + tool: *511 deletable: type: boolean warning: @@ -74327,7 +74354,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *515 + '403': *513 '404': *6 '503': *163 x-github: @@ -74363,8 +74390,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 + - *428 + - *429 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74377,7 +74404,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *525 examples: response: summary: application/json response @@ -74431,7 +74458,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *515 + '403': *513 '404': *6 '422': description: Response if analysis could not be processed @@ -74518,8 +74545,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 + - *428 + - *429 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74575,7 +74602,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *521 + '403': *519 '404': *6 '503': *163 x-github: @@ -74597,8 +74624,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 + - *428 + - *429 responses: '200': description: Response @@ -74606,7 +74633,7 @@ paths: application/json: schema: type: array - items: &528 + items: &526 title: CodeQL Database description: A CodeQL database. type: object @@ -74718,7 +74745,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *515 + '403': *513 '404': *6 '503': *163 x-github: @@ -74747,8 +74774,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 + - *428 + - *429 - name: language in: path description: The language of the CodeQL database. @@ -74760,7 +74787,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *526 examples: default: value: @@ -74792,9 +74819,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &558 + '302': &556 description: Found - '403': *515 + '403': *513 '404': *6 '503': *163 x-github: @@ -74816,8 +74843,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 + - *428 + - *429 - name: language in: path description: The language of the CodeQL database. @@ -74827,7 +74854,7 @@ paths: responses: '204': description: Response - '403': *521 + '403': *519 '404': *6 '503': *163 x-github: @@ -74855,8 +74882,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 + - *428 + - *429 requestBody: required: true content: @@ -74865,7 +74892,7 @@ paths: type: object additionalProperties: false properties: - language: &529 + language: &527 type: string description: The language targeted by the CodeQL query enum: @@ -74944,7 +74971,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &533 + schema: &531 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -74954,7 +74981,7 @@ paths: description: The ID of the variant analysis. controller_repo: *108 actor: *4 - query_language: *529 + query_language: *527 query_pack_url: type: string description: The download url for the query pack. @@ -75002,7 +75029,7 @@ paths: items: type: object properties: - repository: &530 + repository: &528 title: Repository Identifier description: Repository Identifier type: object @@ -75044,7 +75071,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &534 + analysis_status: &532 type: string description: The new status of the CodeQL variant analysis repository task. @@ -75076,7 +75103,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: &529 type: object properties: repository_count: @@ -75091,7 +75118,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: *528 required: - repository_count - repositories @@ -75114,8 +75141,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *531 - over_limit_repos: *531 + no_codeql_db_repos: *529 + over_limit_repos: *529 required: - access_mismatch_repos - not_found_repos @@ -75131,7 +75158,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &532 + value: &530 summary: Default response value: id: 1 @@ -75283,10 +75310,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *532 + value: *530 repository_lists: summary: Response for a successful variant analysis submission - value: *532 + value: *530 '404': *6 '422': description: Unable to process variant analysis submission @@ -75314,8 +75341,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 + - *428 + - *429 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -75327,9 +75354,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *531 examples: - default: *532 + default: *530 '404': *6 '503': *163 x-github: @@ -75352,7 +75379,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 + - *428 - name: repo in: path description: The name of the controller repository. @@ -75387,7 +75414,7 @@ paths: type: object properties: repository: *108 - analysis_status: *534 + analysis_status: *532 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -75512,8 +75539,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 + - *428 + - *429 responses: '200': description: Response @@ -75606,7 +75633,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *515 + '403': *513 '404': *6 '503': *163 x-github: @@ -75627,8 +75654,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 + - *428 + - *429 requestBody: required: true content: @@ -75722,7 +75749,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *521 + '403': *519 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -75793,8 +75820,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 + - *428 + - *429 requestBody: required: true content: @@ -75802,7 +75829,7 @@ paths: schema: type: object properties: - commit_sha: *535 + commit_sha: *533 ref: type: string description: |- @@ -75862,7 +75889,7 @@ paths: schema: type: object properties: - id: *526 + id: *524 url: type: string description: The REST API URL for checking the status of the upload. @@ -75876,7 +75903,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *521 + '403': *519 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -75899,8 +75926,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 + - *428 + - *429 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75948,7 +75975,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *515 + '403': *513 '404': description: Not Found if the sarif id does not match any upload '503': *163 @@ -75973,8 +76000,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 + - *428 + - *429 responses: '200': description: Response @@ -76055,8 +76082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *430 - - *431 + - *428 + - *429 - 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 +76211,8 @@ paths: parameters: - *17 - *19 - - *430 - - *431 + - *428 + - *429 responses: '200': description: Response @@ -76201,7 +76228,7 @@ paths: type: integer codespaces: type: array - items: *336 + items: *334 examples: default: value: @@ -76499,8 +76526,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 + - *428 + - *429 requestBody: required: true content: @@ -76564,17 +76591,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *334 examples: - default: *536 + default: *534 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *334 examples: - default: *536 + default: *534 '400': *14 '401': *23 '403': *27 @@ -76603,8 +76630,8 @@ paths: parameters: - *17 - *19 - - *430 - - *431 + - *428 + - *429 responses: '200': description: Response @@ -76668,8 +76695,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 + - *428 + - *429 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -76706,9 +76733,9 @@ paths: type: integer machines: type: array - items: *537 + items: *535 examples: - default: &771 + default: &769 value: total_count: 2 machines: @@ -76748,8 +76775,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 + - *428 + - *429 - 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 +76863,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 + - *428 + - *429 - 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 @@ -76906,8 +76933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *430 - - *431 + - *428 + - *429 - *17 - *19 responses: @@ -76925,7 +76952,7 @@ paths: type: integer secrets: type: array - items: &541 + items: &539 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76946,7 +76973,7 @@ paths: - created_at - updated_at examples: - default: *538 + default: *536 headers: Link: *41 x-github: @@ -76969,16 +76996,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 + - *428 + - *429 responses: '200': description: Response content: application/json: - schema: *539 + schema: *537 examples: - default: *540 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76998,17 +77025,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 + - *428 + - *429 - *256 responses: '200': description: Response content: application/json: - schema: *541 + schema: *539 examples: - default: *542 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77028,8 +77055,8 @@ 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 + - *428 + - *429 - *256 requestBody: required: true @@ -77082,8 +77109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *430 - - *431 + - *428 + - *429 - *256 responses: '204': @@ -77112,8 +77139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *430 - - *431 + - *428 + - *429 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -77151,7 +77178,7 @@ paths: application/json: schema: type: array - items: &543 + items: &541 title: Collaborator description: Collaborator type: object @@ -77344,8 +77371,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *430 - - *431 + - *428 + - *429 - *178 responses: '204': @@ -77392,8 +77419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *430 - - *431 + - *428 + - *429 - *178 requestBody: required: false @@ -77420,7 +77447,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &616 + schema: &614 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -77648,8 +77675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *430 - - *431 + - *428 + - *429 - *178 responses: '204': @@ -77681,8 +77708,8 @@ 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 + - *428 + - *429 - *178 responses: '200': @@ -77703,7 +77730,7 @@ paths: user: anyOf: - type: 'null' - - *543 + - *541 required: - permission - role_name @@ -77757,8 +77784,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 + - *428 + - *429 - *17 - *19 responses: @@ -77768,7 +77795,7 @@ paths: application/json: schema: type: array - items: &544 + items: &542 title: Commit Comment description: Commit Comment type: object @@ -77826,7 +77853,7 @@ paths: - created_at - updated_at examples: - default: &547 + default: &545 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 +77912,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *430 - - *431 + - *428 + - *429 - *198 responses: '200': description: Response content: application/json: - schema: *544 + schema: *542 examples: - default: &548 + default: &546 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,8 +77979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *430 - - *431 + - *428 + - *429 - *198 requestBody: required: true @@ -77976,7 +78003,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *542 examples: default: value: @@ -78027,8 +78054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *430 - - *431 + - *428 + - *429 - *198 responses: '204': @@ -78050,8 +78077,8 @@ 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 + - *428 + - *429 - *198 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -78078,9 +78105,9 @@ paths: application/json: schema: type: array - items: *419 + items: *417 examples: - default: *421 + default: *419 headers: Link: *41 '404': *6 @@ -78101,8 +78128,8 @@ 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 + - *428 + - *429 - *198 requestBody: required: true @@ -78135,16 +78162,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *417 examples: - default: *420 + default: *418 '201': description: Reaction created content: application/json: - schema: *419 + schema: *417 examples: - default: *420 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -78166,10 +78193,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 + - *428 + - *429 - *198 - - *422 + - *420 responses: '204': description: Response @@ -78218,8 +78245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *430 - - *431 + - *428 + - *429 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -78275,9 +78302,9 @@ paths: application/json: schema: type: array - items: *545 + items: *543 examples: - default: &662 + default: &660 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78371,9 +78398,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 + - *428 + - *429 + - &544 name: commit_sha description: The SHA of the commit. in: path @@ -78445,9 +78472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *430 - - *431 - - *546 + - *428 + - *429 + - *544 - *17 - *19 responses: @@ -78457,9 +78484,9 @@ paths: application/json: schema: type: array - items: *544 + items: *542 examples: - default: *547 + default: *545 headers: Link: *41 x-github: @@ -78487,9 +78514,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 + - *428 + - *429 + - *544 requestBody: required: true content: @@ -78524,9 +78551,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *542 examples: - default: *548 + default: *546 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78554,9 +78581,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 + - *428 + - *429 + - *544 - *17 - *19 responses: @@ -78566,9 +78593,9 @@ paths: application/json: schema: type: array - items: *549 + items: *547 examples: - default: &654 + default: &652 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79105,11 +79132,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *430 - - *431 + - *428 + - *429 - *19 - *17 - - &550 + - &548 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 +79151,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *543 examples: - default: &642 + default: &640 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79239,11 +79266,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 + - *428 + - *429 + - *548 + - *549 - *550 - - *551 - - *552 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -79277,9 +79304,9 @@ paths: type: integer check_runs: type: array - items: *500 + items: *498 examples: - default: *553 + default: *551 headers: Link: *41 x-github: @@ -79304,9 +79331,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 + - *428 + - *429 + - *548 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -79314,7 +79341,7 @@ paths: schema: type: integer example: 1 - - *551 + - *549 - *17 - *19 responses: @@ -79332,7 +79359,7 @@ paths: type: integer check_suites: type: array - items: *504 + items: *502 examples: default: value: @@ -79532,9 +79559,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 + - *428 + - *429 + - *548 - *17 - *19 responses: @@ -79736,9 +79763,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 + - *428 + - *429 + - *548 - *17 - *19 responses: @@ -79748,7 +79775,7 @@ paths: application/json: schema: type: array - items: &716 + items: &714 title: Status description: The status of a commit. type: object @@ -79829,7 +79856,7 @@ paths: site_admin: false headers: Link: *41 - '301': *444 + '301': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79857,8 +79884,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *430 - - *431 + - *428 + - *429 responses: '200': description: Response @@ -79891,11 +79918,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *554 + - *552 code_of_conduct_file: anyOf: - type: 'null' - - &555 + - &553 title: Community Health File type: object properties: @@ -79915,19 +79942,19 @@ paths: contributing: anyOf: - type: 'null' - - *555 + - *553 readme: anyOf: - type: 'null' - - *555 + - *553 issue_template: anyOf: - type: 'null' - - *555 + - *553 pull_request_template: anyOf: - type: 'null' - - *555 + - *553 required: - code_of_conduct - code_of_conduct_file @@ -80056,8 +80083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *430 - - *431 + - *428 + - *429 - *19 - *17 - name: basehead @@ -80105,8 +80132,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *545 - merge_base_commit: *545 + base_commit: *543 + merge_base_commit: *543 status: type: string enum: @@ -80130,10 +80157,10 @@ paths: - 6 commits: type: array - items: *545 + items: *543 files: type: array - items: *556 + items: *554 required: - url - html_url @@ -80419,8 +80446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *430 - - *431 + - *428 + - *429 - name: path description: path parameter in: path @@ -80573,7 +80600,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &557 + response-if-content-is-a-file: &555 summary: Response if content is a file value: type: file @@ -80710,7 +80737,7 @@ paths: - size - type - url - - &667 + - &665 title: Content File description: Content File type: object @@ -80928,7 +80955,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *557 + response-if-content-is-a-file: *555 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80997,7 +81024,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *558 + '302': *556 '304': *35 x-github: githubCloudOnly: false @@ -81020,8 +81047,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 + - *428 + - *429 - name: path description: path parameter in: path @@ -81116,7 +81143,7 @@ paths: description: Response content: application/json: - schema: &559 + schema: &557 title: File Commit description: File Commit type: object @@ -81272,7 +81299,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *557 examples: example-for-creating-a-file: value: @@ -81326,7 +81353,7 @@ paths: schema: oneOf: - *3 - - &598 + - &596 description: Repository rule violation was detected type: object properties: @@ -81347,7 +81374,7 @@ paths: items: type: object properties: - placeholder_id: &708 + placeholder_id: &706 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -81379,8 +81406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *430 - - *431 + - *428 + - *429 - name: path description: path parameter in: path @@ -81441,7 +81468,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *557 examples: default: value: @@ -81496,8 +81523,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *430 - - *431 + - *428 + - *429 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -81621,8 +81648,8 @@ 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 + - *428 + - *429 - *294 - *295 - *296 @@ -81634,18 +81661,10 @@ paths: schema: type: string - *298 - - *560 + - *558 - *299 - *300 - *99 - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - 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 +81675,6 @@ paths: default: 30 - *97 - *98 - - *301 - - *302 responses: '200': description: Response @@ -81665,7 +81682,7 @@ paths: application/json: schema: type: array - items: &563 + items: &561 type: object description: A Dependabot alert. properties: @@ -81715,7 +81732,7 @@ paths: - direct - transitive - - security_advisory: *561 + security_advisory: *559 security_vulnerability: *113 url: *114 html_url: *115 @@ -81746,7 +81763,7 @@ paths: dismissal. maxLength: 280 fixed_at: *119 - auto_dismissed_at: *562 + auto_dismissed_at: *560 required: - number - state @@ -81976,9 +81993,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 + - *428 + - *429 + - &562 name: alert_number in: path description: |- @@ -81993,7 +82010,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *561 examples: default: value: @@ -82106,9 +82123,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 + - *428 + - *429 + - *562 requestBody: required: true content: @@ -82153,7 +82170,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *561 examples: default: value: @@ -82282,8 +82299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *430 - - *431 + - *428 + - *429 - *17 - *19 responses: @@ -82301,7 +82318,7 @@ paths: type: integer secrets: type: array - items: &567 + items: &565 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82355,16 +82372,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 + - *428 + - *429 responses: '200': description: Response content: application/json: - schema: *565 + schema: *563 examples: - default: *566 + default: *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82384,15 +82401,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *430 - - *431 + - *428 + - *429 - *256 responses: '200': description: Response content: application/json: - schema: *567 + schema: *565 examples: default: value: @@ -82418,8 +82435,8 @@ 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 + - *428 + - *429 - *256 requestBody: required: true @@ -82472,8 +82489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *430 - - *431 + - *428 + - *429 - *256 responses: '204': @@ -82496,8 +82513,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 + - *428 + - *429 - 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 +82688,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 + - *428 + - *429 responses: '200': description: Response @@ -82932,8 +82949,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 + - *428 + - *429 requestBody: required: true content: @@ -83016,7 +83033,7 @@ paths: - version - url additionalProperties: false - metadata: &568 + metadata: &566 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83055,7 +83072,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *568 + metadata: *566 resolved: type: object description: A collection of resolved package dependencies. @@ -83069,7 +83086,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *568 + metadata: *566 relationship: type: string description: A notation of whether a dependency is requested @@ -83202,8 +83219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *430 - - *431 + - *428 + - *429 - name: sha description: The SHA recorded at creation time. in: query @@ -83244,9 +83261,9 @@ paths: application/json: schema: type: array - items: *569 + items: *567 examples: - default: *570 + default: *568 headers: Link: *41 x-github: @@ -83312,8 +83329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: true content: @@ -83395,7 +83412,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *567 examples: simple-example: summary: Simple example @@ -83468,9 +83485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *430 - - *431 - - &571 + - *428 + - *429 + - &569 name: deployment_id description: deployment_id parameter in: path @@ -83482,7 +83499,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *567 examples: default: value: @@ -83547,9 +83564,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *430 - - *431 - - *571 + - *428 + - *429 + - *569 responses: '204': description: Response @@ -83571,9 +83588,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *430 - - *431 - - *571 + - *428 + - *429 + - *569 - *17 - *19 responses: @@ -83583,7 +83600,7 @@ paths: application/json: schema: type: array - items: &572 + items: &570 title: Deployment Status description: The status of a deployment. type: object @@ -83747,9 +83764,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 + - *428 + - *429 + - *569 requestBody: required: true content: @@ -83824,9 +83841,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *570 examples: - default: &573 + default: &571 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -83882,9 +83899,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 + - *428 + - *429 + - *569 - name: status_id in: path required: true @@ -83895,9 +83912,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *570 examples: - default: *573 + default: *571 '404': *6 x-github: githubCloudOnly: false @@ -83924,12 +83941,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *428 + - *429 + - *572 + - *573 - *574 - *575 - - *576 - - *577 - *17 - *19 responses: @@ -83939,9 +83956,9 @@ paths: application/json: schema: type: array - items: *578 + items: *576 examples: - default: *579 + default: *577 '404': *6 '403': *27 '500': *38 @@ -83965,8 +83982,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *428 + - *429 - name: alert_number in: path required: true @@ -83978,7 +83995,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *578 + schema: *576 examples: default: value: @@ -84034,8 +84051,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *428 + - *429 - name: alert_number in: path required: true @@ -84094,12 +84111,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *428 + - *429 - *92 - *93 - *94 - - *580 + - *578 - *17 - *19 responses: @@ -84109,9 +84126,9 @@ paths: application/json: schema: type: array - items: *581 + items: *579 examples: - default: *582 + default: *580 '404': *6 '403': *27 '500': *38 @@ -84136,8 +84153,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *428 + - *429 - name: alert_number in: path required: true @@ -84149,7 +84166,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *581 + schema: *579 examples: default: value: @@ -84207,8 +84224,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *428 + - *429 - name: alert_number in: path required: true @@ -84277,8 +84294,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 + - *428 + - *429 requestBody: required: true content: @@ -84335,8 +84352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *430 - - *431 + - *428 + - *429 - *17 - *19 responses: @@ -84354,7 +84371,7 @@ paths: - 5 environments: type: array - items: &584 + items: &582 title: Environment description: Details of a deployment environment type: object @@ -84416,7 +84433,7 @@ paths: type: string examples: - wait_timer - wait_timer: &586 + wait_timer: &584 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -84458,7 +84475,7 @@ paths: items: type: object properties: - type: *583 + type: *581 reviewer: anyOf: - *4 @@ -84485,7 +84502,7 @@ paths: - id - node_id - type - deployment_branch_policy: &587 + deployment_branch_policy: &585 type: - object - 'null' @@ -84602,9 +84619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *430 - - *431 - - &585 + - *428 + - *429 + - &583 name: environment_name in: path required: true @@ -84617,9 +84634,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *582 examples: - default: &588 + default: &586 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -84703,9 +84720,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 + - *428 + - *429 + - *583 requestBody: required: false content: @@ -84715,7 +84732,7 @@ paths: - object - 'null' properties: - wait_timer: *586 + wait_timer: *584 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -84734,14 +84751,14 @@ paths: items: type: object properties: - type: *583 + type: *581 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: *585 additionalProperties: false examples: default: @@ -84761,9 +84778,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *582 examples: - default: *588 + default: *586 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -84787,9 +84804,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *430 - - *431 - - *585 + - *428 + - *429 + - *583 responses: '204': description: Default response @@ -84814,9 +84831,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 + - *428 + - *429 + - *583 - *17 - *19 responses: @@ -84835,7 +84852,7 @@ paths: - 2 branch_policies: type: array - items: &589 + items: &587 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -84896,9 +84913,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 + - *428 + - *429 + - *583 requestBody: required: true content: @@ -84946,9 +84963,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *587 examples: - example-wildcard: &590 + example-wildcard: &588 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -84990,10 +85007,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 + - *428 + - *429 + - *583 + - &589 name: branch_policy_id in: path required: true @@ -85005,9 +85022,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *587 examples: - default: *590 + default: *588 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85026,10 +85043,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 + - *428 + - *429 + - *583 + - *589 requestBody: required: true content: @@ -85058,9 +85075,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *587 examples: - default: *590 + default: *588 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85079,10 +85096,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 + - *428 + - *429 + - *583 + - *589 responses: '204': description: Response @@ -85107,9 +85124,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 + - *583 + - *429 + - *428 responses: '200': description: List of deployment protection rules @@ -85126,7 +85143,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &592 + items: &590 title: Deployment protection rule description: Deployment protection rule type: object @@ -85148,7 +85165,7 @@ paths: for the environment. examples: - true - app: &593 + app: &591 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -85251,9 +85268,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 + - *583 + - *429 + - *428 requestBody: content: application/json: @@ -85274,9 +85291,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *592 + schema: *590 examples: - default: &594 + default: &592 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -85311,9 +85328,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 + - *583 + - *429 + - *428 - *19 - *17 responses: @@ -85333,7 +85350,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *593 + items: *591 examples: default: value: @@ -85368,10 +85385,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 + - *428 + - *429 + - *583 + - &593 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -85383,9 +85400,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *590 examples: - default: *594 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85406,10 +85423,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 + - *583 + - *429 + - *428 + - *593 responses: '204': description: Response @@ -85435,9 +85452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *430 - - *431 - - *585 + - *428 + - *429 + - *583 - *17 - *19 responses: @@ -85455,9 +85472,9 @@ paths: type: integer secrets: type: array - items: *467 + items: *465 examples: - default: *468 + default: *466 headers: Link: *41 x-github: @@ -85482,17 +85499,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 + - *428 + - *429 + - *583 responses: '200': description: Response content: application/json: - schema: *469 + schema: *467 examples: - default: *470 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85514,18 +85531,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 + - *428 + - *429 + - *583 - *256 responses: '200': description: Response content: application/json: - schema: *467 + schema: *465 examples: - default: *596 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85547,9 +85564,9 @@ 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 + - *428 + - *429 + - *583 - *256 requestBody: required: true @@ -85607,9 +85624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *430 - - *431 - - *585 + - *428 + - *429 + - *583 - *256 responses: '204': @@ -85635,10 +85652,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 + - *428 + - *429 + - *583 + - *452 - *19 responses: '200': @@ -85655,9 +85672,9 @@ paths: type: integer variables: type: array - items: *471 + items: *469 examples: - default: *472 + default: *470 headers: Link: *41 x-github: @@ -85680,9 +85697,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 + - *428 + - *429 + - *583 requestBody: required: true content: @@ -85734,18 +85751,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 + - *428 + - *429 + - *583 - *259 responses: '200': description: Response content: application/json: - schema: *471 + schema: *469 examples: - default: *597 + default: *595 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85766,10 +85783,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *430 - - *431 + - *428 + - *429 - *259 - - *585 + - *583 requestBody: required: true content: @@ -85811,10 +85828,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *430 - - *431 + - *428 + - *429 - *259 - - *585 + - *583 responses: '204': description: Response @@ -85836,8 +85853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *430 - - *431 + - *428 + - *429 - *17 - *19 responses: @@ -85905,8 +85922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *430 - - *431 + - *428 + - *429 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -86065,8 +86082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: false content: @@ -86099,9 +86116,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *441 examples: - default: *445 + default: *443 '400': *14 '422': *15 '403': *27 @@ -86122,8 +86139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: true content: @@ -86183,7 +86200,7 @@ paths: schema: oneOf: - *223 - - *598 + - *596 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86208,8 +86225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *430 - - *431 + - *428 + - *429 - name: file_sha in: path required: true @@ -86309,8 +86326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: true content: @@ -86419,7 +86436,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &597 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -86646,15 +86663,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 + - *428 + - *429 + - *544 responses: '200': description: Response content: application/json: - schema: *599 + schema: *597 examples: default: value: @@ -86710,9 +86727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *430 - - *431 - - &600 + - *428 + - *429 + - &598 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 +86746,7 @@ paths: application/json: schema: type: array - items: &601 + items: &599 title: Git Reference description: Git references within a repository type: object @@ -86805,17 +86822,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *430 - - *431 - - *600 + - *428 + - *429 + - *598 responses: '200': description: Response content: application/json: - schema: *601 + schema: *599 examples: - default: &602 + default: &600 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -86844,8 +86861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: true content: @@ -86874,9 +86891,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *599 examples: - default: *602 + default: *600 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -86902,9 +86919,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *430 - - *431 - - *600 + - *428 + - *429 + - *598 requestBody: required: true content: @@ -86933,9 +86950,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *599 examples: - default: *602 + default: *600 '422': *15 '409': *107 x-github: @@ -86953,9 +86970,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *430 - - *431 - - *600 + - *428 + - *429 + - *598 responses: '204': description: Response @@ -87010,8 +87027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: true content: @@ -87078,7 +87095,7 @@ paths: description: Response content: application/json: - schema: &604 + schema: &602 title: Git Tag description: Metadata for a Git tag type: object @@ -87134,7 +87151,7 @@ paths: - sha - type - url - verification: *603 + verification: *601 required: - sha - url @@ -87144,7 +87161,7 @@ paths: - tag - message examples: - default: &605 + default: &603 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -87217,8 +87234,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *430 - - *431 + - *428 + - *429 - name: tag_sha in: path required: true @@ -87229,9 +87246,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *602 examples: - default: *605 + default: *603 '404': *6 '409': *107 x-github: @@ -87255,8 +87272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: true content: @@ -87330,7 +87347,7 @@ paths: description: Response content: application/json: - schema: &606 + schema: &604 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -87432,8 +87449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *430 - - *431 + - *428 + - *429 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -87456,7 +87473,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *604 examples: default-response: summary: Default response @@ -87515,8 +87532,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *430 - - *431 + - *428 + - *429 - *17 - *19 responses: @@ -87526,7 +87543,7 @@ paths: application/json: schema: type: array - items: &607 + items: &605 title: Webhook description: Webhooks for repositories. type: object @@ -87589,7 +87606,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &849 + last_response: &847 title: Hook Response type: object properties: @@ -87666,8 +87683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: false content: @@ -87720,9 +87737,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *605 examples: - default: &608 + default: &606 value: type: Repository id: 12345678 @@ -87770,17 +87787,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 + - *428 + - *429 + - *306 responses: '200': description: Response content: application/json: - schema: *607 + schema: *605 examples: - default: *608 + default: *606 '404': *6 x-github: githubCloudOnly: false @@ -87800,9 +87817,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 + - *428 + - *429 + - *306 requestBody: required: true content: @@ -87847,9 +87864,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *605 examples: - default: *608 + default: *606 '422': *15 '404': *6 x-github: @@ -87870,9 +87887,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 + - *428 + - *429 + - *306 responses: '204': description: Response @@ -87896,9 +87913,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 + - *428 + - *429 + - *306 responses: '200': description: Response @@ -87925,9 +87942,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 + - *428 + - *429 + - *306 requestBody: required: false content: @@ -87971,11 +87988,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 + - *428 + - *429 + - *306 - *17 - - *309 + - *307 responses: '200': description: Response @@ -87983,9 +88000,9 @@ paths: application/json: schema: type: array - items: *310 + items: *308 examples: - default: *311 + default: *309 '400': *14 '422': *15 x-github: @@ -88004,18 +88021,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 + - *428 + - *429 + - *306 - *16 responses: '200': description: Response content: application/json: - schema: *312 + schema: *310 examples: - default: *313 + default: *311 '400': *14 '422': *15 x-github: @@ -88034,9 +88051,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 + - *428 + - *429 + - *306 - *16 responses: '202': *37 @@ -88059,9 +88076,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 + - *428 + - *429 + - *306 responses: '204': description: Response @@ -88086,9 +88103,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 + - *428 + - *429 + - *306 responses: '204': description: Response @@ -88111,8 +88128,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 + - *428 + - *429 responses: '200': description: Response if immutable releases are enabled @@ -88160,8 +88177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *430 - - *431 + - *428 + - *429 responses: '204': *129 '409': *107 @@ -88181,8 +88198,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *430 - - *431 + - *428 + - *429 responses: '204': *129 '409': *107 @@ -88239,14 +88256,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 + - *428 + - *429 responses: '200': description: Response content: application/json: - schema: &609 + schema: &607 title: Import description: A repository import from an external source. type: object @@ -88353,7 +88370,7 @@ paths: - html_url - authors_url examples: - default: &612 + default: &610 value: vcs: subversion use_lfs: true @@ -88369,7 +88386,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': &608 description: Unavailable due to service under maintenance. content: application/json: @@ -88398,8 +88415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: true content: @@ -88447,7 +88464,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *607 examples: default: value: @@ -88472,7 +88489,7 @@ paths: type: string '422': *15 '404': *6 - '503': *610 + '503': *608 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88500,8 +88517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: false content: @@ -88553,7 +88570,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *607 examples: example-1: summary: Example 1 @@ -88601,7 +88618,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': *608 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88624,12 +88641,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *430 - - *431 + - *428 + - *429 responses: '204': description: Response - '503': *610 + '503': *608 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88655,9 +88672,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 + - *428 + - *429 + - &791 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -88671,7 +88688,7 @@ paths: application/json: schema: type: array - items: &611 + items: &609 title: Porter Author description: Porter Author type: object @@ -88725,7 +88742,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': *608 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88750,8 +88767,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 + - *428 + - *429 - name: author_id in: path required: true @@ -88781,7 +88798,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *609 examples: default: value: @@ -88794,7 +88811,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *610 + '503': *608 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88818,8 +88835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *430 - - *431 + - *428 + - *429 responses: '200': description: Response @@ -88860,7 +88877,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *610 + '503': *608 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88888,8 +88905,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 + - *428 + - *429 requestBody: required: true content: @@ -88916,11 +88933,11 @@ paths: description: Response content: application/json: - schema: *609 + schema: *607 examples: - default: *612 + default: *610 '422': *15 - '503': *610 + '503': *608 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88943,8 +88960,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 + - *428 + - *429 responses: '200': description: Response @@ -88952,8 +88969,8 @@ paths: application/json: schema: *20 examples: - default: *613 - '301': *444 + default: *611 + '301': *442 '404': *6 x-github: githubCloudOnly: false @@ -88973,8 +88990,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 + - *428 + - *429 responses: '200': description: Response @@ -88982,12 +88999,12 @@ paths: application/json: schema: anyOf: - - *326 + - *324 - type: object properties: {} additionalProperties: false examples: - default: &615 + default: &613 value: limit: collaborators_only origin: repository @@ -89012,13 +89029,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 + - *428 + - *429 requestBody: required: true content: application/json: - schema: *614 + schema: *612 examples: default: summary: Example request body @@ -89030,9 +89047,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *324 examples: - default: *615 + default: *613 '409': description: Response x-github: @@ -89054,8 +89071,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 + - *428 + - *429 responses: '204': description: Response @@ -89078,8 +89095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *430 - - *431 + - *428 + - *429 - *17 - *19 responses: @@ -89089,9 +89106,9 @@ paths: application/json: schema: type: array - items: *616 + items: *614 examples: - default: &786 + default: &784 value: - id: 1 repository: @@ -89222,9 +89239,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 + - *428 + - *429 + - *328 requestBody: required: false content: @@ -89253,7 +89270,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *614 examples: default: value: @@ -89384,9 +89401,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 + - *428 + - *429 + - *328 responses: '204': description: Response @@ -89417,8 +89434,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *430 - - *431 + - *428 + - *429 - 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 +89483,7 @@ paths: required: false schema: type: string - - *334 + - *332 - name: sort description: What to sort results by. in: query @@ -89491,7 +89508,7 @@ paths: type: array items: *183 examples: - default: &623 + default: &621 value: - id: 1 node_id: MDU6SXNzdWUx @@ -89639,7 +89656,7 @@ paths: state_reason: completed headers: Link: *41 - '301': *444 + '301': *442 '422': *15 '404': *6 x-github: @@ -89668,8 +89685,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: true content: @@ -89761,7 +89778,7 @@ paths: application/json: schema: *183 examples: - default: &620 + default: &618 value: id: 1 node_id: MDU6SXNzdWUx @@ -89917,7 +89934,7 @@ paths: '422': *15 '503': *163 '404': *6 - '410': *441 + '410': *439 x-github: triggersNotification: true githubCloudOnly: false @@ -89945,8 +89962,8 @@ 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 + - *428 + - *429 - *206 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -89967,9 +89984,9 @@ paths: application/json: schema: type: array - items: *617 + items: *615 examples: - default: &622 + default: &620 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90027,17 +90044,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *430 - - *431 + - *428 + - *429 - *198 responses: '200': description: Response content: application/json: - schema: *617 + schema: *615 examples: - default: &618 + default: &616 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90091,8 +90108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *430 - - *431 + - *428 + - *429 - *198 requestBody: required: true @@ -90115,9 +90132,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *615 examples: - default: *618 + default: *616 '422': *15 x-github: githubCloudOnly: false @@ -90135,8 +90152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *430 - - *431 + - *428 + - *429 - *198 responses: '204': @@ -90157,8 +90174,8 @@ 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 + - *428 + - *429 - *198 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -90185,9 +90202,9 @@ paths: application/json: schema: type: array - items: *419 + items: *417 examples: - default: *421 + default: *419 headers: Link: *41 '404': *6 @@ -90208,8 +90225,8 @@ 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 + - *428 + - *429 - *198 requestBody: required: true @@ -90242,16 +90259,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *417 examples: - default: *420 + default: *418 '201': description: Reaction created content: application/json: - schema: *419 + schema: *417 examples: - default: *420 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -90273,10 +90290,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 + - *428 + - *429 - *198 - - *422 + - *420 responses: '204': description: Response @@ -90296,8 +90313,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 + - *428 + - *429 - *17 - *19 responses: @@ -90307,7 +90324,7 @@ paths: application/json: schema: type: array - items: &619 + items: &617 title: Issue Event description: Issue Event type: object @@ -90646,8 +90663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *430 - - *431 + - *428 + - *429 - name: event_id in: path required: true @@ -90658,7 +90675,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *617 examples: default: value: @@ -90851,7 +90868,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *441 + '410': *439 '403': *27 x-github: githubCloudOnly: false @@ -90885,9 +90902,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *430 - - *431 - - &621 + - *428 + - *429 + - &619 name: issue_number description: The number that identifies the issue. in: path @@ -90901,10 +90918,10 @@ paths: application/json: schema: *183 examples: - default: *620 - '301': *444 + default: *618 + '301': *442 '404': *6 - '410': *441 + '410': *439 '304': *35 x-github: githubCloudOnly: false @@ -90929,9 +90946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *430 - - *431 - - *621 + - *428 + - *429 + - *619 requestBody: required: false content: @@ -91052,13 +91069,13 @@ paths: application/json: schema: *183 examples: - default: *620 + default: *618 '422': *15 '503': *163 '403': *27 - '301': *444 + '301': *442 '404': *6 - '410': *441 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91076,9 +91093,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 + - *428 + - *429 + - *619 requestBody: required: false content: @@ -91106,7 +91123,7 @@ paths: application/json: schema: *183 examples: - default: *620 + default: *618 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91122,9 +91139,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 + - *428 + - *429 + - *619 requestBody: content: application/json: @@ -91151,7 +91168,7 @@ paths: application/json: schema: *183 examples: - default: *620 + default: *618 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91173,9 +91190,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 + - *428 + - *429 + - *619 - name: assignee in: path required: true @@ -91215,9 +91232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *430 - - *431 - - *621 + - *428 + - *429 + - *619 - *189 - *17 - *19 @@ -91228,13 +91245,13 @@ paths: application/json: schema: type: array - items: *617 + items: *615 examples: - default: *622 + default: *620 headers: Link: *41 '404': *6 - '410': *441 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91263,9 +91280,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 + - *428 + - *429 + - *619 requestBody: required: true content: @@ -91287,16 +91304,16 @@ paths: description: Response content: application/json: - schema: *617 + schema: *615 examples: - default: *618 + default: *616 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *441 + '410': *439 '422': *15 '404': *6 x-github: @@ -91324,9 +91341,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 + - *428 + - *429 + - *619 - *17 - *19 responses: @@ -91338,12 +91355,12 @@ paths: type: array items: *183 examples: - default: *623 + default: *621 headers: Link: *41 - '301': *444 + '301': *442 '404': *6 - '410': *441 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91371,9 +91388,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 + - *428 + - *429 + - *619 requestBody: required: true content: @@ -91397,15 +91414,15 @@ paths: application/json: schema: *183 examples: - default: *620 + default: *618 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *444 + '301': *442 '403': *27 - '410': *441 + '410': *439 '422': *15 '404': *6 x-github: @@ -91436,9 +91453,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 + - *428 + - *429 + - *619 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -91452,13 +91469,13 @@ paths: application/json: schema: *183 examples: - default: *620 - '301': *444 + default: *618 + '301': *442 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *441 + '410': *439 x-github: triggersNotification: true githubCloudOnly: false @@ -91484,9 +91501,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 + - *428 + - *429 + - *619 - *17 - *19 responses: @@ -91498,12 +91515,12 @@ paths: type: array items: *183 examples: - default: *623 + default: *621 headers: Link: *41 - '301': *444 + '301': *442 '404': *6 - '410': *441 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91520,9 +91537,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *430 - - *431 - - *621 + - *428 + - *429 + - *619 - *17 - *19 responses: @@ -91536,7 +91553,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &625 + - &623 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -91585,7 +91602,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &626 + - &624 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -91713,7 +91730,7 @@ paths: - performed_via_github_app - assignee - assigner - - &627 + - &625 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -91759,7 +91776,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &628 + - &626 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -91805,7 +91822,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &629 + - &627 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -91854,7 +91871,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &630 + - &628 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -91896,7 +91913,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &631 + - &629 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -91938,7 +91955,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &632 + - &630 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -91994,7 +92011,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &633 + - &631 title: Locked Issue Event description: Locked Issue Event type: object @@ -92039,7 +92056,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &634 + - &632 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -92100,7 +92117,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &635 + - &633 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -92161,7 +92178,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &636 + - &634 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -92222,7 +92239,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &637 + - &635 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -92315,7 +92332,7 @@ paths: color: red headers: Link: *41 - '410': *441 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92332,9 +92349,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 + - *428 + - *429 + - *619 - *17 - *19 responses: @@ -92346,7 +92363,7 @@ paths: type: array items: *182 examples: - default: &624 + default: &622 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92364,9 +92381,9 @@ paths: default: false headers: Link: *41 - '301': *444 + '301': *442 '404': *6 - '410': *441 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92383,9 +92400,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 + - *428 + - *429 + - *619 requestBody: required: false content: @@ -92446,10 +92463,10 @@ paths: type: array items: *182 examples: - default: *624 - '301': *444 + default: *622 + '301': *442 '404': *6 - '410': *441 + '410': *439 '422': *15 x-github: githubCloudOnly: false @@ -92466,9 +92483,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 + - *428 + - *429 + - *619 requestBody: required: false content: @@ -92530,10 +92547,10 @@ paths: type: array items: *182 examples: - default: *624 - '301': *444 + default: *622 + '301': *442 '404': *6 - '410': *441 + '410': *439 '422': *15 x-github: githubCloudOnly: false @@ -92550,15 +92567,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 + - *428 + - *429 + - *619 responses: '204': description: Response - '301': *444 + '301': *442 '404': *6 - '410': *441 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92577,9 +92594,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 + - *428 + - *429 + - *619 - name: name in: path required: true @@ -92603,9 +92620,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *444 + '301': *442 '404': *6 - '410': *441 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92625,9 +92642,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *430 - - *431 - - *621 + - *428 + - *429 + - *619 requestBody: required: false content: @@ -92656,7 +92673,7 @@ paths: '204': description: Response '403': *27 - '410': *441 + '410': *439 '404': *6 '422': *15 x-github: @@ -92674,9 +92691,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *430 - - *431 - - *621 + - *428 + - *429 + - *619 responses: '204': description: Response @@ -92706,9 +92723,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *430 - - *431 - - *621 + - *428 + - *429 + - *619 responses: '200': description: Response @@ -92716,10 +92733,10 @@ paths: application/json: schema: *183 examples: - default: *620 - '301': *444 + default: *618 + '301': *442 '404': *6 - '410': *441 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92736,9 +92753,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 + - *428 + - *429 + - *619 - 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 +92781,13 @@ paths: application/json: schema: type: array - items: *419 + items: *417 examples: - default: *421 + default: *419 headers: Link: *41 '404': *6 - '410': *441 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92788,9 +92805,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 + - *428 + - *429 + - *619 requestBody: required: true content: @@ -92822,16 +92839,16 @@ paths: description: Response content: application/json: - schema: *419 + schema: *417 examples: - default: *420 + default: *418 '201': description: Response content: application/json: - schema: *419 + schema: *417 examples: - default: *420 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -92853,10 +92870,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 + - *428 + - *429 + - *619 + - *420 responses: '204': description: Response @@ -92885,9 +92902,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 + - *428 + - *429 + - *619 requestBody: required: true content: @@ -92911,7 +92928,7 @@ paths: application/json: schema: *183 examples: - default: *620 + default: *618 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -92944,9 +92961,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 + - *428 + - *429 + - *619 - *17 - *19 responses: @@ -92958,11 +92975,11 @@ paths: type: array items: *183 examples: - default: *623 + default: *621 headers: Link: *41 '404': *6 - '410': *441 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92990,9 +93007,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 + - *428 + - *429 + - *619 requestBody: required: true content: @@ -93021,14 +93038,14 @@ paths: application/json: schema: *183 examples: - default: *620 + default: *618 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *441 + '410': *439 '422': *15 '404': *6 x-github: @@ -93048,9 +93065,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 + - *428 + - *429 + - *619 requestBody: required: true content: @@ -93083,7 +93100,7 @@ paths: application/json: schema: *183 examples: - default: *620 + default: *618 '403': *27 '404': *6 '422': *7 @@ -93105,9 +93122,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 + - *428 + - *429 + - *619 - *17 - *19 responses: @@ -93122,6 +93139,8 @@ paths: description: Timeline Event type: object anyOf: + - *623 + - *624 - *625 - *626 - *627 @@ -93133,8 +93152,6 @@ paths: - *633 - *634 - *635 - - *636 - - *637 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -93463,7 +93480,7 @@ paths: type: string comments: type: array - items: &656 + items: &654 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -93701,7 +93718,7 @@ paths: type: string comments: type: array - items: *544 + items: *542 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -93976,7 +93993,7 @@ paths: headers: Link: *41 '404': *6 - '410': *441 + '410': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93993,8 +94010,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 + - *428 + - *429 - *17 - *19 responses: @@ -94004,7 +94021,7 @@ paths: application/json: schema: type: array - items: &638 + items: &636 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -94072,8 +94089,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 + - *428 + - *429 requestBody: required: true content: @@ -94109,9 +94126,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *636 examples: - default: &639 + default: &637 value: id: 1 key: ssh-rsa AAA... @@ -94145,9 +94162,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 + - *428 + - *429 + - &638 name: key_id description: The unique identifier of the key. in: path @@ -94159,9 +94176,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *636 examples: - default: *639 + default: *637 '404': *6 x-github: githubCloudOnly: false @@ -94179,9 +94196,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 + - *428 + - *429 + - *638 responses: '204': description: Response @@ -94201,8 +94218,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 + - *428 + - *429 - *17 - *19 responses: @@ -94214,7 +94231,7 @@ paths: type: array items: *182 examples: - default: *624 + default: *622 headers: Link: *41 '404': *6 @@ -94235,8 +94252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: true content: @@ -94274,7 +94291,7 @@ paths: application/json: schema: *182 examples: - default: &641 + default: &639 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94306,8 +94323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *430 - - *431 + - *428 + - *429 - name: name in: path required: true @@ -94320,7 +94337,7 @@ paths: application/json: schema: *182 examples: - default: *641 + default: *639 '404': *6 x-github: githubCloudOnly: false @@ -94337,8 +94354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *430 - - *431 + - *428 + - *429 - name: name in: path required: true @@ -94403,8 +94420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *430 - - *431 + - *428 + - *429 - name: name in: path required: true @@ -94430,8 +94447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *430 - - *431 + - *428 + - *429 responses: '200': description: Response @@ -94467,8 +94484,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 + - *428 + - *429 responses: '202': *37 '403': @@ -94496,8 +94513,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 + - *428 + - *429 responses: '204': description: Response @@ -94523,9 +94540,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 + - *428 + - *429 + - *520 responses: '200': description: Response @@ -94672,8 +94689,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 + - *428 + - *429 requestBody: required: true content: @@ -94738,8 +94755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: true content: @@ -94773,9 +94790,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *545 + schema: *543 examples: - default: *642 + default: *640 '204': description: Response when already merged '404': @@ -94800,8 +94817,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *430 - - *431 + - *428 + - *429 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -94842,7 +94859,7 @@ paths: application/json: schema: type: array - items: *368 + items: *366 examples: default: value: @@ -94898,8 +94915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: true content: @@ -94939,9 +94956,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *366 examples: - default: &643 + default: &641 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 +95017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *430 - - *431 - - &644 + - *428 + - *429 + - &642 name: milestone_number description: The number that identifies the milestone. in: path @@ -95014,9 +95031,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *366 examples: - default: *643 + default: *641 '404': *6 x-github: githubCloudOnly: false @@ -95033,9 +95050,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *430 - - *431 - - *644 + - *428 + - *429 + - *642 requestBody: required: false content: @@ -95073,9 +95090,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *366 examples: - default: *643 + default: *641 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95091,9 +95108,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *430 - - *431 - - *644 + - *428 + - *429 + - *642 responses: '204': description: Response @@ -95114,9 +95131,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 + - *428 + - *429 + - *642 - *17 - *19 responses: @@ -95128,7 +95145,7 @@ paths: type: array items: *182 examples: - default: *624 + default: *622 headers: Link: *41 x-github: @@ -95147,12 +95164,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 + - *428 + - *429 + - *643 + - *644 - *189 - - *647 + - *645 - *17 - *19 responses: @@ -95164,7 +95181,7 @@ paths: type: array items: *209 examples: - default: *648 + default: *646 headers: Link: *41 x-github: @@ -95188,8 +95205,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 + - *428 + - *429 requestBody: required: false content: @@ -95247,14 +95264,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 + - *428 + - *429 responses: '200': description: Response content: application/json: - schema: &649 + schema: &647 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -95398,7 +95415,7 @@ paths: - custom_404 - public examples: - default: &650 + default: &648 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -95439,8 +95456,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 + - *428 + - *429 requestBody: required: true content: @@ -95495,9 +95512,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *647 examples: - default: *650 + default: *648 '422': *15 '409': *107 x-github: @@ -95520,8 +95537,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 + - *428 + - *429 requestBody: required: true content: @@ -95629,8 +95646,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 + - *428 + - *429 responses: '204': description: Response @@ -95656,8 +95673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *430 - - *431 + - *428 + - *429 - *17 - *19 responses: @@ -95667,7 +95684,7 @@ paths: application/json: schema: type: array - items: &651 + items: &649 title: Page Build description: Page Build type: object @@ -95759,8 +95776,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 + - *428 + - *429 responses: '201': description: Response @@ -95807,16 +95824,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *430 - - *431 + - *428 + - *429 responses: '200': description: Response content: application/json: - schema: *651 + schema: *649 examples: - default: &652 + default: &650 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -95864,8 +95881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *430 - - *431 + - *428 + - *429 - name: build_id in: path required: true @@ -95876,9 +95893,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *649 examples: - default: *652 + default: *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95898,8 +95915,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 + - *428 + - *429 requestBody: required: true content: @@ -96007,9 +96024,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 + - *428 + - *429 + - &651 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -96067,9 +96084,9 @@ 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 + - *428 + - *429 + - *651 responses: '204': *129 '404': *6 @@ -96096,8 +96113,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 + - *428 + - *429 responses: '200': description: Response @@ -96392,8 +96409,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 + - *428 + - *429 responses: '200': description: Private vulnerability reporting status @@ -96430,8 +96447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *430 - - *431 + - *428 + - *429 responses: '204': *129 '422': *14 @@ -96452,8 +96469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *430 - - *431 + - *428 + - *429 responses: '204': *129 '422': *14 @@ -96476,8 +96493,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *430 - - *431 + - *428 + - *429 - name: state description: Indicates the state of the projects to return. in: query @@ -96498,7 +96515,7 @@ paths: application/json: schema: type: array - items: *362 + items: *360 examples: default: value: @@ -96538,7 +96555,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *441 + '410': *439 '422': *7 x-github: githubCloudOnly: false @@ -96561,8 +96578,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 + - *428 + - *429 requestBody: required: true content: @@ -96588,13 +96605,13 @@ paths: description: Response content: application/json: - schema: *362 + schema: *360 examples: - default: *440 + default: *438 '401': *23 '403': *27 '404': *6 - '410': *441 + '410': *439 '422': *7 x-github: githubCloudOnly: false @@ -96617,8 +96634,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 + - *428 + - *429 responses: '200': description: Response @@ -96626,7 +96643,7 @@ paths: application/json: schema: type: array - items: *376 + items: *374 examples: default: value: @@ -96657,8 +96674,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 + - *428 + - *429 requestBody: required: true content: @@ -96670,7 +96687,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *376 + items: *374 required: - properties examples: @@ -96720,8 +96737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *430 - - *431 + - *428 + - *429 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -96781,9 +96798,9 @@ paths: application/json: schema: type: array - items: *549 + items: *547 examples: - default: *654 + default: *652 headers: Link: *41 '304': *35 @@ -96815,8 +96832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: true content: @@ -96883,7 +96900,7 @@ paths: description: Response content: application/json: - schema: &658 + schema: &656 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -97012,7 +97029,7 @@ paths: milestone: anyOf: - type: 'null' - - *368 + - *366 active_lock_reason: type: - string @@ -97067,7 +97084,7 @@ paths: type: - array - 'null' - items: *344 + items: *342 head: type: object properties: @@ -97105,14 +97122,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: *367 + commits: *367 + statuses: *367 + html: *367 + issue: *367 + review_comments: *367 + review_comment: *367 + self: *367 required: - comments - commits @@ -97123,7 +97140,7 @@ paths: - review_comment - self author_association: *184 - auto_merge: *655 + auto_merge: *653 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -97225,7 +97242,7 @@ paths: - merged_by - review_comments examples: - default: &659 + default: &657 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -97752,8 +97769,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 + - *428 + - *429 - name: sort in: query required: false @@ -97782,9 +97799,9 @@ paths: application/json: schema: type: array - items: *656 + items: *654 examples: - default: &661 + default: &659 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97861,17 +97878,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 + - *428 + - *429 - *198 responses: '200': description: Response content: application/json: - schema: *656 + schema: *654 examples: - default: &657 + default: &655 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97946,8 +97963,8 @@ 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 + - *428 + - *429 - *198 requestBody: required: true @@ -97970,9 +97987,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *654 examples: - default: *657 + default: *655 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97988,8 +98005,8 @@ 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 + - *428 + - *429 - *198 responses: '204': @@ -98011,8 +98028,8 @@ 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 + - *428 + - *429 - *198 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -98039,9 +98056,9 @@ paths: application/json: schema: type: array - items: *419 + items: *417 examples: - default: *421 + default: *419 headers: Link: *41 '404': *6 @@ -98062,8 +98079,8 @@ 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 + - *428 + - *429 - *198 requestBody: required: true @@ -98096,16 +98113,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *417 examples: - default: *420 + default: *418 '201': description: Reaction created content: application/json: - schema: *419 + schema: *417 examples: - default: *420 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -98127,10 +98144,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 + - *428 + - *429 - *198 - - *422 + - *420 responses: '204': description: Response @@ -98173,9 +98190,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 + - *428 + - *429 + - &658 name: pull_number description: The number that identifies the pull request. in: path @@ -98188,9 +98205,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *658 + schema: *656 examples: - default: *659 + default: *657 '304': *35 '404': *6 '406': @@ -98225,9 +98242,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 + - *428 + - *429 + - *658 requestBody: required: false content: @@ -98269,9 +98286,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *656 examples: - default: *659 + default: *657 '422': *15 '403': *27 x-github: @@ -98293,9 +98310,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 + - *428 + - *429 + - *658 requestBody: required: true content: @@ -98356,17 +98373,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *334 examples: - default: *536 + default: *534 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *334 examples: - default: *536 + default: *534 '401': *23 '403': *27 '404': *6 @@ -98396,9 +98413,9 @@ 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 + - *428 + - *429 + - *658 - *206 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -98419,9 +98436,9 @@ paths: application/json: schema: type: array - items: *656 + items: *654 examples: - default: *661 + default: *659 headers: Link: *41 x-github: @@ -98454,9 +98471,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 + - *428 + - *429 + - *658 requestBody: required: true content: @@ -98562,7 +98579,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *654 examples: example-for-a-multi-line-comment: value: @@ -98650,9 +98667,9 @@ 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 + - *428 + - *429 + - *658 - *198 requestBody: required: true @@ -98675,7 +98692,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *654 examples: default: value: @@ -98761,9 +98778,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 + - *428 + - *429 + - *658 - *17 - *19 responses: @@ -98773,9 +98790,9 @@ paths: application/json: schema: type: array - items: *545 + items: *543 examples: - default: *662 + default: *660 headers: Link: *41 x-github: @@ -98805,9 +98822,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 + - *428 + - *429 + - *658 - *17 - *19 responses: @@ -98817,7 +98834,7 @@ paths: application/json: schema: type: array - items: *556 + items: *554 examples: default: value: @@ -98855,9 +98872,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 + - *428 + - *429 + - *658 responses: '204': description: Response if pull request has been merged @@ -98880,9 +98897,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 + - *428 + - *429 + - *658 requestBody: required: false content: @@ -98994,9 +99011,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 + - *428 + - *429 + - *658 responses: '200': description: Response @@ -99071,9 +99088,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 + - *428 + - *429 + - *658 requestBody: required: false content: @@ -99110,7 +99127,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *547 examples: default: value: @@ -99646,9 +99663,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 + - *428 + - *429 + - *658 requestBody: required: true content: @@ -99682,7 +99699,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *547 examples: default: value: @@ -100187,9 +100204,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 + - *428 + - *429 + - *658 - *17 - *19 responses: @@ -100199,7 +100216,7 @@ paths: application/json: schema: type: array - items: &663 + items: &661 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -100355,9 +100372,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 + - *428 + - *429 + - *658 requestBody: required: false content: @@ -100447,9 +100464,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *661 examples: - default: &665 + default: &663 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100512,10 +100529,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 + - *428 + - *429 + - *658 + - &662 name: review_id description: The unique identifier of the review. in: path @@ -100527,9 +100544,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *661 examples: - default: &666 + default: &664 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100588,10 +100605,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 + - *428 + - *429 + - *658 + - *662 requestBody: required: true content: @@ -100614,7 +100631,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *661 examples: default: value: @@ -100676,18 +100693,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 + - *428 + - *429 + - *658 + - *662 responses: '200': description: Response content: application/json: - schema: *663 + schema: *661 examples: - default: *665 + default: *663 '422': *7 '404': *6 x-github: @@ -100714,10 +100731,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 + - *428 + - *429 + - *658 + - *662 - *17 - *19 responses: @@ -100815,9 +100832,9 @@ paths: _links: type: object properties: - self: *369 - html: *369 - pull_request: *369 + self: *367 + html: *367 + pull_request: *367 required: - self - html @@ -100975,10 +100992,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 + - *428 + - *429 + - *658 + - *662 requestBody: required: true content: @@ -101007,7 +101024,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *661 examples: default: value: @@ -101070,10 +101087,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 + - *428 + - *429 + - *658 + - *662 requestBody: required: true content: @@ -101108,9 +101125,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *661 examples: - default: *666 + default: *664 '404': *6 '422': *7 '403': *27 @@ -101132,9 +101149,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 + - *428 + - *429 + - *658 requestBody: required: false content: @@ -101198,8 +101215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *430 - - *431 + - *428 + - *429 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -101212,9 +101229,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *665 examples: - default: &668 + default: &666 value: type: file encoding: base64 @@ -101256,8 +101273,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 + - *428 + - *429 - name: dir description: The alternate path to look for a README file in: path @@ -101277,9 +101294,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *665 examples: - default: *668 + default: *666 '404': *6 '422': *15 x-github: @@ -101301,8 +101318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *430 - - *431 + - *428 + - *429 - *17 - *19 responses: @@ -101312,7 +101329,7 @@ paths: application/json: schema: type: array - items: *669 + items: *667 examples: default: value: @@ -101406,8 +101423,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: true content: @@ -101483,9 +101500,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *667 examples: - default: &673 + default: &671 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 +101607,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 + - *428 + - *429 + - &669 name: asset_id description: The unique identifier of the asset. in: path @@ -101604,9 +101621,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *668 examples: - default: &672 + default: &670 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 +101658,7 @@ paths: type: User site_admin: false '404': *6 - '302': *558 + '302': *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101657,9 +101674,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 + - *428 + - *429 + - *669 requestBody: required: false content: @@ -101688,9 +101705,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *668 examples: - default: *672 + default: *670 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101706,9 +101723,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 + - *428 + - *429 + - *669 responses: '204': description: Response @@ -101732,8 +101749,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 + - *428 + - *429 requestBody: required: true content: @@ -101819,16 +101836,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *430 - - *431 + - *428 + - *429 responses: '200': description: Response content: application/json: - schema: *669 + schema: *667 examples: - default: *673 + default: *671 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101845,8 +101862,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 + - *428 + - *429 - name: tag description: tag parameter in: path @@ -101859,9 +101876,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *667 examples: - default: *673 + default: *671 '404': *6 x-github: githubCloudOnly: false @@ -101883,9 +101900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *430 - - *431 - - &674 + - *428 + - *429 + - &672 name: release_id description: The unique identifier of the release. in: path @@ -101899,9 +101916,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: *667 examples: - default: *673 + default: *671 '401': description: Unauthorized x-github: @@ -101919,9 +101936,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *430 - - *431 - - *674 + - *428 + - *429 + - *672 requestBody: required: false content: @@ -101985,9 +102002,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *667 examples: - default: *673 + default: *671 '404': description: Not Found if the discussion category name is invalid content: @@ -102008,9 +102025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *430 - - *431 - - *674 + - *428 + - *429 + - *672 responses: '204': description: Response @@ -102030,9 +102047,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *430 - - *431 - - *674 + - *428 + - *429 + - *672 - *17 - *19 responses: @@ -102042,7 +102059,7 @@ paths: application/json: schema: type: array - items: *670 + items: *668 examples: default: value: @@ -102124,9 +102141,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 + - *428 + - *429 + - *672 - name: name in: query required: true @@ -102152,7 +102169,7 @@ paths: description: Response for successful upload content: application/json: - schema: *670 + schema: *668 examples: response-for-successful-upload: value: @@ -102207,9 +102224,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 + - *428 + - *429 + - *672 - 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 +102250,9 @@ paths: application/json: schema: type: array - items: *419 + items: *417 examples: - default: *421 + default: *419 headers: Link: *41 '404': *6 @@ -102256,9 +102273,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 + - *428 + - *429 + - *672 requestBody: required: true content: @@ -102288,16 +102305,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *417 examples: - default: *420 + default: *418 '201': description: Reaction created content: application/json: - schema: *419 + schema: *417 examples: - default: *420 + default: *418 '422': *15 x-github: githubCloudOnly: false @@ -102319,10 +102336,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 + - *428 + - *429 + - *672 + - *420 responses: '204': description: Response @@ -102346,9 +102363,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 + - *428 + - *429 + - *487 - *17 - *19 responses: @@ -102365,7 +102382,7 @@ paths: oneOf: - allOf: - *138 - - &675 + - &673 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -102386,67 +102403,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *139 - - *675 + - *673 - allOf: - *140 - - *675 + - *673 - allOf: - *141 - - *675 + - *673 - allOf: - - *676 - - *675 + - *674 + - *673 - allOf: - *142 - - *675 + - *673 - allOf: - *143 - - *675 + - *673 - allOf: - *144 - - *675 + - *673 - allOf: - *145 - - *675 + - *673 - allOf: - *146 - - *675 + - *673 - allOf: - *147 - - *675 + - *673 - allOf: - *148 - - *675 + - *673 - allOf: - *149 - - *675 + - *673 - allOf: - *150 - - *675 + - *673 - allOf: - *151 - - *675 + - *673 - allOf: - *152 - - *675 + - *673 - allOf: - *153 - - *675 + - *673 - allOf: - *154 - - *675 + - *673 - allOf: - *155 - - *675 + - *673 - allOf: - *156 - - *675 + - *673 - allOf: - *157 - - *675 + - *673 - allOf: - - *677 - *675 + - *673 examples: default: value: @@ -102485,8 +102502,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *428 + - *429 - *17 - *19 - name: includes_parents @@ -102497,7 +102514,7 @@ paths: schema: type: boolean default: true - - *678 + - *676 responses: '200': description: Response @@ -102552,8 +102569,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *428 + - *429 requestBody: description: Request body required: true @@ -102582,7 +102599,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *679 + items: *677 required: - name - enforcement @@ -102615,7 +102632,7 @@ paths: application/json: schema: *158 examples: - default: &688 + default: &686 value: id: 42 name: super cool ruleset @@ -102662,12 +102679,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 + - *428 + - *429 + - *678 - *94 - - *681 - - *682 + - *679 + - *680 - *17 - *19 responses: @@ -102675,9 +102692,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *681 examples: - default: *684 + default: *682 '404': *6 '500': *38 x-github: @@ -102698,17 +102715,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 + - *428 + - *429 + - *683 responses: '200': description: Response content: application/json: - schema: *686 + schema: *684 examples: - default: *687 + default: *685 '404': *6 '500': *38 x-github: @@ -102736,8 +102753,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *428 + - *429 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102759,7 +102776,7 @@ paths: application/json: schema: *158 examples: - default: *688 + default: *686 '404': *6 '500': *38 put: @@ -102777,8 +102794,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *428 + - *429 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102812,7 +102829,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *679 + items: *677 examples: default: value: @@ -102842,7 +102859,7 @@ paths: application/json: schema: *158 examples: - default: *688 + default: *686 '404': *6 '500': *38 delete: @@ -102860,8 +102877,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *428 + - *429 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102884,8 +102901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *430 - - *431 + - *428 + - *429 - *17 - *19 - name: ruleset_id @@ -102903,7 +102920,7 @@ paths: type: array items: *162 examples: - default: *383 + default: *381 '404': *6 '500': *38 x-github: @@ -102922,8 +102939,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *430 - - *431 + - *428 + - *429 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102941,7 +102958,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *382 examples: default: value: @@ -102996,21 +103013,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 + - *428 + - *429 + - *383 + - *384 - *385 - *386 - - *387 - - *388 - *99 - *19 - *17 - - *689 - - *690 + - *687 + - *688 + - *387 + - *388 - *389 - *390 - - *391 - - *392 responses: '200': description: Response @@ -103018,7 +103035,7 @@ paths: application/json: schema: type: array - items: &694 + items: &692 type: object properties: number: *109 @@ -103034,8 +103051,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *691 - resolution: *692 + state: *689 + resolution: *690 resolved_at: type: - string @@ -103129,7 +103146,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *693 + - *691 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -103274,16 +103291,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 + - *428 + - *429 + - *514 + - *390 responses: '200': description: Response content: application/json: - schema: *694 + schema: *692 examples: default: value: @@ -103335,9 +103352,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 + - *428 + - *429 + - *514 requestBody: required: true content: @@ -103345,8 +103362,8 @@ paths: schema: type: object properties: - state: *691 - resolution: *692 + state: *689 + resolution: *690 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -103365,7 +103382,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *692 examples: default: value: @@ -103440,9 +103457,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 + - *428 + - *429 + - *514 - *19 - *17 responses: @@ -103453,7 +103470,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &869 + items: &867 type: object properties: type: @@ -103480,6 +103497,8 @@ paths: - commit details: oneOf: + - *693 + - *694 - *695 - *696 - *697 @@ -103491,8 +103510,6 @@ paths: - *703 - *704 - *705 - - *706 - - *707 examples: default: value: @@ -103578,8 +103595,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 + - *428 + - *429 requestBody: required: true content: @@ -103587,14 +103604,14 @@ paths: schema: type: object properties: - reason: &709 + reason: &707 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *708 + placeholder_id: *706 required: - reason - placeholder_id @@ -103611,7 +103628,7 @@ paths: schema: type: object properties: - reason: *709 + reason: *707 expire_at: type: - string @@ -103647,6 +103664,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,8 +103675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *430 - - *431 + - *428 + - *429 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -103671,7 +103691,7 @@ paths: properties: incremental_scans: type: array - items: &710 + items: &708 description: Information on a single scan performed by secret scanning on the repository type: object @@ -103699,15 +103719,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *710 + items: *708 backfill_scans: type: array - items: *710 + items: *708 custom_pattern_backfill_scans: type: array items: allOf: - - *710 + - *708 - type: object properties: pattern_name: @@ -103777,8 +103797,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 + - *428 + - *429 - *99 - name: sort description: The property to sort the results by. @@ -103822,9 +103842,9 @@ paths: application/json: schema: type: array - items: *711 + items: *709 examples: - default: *712 + default: *710 '400': *14 '404': *6 x-github: @@ -103847,8 +103867,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 + - *428 + - *429 requestBody: required: true content: @@ -103928,7 +103948,7 @@ paths: login: type: string description: The username of the user credited. - type: *397 + type: *395 required: - login - type @@ -104018,9 +104038,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *709 examples: - default: &714 + default: &712 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -104253,8 +104273,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 + - *428 + - *429 requestBody: required: true content: @@ -104367,7 +104387,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *709 examples: default: value: @@ -104514,17 +104534,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 + - *428 + - *429 + - *711 responses: '200': description: Response content: application/json: - schema: *711 + schema: *709 examples: - default: *714 + default: *712 '403': *27 '404': *6 x-github: @@ -104548,9 +104568,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 + - *428 + - *429 + - *711 requestBody: required: true content: @@ -104630,7 +104650,7 @@ paths: login: type: string description: The username of the user credited. - type: *397 + type: *395 required: - login - type @@ -104721,10 +104741,10 @@ paths: description: Response content: application/json: - schema: *711 + schema: *709 examples: - default: *714 - add_credit: *714 + default: *712 + add_credit: *712 '403': *27 '404': *6 '422': @@ -104762,9 +104782,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 + - *428 + - *429 + - *711 responses: '202': *37 '400': *14 @@ -104791,17 +104811,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 + - *428 + - *429 + - *711 responses: '202': description: Response content: application/json: - schema: *443 + schema: *441 examples: - default: *445 + default: *443 '400': *14 '422': *15 '403': *27 @@ -104827,8 +104847,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *430 - - *431 + - *428 + - *429 - *17 - *19 responses: @@ -104924,8 +104944,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 + - *428 + - *429 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -104934,7 +104954,7 @@ paths: application/json: schema: type: array - items: &715 + items: &713 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -104967,8 +104987,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 + - *428 + - *429 responses: '200': description: Response @@ -105046,8 +105066,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 + - *428 + - *429 responses: '200': description: Response @@ -105141,8 +105161,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 + - *428 + - *429 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -105296,8 +105316,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 + - *428 + - *429 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -105307,7 +105327,7 @@ paths: application/json: schema: type: array - items: *715 + items: *713 examples: default: value: @@ -105340,8 +105360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *430 - - *431 + - *428 + - *429 - name: sha in: path required: true @@ -105397,7 +105417,7 @@ paths: description: Response content: application/json: - schema: *716 + schema: *714 examples: default: value: @@ -105451,8 +105471,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *430 - - *431 + - *428 + - *429 - *17 - *19 responses: @@ -105484,14 +105504,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *430 - - *431 + - *428 + - *429 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &717 + schema: &715 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -105564,8 +105584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: false content: @@ -105591,7 +105611,7 @@ paths: description: Response content: application/json: - schema: *717 + schema: *715 examples: default: value: @@ -105618,8 +105638,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *430 - - *431 + - *428 + - *429 responses: '204': description: Response @@ -105639,8 +105659,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *430 - - *431 + - *428 + - *429 - *17 - *19 responses: @@ -105722,8 +105742,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 + - *428 + - *429 responses: '200': description: Response @@ -105731,7 +105751,7 @@ paths: application/json: schema: type: array - items: &718 + items: &716 title: Tag protection description: Tag protection type: object @@ -105788,8 +105808,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 + - *428 + - *429 requestBody: required: true content: @@ -105812,7 +105832,7 @@ paths: description: Response content: application/json: - schema: *718 + schema: *716 examples: default: value: @@ -105843,8 +105863,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 + - *428 + - *429 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -105881,8 +105901,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 + - *428 + - *429 - name: ref in: path required: true @@ -105918,8 +105938,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *430 - - *431 + - *428 + - *429 - *17 - *19 responses: @@ -105931,7 +105951,7 @@ paths: type: array items: *273 examples: - default: *345 + default: *343 headers: Link: *41 '404': *6 @@ -105951,8 +105971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *430 - - *431 + - *428 + - *429 - *19 - *17 responses: @@ -105960,7 +105980,7 @@ paths: description: Response content: application/json: - schema: &719 + schema: &717 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -105972,7 +105992,7 @@ paths: required: - names examples: - default: &720 + default: &718 value: names: - octocat @@ -105995,8 +106015,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: true content: @@ -106027,9 +106047,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *717 examples: - default: *720 + default: *718 '404': *6 '422': *7 x-github: @@ -106050,9 +106070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *430 - - *431 - - &721 + - *428 + - *429 + - &719 name: per description: The time frame to display results for. in: query @@ -106083,7 +106103,7 @@ paths: - 128 clones: type: array - items: &722 + items: &720 title: Traffic type: object properties: @@ -106170,8 +106190,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *430 - - *431 + - *428 + - *429 responses: '200': description: Response @@ -106265,8 +106285,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *430 - - *431 + - *428 + - *429 responses: '200': description: Response @@ -106329,9 +106349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *430 - - *431 - - *721 + - *428 + - *429 + - *719 responses: '200': description: Response @@ -106352,7 +106372,7 @@ paths: - 3782 views: type: array - items: *722 + items: *720 required: - uniques - count @@ -106429,8 +106449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *430 - - *431 + - *428 + - *429 requestBody: required: true content: @@ -106704,8 +106724,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 + - *428 + - *429 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -106728,8 +106748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *430 - - *431 + - *428 + - *429 responses: '204': description: Response @@ -106751,8 +106771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *430 - - *431 + - *428 + - *429 responses: '204': description: Response @@ -106778,8 +106798,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 + - *428 + - *429 - name: ref in: path required: true @@ -106871,9 +106891,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *441 examples: - default: *445 + default: *443 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -107024,7 +107044,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &730 + - &728 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -107034,7 +107054,7 @@ paths: type: string examples: - members - - &735 + - &733 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -107046,7 +107066,7 @@ paths: format: int32 examples: - 1 - - &736 + - &734 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -107090,7 +107110,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &725 + items: &723 allOf: - type: object required: @@ -107172,7 +107192,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: &735 type: object description: The metadata associated with the creation/updates to the user. @@ -107237,30 +107257,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &726 + '400': &724 description: Bad request content: application/json: - schema: *723 + schema: *721 application/scim+json: - schema: *723 - '401': *724 - '403': &727 + schema: *721 + '401': *722 + '403': &725 description: Permission denied - '429': &728 + '429': &726 description: Too many requests content: application/json: - schema: *723 + schema: *721 application/scim+json: - schema: *723 - '500': &729 + schema: *721 + '500': &727 description: Internal server error content: application/json: - schema: *723 + schema: *721 application/scim+json: - schema: *723 + schema: *721 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107284,7 +107304,7 @@ paths: required: true content: application/json: - schema: &733 + schema: &731 type: object required: - schemas @@ -107348,9 +107368,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *725 + schema: *723 examples: - group: &731 + group: &729 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -107369,13 +107389,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': *724 + '401': *722 + '403': *725 + '409': &732 description: Duplicate record detected - '429': *728 - '500': *729 + '429': *726 + '500': *727 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107392,7 +107412,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 + - &730 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -107401,22 +107421,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *730 + - *728 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *725 + schema: *723 examples: - default: *731 - '400': *726 - '401': *724 - '403': *727 + default: *729 + '400': *724 + '401': *722 + '403': *725 '404': *6 - '429': *728 - '500': *729 + '429': *726 + '500': *727 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107435,13 +107455,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 + - *730 - *39 requestBody: required: true content: application/json: - schema: *733 + schema: *731 examples: group: summary: Group @@ -107467,17 +107487,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *725 + schema: *723 examples: - group: *731 - groupWithMembers: *731 - '400': *726 - '401': *724 - '403': *727 + group: *729 + groupWithMembers: *729 + '400': *724 + '401': *722 + '403': *725 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *732 + '429': *726 + '500': *727 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107501,13 +107521,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 + - *730 - *39 requestBody: required: true content: application/json: - schema: &744 + schema: &742 type: object required: - Operations @@ -107567,17 +107587,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *725 + schema: *723 examples: - updateGroup: *731 - addMembers: *731 - '400': *726 - '401': *724 - '403': *727 + updateGroup: *729 + addMembers: *729 + '400': *724 + '401': *722 + '403': *725 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *732 + '429': *726 + '500': *727 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107593,17 +107613,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 + - *730 - *39 responses: '204': description: Group was deleted, no content - '400': *726 - '401': *724 - '403': *727 + '400': *724 + '401': *722 + '403': *725 '404': *6 - '429': *728 - '500': *729 + '429': *726 + '500': *727 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107637,8 +107657,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *735 - - *736 + - *733 + - *734 - *39 responses: '200': @@ -107672,7 +107692,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &739 + items: &737 allOf: - type: object required: @@ -107764,7 +107784,7 @@ paths: address. examples: - true - roles: &738 + roles: &736 type: array description: The roles assigned to the user. items: @@ -107823,7 +107843,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *737 + meta: *735 startIndex: type: integer description: A starting index for the returned page @@ -107862,11 +107882,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *726 - '401': *724 - '403': *727 - '429': *728 - '500': *729 + '400': *724 + '401': *722 + '403': *725 + '429': *726 + '500': *727 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107890,7 +107910,7 @@ paths: required: true content: application/json: - schema: &742 + schema: &740 type: object required: - schemas @@ -107983,9 +108003,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *738 + roles: *736 examples: - user: &743 + user: &741 summary: User value: schemas: @@ -108032,9 +108052,9 @@ paths: description: User has been created content: application/scim+json: - schema: *739 + schema: *737 examples: - user: &740 + user: &738 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108060,13 +108080,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: *738 + '400': *724 + '401': *722 + '403': *725 + '409': *732 + '429': *726 + '500': *727 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108083,7 +108103,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 + - &739 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -108096,15 +108116,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *739 + schema: *737 examples: - default: *740 - '400': *726 - '401': *724 - '403': *727 + default: *738 + '400': *724 + '401': *722 + '403': *725 '404': *6 - '429': *728 - '500': *729 + '429': *726 + '500': *727 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108126,30 +108146,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 + - *739 - *39 requestBody: required: true content: application/json: - schema: *742 + schema: *740 examples: - user: *743 + user: *741 responses: '200': description: User was updated content: application/scim+json: - schema: *739 + schema: *737 examples: - user: *740 - '400': *726 - '401': *724 - '403': *727 + user: *738 + '400': *724 + '401': *722 + '403': *725 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *732 + '429': *726 + '500': *727 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108184,13 +108204,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 + - *739 - *39 requestBody: required: true content: application/json: - schema: *744 + schema: *742 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -108230,18 +108250,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *739 + schema: *737 examples: - userMultiValuedProperties: *740 - userSingleValuedProperties: *740 - disableUser: *740 - '400': *726 - '401': *724 - '403': *727 + userMultiValuedProperties: *738 + userSingleValuedProperties: *738 + disableUser: *738 + '400': *724 + '401': *722 + '403': *725 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *732 + '429': *726 + '500': *727 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108261,17 +108281,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 + - *739 - *39 responses: '204': description: User was deleted, no content - '400': *726 - '401': *724 - '403': *727 + '400': *724 + '401': *722 + '403': *725 '404': *6 - '429': *728 - '500': *729 + '429': *726 + '500': *727 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108362,7 +108382,7 @@ paths: - 1 Resources: type: array - items: &745 + items: &743 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -108609,22 +108629,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': &744 description: Resource not found content: application/json: - schema: *723 + schema: *721 application/scim+json: - schema: *723 - '403': &747 + schema: *721 + '403': &745 description: Forbidden content: application/json: - schema: *723 + schema: *721 application/scim+json: - schema: *723 - '400': *726 - '429': *728 + schema: *721 + '400': *724 + '429': *726 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -108650,9 +108670,9 @@ paths: description: Response content: application/scim+json: - schema: *745 + schema: *743 examples: - default: &748 + default: &746 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108675,17 +108695,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': *744 + '403': *745 + '500': *727 '409': description: Conflict content: application/json: - schema: *723 + schema: *721 application/scim+json: - schema: *723 - '400': *726 + schema: *721 + '400': *724 requestBody: required: true content: @@ -108785,17 +108805,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *76 - - *741 + - *739 responses: '200': description: Response content: application/scim+json: - schema: *745 + schema: *743 examples: - default: *748 - '404': *746 - '403': *747 + default: *746 + '404': *744 + '403': *745 '304': *35 x-github: githubCloudOnly: true @@ -108819,18 +108839,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *76 - - *741 + - *739 responses: '200': description: Response content: application/scim+json: - schema: *745 + schema: *743 examples: - default: *748 + default: *746 '304': *35 - '404': *746 - '403': *747 + '404': *744 + '403': *745 requestBody: required: true content: @@ -108945,19 +108965,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *76 - - *741 + - *739 responses: '200': description: Response content: application/scim+json: - schema: *745 + schema: *743 examples: - default: *748 + default: *746 '304': *35 - '404': *746 - '403': *747 - '400': *726 + '404': *744 + '403': *745 + '400': *724 '429': description: Response content: @@ -109053,12 +109073,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *76 - - *741 + - *739 responses: '204': description: Response - '404': *746 - '403': *747 + '404': *744 + '403': *745 '304': *35 x-github: githubCloudOnly: true @@ -109192,7 +109212,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &749 + text_matches: &747 title: Search Result Text Matches type: array items: @@ -109356,7 +109376,7 @@ paths: enum: - author-date - committer-date - - &750 + - &748 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 +109445,7 @@ paths: committer: anyOf: - type: 'null' - - *487 + - *485 comment_count: type: integer message: @@ -109444,7 +109464,7 @@ paths: url: type: string format: uri - verification: *603 + verification: *601 required: - author - committer @@ -109459,7 +109479,7 @@ paths: committer: anyOf: - type: 'null' - - *487 + - *485 parents: type: array items: @@ -109476,7 +109496,7 @@ paths: type: number node_id: type: string - text_matches: *749 + text_matches: *747 required: - sha - node_id @@ -109669,7 +109689,7 @@ paths: - interactions - created - updated - - *750 + - *748 - *17 - *19 - name: advanced_search @@ -109766,11 +109786,11 @@ paths: type: - string - 'null' - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *749 + issue_dependencies_summary: *750 issue_field_values: type: array - items: *753 + items: *751 state: type: string state_reason: @@ -109784,7 +109804,7 @@ paths: milestone: anyOf: - type: 'null' - - *368 + - *366 comments: type: integer created_at: @@ -109798,7 +109818,7 @@ paths: - string - 'null' format: date-time - text_matches: *749 + text_matches: *747 pull_request: type: object properties: @@ -109847,7 +109867,7 @@ paths: timeline_url: type: string format: uri - type: *331 + type: *329 performed_via_github_app: anyOf: - type: 'null' @@ -110021,7 +110041,7 @@ paths: enum: - created - updated - - *750 + - *748 - *17 - *19 responses: @@ -110066,7 +110086,7 @@ paths: - 'null' score: type: number - text_matches: *749 + text_matches: *747 required: - id - node_id @@ -110152,7 +110172,7 @@ paths: - forks - help-wanted-issues - updated - - *750 + - *748 - *17 - *19 responses: @@ -110389,7 +110409,7 @@ paths: - admin - pull - push - text_matches: *749 + text_matches: *747 temp_clone_token: type: string allow_merge_commit: @@ -110698,7 +110718,7 @@ paths: - string - 'null' format: uri - text_matches: *749 + text_matches: *747 related: type: - array @@ -110893,7 +110913,7 @@ paths: - followers - repositories - joined - - *750 + - *748 - *17 - *19 responses: @@ -111003,7 +111023,7 @@ paths: type: - boolean - 'null' - text_matches: *749 + text_matches: *747 blog: type: - string @@ -111085,7 +111105,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &754 + - &752 name: team_id description: The unique identifier of the team. in: path @@ -111097,9 +111117,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *409 examples: - default: *412 + default: *410 '404': *6 x-github: githubCloudOnly: false @@ -111126,7 +111146,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *754 + - *752 requestBody: required: true content: @@ -111190,16 +111210,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *411 + schema: *409 examples: - default: *412 + default: *410 '201': description: Response content: application/json: - schema: *411 + schema: *409 examples: - default: *412 + default: *410 '404': *6 '422': *15 '403': *27 @@ -111227,7 +111247,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *754 + - *752 responses: '204': description: Response @@ -111258,7 +111278,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *754 + - *752 - *99 - *17 - *19 @@ -111269,9 +111289,9 @@ paths: application/json: schema: type: array - items: *413 + items: *411 examples: - default: *755 + default: *753 headers: Link: *41 x-github: @@ -111300,7 +111320,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *754 + - *752 requestBody: required: true content: @@ -111334,9 +111354,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *411 examples: - default: *414 + default: *412 x-github: triggersNotification: true githubCloudOnly: false @@ -111363,16 +111383,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *754 - - *415 + - *752 + - *413 responses: '200': description: Response content: application/json: - schema: *413 + schema: *411 examples: - default: *414 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111397,8 +111417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *754 - - *415 + - *752 + - *413 requestBody: required: false content: @@ -111421,9 +111441,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *411 examples: - default: *756 + default: *754 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111448,8 +111468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *754 - - *415 + - *752 + - *413 responses: '204': description: Response @@ -111478,8 +111498,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 + - *752 + - *413 - *99 - *17 - *19 @@ -111490,9 +111510,9 @@ paths: application/json: schema: type: array - items: *416 + items: *414 examples: - default: *757 + default: *755 headers: Link: *41 x-github: @@ -111521,8 +111541,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 + - *752 + - *413 requestBody: required: true content: @@ -111544,9 +111564,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *414 examples: - default: *417 + default: *415 x-github: triggersNotification: true githubCloudOnly: false @@ -111573,17 +111593,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 + - *752 + - *413 + - *416 responses: '200': description: Response content: application/json: - schema: *416 + schema: *414 examples: - default: *417 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111608,9 +111628,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 + - *752 + - *413 + - *416 requestBody: required: true content: @@ -111632,9 +111652,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *414 examples: - default: *758 + default: *756 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111659,9 +111679,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 + - *752 + - *413 + - *416 responses: '204': description: Response @@ -111690,9 +111710,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 + - *752 + - *413 + - *416 - 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 +111738,9 @@ paths: application/json: schema: type: array - items: *419 + items: *417 examples: - default: *421 + default: *419 headers: Link: *41 x-github: @@ -111749,9 +111769,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 + - *752 + - *413 + - *416 requestBody: required: true content: @@ -111783,9 +111803,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *417 examples: - default: *420 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111811,8 +111831,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 + - *752 + - *413 - 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 +111858,9 @@ paths: application/json: schema: type: array - items: *419 + items: *417 examples: - default: *421 + default: *419 headers: Link: *41 x-github: @@ -111869,8 +111889,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 + - *752 + - *413 requestBody: required: true content: @@ -111902,9 +111922,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *417 examples: - default: *420 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111928,7 +111948,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *754 + - *752 - *17 - *19 responses: @@ -111938,9 +111958,9 @@ paths: application/json: schema: type: array - items: *328 + items: *326 examples: - default: *329 + default: *327 headers: Link: *41 x-github: @@ -111966,7 +111986,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *754 + - *752 - name: role description: Filters members returned by their role in the team. in: query @@ -112017,7 +112037,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *754 + - *752 - *178 responses: '204': @@ -112054,7 +112074,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *754 + - *752 - *178 responses: '204': @@ -112094,7 +112114,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *754 + - *752 - *178 responses: '204': @@ -112131,16 +112151,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 + - *752 - *178 responses: '200': description: Response content: application/json: - schema: *427 + schema: *425 examples: - response-if-user-is-a-team-maintainer: *759 + response-if-user-is-a-team-maintainer: *757 '404': *6 x-github: githubCloudOnly: false @@ -112173,7 +112193,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *754 + - *752 - *178 requestBody: required: false @@ -112199,9 +112219,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *425 examples: - response-if-users-membership-with-team-is-now-pending: *760 + response-if-users-membership-with-team-is-now-pending: *758 '403': description: Forbidden if team synchronization is set up '422': @@ -112235,7 +112255,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *754 + - *752 - *178 responses: '204': @@ -112264,7 +112284,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *754 + - *752 - *17 - *19 responses: @@ -112274,9 +112294,9 @@ paths: application/json: schema: type: array - items: *428 + items: *426 examples: - default: *761 + default: *759 headers: Link: *41 '404': *6 @@ -112302,16 +112322,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 + - *752 + - *427 responses: '200': description: Response content: application/json: - schema: *428 + schema: *426 examples: - default: *762 + default: *760 '404': description: Not Found if project is not managed by this team x-github: @@ -112335,8 +112355,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 + - *752 + - *427 requestBody: required: false content: @@ -112403,8 +112423,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 + - *752 + - *427 responses: '204': description: Response @@ -112431,7 +112451,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *754 + - *752 - *17 - *19 responses: @@ -112443,7 +112463,7 @@ paths: type: array items: *246 examples: - default: *352 + default: *350 headers: Link: *41 '404': *6 @@ -112473,15 +112493,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 + - *752 + - *428 + - *429 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *763 + schema: *761 examples: alternative-response-with-extra-repository-information: value: @@ -112632,9 +112652,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 + - *752 + - *428 + - *429 requestBody: required: false content: @@ -112684,9 +112704,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 + - *752 + - *428 + - *429 responses: '204': description: Response @@ -112715,15 +112735,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 + - *752 responses: '200': description: Response content: application/json: - schema: *432 + schema: *430 examples: - default: *433 + default: *431 '403': *27 '404': *6 x-github: @@ -112750,7 +112770,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 + - *752 requestBody: required: true content: @@ -112811,7 +112831,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *430 examples: default: value: @@ -112842,7 +112862,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *754 + - *752 - *17 - *19 responses: @@ -112854,7 +112874,7 @@ paths: type: array items: *273 examples: - response-if-child-teams-exist: *764 + response-if-child-teams-exist: *762 headers: Link: *41 '404': *6 @@ -112887,7 +112907,7 @@ paths: application/json: schema: oneOf: - - &766 + - &764 title: Private User description: Private User type: object @@ -113137,7 +113157,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *765 + - *763 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -113297,7 +113317,7 @@ paths: description: Response content: application/json: - schema: *766 + schema: *764 examples: default: value: @@ -113500,9 +113520,9 @@ paths: type: integer codespaces: type: array - items: *336 + items: *334 examples: - default: *337 + default: *335 '304': *35 '500': *38 '401': *23 @@ -113641,17 +113661,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *334 examples: - default: *536 + default: *534 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *334 examples: - default: *536 + default: *534 '401': *23 '403': *27 '404': *6 @@ -113695,7 +113715,7 @@ paths: type: integer secrets: type: array - items: &767 + items: &765 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -113737,7 +113757,7 @@ paths: - visibility - selected_repositories_url examples: - default: *538 + default: *536 headers: Link: *41 x-github: @@ -113815,7 +113835,7 @@ paths: description: Response content: application/json: - schema: *767 + schema: *765 examples: default: value: @@ -113961,7 +113981,7 @@ paths: type: array items: *246 examples: - default: *768 + default: *766 '401': *23 '403': *27 '404': *6 @@ -114105,15 +114125,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 + - *336 responses: '200': description: Response content: application/json: - schema: *336 + schema: *334 examples: - default: *536 + default: *534 '304': *35 '500': *38 '401': *23 @@ -114139,7 +114159,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 + - *336 requestBody: required: false content: @@ -114169,9 +114189,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *334 examples: - default: *536 + default: *534 '401': *23 '403': *27 '404': *6 @@ -114193,7 +114213,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 + - *336 responses: '202': *37 '304': *35 @@ -114222,13 +114242,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 + - *336 responses: '202': description: Response content: application/json: - schema: &769 + schema: &767 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -114281,7 +114301,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &770 + default: &768 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -114313,7 +114333,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 + - *336 - name: export_id in: path required: true @@ -114326,9 +114346,9 @@ paths: description: Response content: application/json: - schema: *769 + schema: *767 examples: - default: *770 + default: *768 '404': *6 x-github: githubCloudOnly: false @@ -114349,7 +114369,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 + - *336 responses: '200': description: Response @@ -114365,9 +114385,9 @@ paths: type: integer machines: type: array - items: *537 + items: *535 examples: - default: *771 + default: *769 '304': *35 '500': *38 '401': *23 @@ -114396,7 +114416,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 + - *336 requestBody: required: true content: @@ -114452,11 +114472,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *443 + repository: *441 machine: anyOf: - type: 'null' - - *537 + - *535 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -115253,15 +115273,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 + - *336 responses: '200': description: Response content: application/json: - schema: *336 + schema: *334 examples: - default: *536 + default: *534 '304': *35 '500': *38 '400': *14 @@ -115293,15 +115313,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 + - *336 responses: '200': description: Response content: application/json: - schema: *336 + schema: *334 examples: - default: *536 + default: *534 '500': *38 '401': *23 '403': *27 @@ -115331,9 +115351,9 @@ paths: application/json: schema: type: array - items: *346 + items: *344 examples: - default: &783 + default: &781 value: - id: 197 name: hello_docker @@ -115434,7 +115454,7 @@ paths: application/json: schema: type: array - items: &772 + items: &770 title: Email description: Email type: object @@ -115504,9 +115524,9 @@ paths: application/json: schema: type: array - items: *772 + items: *770 examples: - default: &785 + default: &783 value: - email: octocat@github.com verified: true @@ -115583,7 +115603,7 @@ paths: application/json: schema: type: array - items: *772 + items: *770 examples: default: value: @@ -115841,7 +115861,7 @@ paths: application/json: schema: type: array - items: &773 + items: &771 title: GPG Key description: A unique encryption key type: object @@ -115986,7 +116006,7 @@ paths: - subkeys - revoked examples: - default: &799 + default: &797 value: - id: 3 name: Octocat's GPG Key @@ -116071,9 +116091,9 @@ paths: description: Response content: application/json: - schema: *773 + schema: *771 examples: - default: &774 + default: &772 value: id: 3 name: Octocat's GPG Key @@ -116130,7 +116150,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 + - &773 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -116142,9 +116162,9 @@ paths: description: Response content: application/json: - schema: *773 + schema: *771 examples: - default: *774 + default: *772 '404': *6 '304': *35 '403': *27 @@ -116167,7 +116187,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 + - *773 responses: '204': description: Response @@ -116443,12 +116463,12 @@ paths: application/json: schema: anyOf: - - *326 + - *324 - type: object properties: {} additionalProperties: false examples: - default: *327 + default: *325 '204': description: Response when there are no restrictions x-github: @@ -116472,7 +116492,7 @@ paths: required: true content: application/json: - schema: *614 + schema: *612 examples: default: value: @@ -116483,7 +116503,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *324 examples: default: value: @@ -116564,7 +116584,7 @@ paths: - closed - all default: open - - *334 + - *332 - name: sort description: What to sort results by. in: query @@ -116589,7 +116609,7 @@ paths: type: array items: *183 examples: - default: *335 + default: *333 headers: Link: *41 '404': *6 @@ -116622,7 +116642,7 @@ paths: application/json: schema: type: array - items: &776 + items: &774 title: Key description: Key type: object @@ -116725,9 +116745,9 @@ paths: description: Response content: application/json: - schema: *776 + schema: *774 examples: - default: &777 + default: &775 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116760,15 +116780,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 + - *638 responses: '200': description: Response content: application/json: - schema: *776 + schema: *774 examples: - default: *777 + default: *775 '404': *6 '304': *35 '403': *27 @@ -116791,7 +116811,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 + - *638 responses: '204': description: Response @@ -116824,7 +116844,7 @@ paths: application/json: schema: type: array - items: &778 + items: &776 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -116903,7 +116923,7 @@ paths: - account - plan examples: - default: &779 + default: &777 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -116965,9 +116985,9 @@ paths: application/json: schema: type: array - items: *778 + items: *776 examples: - default: *779 + default: *777 headers: Link: *41 '304': *35 @@ -117007,7 +117027,7 @@ paths: application/json: schema: type: array - items: *339 + items: *337 examples: default: value: @@ -117115,7 +117135,7 @@ paths: description: Response content: application/json: - schema: *339 + schema: *337 examples: default: value: @@ -117198,7 +117218,7 @@ paths: description: Response content: application/json: - schema: *339 + schema: *337 examples: default: value: @@ -117266,7 +117286,7 @@ paths: application/json: schema: type: array - items: *341 + items: *339 examples: default: value: @@ -117528,7 +117548,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *339 examples: default: value: @@ -117708,7 +117728,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *342 + - *340 - name: exclude in: query required: false @@ -117721,7 +117741,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *339 examples: default: value: @@ -117915,7 +117935,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *342 + - *340 responses: '302': description: Response @@ -117941,7 +117961,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *342 + - *340 responses: '204': description: Response @@ -117970,8 +117990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *342 - - *780 + - *340 + - *778 responses: '204': description: Response @@ -117995,7 +118015,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 + - *340 - *17 - *19 responses: @@ -118007,7 +118027,7 @@ paths: type: array items: *246 examples: - default: *352 + default: *350 headers: Link: *41 '404': *6 @@ -118044,7 +118064,7 @@ paths: type: array items: *62 examples: - default: *781 + default: *779 headers: Link: *41 '304': *35 @@ -118086,7 +118106,7 @@ paths: - docker - nuget - container - - *782 + - *780 - *19 - *17 responses: @@ -118096,10 +118116,10 @@ paths: application/json: schema: type: array - items: *346 + items: *344 examples: - default: *783 - '400': *784 + default: *781 + '400': *782 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118119,16 +118139,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 + - *346 + - *347 responses: '200': description: Response content: application/json: - schema: *346 + schema: *344 examples: - default: &800 + default: &798 value: id: 40201 name: octo-name @@ -118241,8 +118261,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 + - *346 + - *347 responses: '204': description: Response @@ -118272,8 +118292,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 + - *346 + - *347 - name: token description: package token schema: @@ -118305,8 +118325,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 + - *346 + - *347 - *19 - *17 - name: state @@ -118326,7 +118346,7 @@ paths: application/json: schema: type: array - items: *350 + items: *348 examples: default: value: @@ -118375,15 +118395,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 + - *346 + - *347 - *349 - - *351 responses: '200': description: Response content: application/json: - schema: *350 + schema: *348 examples: default: value: @@ -118419,9 +118439,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 + - *346 + - *347 - *349 - - *351 responses: '204': description: Response @@ -118451,9 +118471,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 + - *346 + - *347 - *349 - - *351 responses: '204': description: Response @@ -118511,7 +118531,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *360 examples: default: value: @@ -118583,9 +118603,9 @@ paths: application/json: schema: type: array - items: *772 + items: *770 examples: - default: *785 + default: *783 headers: Link: *41 '304': *35 @@ -118698,7 +118718,7 @@ paths: type: array items: *67 examples: - default: &792 + default: &790 summary: Default response value: - id: 1296269 @@ -119016,9 +119036,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *441 examples: - default: *445 + default: *443 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -119056,9 +119076,9 @@ paths: application/json: schema: type: array - items: *616 + items: *614 examples: - default: *786 + default: *784 headers: Link: *41 '304': *35 @@ -119081,7 +119101,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *330 + - *328 responses: '204': description: Response @@ -119104,7 +119124,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *330 + - *328 responses: '204': description: Response @@ -119137,7 +119157,7 @@ paths: application/json: schema: type: array - items: &787 + items: &785 title: Social account description: Social media account type: object @@ -119154,7 +119174,7 @@ paths: - provider - url examples: - default: &788 + default: &786 value: - provider: twitter url: https://twitter.com/github @@ -119217,9 +119237,9 @@ paths: application/json: schema: type: array - items: *787 + items: *785 examples: - default: *788 + default: *786 '422': *15 '304': *35 '404': *6 @@ -119307,7 +119327,7 @@ paths: application/json: schema: type: array - items: &789 + items: &787 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -119327,7 +119347,7 @@ paths: - title - created_at examples: - default: &803 + default: &801 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119394,9 +119414,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *787 examples: - default: &790 + default: &788 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119427,7 +119447,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 + - &789 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -119439,9 +119459,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *787 examples: - default: *790 + default: *788 '404': *6 '304': *35 '403': *27 @@ -119464,7 +119484,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 + - *789 responses: '204': description: Response @@ -119493,7 +119513,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 + - &802 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 +119538,11 @@ paths: type: array items: *67 examples: - default-response: *792 + default-response: *790 application/vnd.github.v3.star+json: schema: type: array - items: &805 + items: &803 title: Starred Repository description: Starred Repository type: object @@ -119678,8 +119698,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 + - *428 + - *429 responses: '204': description: Response if this repository is starred by you @@ -119707,8 +119727,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 + - *428 + - *429 responses: '204': description: Response @@ -119732,8 +119752,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 + - *428 + - *429 responses: '204': description: Response @@ -119768,7 +119788,7 @@ paths: type: array items: *246 examples: - default: *352 + default: *350 headers: Link: *41 '304': *35 @@ -119805,7 +119825,7 @@ paths: application/json: schema: type: array - items: *411 + items: *409 examples: default: value: @@ -119891,10 +119911,10 @@ paths: application/json: schema: oneOf: - - *766 - - *765 + - *764 + - *763 examples: - default-response: &794 + default-response: &792 summary: Default response value: login: octocat @@ -119929,7 +119949,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: &793 summary: Response with GitHub plan information value: login: octocat @@ -119989,7 +120009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *793 + - *791 - *17 responses: '200': @@ -120038,11 +120058,11 @@ paths: application/json: schema: oneOf: - - *766 - - *765 + - *764 + - *763 examples: - default-response: *794 - response-with-git-hub-plan-information: *795 + default-response: *792 + response-with-git-hub-plan-information: *793 '404': *6 x-github: githubCloudOnly: false @@ -120091,8 +120111,8 @@ paths: required: - subject_digests examples: - default: *796 - withPredicateType: *797 + default: *794 + withPredicateType: *795 responses: '200': description: Response @@ -120146,7 +120166,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *798 + default: *796 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120350,7 +120370,7 @@ paths: initiator: type: string examples: - default: *483 + default: *481 '201': description: Response content: @@ -120389,9 +120409,9 @@ paths: application/json: schema: type: array - items: *346 + items: *344 examples: - default: *783 + default: *781 '403': *27 '401': *23 x-github: @@ -120775,9 +120795,9 @@ paths: application/json: schema: type: array - items: *773 + items: *771 examples: - default: *799 + default: *797 headers: Link: *41 x-github: @@ -120881,7 +120901,7 @@ paths: application/json: schema: *20 examples: - default: *613 + default: *611 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120967,7 +120987,7 @@ paths: type: array items: *62 examples: - default: *781 + default: *779 headers: Link: *41 x-github: @@ -121006,7 +121026,7 @@ paths: - docker - nuget - container - - *782 + - *780 - *178 - *19 - *17 @@ -121017,12 +121037,12 @@ paths: application/json: schema: type: array - items: *346 + items: *344 examples: - default: *783 + default: *781 '403': *27 '401': *23 - '400': *784 + '400': *782 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121042,17 +121062,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 + - *346 + - *347 - *178 responses: '200': description: Response content: application/json: - schema: *346 + schema: *344 examples: - default: *800 + default: *798 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121073,8 +121093,8 @@ 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 + - *346 + - *347 - *178 responses: '204': @@ -121107,8 +121127,8 @@ 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 + - *346 + - *347 - *178 - name: token description: package token @@ -121141,8 +121161,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *348 - - *349 + - *346 + - *347 - *178 responses: '200': @@ -121151,7 +121171,7 @@ paths: application/json: schema: type: array - items: *350 + items: *348 examples: default: value: @@ -121209,16 +121229,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 + - *346 + - *347 - *349 - - *351 - *178 responses: '200': description: Response content: application/json: - schema: *350 + schema: *348 examples: default: value: @@ -121253,10 +121273,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 + - *346 + - *347 - *178 - - *351 + - *349 responses: '204': description: Response @@ -121288,10 +121308,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 + - *346 + - *347 - *178 - - *351 + - *349 responses: '204': description: Response @@ -121338,7 +121358,7 @@ paths: application/json: schema: type: array - items: *362 + items: *360 examples: default: value: @@ -121413,9 +121433,9 @@ paths: application/json: schema: type: array - items: *363 + items: *361 examples: - default: *364 + default: *362 headers: Link: *41 '304': *35 @@ -121437,16 +121457,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *365 + - *363 - *178 responses: '200': description: Response content: application/json: - schema: *363 + schema: *361 examples: - default: *364 + default: *362 headers: Link: *41 '304': *35 @@ -121468,7 +121488,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *365 + - *363 - *178 - *17 - *97 @@ -121480,9 +121500,9 @@ paths: application/json: schema: type: array - items: *366 + items: *364 examples: - default: *367 + default: *365 headers: Link: *41 '304': *35 @@ -121504,17 +121524,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 + - *363 + - *799 - *178 responses: '200': description: Response content: application/json: - schema: *366 + schema: *364 examples: - default: *367 + default: *365 headers: Link: *41 '304': *35 @@ -121537,7 +121557,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *365 + - *363 - *178 - *97 - *98 @@ -121550,8 +121570,10 @@ 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` in: query required: false schema: @@ -121559,8 +121581,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 responses: '200': description: Response @@ -121568,9 +121588,9 @@ paths: application/json: schema: type: array - items: *372 + items: *370 examples: - default: *373 + default: *371 headers: Link: *41 '304': *35 @@ -121592,7 +121612,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *178 - - *365 + - *363 requestBody: required: true description: Details of the item to add to the project. @@ -121629,10 +121649,10 @@ paths: description: Response content: application/json: - schema: *802 + schema: *800 examples: - issue: *371 - pull_request: *371 + issue: *369 + pull_request: *369 '304': *35 '403': *27 '401': *23 @@ -121652,9 +121672,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *365 + - *363 - *178 - - *374 + - *372 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -121672,9 +121692,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *370 examples: - default: *373 + default: *371 headers: Link: *41 '304': *35 @@ -121695,9 +121715,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *365 + - *363 - *178 - - *374 + - *372 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -121770,13 +121790,13 @@ paths: description: Response content: application/json: - schema: *372 + schema: *370 examples: - text_field: *373 - number_field: *373 - date_field: *373 - single_select_field: *373 - iteration_field: *373 + text_field: *371 + number_field: *371 + date_field: *371 + single_select_field: *371 + iteration_field: *371 '401': *23 '403': *27 '404': *6 @@ -121796,9 +121816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *365 + - *363 - *178 - - *374 + - *372 responses: '204': description: Response @@ -122018,7 +122038,7 @@ paths: type: array items: *246 examples: - default: *352 + default: *350 headers: Link: *41 x-github: @@ -122048,9 +122068,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *396 examples: - default: *399 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122078,9 +122098,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *401 examples: - default: *404 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122089,7 +122109,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 @@ -122238,9 +122261,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *403 examples: - default: *406 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122363,9 +122386,9 @@ paths: application/json: schema: type: array - items: *787 + items: *785 examples: - default: *788 + default: *786 headers: Link: *41 x-github: @@ -122395,9 +122418,9 @@ paths: application/json: schema: type: array - items: *789 + items: *787 examples: - default: *803 + default: *801 headers: Link: *41 x-github: @@ -122422,7 +122445,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *178 - - *804 + - *802 - *99 - *17 - *19 @@ -122434,11 +122457,11 @@ paths: schema: anyOf: - type: array - items: *805 + items: *803 - type: array items: *67 examples: - default-response: *792 + default-response: *790 headers: Link: *41 x-github: @@ -122469,7 +122492,7 @@ paths: type: array items: *246 examples: - default: *352 + default: *350 headers: Link: *41 x-github: @@ -122598,7 +122621,7 @@ webhooks: type: string enum: - disabled - enterprise: &806 + enterprise: &804 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -122667,7 +122690,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &807 + installation: &805 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -122688,7 +122711,7 @@ webhooks: required: - id - node_id - organization: &808 + organization: &806 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -122761,7 +122784,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &809 + repository: &807 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -123674,10 +123697,10 @@ webhooks: type: string enum: - enabled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -123753,11 +123776,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: &810 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 + rule: &808 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 +124003,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: *810 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 + rule: *808 sender: *4 required: - action @@ -124172,11 +124195,11 @@ webhooks: - everyone required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: *810 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 + rule: *808 sender: *4 required: - action @@ -124247,7 +124270,7 @@ webhooks: required: true content: application/json: - schema: &813 + schema: &811 title: Exemption request cancellation event type: object properties: @@ -124255,11 +124278,11 @@ webhooks: type: string enum: - cancelled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: &811 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 + exemption_request: &809 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -124497,7 +124520,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &812 + items: &810 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -124607,7 +124630,7 @@ webhooks: required: true content: application/json: - schema: &814 + schema: &812 title: Exemption request completed event type: object properties: @@ -124615,11 +124638,11 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 + exemption_request: *809 sender: *4 required: - action @@ -124689,7 +124712,7 @@ webhooks: required: true content: application/json: - schema: &815 + schema: &813 title: Exemption request created event type: object properties: @@ -124697,11 +124720,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 + exemption_request: *809 sender: *4 required: - action @@ -124771,7 +124794,7 @@ webhooks: required: true content: application/json: - schema: &816 + schema: &814 title: Exemption response dismissed event type: object properties: @@ -124779,12 +124802,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 - exemption_response: *812 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 + exemption_request: *809 + exemption_response: *810 sender: *4 required: - action @@ -124856,7 +124879,7 @@ webhooks: required: true content: application/json: - schema: &817 + schema: &815 title: Exemption response submitted event type: object properties: @@ -124864,12 +124887,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 - exemption_response: *812 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 + exemption_request: *809 + exemption_response: *810 sender: *4 required: - action @@ -124942,7 +124965,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *811 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125009,7 +125032,7 @@ webhooks: required: true content: application/json: - schema: *814 + schema: *812 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125076,7 +125099,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *813 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125143,7 +125166,7 @@ webhooks: required: true content: application/json: - schema: *816 + schema: *814 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125211,7 +125234,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *815 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125289,7 +125312,7 @@ webhooks: type: string enum: - completed - check_run: &819 + check_run: &817 title: CheckRun description: A check performed on the code of a given code change type: object @@ -125399,7 +125422,7 @@ webhooks: - examples: - neutral - deployment: *818 + deployment: *816 details_url: type: string examples: @@ -125497,10 +125520,10 @@ webhooks: - output - app - pull_requests - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + installation: *805 + enterprise: *804 + organization: *806 + repository: *807 sender: *4 required: - check_run @@ -125893,11 +125916,11 @@ webhooks: type: string enum: - created - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *817 + installation: *805 + enterprise: *804 + organization: *806 + repository: *807 sender: *4 required: - check_run @@ -126293,11 +126316,11 @@ webhooks: type: string enum: - requested_action - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *817 + installation: *805 + enterprise: *804 + organization: *806 + repository: *807 requested_action: description: The action requested by the user. type: object @@ -126702,11 +126725,11 @@ webhooks: type: string enum: - rerequested - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *817 + installation: *805 + enterprise: *804 + organization: *806 + repository: *807 sender: *4 required: - check_run @@ -127698,10 +127721,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -128386,10 +128409,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -129068,10 +129091,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -129240,7 +129263,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *509 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -129392,20 +129415,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &820 + commit_oid: &818 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: *804 + installation: *805 + organization: *806 + ref: &819 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: *807 sender: *4 required: - action @@ -129572,7 +129595,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *509 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -129813,12 +129836,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *818 + enterprise: *804 + installation: *805 + organization: *806 + ref: *819 + repository: *807 sender: *4 required: - action @@ -129916,7 +129939,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *511 + dismissed_comment: *509 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 +130124,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *818 + enterprise: *804 + installation: *805 + organization: *806 + ref: *819 + repository: *807 sender: *4 required: - action @@ -130275,7 +130298,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *509 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -130452,12 +130475,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *818 + enterprise: *804 + installation: *805 + organization: *806 + ref: *819 + repository: *807 sender: *4 required: - action @@ -130560,7 +130583,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *511 + dismissed_comment: *509 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 +130763,9 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 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 +130773,7 @@ webhooks: type: - string - 'null' - repository: *809 + repository: *807 sender: *4 required: - action @@ -130849,7 +130872,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *511 + dismissed_comment: *509 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 +131019,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *818 + enterprise: *804 + installation: *805 + organization: *806 + ref: *819 + repository: *807 sender: *4 required: - action @@ -131263,10 +131286,10 @@ webhooks: - updated_at - author_association - body - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -131347,18 +131370,18 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *808 - pusher_type: &822 + organization: *806 + pusher_type: &820 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &823 + ref: &821 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -131368,7 +131391,7 @@ webhooks: enum: - tag - branch - repository: *809 + repository: *807 sender: *4 required: - ref @@ -131451,9 +131474,9 @@ webhooks: enum: - created definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 sender: *4 required: - action @@ -131538,9 +131561,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 sender: *4 required: - action @@ -131618,9 +131641,9 @@ webhooks: enum: - promote_to_enterprise definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 sender: *4 required: - action @@ -131698,9 +131721,9 @@ webhooks: enum: - updated definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 sender: *4 required: - action @@ -131777,19 +131800,19 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - repository: *809 - organization: *808 + enterprise: *804 + installation: *805 + repository: *807 + organization: *806 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *376 + items: *374 old_property_values: type: array description: The old custom property values for the repository. - items: *376 + items: *374 required: - action - repository @@ -131865,18 +131888,18 @@ webhooks: title: delete event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - pusher_type: *822 - ref: *823 + enterprise: *804 + installation: *805 + organization: *806 + pusher_type: *820 + ref: *821 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *809 + repository: *807 sender: *4 required: - ref @@ -131960,11 +131983,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *561 + installation: *805 + organization: *806 + enterprise: *804 + repository: *807 sender: *4 required: - action @@ -132048,11 +132071,11 @@ webhooks: type: string enum: - auto_reopened - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *561 + installation: *805 + organization: *806 + enterprise: *804 + repository: *807 sender: *4 required: - action @@ -132136,11 +132159,11 @@ webhooks: type: string enum: - created - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *561 + installation: *805 + organization: *806 + enterprise: *804 + repository: *807 sender: *4 required: - action @@ -132222,11 +132245,11 @@ webhooks: type: string enum: - dismissed - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *561 + installation: *805 + organization: *806 + enterprise: *804 + repository: *807 sender: *4 required: - action @@ -132308,11 +132331,11 @@ webhooks: type: string enum: - fixed - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *561 + installation: *805 + organization: *806 + enterprise: *804 + repository: *807 sender: *4 required: - action @@ -132395,11 +132418,11 @@ webhooks: type: string enum: - reintroduced - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *561 + installation: *805 + organization: *806 + enterprise: *804 + repository: *807 sender: *4 required: - action @@ -132481,11 +132504,11 @@ webhooks: type: string enum: - reopened - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *561 + installation: *805 + organization: *806 + enterprise: *804 + repository: *807 sender: *4 required: - action @@ -132562,9 +132585,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - key: &824 + enterprise: *804 + installation: *805 + key: &822 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 +132625,8 @@ webhooks: - verified - created_at - read_only - organization: *808 - repository: *809 + organization: *806 + repository: *807 sender: *4 required: - action @@ -132680,11 +132703,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - key: *824 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + key: *822 + organization: *806 + repository: *807 sender: *4 required: - action @@ -133256,12 +133279,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 - workflow: &828 + workflow: &826 title: Workflow type: - object @@ -133999,13 +134022,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *569 + deployment: *567 pull_requests: type: array - items: *658 - repository: *809 - organization: *808 - installation: *807 + items: *656 + repository: *807 + organization: *806 + installation: *805 sender: *4 responses: '200': @@ -134076,7 +134099,7 @@ webhooks: type: string enum: - approved - approver: &825 + approver: &823 type: object properties: avatar_url: @@ -134119,11 +134142,11 @@ webhooks: type: string comment: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - reviewers: &826 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 + reviewers: &824 type: array items: type: object @@ -134204,7 +134227,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &827 + workflow_job_run: &825 type: object properties: conclusion: @@ -134950,18 +134973,18 @@ webhooks: type: string enum: - rejected - approver: *825 + approver: *823 comment: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - reviewers: *826 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 + reviewers: *824 sender: *4 since: type: string - workflow_job_run: *827 + workflow_job_run: *825 workflow_job_runs: type: array items: @@ -135678,13 +135701,13 @@ webhooks: type: string enum: - requested - enterprise: *806 + enterprise: *804 environment: type: string - installation: *807 - organization: *808 - repository: *809 - requestor: &833 + installation: *805 + organization: *806 + repository: *807 + requestor: &831 title: User type: - object @@ -137627,12 +137650,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 - workflow: *828 + workflow: *826 workflow_run: title: Deployment Workflow Run type: @@ -138323,7 +138346,7 @@ webhooks: type: string enum: - answered - answer: &831 + answer: &829 type: object properties: author_association: @@ -138483,11 +138506,11 @@ webhooks: - created_at - updated_at - body - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *827 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -138614,11 +138637,11 @@ webhooks: - from required: - category - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *827 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -138701,11 +138724,11 @@ webhooks: type: string enum: - closed - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *827 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -138787,7 +138810,7 @@ webhooks: type: string enum: - created - comment: &830 + comment: &828 type: object properties: author_association: @@ -138947,11 +138970,11 @@ webhooks: - updated_at - body - reactions - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *827 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -139034,12 +139057,12 @@ webhooks: type: string enum: - deleted - comment: *830 - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + comment: *828 + discussion: *827 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -139134,12 +139157,12 @@ webhooks: - from required: - body - comment: *830 - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + comment: *828 + discussion: *827 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -139223,11 +139246,11 @@ webhooks: type: string enum: - created - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *827 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -139309,11 +139332,11 @@ webhooks: type: string enum: - deleted - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *827 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -139413,11 +139436,11 @@ webhooks: type: string required: - from - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *827 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -139499,10 +139522,10 @@ webhooks: type: string enum: - labeled - discussion: *829 - enterprise: *806 - installation: *807 - label: &832 + discussion: *827 + enterprise: *804 + installation: *805 + label: &830 title: Label type: object properties: @@ -139535,8 +139558,8 @@ webhooks: - color - default - description - organization: *808 - repository: *809 + organization: *806 + repository: *807 sender: *4 required: - action @@ -139619,11 +139642,11 @@ webhooks: type: string enum: - locked - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *827 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -139705,11 +139728,11 @@ webhooks: type: string enum: - pinned - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *827 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -139791,11 +139814,11 @@ webhooks: type: string enum: - reopened - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *827 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -139880,16 +139903,16 @@ webhooks: changes: type: object properties: - new_discussion: *829 - new_repository: *809 + new_discussion: *827 + new_repository: *807 required: - new_discussion - new_repository - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *827 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -139972,10 +139995,10 @@ webhooks: type: string enum: - unanswered - discussion: *829 - old_answer: *831 - organization: *808 - repository: *809 + discussion: *827 + old_answer: *829 + organization: *806 + repository: *807 sender: *4 required: - action @@ -140057,12 +140080,12 @@ webhooks: type: string enum: - unlabeled - discussion: *829 - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + discussion: *827 + enterprise: *804 + installation: *805 + label: *830 + organization: *806 + repository: *807 sender: *4 required: - action @@ -140145,11 +140168,11 @@ webhooks: type: string enum: - unlocked - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *827 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -140231,11 +140254,11 @@ webhooks: type: string enum: - unpinned - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *827 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -140304,7 +140327,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *813 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140367,7 +140390,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *815 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140433,7 +140456,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *811 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140499,7 +140522,7 @@ webhooks: required: true content: application/json: - schema: *814 + schema: *812 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140565,7 +140588,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *813 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140631,7 +140654,7 @@ webhooks: required: true content: application/json: - schema: *816 + schema: *814 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140697,7 +140720,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *815 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140764,7 +140787,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *806 + enterprise: *804 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -141442,9 +141465,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *807 - organization: *808 - repository: *809 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - forkee @@ -141590,9 +141613,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 pages: description: The pages that were updated. type: array @@ -141630,7 +141653,7 @@ webhooks: - action - sha - html_url - repository: *809 + repository: *807 sender: *4 required: - pages @@ -141706,10 +141729,10 @@ webhooks: type: string enum: - created - enterprise: *806 + enterprise: *804 installation: *20 - organization: *808 - repositories: &834 + organization: *806 + repositories: &832 description: An array of repository objects that the installation can access. type: array @@ -141735,8 +141758,8 @@ webhooks: - name - full_name - private - repository: *809 - requester: *833 + repository: *807 + requester: *831 sender: *4 required: - action @@ -141811,11 +141834,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 + enterprise: *804 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *806 + repositories: *832 + repository: *807 requester: type: - 'null' @@ -141892,11 +141915,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *806 + enterprise: *804 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *806 + repositories: *832 + repository: *807 requester: type: - 'null' @@ -141973,10 +141996,10 @@ webhooks: type: string enum: - added - enterprise: *806 + enterprise: *804 installation: *20 - organization: *808 - repositories_added: &835 + organization: *806 + repositories_added: &833 description: An array of repository objects, which were added to the installation. type: array @@ -142022,15 +142045,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *809 - repository_selection: &836 + repository: *807 + repository_selection: &834 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *833 + requester: *831 sender: *4 required: - action @@ -142109,10 +142132,10 @@ webhooks: type: string enum: - removed - enterprise: *806 + enterprise: *804 installation: *20 - organization: *808 - repositories_added: *835 + organization: *806 + repositories_added: *833 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -142139,9 +142162,9 @@ webhooks: - name - full_name - private - repository: *809 - repository_selection: *836 - requester: *833 + repository: *807 + repository_selection: *834 + requester: *831 sender: *4 required: - action @@ -142220,11 +142243,11 @@ webhooks: type: string enum: - suspend - enterprise: *806 + enterprise: *804 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *806 + repositories: *832 + repository: *807 requester: type: - 'null' @@ -142407,10 +142430,10 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 target_type: type: string @@ -142489,11 +142512,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *806 + enterprise: *804 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *806 + repositories: *832 + repository: *807 requester: type: - 'null' @@ -142741,8 +142764,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143559,8 +143582,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *749 + issue_dependencies_summary: *750 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143577,7 +143600,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *329 updated_at: type: string format: date-time @@ -143921,8 +143944,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *806 + repository: *807 sender: *4 required: - action @@ -144002,7 +144025,7 @@ webhooks: type: string enum: - deleted - comment: &837 + comment: &835 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -144169,8 +144192,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144983,8 +145006,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *749 + issue_dependencies_summary: *750 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145001,7 +145024,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *329 updated_at: type: string format: date-time @@ -145347,8 +145370,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *806 + repository: *807 sender: *4 required: - action @@ -145428,7 +145451,7 @@ webhooks: type: string enum: - edited - changes: &861 + changes: &859 description: The changes to the comment. type: object properties: @@ -145440,9 +145463,9 @@ webhooks: type: string required: - from - comment: *837 - enterprise: *806 - installation: *807 + comment: *835 + enterprise: *804 + installation: *805 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146258,8 +146281,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *749 + issue_dependencies_summary: *750 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146276,7 +146299,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *329 updated_at: type: string format: date-time @@ -146620,8 +146643,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *806 + repository: *807 sender: *4 required: - action @@ -146711,9 +146734,9 @@ webhooks: type: number blocking_issue: *183 blocking_issue_repo: *67 - installation: *807 - organization: *808 - repository: *809 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -146807,9 +146830,9 @@ webhooks: type: number blocking_issue: *183 blocking_issue_repo: *67 - installation: *807 - organization: *808 - repository: *809 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -146902,9 +146925,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *183 - installation: *807 - organization: *808 - repository: *809 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -146998,9 +147021,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *183 - installation: *807 - organization: *808 - repository: *809 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -147085,10 +147108,10 @@ webhooks: type: string enum: - assigned - assignee: *833 - enterprise: *806 - installation: *807 - issue: &840 + assignee: *831 + enterprise: *804 + installation: *805 + issue: &838 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147900,11 +147923,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *749 + issue_dependencies_summary: *750 issue_field_values: type: array - items: *753 + items: *751 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147921,7 +147944,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *329 updated_at: type: string format: date-time @@ -148024,8 +148047,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *806 + repository: *807 sender: *4 required: - action @@ -148105,8 +148128,8 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -148923,11 +148946,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *749 + issue_dependencies_summary: *750 issue_field_values: type: array - items: *753 + items: *751 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148944,7 +148967,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *329 updated_at: type: string format: date-time @@ -149190,8 +149213,8 @@ webhooks: required: - state - closed_at - organization: *808 - repository: *809 + organization: *806 + repository: *807 sender: *4 required: - action @@ -149270,8 +149293,8 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150079,11 +150102,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *749 + issue_dependencies_summary: *750 issue_field_values: type: array - items: *753 + items: *751 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150100,7 +150123,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *329 updated_at: type: string format: date-time @@ -150202,8 +150225,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *806 + repository: *807 sender: *4 required: - action @@ -150282,8 +150305,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151114,11 +151137,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *749 + issue_dependencies_summary: *750 issue_field_values: type: array - items: *753 + items: *751 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151135,7 +151158,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *329 updated_at: type: string format: date-time @@ -151216,7 +151239,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &838 + milestone: &836 title: Milestone description: A collection of related issues and pull requests. type: object @@ -151359,8 +151382,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *808 - repository: *809 + organization: *806 + repository: *807 sender: *4 required: - action @@ -151459,8 +151482,8 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152272,11 +152295,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *749 + issue_dependencies_summary: *750 issue_field_values: type: array - items: *753 + items: *751 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152290,7 +152313,7 @@ webhooks: timeline_url: type: string format: uri - type: *331 + type: *329 title: description: Title of the issue type: string @@ -152396,9 +152419,9 @@ webhooks: - active_lock_reason - body - reactions - label: *832 - organization: *808 - repository: *809 + label: *830 + organization: *806 + repository: *807 sender: *4 required: - action @@ -152478,8 +152501,8 @@ webhooks: type: string enum: - labeled - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153290,11 +153313,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *749 + issue_dependencies_summary: *750 issue_field_values: type: array - items: *753 + items: *751 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153308,7 +153331,7 @@ webhooks: timeline_url: type: string format: uri - type: *331 + type: *329 title: description: Title of the issue type: string @@ -153414,9 +153437,9 @@ webhooks: - active_lock_reason - body - reactions - label: *832 - organization: *808 - repository: *809 + label: *830 + organization: *806 + repository: *807 sender: *4 required: - action @@ -153496,8 +153519,8 @@ webhooks: type: string enum: - locked - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154333,11 +154356,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *749 + issue_dependencies_summary: *750 issue_field_values: type: array - items: *753 + items: *751 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154351,7 +154374,7 @@ webhooks: timeline_url: type: string format: uri - type: *331 + type: *329 title: description: Title of the issue type: string @@ -154434,8 +154457,8 @@ webhooks: format: uri user_view_type: type: string - organization: *808 - repository: *809 + organization: *806 + repository: *807 sender: *4 required: - action @@ -154514,8 +154537,8 @@ webhooks: type: string enum: - milestoned - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155345,11 +155368,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *749 + issue_dependencies_summary: *750 issue_field_values: type: array - items: *753 + items: *751 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155366,7 +155389,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *329 updated_at: type: string format: date-time @@ -155446,9 +155469,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *838 - organization: *808 - repository: *809 + milestone: *836 + organization: *806 + repository: *807 sender: *4 required: - action @@ -156340,11 +156363,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *749 + issue_dependencies_summary: *750 issue_field_values: type: array - items: *753 + items: *751 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156440,7 +156463,7 @@ webhooks: required: - login - id - type: *331 + type: *329 required: - id - number @@ -156921,8 +156944,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157734,11 +157757,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *749 + issue_dependencies_summary: *750 issue_field_values: type: array - items: *753 + items: *751 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157755,7 +157778,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *329 updated_at: type: string format: date-time @@ -157857,8 +157880,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *806 + repository: *807 sender: *4 required: - action @@ -157938,9 +157961,9 @@ webhooks: type: string enum: - pinned - enterprise: *806 - installation: *807 - issue: &839 + enterprise: *804 + installation: *805 + issue: &837 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -158746,11 +158769,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *749 + issue_dependencies_summary: *750 issue_field_values: type: array - items: *753 + items: *751 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158767,7 +158790,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *329 updated_at: type: string format: date-time @@ -158869,8 +158892,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *806 + repository: *807 sender: *4 required: - action @@ -158949,8 +158972,8 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159784,11 +159807,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *749 + issue_dependencies_summary: *750 issue_field_values: type: array - items: *753 + items: *751 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159885,9 +159908,9 @@ webhooks: format: uri user_view_type: type: string - type: *331 - organization: *808 - repository: *809 + type: *329 + organization: *806 + repository: *807 sender: *4 required: - action @@ -160776,11 +160799,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *749 + issue_dependencies_summary: *750 issue_field_values: type: array - items: *753 + items: *751 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160797,7 +160820,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *329 updated_at: type: string format: date-time @@ -161379,11 +161402,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *806 - installation: *807 - issue: *839 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + issue: *837 + organization: *806 + repository: *807 sender: *4 required: - action @@ -161463,12 +161486,12 @@ webhooks: type: string enum: - typed - enterprise: *806 - installation: *807 - issue: *840 - type: *331 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + issue: *838 + type: *329 + organization: *806 + repository: *807 sender: *4 required: - action @@ -161549,7 +161572,7 @@ webhooks: type: string enum: - unassigned - assignee: &864 + assignee: &862 title: User type: - object @@ -161621,11 +161644,11 @@ webhooks: required: - login - id - enterprise: *806 - installation: *807 - issue: *840 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + issue: *838 + organization: *806 + repository: *807 sender: *4 required: - action @@ -161704,12 +161727,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *806 - installation: *807 - issue: *840 - label: *832 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + issue: *838 + label: *830 + organization: *806 + repository: *807 sender: *4 required: - action @@ -161789,8 +161812,8 @@ webhooks: type: string enum: - unlocked - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -162624,11 +162647,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *749 + issue_dependencies_summary: *750 issue_field_values: type: array - items: *753 + items: *751 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162645,7 +162668,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *329 updated_at: type: string format: date-time @@ -162725,8 +162748,8 @@ webhooks: format: uri user_view_type: type: string - organization: *808 - repository: *809 + organization: *806 + repository: *807 sender: *4 required: - action @@ -162806,11 +162829,11 @@ webhooks: type: string enum: - unpinned - enterprise: *806 - installation: *807 - issue: *839 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + issue: *837 + organization: *806 + repository: *807 sender: *4 required: - action @@ -162889,12 +162912,12 @@ webhooks: type: string enum: - untyped - enterprise: *806 - installation: *807 - issue: *840 - type: *331 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + issue: *838 + type: *329 + organization: *806 + repository: *807 sender: *4 required: - action @@ -162974,11 +162997,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + label: *830 + organization: *806 + repository: *807 sender: *4 required: - action @@ -163056,11 +163079,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + label: *830 + organization: *806 + repository: *807 sender: *4 required: - action @@ -163170,11 +163193,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + label: *830 + organization: *806 + repository: *807 sender: *4 required: - action @@ -163256,9 +163279,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: &841 + enterprise: *804 + installation: *805 + marketplace_purchase: &839 title: Marketplace Purchase type: object required: @@ -163346,8 +163369,8 @@ webhooks: type: integer unit_count: type: integer - organization: *808 - previous_marketplace_purchase: &842 + organization: *806 + previous_marketplace_purchase: &840 title: Marketplace Purchase type: object properties: @@ -163431,7 +163454,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *807 sender: *4 required: - action @@ -163511,10 +163534,10 @@ webhooks: - changed effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 + enterprise: *804 + installation: *805 + marketplace_purchase: *839 + organization: *806 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163602,7 +163625,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *807 sender: *4 required: - action @@ -163684,10 +163707,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 + enterprise: *804 + installation: *805 + marketplace_purchase: *839 + organization: *806 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163773,7 +163796,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *807 sender: *4 required: - action @@ -163854,8 +163877,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 marketplace_purchase: title: Marketplace Purchase type: object @@ -163941,9 +163964,9 @@ webhooks: type: integer unit_count: type: integer - organization: *808 - previous_marketplace_purchase: *842 - repository: *809 + organization: *806 + previous_marketplace_purchase: *840 + repository: *807 sender: *4 required: - action @@ -164023,12 +164046,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 - previous_marketplace_purchase: *842 - repository: *809 + enterprise: *804 + installation: *805 + marketplace_purchase: *839 + organization: *806 + previous_marketplace_purchase: *840 + repository: *807 sender: *4 required: - action @@ -164130,11 +164153,11 @@ webhooks: type: string required: - to - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + member: *831 + organization: *806 + repository: *807 sender: *4 required: - action @@ -164236,11 +164259,11 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + member: *831 + organization: *806 + repository: *807 sender: *4 required: - action @@ -164319,11 +164342,11 @@ webhooks: type: string enum: - removed - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + member: *831 + organization: *806 + repository: *807 sender: *4 required: - action @@ -164401,11 +164424,11 @@ webhooks: type: string enum: - added - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + member: *831 + organization: *806 + repository: *807 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164483,7 +164506,7 @@ webhooks: required: - login - id - team: &843 + team: &841 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -164713,11 +164736,11 @@ webhooks: type: string enum: - removed - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + member: *831 + organization: *806 + repository: *807 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164796,7 +164819,7 @@ webhooks: required: - login - id - team: *843 + team: *841 required: - action - scope @@ -164878,8 +164901,8 @@ webhooks: type: string enum: - checks_requested - installation: *807 - merge_group: &844 + installation: *805 + merge_group: &842 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -164898,15 +164921,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *503 + head_commit: *501 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *808 - repository: *809 + organization: *806 + repository: *807 sender: *4 required: - action @@ -164992,10 +165015,10 @@ webhooks: - merged - invalidated - dequeued - installation: *807 - merge_group: *844 - organization: *808 - repository: *809 + installation: *805 + merge_group: *842 + organization: *806 + repository: *807 sender: *4 required: - action @@ -165068,7 +165091,7 @@ webhooks: type: string enum: - deleted - enterprise: *806 + enterprise: *804 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -165177,12 +165200,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *807 - organization: *808 + installation: *805 + organization: *806 repository: anyOf: - type: 'null' - - *809 + - *807 sender: *4 required: - action @@ -165262,11 +165285,11 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + milestone: *836 + organization: *806 + repository: *807 sender: *4 required: - action @@ -165345,9 +165368,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - milestone: &845 + enterprise: *804 + installation: *805 + milestone: &843 title: Milestone description: A collection of related issues and pull requests. type: object @@ -165489,8 +165512,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *808 - repository: *809 + organization: *806 + repository: *807 sender: *4 required: - action @@ -165569,11 +165592,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + milestone: *836 + organization: *806 + repository: *807 sender: *4 required: - action @@ -165683,11 +165706,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + milestone: *836 + organization: *806 + repository: *807 sender: *4 required: - action @@ -165767,11 +165790,11 @@ webhooks: type: string enum: - opened - enterprise: *806 - installation: *807 - milestone: *845 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + milestone: *843 + organization: *806 + repository: *807 sender: *4 required: - action @@ -165850,11 +165873,11 @@ webhooks: type: string enum: - blocked - blocked_user: *833 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + blocked_user: *831 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -165933,11 +165956,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *833 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + blocked_user: *831 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -166016,9 +166039,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - membership: &846 + enterprise: *804 + installation: *805 + membership: &844 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -166128,8 +166151,8 @@ webhooks: - role - organization_url - user - organization: *808 - repository: *809 + organization: *806 + repository: *807 sender: *4 required: - action @@ -166207,11 +166230,11 @@ webhooks: type: string enum: - member_added - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + membership: *844 + organization: *806 + repository: *807 sender: *4 required: - action @@ -166290,8 +166313,8 @@ webhooks: type: string enum: - member_invited - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -166413,10 +166436,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *808 - repository: *809 + organization: *806 + repository: *807 sender: *4 - user: *833 + user: *831 required: - action - invitation @@ -166494,11 +166517,11 @@ webhooks: type: string enum: - member_removed - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + membership: *844 + organization: *806 + repository: *807 sender: *4 required: - action @@ -166585,11 +166608,11 @@ webhooks: properties: from: type: string - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + membership: *844 + organization: *806 + repository: *807 sender: *4 required: - action @@ -166665,9 +166688,9 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 package: description: Information about the package. type: object @@ -167190,7 +167213,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &847 + items: &845 title: Ruby Gems metadata type: object properties: @@ -167287,7 +167310,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *807 sender: *4 required: - action @@ -167363,9 +167386,9 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 package: description: Information about the package. type: object @@ -167727,7 +167750,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *847 + items: *845 source_url: type: string format: uri @@ -167798,7 +167821,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *807 sender: *4 required: - action @@ -167979,12 +168002,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *806 + enterprise: *804 id: type: integer - installation: *807 - organization: *808 - repository: *809 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - id @@ -168061,7 +168084,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &848 + personal_access_token_request: &846 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -168211,10 +168234,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *806 - organization: *808 + enterprise: *804 + organization: *806 sender: *4 - installation: *807 + installation: *805 required: - action - personal_access_token_request @@ -168291,11 +168314,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *848 - enterprise: *806 - organization: *808 + personal_access_token_request: *846 + enterprise: *804 + organization: *806 sender: *4 - installation: *807 + installation: *805 required: - action - personal_access_token_request @@ -168371,11 +168394,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *848 - enterprise: *806 - organization: *808 + personal_access_token_request: *846 + enterprise: *804 + organization: *806 sender: *4 - installation: *807 + installation: *805 required: - action - personal_access_token_request @@ -168450,11 +168473,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *848 - organization: *808 - enterprise: *806 + personal_access_token_request: *846 + organization: *806 + enterprise: *804 sender: *4 - installation: *807 + installation: *805 required: - action - personal_access_token_request @@ -168559,7 +168582,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *849 + last_response: *847 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -168591,8 +168614,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *808 - repository: *809 + organization: *806 + repository: *807 sender: *4 zen: description: Random string of GitHub zen. @@ -168837,10 +168860,10 @@ webhooks: - from required: - note - enterprise: *806 - installation: *807 - organization: *808 - project_card: &850 + enterprise: *804 + installation: *805 + organization: *806 + project_card: &848 title: Project Card type: object properties: @@ -168963,7 +168986,7 @@ webhooks: - creator - created_at - updated_at - repository: *809 + repository: *807 sender: *4 required: - action @@ -169044,11 +169067,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project_card: *850 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + project_card: *848 + repository: *807 sender: *4 required: - action @@ -169128,9 +169151,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 project_card: title: Project Card type: object @@ -169260,7 +169283,7 @@ webhooks: repository: anyOf: - type: 'null' - - *809 + - *807 sender: *4 required: - action @@ -169354,11 +169377,11 @@ webhooks: - from required: - note - enterprise: *806 - installation: *807 - organization: *808 - project_card: *850 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + project_card: *848 + repository: *807 sender: *4 required: - action @@ -169452,9 +169475,9 @@ webhooks: - from required: - column_id - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 project_card: allOf: - title: Project Card @@ -169651,7 +169674,7 @@ webhooks: type: string required: - after_id - repository: *809 + repository: *807 sender: *4 required: - action @@ -169731,10 +169754,10 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - organization: *808 - project: &852 + enterprise: *804 + installation: *805 + organization: *806 + project: &850 title: Project type: object properties: @@ -169861,7 +169884,7 @@ webhooks: - creator - created_at - updated_at - repository: *809 + repository: *807 sender: *4 required: - action @@ -169941,10 +169964,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project_column: &851 + enterprise: *804 + installation: *805 + organization: *806 + project_column: &849 title: Project Column type: object properties: @@ -169984,7 +170007,7 @@ webhooks: - name - created_at - updated_at - repository: *809 + repository: *807 sender: *4 required: - action @@ -170063,14 +170086,14 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 + enterprise: *804 + installation: *805 + organization: *806 + project_column: *849 repository: anyOf: - type: 'null' - - *809 + - *807 sender: *4 required: - action @@ -170159,11 +170182,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + project_column: *849 + repository: *807 sender: *4 required: - action @@ -170243,11 +170266,11 @@ webhooks: type: string enum: - moved - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + project_column: *849 + repository: *807 sender: *4 required: - action @@ -170327,11 +170350,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + project: *850 + repository: *807 sender: *4 required: - action @@ -170411,14 +170434,14 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - project: *852 + enterprise: *804 + installation: *805 + organization: *806 + project: *850 repository: anyOf: - type: 'null' - - *809 + - *807 sender: *4 required: - action @@ -170519,11 +170542,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + project: *850 + repository: *807 sender: *4 required: - action @@ -170602,11 +170625,11 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + project: *850 + repository: *807 sender: *4 required: - action @@ -170687,9 +170710,9 @@ webhooks: type: string enum: - closed - installation: *807 - organization: *808 - projects_v2: *363 + installation: *805 + organization: *806 + projects_v2: *361 sender: *4 required: - action @@ -170770,9 +170793,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2: *363 + installation: *805 + organization: *806 + projects_v2: *361 sender: *4 required: - action @@ -170853,9 +170876,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2: *363 + installation: *805 + organization: *806 + projects_v2: *361 sender: *4 required: - action @@ -170976,9 +170999,9 @@ webhooks: type: string to: type: string - installation: *807 - organization: *808 - projects_v2: *363 + installation: *805 + organization: *806 + projects_v2: *361 sender: *4 required: - action @@ -171061,7 +171084,7 @@ webhooks: type: string enum: - archived - changes: &856 + changes: &854 type: object properties: archived_at: @@ -171077,9 +171100,9 @@ webhooks: - string - 'null' format: date-time - installation: *807 - organization: *808 - projects_v2_item: &853 + installation: *805 + organization: *806 + projects_v2_item: &851 title: Projects v2 Item description: An item belonging to a project type: object @@ -171097,7 +171120,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *370 + content_type: *368 creator: *4 created_at: type: string @@ -171219,9 +171242,9 @@ webhooks: - 'null' to: type: string - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *805 + organization: *806 + projects_v2_item: *851 sender: *4 required: - action @@ -171303,9 +171326,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *805 + organization: *806 + projects_v2_item: *851 sender: *4 required: - action @@ -171386,9 +171409,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *805 + organization: *806 + projects_v2_item: *851 sender: *4 required: - action @@ -171493,7 +171516,7 @@ webhooks: oneOf: - type: string - type: integer - - &854 + - &852 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -171517,7 +171540,7 @@ webhooks: required: - id - name - - &855 + - &853 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -171557,8 +171580,8 @@ webhooks: oneOf: - type: string - type: integer - - *854 - - *855 + - *852 + - *853 type: - 'null' - string @@ -171581,9 +171604,9 @@ webhooks: - 'null' required: - body - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *805 + organization: *806 + projects_v2_item: *851 sender: *4 required: - action @@ -171680,9 +171703,9 @@ webhooks: type: - string - 'null' - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *805 + organization: *806 + projects_v2_item: *851 sender: *4 required: - action @@ -171765,10 +171788,10 @@ webhooks: type: string enum: - restored - changes: *856 - installation: *807 - organization: *808 - projects_v2_item: *853 + changes: *854 + installation: *805 + organization: *806 + projects_v2_item: *851 sender: *4 required: - action @@ -171850,9 +171873,9 @@ webhooks: type: string enum: - reopened - installation: *807 - organization: *808 - projects_v2: *363 + installation: *805 + organization: *806 + projects_v2: *361 sender: *4 required: - action @@ -171933,9 +171956,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *805 + organization: *806 + projects_v2_status_update: *855 sender: *4 required: - action @@ -172016,9 +172039,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *805 + organization: *806 + projects_v2_status_update: *855 sender: *4 required: - action @@ -172164,9 +172187,9 @@ webhooks: - string - 'null' format: date - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *805 + organization: *806 + projects_v2_status_update: *855 sender: *4 required: - action @@ -172237,10 +172260,10 @@ webhooks: title: public event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - repository @@ -172317,13 +172340,13 @@ webhooks: type: string enum: - assigned - assignee: *833 - enterprise: *806 - installation: *807 - number: &858 + assignee: *831 + enterprise: *804 + installation: *805 + number: &856 description: The pull request number. type: integer - organization: *808 + organization: *806 pull_request: title: Pull Request type: object @@ -174672,7 +174695,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *807 sender: *4 required: - action @@ -174754,11 +174777,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 number: type: integer - organization: *808 + organization: *806 pull_request: title: Pull Request type: object @@ -177100,7 +177123,7 @@ webhooks: - draft reason: type: string - repository: *809 + repository: *807 sender: *4 required: - action @@ -177182,11 +177205,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 number: type: integer - organization: *808 + organization: *806 pull_request: title: Pull Request type: object @@ -179528,7 +179551,7 @@ webhooks: - draft reason: type: string - repository: *809 + repository: *807 sender: *4 required: - action @@ -179610,13 +179633,13 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: &859 + enterprise: *804 + installation: *805 + number: *856 + organization: *806 + pull_request: &857 allOf: - - *658 + - *656 - type: object properties: allow_auto_merge: @@ -179678,7 +179701,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *809 + repository: *807 sender: *4 required: - action @@ -179759,12 +179782,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *804 + installation: *805 + number: *856 + organization: *806 + pull_request: *857 + repository: *807 sender: *4 required: - action @@ -179844,11 +179867,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *806 - milestone: *368 - number: *858 - organization: *808 - pull_request: &860 + enterprise: *804 + milestone: *366 + number: *856 + organization: *806 + pull_request: &858 title: Pull Request type: object properties: @@ -182175,7 +182198,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *807 sender: *4 required: - action @@ -182254,11 +182277,11 @@ webhooks: type: string enum: - dequeued - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 number: type: integer - organization: *808 + organization: *806 pull_request: title: Pull Request type: object @@ -184604,7 +184627,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *809 + repository: *807 sender: *4 required: - action @@ -184728,12 +184751,12 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *804 + installation: *805 + number: *856 + organization: *806 + pull_request: *857 + repository: *807 sender: *4 required: - action @@ -184813,11 +184836,11 @@ webhooks: type: string enum: - enqueued - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 number: type: integer - organization: *808 + organization: *806 pull_request: title: Pull Request type: object @@ -187148,7 +187171,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *807 sender: *4 required: - action @@ -187228,11 +187251,11 @@ webhooks: type: string enum: - labeled - enterprise: *806 - installation: *807 - label: *832 - number: *858 - organization: *808 + enterprise: *804 + installation: *805 + label: *830 + number: *856 + organization: *806 pull_request: title: Pull Request type: object @@ -189580,7 +189603,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *807 sender: *4 required: - action @@ -189661,10 +189684,10 @@ webhooks: type: string enum: - locked - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *804 + installation: *805 + number: *856 + organization: *806 pull_request: title: Pull Request type: object @@ -192010,7 +192033,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *807 sender: *4 required: - action @@ -192090,12 +192113,12 @@ webhooks: type: string enum: - milestoned - enterprise: *806 - milestone: *368 - number: *858 - organization: *808 - pull_request: *860 - repository: *809 + enterprise: *804 + milestone: *366 + number: *856 + organization: *806 + pull_request: *858 + repository: *807 sender: *4 required: - action @@ -192174,12 +192197,12 @@ webhooks: type: string enum: - opened - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *804 + installation: *805 + number: *856 + organization: *806 + pull_request: *857 + repository: *807 sender: *4 required: - action @@ -192260,12 +192283,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *804 + installation: *805 + number: *856 + organization: *806 + pull_request: *857 + repository: *807 sender: *4 required: - action @@ -192345,12 +192368,12 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *804 + installation: *805 + number: *856 + organization: *806 + pull_request: *857 + repository: *807 sender: *4 required: - action @@ -192725,9 +192748,9 @@ webhooks: - start_side - side - reactions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 pull_request: type: object properties: @@ -194957,7 +194980,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *807 sender: *4 required: - action @@ -195037,7 +195060,7 @@ webhooks: type: string enum: - deleted - comment: &862 + comment: &860 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 +195353,9 @@ webhooks: - start_side - side - reactions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 pull_request: type: object properties: @@ -197550,7 +197573,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *807 sender: *4 required: - action @@ -197630,11 +197653,11 @@ webhooks: type: string enum: - edited - changes: *861 - comment: *862 - enterprise: *806 - installation: *807 - organization: *808 + changes: *859 + comment: *860 + enterprise: *804 + installation: *805 + organization: *806 pull_request: type: object properties: @@ -199855,7 +199878,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *807 sender: *4 required: - action @@ -199936,9 +199959,9 @@ webhooks: type: string enum: - dismissed - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 pull_request: title: Simple Pull Request type: object @@ -202171,7 +202194,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *807 review: description: The review that was affected. type: object @@ -202422,9 +202445,9 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 pull_request: title: Simple Pull Request type: object @@ -204538,8 +204561,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 - review: &863 + repository: *807 + review: &861 description: The review that was affected. type: object properties: @@ -204777,12 +204800,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 number: description: The pull request number. type: integer - organization: *808 + organization: *806 pull_request: title: Pull Request type: object @@ -207129,7 +207152,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *807 requested_reviewer: title: User type: @@ -207215,12 +207238,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 number: description: The pull request number. type: integer - organization: *808 + organization: *806 pull_request: title: Pull Request type: object @@ -209574,7 +209597,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *807 requested_team: title: Team description: Groups of organization members that gives permissions @@ -209769,12 +209792,12 @@ webhooks: type: string enum: - review_requested - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 number: description: The pull request number. type: integer - organization: *808 + organization: *806 pull_request: title: Pull Request type: object @@ -212123,7 +212146,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *807 requested_reviewer: title: User type: @@ -212210,12 +212233,12 @@ webhooks: type: string enum: - review_requested - enterprise: *806 - installation: *807 + enterprise: *804 + installation: *805 number: description: The pull request number. type: integer - organization: *808 + organization: *806 pull_request: title: Pull Request type: object @@ -214555,7 +214578,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *807 requested_team: title: Team description: Groups of organization members that gives permissions @@ -214739,9 +214762,9 @@ webhooks: type: string enum: - submitted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 pull_request: title: Simple Pull Request type: object @@ -216977,8 +217000,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 - review: *863 + repository: *807 + review: *861 sender: *4 required: - action @@ -217058,9 +217081,9 @@ webhooks: type: string enum: - resolved - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 pull_request: title: Simple Pull Request type: object @@ -219191,7 +219214,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *807 sender: *4 thread: type: object @@ -219588,9 +219611,9 @@ webhooks: type: string enum: - unresolved - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 pull_request: title: Simple Pull Request type: object @@ -221704,7 +221727,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *807 sender: *4 thread: type: object @@ -222103,10 +222126,10 @@ webhooks: type: string before: type: string - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *804 + installation: *805 + number: *856 + organization: *806 pull_request: title: Pull Request type: object @@ -224441,7 +224464,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *807 sender: *4 required: - action @@ -224523,11 +224546,11 @@ webhooks: type: string enum: - unassigned - assignee: *864 - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + assignee: *862 + enterprise: *804 + installation: *805 + number: *856 + organization: *806 pull_request: title: Pull Request type: object @@ -226877,7 +226900,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *807 sender: *4 required: - action @@ -226956,11 +226979,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *806 - installation: *807 - label: *832 - number: *858 - organization: *808 + enterprise: *804 + installation: *805 + label: *830 + number: *856 + organization: *806 pull_request: title: Pull Request type: object @@ -229299,7 +229322,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *807 sender: *4 required: - action @@ -229380,10 +229403,10 @@ webhooks: type: string enum: - unlocked - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *804 + installation: *805 + number: *856 + organization: *806 pull_request: title: Pull Request type: object @@ -231712,7 +231735,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *807 sender: *4 required: - action @@ -231915,7 +231938,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *806 + enterprise: *804 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -232010,8 +232033,8 @@ webhooks: - url - author - committer - installation: *807 - organization: *808 + installation: *805 + organization: *806 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -232599,9 +232622,9 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 registry_package: type: object properties: @@ -233078,7 +233101,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *847 + items: *845 summary: type: string tag_name: @@ -233134,7 +233157,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *807 sender: *4 required: - action @@ -233212,9 +233235,9 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 registry_package: type: object properties: @@ -233526,7 +233549,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *847 + items: *845 summary: type: string tag_name: @@ -233576,7 +233599,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *807 sender: *4 required: - action @@ -233653,10 +233676,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - release: &865 + enterprise: *804 + installation: *805 + organization: *806 + release: &863 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -233987,7 +234010,7 @@ webhooks: - updated_at - zipball_url - body - repository: *809 + repository: *807 sender: *4 required: - action @@ -234064,11 +234087,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + release: *863 + repository: *807 sender: *4 required: - action @@ -234185,11 +234208,11 @@ webhooks: type: boolean required: - to - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + release: *863 + repository: *807 sender: *4 required: - action @@ -234267,9 +234290,9 @@ webhooks: type: string enum: - prereleased - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -234605,7 +234628,7 @@ webhooks: - string - 'null' format: uri - repository: *809 + repository: *807 sender: *4 required: - action @@ -234681,10 +234704,10 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - release: &866 + enterprise: *804 + installation: *805 + organization: *806 + release: &864 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -235017,7 +235040,7 @@ webhooks: - string - 'null' format: uri - repository: *809 + repository: *807 sender: *4 required: - action @@ -235093,11 +235116,11 @@ webhooks: type: string enum: - released - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + release: *863 + repository: *807 sender: *4 required: - action @@ -235173,11 +235196,11 @@ webhooks: type: string enum: - unpublished - enterprise: *806 - installation: *807 - organization: *808 - release: *866 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + release: *864 + repository: *807 sender: *4 required: - action @@ -235253,11 +235276,11 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_advisory: *711 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 + repository_advisory: *709 sender: *4 required: - action @@ -235333,11 +235356,11 @@ webhooks: type: string enum: - reported - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_advisory: *711 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 + repository_advisory: *709 sender: *4 required: - action @@ -235413,10 +235436,10 @@ webhooks: type: string enum: - archived - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -235493,10 +235516,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -235574,10 +235597,10 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -235662,10 +235685,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: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -235780,10 +235803,10 @@ webhooks: - 'null' items: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -235855,10 +235878,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 status: type: string @@ -235939,10 +235962,10 @@ webhooks: type: string enum: - privatized - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -236019,10 +236042,10 @@ webhooks: type: string enum: - publicized - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -236116,10 +236139,10 @@ webhooks: - name required: - repository - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -236199,10 +236222,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 repository_ruleset: *158 sender: *4 required: @@ -236281,10 +236304,10 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 repository_ruleset: *158 sender: *4 required: @@ -236363,10 +236386,10 @@ webhooks: type: string enum: - edited - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 repository_ruleset: *158 changes: type: object @@ -236428,16 +236451,16 @@ webhooks: properties: added: type: array - items: *679 + items: *677 deleted: type: array - items: *679 + items: *677 updated: type: array items: type: object properties: - rule: *679 + rule: *677 changes: type: object properties: @@ -236674,10 +236697,10 @@ webhooks: - from required: - owner - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -236755,10 +236778,10 @@ webhooks: type: string enum: - unarchived - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -236836,7 +236859,7 @@ webhooks: type: string enum: - create - alert: &867 + alert: &865 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -236960,10 +236983,10 @@ webhooks: type: string enum: - open - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -237173,10 +237196,10 @@ webhooks: type: string enum: - dismissed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -237254,11 +237277,11 @@ webhooks: type: string enum: - reopen - alert: *867 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *865 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -237460,10 +237483,10 @@ webhooks: enum: - fixed - open - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -237541,7 +237564,7 @@ webhooks: type: string enum: - created - alert: &868 + alert: &866 type: object properties: number: *109 @@ -237655,10 +237678,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -237739,11 +237762,11 @@ webhooks: type: string enum: - created - alert: *868 - installation: *807 - location: *869 - organization: *808 - repository: *809 + alert: *866 + installation: *805 + location: *867 + organization: *806 + repository: *807 sender: *4 required: - location @@ -237981,11 +238004,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *866 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -238063,11 +238086,11 @@ webhooks: type: string enum: - reopened - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *866 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -238145,11 +238168,11 @@ webhooks: type: string enum: - resolved - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *866 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -238227,11 +238250,11 @@ webhooks: type: string enum: - validated - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *866 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -238361,10 +238384,10 @@ webhooks: - organization - enterprise - - repository: *809 - enterprise: *806 - installation: *807 - organization: *808 + repository: *807 + enterprise: *804 + installation: *805 + organization: *806 sender: *4 required: - action @@ -238442,11 +238465,11 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - security_advisory: &870 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 + security_advisory: &868 description: The details of the security advisory, including summary, description, and severity. type: object @@ -238632,11 +238655,11 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - security_advisory: *870 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 + security_advisory: *868 sender: *4 required: - action @@ -238709,10 +238732,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -238898,11 +238921,11 @@ webhooks: from: type: object properties: - security_and_analysis: *377 - enterprise: *806 - installation: *807 - organization: *808 - repository: *443 + security_and_analysis: *375 + enterprise: *804 + installation: *805 + organization: *806 + repository: *441 sender: *4 required: - changes @@ -238980,12 +239003,12 @@ webhooks: type: string enum: - cancelled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 - sponsorship: &871 + sponsorship: &869 type: object properties: created_at: @@ -239290,12 +239313,12 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 - sponsorship: *871 + sponsorship: *869 required: - action - sponsorship @@ -239383,12 +239406,12 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 - sponsorship: *871 + sponsorship: *869 required: - action - changes @@ -239465,17 +239488,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &872 + effective_date: &870 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: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 - sponsorship: *871 + sponsorship: *869 required: - action - sponsorship @@ -239549,7 +239572,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &873 + changes: &871 type: object properties: tier: @@ -239593,13 +239616,13 @@ webhooks: - from required: - tier - effective_date: *872 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + effective_date: *870 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 - sponsorship: *871 + sponsorship: *869 required: - action - changes @@ -239676,13 +239699,13 @@ webhooks: type: string enum: - tier_changed - changes: *873 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + changes: *871 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 - sponsorship: *871 + sponsorship: *869 required: - action - changes @@ -239756,10 +239779,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -239843,10 +239866,10 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -240280,15 +240303,15 @@ webhooks: type: - string - 'null' - enterprise: *806 + enterprise: *804 id: description: The unique identifier of the status. type: integer - installation: *807 + installation: *805 name: type: string - organization: *808 - repository: *809 + organization: *806 + repository: *807 sender: *4 sha: description: The Commit SHA. @@ -240404,9 +240427,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *183 - installation: *807 - organization: *808 - repository: *809 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -240496,9 +240519,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *183 - installation: *807 - organization: *808 - repository: *809 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -240588,9 +240611,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *183 - installation: *807 - organization: *808 - repository: *809 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -240680,9 +240703,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *183 - installation: *807 - organization: *808 - repository: *809 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -240759,12 +240782,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 - team: &874 + team: &872 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -240994,9 +241017,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 repository: title: Repository description: A git repository @@ -241466,7 +241489,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *872 required: - action - team @@ -241542,9 +241565,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 repository: title: Repository description: A git repository @@ -242014,7 +242037,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *872 required: - action - team @@ -242091,9 +242114,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 repository: title: Repository description: A git repository @@ -242563,7 +242586,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *872 required: - action - team @@ -242707,9 +242730,9 @@ webhooks: - from required: - permissions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 repository: title: Repository description: A git repository @@ -243179,7 +243202,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *872 required: - action - changes @@ -243257,9 +243280,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *804 + installation: *805 + organization: *806 repository: title: Repository description: A git repository @@ -243729,7 +243752,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *872 required: - action - team @@ -243805,10 +243828,10 @@ webhooks: type: string enum: - started - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 required: - action @@ -243881,17 +243904,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *806 + enterprise: *804 inputs: type: - object - 'null' additionalProperties: true - installation: *807 - organization: *808 + installation: *805 + organization: *806 ref: type: string - repository: *809 + repository: *807 sender: *4 workflow: type: string @@ -243973,10 +243996,10 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 workflow_job: allOf: @@ -244232,7 +244255,7 @@ webhooks: type: string required: - conclusion - deployment: *569 + deployment: *567 required: - action - repository @@ -244311,10 +244334,10 @@ webhooks: type: string enum: - in_progress - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 workflow_job: allOf: @@ -244596,7 +244619,7 @@ webhooks: required: - status - steps - deployment: *569 + deployment: *567 required: - action - repository @@ -244675,10 +244698,10 @@ webhooks: type: string enum: - queued - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 workflow_job: type: object @@ -244824,7 +244847,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *569 + deployment: *567 required: - action - repository @@ -244903,10 +244926,10 @@ webhooks: type: string enum: - waiting - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 workflow_job: type: object @@ -245053,7 +245076,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *569 + deployment: *567 required: - action - repository @@ -245133,12 +245156,12 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 - workflow: *828 + workflow: *826 workflow_run: title: Workflow Run type: object @@ -246157,12 +246180,12 @@ webhooks: type: string enum: - in_progress - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 - workflow: *828 + workflow: *826 workflow_run: title: Workflow Run type: object @@ -247166,12 +247189,12 @@ webhooks: type: string enum: - requested - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *804 + installation: *805 + organization: *806 + repository: *807 sender: *4 - workflow: *828 + workflow: *826 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..56ffae28c 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -45251,29 +45251,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 +59915,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "secret-scanning", "subcategory": "secret-scanning" @@ -62886,7 +62863,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" ], @@ -114540,7 +114517,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" ], @@ -135677,6 +135654,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/orgs#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": "orgs" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -158163,29 +158244,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,7 +217747,7 @@ }, { "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`", "in": "query", "required": false, "schema": { @@ -217697,10 +217755,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] + } } }, { @@ -405202,16 +405257,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 +405284,6 @@ "schema": { "type": "string" } - }, - { - "name": "first", - "description{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}