diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 2b51a42e7..2ed3c9d97 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -3200,12 +3200,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -3251,98 +3245,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", @@ -7256,7 +7158,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" ], @@ -12734,6 +12636,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", @@ -16388,12 +16361,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -22991,7 +22958,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": { @@ -22999,8 +22966,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + } } }, { @@ -44273,16 +44239,6 @@ { "$ref": "#/components/parameters/direction" }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -44298,12 +44254,6 @@ }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" } ], "responses": { @@ -61344,7 +61294,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -74895,7 +74845,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": { @@ -74903,8 +74853,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + } } } ], @@ -75625,7 +75574,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -104690,483 +104639,6 @@ ], "additionalProperties": false }, - "nullable-alert-updated-at": { - "type": "string", - "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "secret-scanning-alert-state": { - "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", - "type": "string", - "enum": [ - "open", - "resolved" - ] - }, - "secret-scanning-alert-resolution": { - "type": "string", - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "nullable": true, - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests" - ] - }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "example": "/example/secrets.txt" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "example": "/example/Home.md" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082" - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussion-4566270" - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, - "nullable-secret-scanning-first-detected-location": { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "$ref": "#/components/schemas/secret-scanning-location-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - } - ], - "nullable": true - }, - "organization-secret-scanning-alert": { - "type": "object", - "properties": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "$ref": "#/components/schemas/nullable-alert-updated-at" - }, - "url": { - "$ref": "#/components/schemas/alert-url" - }, - "html_url": { - "$ref": "#/components/schemas/alert-html-url" - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" - }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - }, - "resolved_at": { - "type": "string", - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "resolved_by": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "$ref": "#/components/schemas/simple-repository" - }, - "push_protection_bypassed": { - "type": "boolean", - "description": "Whether push protection was bypassed for the detected secret.", - "nullable": true - }, - "push_protection_bypassed_by": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "push_protection_bypassed_at": { - "type": "string", - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "push_protection_bypass_request_reviewer": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "push_protection_bypass_request_reviewer_comment": { - "type": "string", - "description": "An optional comment when reviewing a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_comment": { - "type": "string", - "description": "An optional comment when requesting a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_html_url": { - "type": "string", - "format": "uri", - "description": "The URL to a push protection bypass request.", - "nullable": true - }, - "resolution_comment": { - "type": "string", - "description": "The comment that was optionally added when this alert was closed", - "nullable": true - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": "boolean", - "description": "Whether the secret was publicly leaked.", - "nullable": true - }, - "multi_repo": { - "type": "boolean", - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", - "nullable": true - }, - "is_base64_encoded": { - "type": "boolean", - "description": "A boolean value representing whether or not alert is base64 encoded", - "nullable": true - }, - "first_location_detected": { - "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "$ref": "#/components/schemas/nullable-simple-user" - } - } - }, "enterprise-team": { "title": "Enterprise Team", "description": "Group of enterprise owners and/or members", @@ -110861,6 +110333,15 @@ "closed" ] }, + "campaign-alert-type": { + "title": "Campaign alert type", + "description": "Indicates the alert type of a campaign", + "type": "string", + "enum": [ + "code_scanning", + "secret_scanning" + ] + }, "nullable-team-simple": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -118540,6 +118021,483 @@ } ] }, + "nullable-alert-updated-at": { + "type": "string", + "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "readOnly": true, + "nullable": true + }, + "secret-scanning-alert-state": { + "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", + "type": "string", + "enum": [ + "open", + "resolved" + ] + }, + "secret-scanning-alert-resolution": { + "type": "string", + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "nullable": true, + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests" + ] + }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "nullable-secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ], + "nullable": true + }, + "organization-secret-scanning-alert": { + "type": "object", + "properties": { + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "updated_at": { + "$ref": "#/components/schemas/nullable-alert-updated-at" + }, + "url": { + "$ref": "#/components/schemas/alert-url" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "locations_url": { + "type": "string", + "format": "uri", + "description": "The REST API URL of the code locations for this alert." + }, + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" + }, + "resolution": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + }, + "resolved_at": { + "type": "string", + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "resolved_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "secret": { + "type": "string", + "description": "The secret that was detected." + }, + "repository": { + "$ref": "#/components/schemas/simple-repository" + }, + "push_protection_bypassed": { + "type": "boolean", + "description": "Whether push protection was bypassed for the detected secret.", + "nullable": true + }, + "push_protection_bypassed_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "push_protection_bypassed_at": { + "type": "string", + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "push_protection_bypass_request_reviewer": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "push_protection_bypass_request_reviewer_comment": { + "type": "string", + "description": "An optional comment when reviewing a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, + "resolution_comment": { + "type": "string", + "description": "The comment that was optionally added when this alert was closed", + "nullable": true + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", + "nullable": true + }, + "is_base64_encoded": { + "type": "boolean", + "description": "A boolean value representing whether or not alert is base64 encoded", + "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "$ref": "#/components/schemas/nullable-simple-user" + } + } + }, "secret-scanning-row-version": { "type": "string", "description": "The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate unintentionally overriding someone else's update.", @@ -279891,192 +279849,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": [ { @@ -283043,6 +282815,18 @@ ] } }, + "list-attestation-repositories": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + }, "list-attestations": { "value": { "attestations": [ @@ -287929,6 +287713,192 @@ } ] }, + "organization-secret-scanning-alert-list": { + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" + }, + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "active", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true, + "assigned_to": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + } + ] + }, "secret-scanning-pattern-configuration": { "value": { "pattern_config_version": "0ujsswThIGTUYm2K8FjOOfXtY1K", @@ -309091,113 +309061,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.", @@ -310028,6 +309891,51 @@ "type": "integer" } }, + "secret-scanning-alert-state": { + "name": "state", + "in": "query", + "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "resolved" + ] + } + }, + "secret-scanning-alert-secret-type": { + "name": "secret_type", + "in": "query", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-resolution": { + "name": "resolution", + "in": "query", + "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-sort": { + "name": "sort", + "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated" + ], + "default": "created" + } + }, "secret-scanning-pagination-before-org-repo": { "name": "before", "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.", @@ -310046,6 +309954,45 @@ "type": "string" } }, + "secret-scanning-alert-validity": { + "name": "validity", + "in": "query", + "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-publicly-leaked": { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + "secret-scanning-alert-multi-repo": { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + "secret-scanning-alert-hide-secret": { + "name": "hide_secret", + "in": "query", + "description": "A boolean value representing whether or not to hide literal secrets in the results.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, "network-configuration-id": { "name": "network_configuration_id", "description": "Unique identifier of the hosted compute network configuration.", diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 9427653ab..035c9e286 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -2296,8 +2296,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -2325,61 +2323,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 @@ -5116,9 +5059,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 @@ -9182,6 +9126,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 @@ -11933,8 +11924,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -16635,8 +16624,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: @@ -16644,7 +16635,6 @@ paths: maxItems: 50 items: type: string - example: fields[]=123,fields[]=456,fields[]=789 - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/per-page" @@ -32235,14 +32225,6 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -32253,8 +32235,6 @@ paths: default: 30 - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" responses: '200': description: Response @@ -44484,6 +44464,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -54263,8 +54246,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: @@ -54272,7 +54257,6 @@ paths: maxItems: 50 items: type: string - example: fields[]=123,fields[]=456,fields[]=789 responses: '200': description: Response @@ -54750,7 +54734,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -75976,388 +75963,6 @@ components: - fixed_at - repository additionalProperties: false - nullable-alert-updated-at: - type: string - description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - format: date-time - readOnly: true - nullable: true - secret-scanning-alert-state: - description: Sets the state of the secret scanning alert. You must provide `resolution` - when you set the state to `resolved`. - type: string - enum: - - open - - resolved - secret-scanning-alert-resolution: - type: string - description: "**Required when the `state` is `resolved`.** The reason for resolving - the alert." - nullable: true - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - description: Represents a 'wiki_commit' secret scanning location type. This - location type shows that a secret was detected inside a commit to a repository - wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - description: Represents a 'pull_request_title' secret scanning location type. - This location type shows that a secret was detected in the title of a pull - request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - description: Represents a 'pull_request_body' secret scanning location type. - This location type shows that a secret was detected in the body of a pull - request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - description: Represents a 'pull_request_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a pull - request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - description: Represents a 'pull_request_review' secret scanning location type. - This location type shows that a secret was detected in a review on a pull - request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - description: Represents a 'pull_request_review_comment' secret scanning location - type. This location type shows that a secret was detected in a review comment - on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - nullable-secret-scanning-first-detected-location: - description: 'Details on the location where the token was initially detected. - This can be a commit, wiki commit, issue, discussion, pull request. - - ' - oneOf: - - "$ref": "#/components/schemas/secret-scanning-location-commit" - - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - nullable: true - organization-secret-scanning-alert: - type: object - properties: - number: - "$ref": "#/components/schemas/alert-number" - created_at: - "$ref": "#/components/schemas/alert-created-at" - updated_at: - "$ref": "#/components/schemas/nullable-alert-updated-at" - url: - "$ref": "#/components/schemas/alert-url" - html_url: - "$ref": "#/components/schemas/alert-html-url" - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this alert. - state: - "$ref": "#/components/schemas/secret-scanning-alert-state" - resolution: - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - resolved_at: - type: string - format: date-time - description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - resolved_by: - "$ref": "#/components/schemas/nullable-simple-user" - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: - "$ref": "#/components/schemas/simple-repository" - push_protection_bypassed: - type: boolean - description: Whether push protection was bypassed for the detected secret. - nullable: true - push_protection_bypassed_by: - "$ref": "#/components/schemas/nullable-simple-user" - push_protection_bypassed_at: - type: string - format: date-time - description: 'The time that push protection was bypassed in ISO 8601 format: - `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - push_protection_bypass_request_reviewer: - "$ref": "#/components/schemas/nullable-simple-user" - push_protection_bypass_request_reviewer_comment: - type: string - description: An optional comment when reviewing a push protection bypass. - nullable: true - push_protection_bypass_request_comment: - type: string - description: An optional comment when requesting a push protection bypass. - nullable: true - push_protection_bypass_request_html_url: - type: string - format: uri - description: The URL to a push protection bypass request. - nullable: true - resolution_comment: - type: string - description: The comment that was optionally added when this alert was closed - nullable: true - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: boolean - description: Whether the secret was publicly leaked. - nullable: true - multi_repo: - type: boolean - description: Whether the detected secret was found in multiple repositories - in the same organization or enterprise. - nullable: true - is_base64_encoded: - type: boolean - description: A boolean value representing whether or not alert is base64 - encoded - nullable: true - first_location_detected: - "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" - has_more_locations: - type: boolean - description: A boolean value representing whether or not the token in the - alert was detected in more than one location. - assigned_to: - "$ref": "#/components/schemas/nullable-simple-user" enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -80811,6 +80416,13 @@ components: enum: - open - closed + campaign-alert-type: + title: Campaign alert type + description: Indicates the alert type of a campaign + type: string + enum: + - code_scanning + - secret_scanning nullable-team-simple: title: Team Simple description: Groups of organization members that gives permissions on specified @@ -86896,6 +86508,388 @@ components: state: type: object description: The state of the ruleset version + nullable-alert-updated-at: + type: string + description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + format: date-time + readOnly: true + nullable: true + secret-scanning-alert-state: + description: Sets the state of the secret scanning alert. You must provide `resolution` + when you set the state to `resolved`. + type: string + enum: + - open + - resolved + secret-scanning-alert-resolution: + type: string + description: "**Required when the `state` is `resolved`.** The reason for resolving + the alert." + nullable: true + enum: + - false_positive + - wont_fix + - revoked + - used_in_tests + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + description: Represents a 'wiki_commit' secret scanning location type. This + location type shows that a secret was detected inside a commit to a repository + wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + description: Represents a 'pull_request_title' secret scanning location type. + This location type shows that a secret was detected in the title of a pull + request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + description: Represents a 'pull_request_body' secret scanning location type. + This location type shows that a secret was detected in the body of a pull + request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + description: Represents a 'pull_request_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a pull + request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + description: Represents a 'pull_request_review' secret scanning location type. + This location type shows that a secret was detected in a review on a pull + request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + description: Represents a 'pull_request_review_comment' secret scanning location + type. This location type shows that a secret was detected in a review comment + on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable-secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + nullable: true + organization-secret-scanning-alert: + type: object + properties: + number: + "$ref": "#/components/schemas/alert-number" + created_at: + "$ref": "#/components/schemas/alert-created-at" + updated_at: + "$ref": "#/components/schemas/nullable-alert-updated-at" + url: + "$ref": "#/components/schemas/alert-url" + html_url: + "$ref": "#/components/schemas/alert-html-url" + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this alert. + state: + "$ref": "#/components/schemas/secret-scanning-alert-state" + resolution: + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + resolved_at: + type: string + format: date-time + description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + resolved_by: + "$ref": "#/components/schemas/nullable-simple-user" + secret_type: + type: string + description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: + "$ref": "#/components/schemas/simple-repository" + push_protection_bypassed: + type: boolean + description: Whether push protection was bypassed for the detected secret. + nullable: true + push_protection_bypassed_by: + "$ref": "#/components/schemas/nullable-simple-user" + push_protection_bypassed_at: + type: string + format: date-time + description: 'The time that push protection was bypassed in ISO 8601 format: + `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + push_protection_bypass_request_reviewer: + "$ref": "#/components/schemas/nullable-simple-user" + push_protection_bypass_request_reviewer_comment: + type: string + description: An optional comment when reviewing a push protection bypass. + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true + resolution_comment: + type: string + description: The comment that was optionally added when this alert was closed + nullable: true + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: boolean + description: Whether the secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. + nullable: true + is_base64_encoded: + type: boolean + description: A boolean value representing whether or not alert is base64 + encoded + nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. + assigned_to: + "$ref": "#/components/schemas/nullable-simple-user" secret-scanning-row-version: type: string description: The version of the entity. This is used to confirm you're updating @@ -209330,181 +209324,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 @@ -212043,6 +211862,12 @@ components: signatures: - sig: MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ== repository_id: 1 + list-attestation-repositories: + value: + - id: 123 + name: foo + - id: 456 + name: bar list-attestations: value: attestations: @@ -216265,6 +216090,181 @@ components: parameters: operator: contains pattern: github + organization-secret-scanning-alert-list: + value: + - number: 2 + created_at: '2020-11-06T18:48:51Z' + url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 + html_url: https://github.com/owner/private-repo/security/secret-scanning/2 + locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations + state: resolved + resolution: false_positive + resolved_at: '2020-11-07T02:47:13Z' + resolved_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + secret_type: adafruit_io_key + secret_type_display_name: Adafruit IO Key + secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + push_protection_bypassed_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + push_protection_bypassed: true + push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_reviewer_comment: Example response + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 + resolution_comment: Example comment + validity: active + publicly_leaked: false + multi_repo: false + is_base64_encoded: false + first_location_detected: + path: "/example/secrets.txt" + start_line: 1 + end_line: 1 + start_column: 1 + end_column: 64 + blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b + commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b + has_more_locations: true + assigned_to: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false secret-scanning-pattern-configuration: value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K @@ -234545,109 +234545,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 @@ -235364,6 +235261,48 @@ components: required: true schema: type: integer + secret-scanning-alert-state: + name: state + in: query + description: Set to `open` or `resolved` to only list secret scanning alerts + in a specific state. + required: false + schema: + type: string + enum: + - open + - resolved + secret-scanning-alert-secret-type: + name: secret_type + in: query + description: A comma-separated list of secret types to return. All default secret + patterns are returned. To return generic patterns, pass the token name(s) + in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" + for a complete list of secret types. + required: false + schema: + type: string + secret-scanning-alert-resolution: + name: resolution + in: query + description: A comma-separated list of resolutions. Only secret scanning alerts + with one of these resolutions are listed. Valid resolutions are `false_positive`, + `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. + required: false + schema: + type: string + secret-scanning-alert-sort: + name: sort + description: The property to sort the results by. `created` means when the alert + was created. `updated` means when the alert was updated or resolved. + in: query + required: false + schema: + type: string + enum: + - created + - updated + default: created secret-scanning-pagination-before-org-repo: name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). @@ -235382,6 +235321,42 @@ components: required: false schema: type: string + secret-scanning-alert-validity: + name: validity + in: query + description: A comma-separated list of validities that, when present, will return + alerts that match the validities in this list. Valid options are `active`, + `inactive`, and `unknown`. + required: false + schema: + type: string + secret-scanning-alert-publicly-leaked: + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts by + the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-multi-repo: + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts by + the multi-repo tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-hide-secret: + name: hide_secret + in: query + description: A boolean value representing whether or not to hide literal secrets + in the results. + required: false + schema: + type: boolean + default: false network-configuration-id: name: network_configuration_id description: Unique identifier of the hosted compute network configuration. diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 2b51a42e7..2ed3c9d97 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -3200,12 +3200,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -3251,98 +3245,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", @@ -7256,7 +7158,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" ], @@ -12734,6 +12636,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", @@ -16388,12 +16361,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -22991,7 +22958,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": { @@ -22999,8 +22966,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + } } }, { @@ -44273,16 +44239,6 @@ { "$ref": "#/components/parameters/direction" }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -44298,12 +44254,6 @@ }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" } ], "responses": { @@ -61344,7 +61294,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -74895,7 +74845,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": { @@ -74903,8 +74853,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + } } } ], @@ -75625,7 +75574,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -104690,483 +104639,6 @@ ], "additionalProperties": false }, - "nullable-alert-updated-at": { - "type": "string", - "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "secret-scanning-alert-state": { - "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", - "type": "string", - "enum": [ - "open", - "resolved" - ] - }, - "secret-scanning-alert-resolution": { - "type": "string", - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "nullable": true, - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests" - ] - }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "example": "/example/secrets.txt" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "example": "/example/Home.md" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082" - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussion-4566270" - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, - "nullable-secret-scanning-first-detected-location": { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "$ref": "#/components/schemas/secret-scanning-location-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - } - ], - "nullable": true - }, - "organization-secret-scanning-alert": { - "type": "object", - "properties": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "$ref": "#/components/schemas/nullable-alert-updated-at" - }, - "url": { - "$ref": "#/components/schemas/alert-url" - }, - "html_url": { - "$ref": "#/components/schemas/alert-html-url" - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" - }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - }, - "resolved_at": { - "type": "string", - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "resolved_by": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "$ref": "#/components/schemas/simple-repository" - }, - "push_protection_bypassed": { - "type": "boolean", - "description": "Whether push protection was bypassed for the detected secret.", - "nullable": true - }, - "push_protection_bypassed_by": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "push_protection_bypassed_at": { - "type": "string", - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "push_protection_bypass_request_reviewer": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "push_protection_bypass_request_reviewer_comment": { - "type": "string", - "description": "An optional comment when reviewing a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_comment": { - "type": "string", - "description": "An optional comment when requesting a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_html_url": { - "type": "string", - "format": "uri", - "description": "The URL to a push protection bypass request.", - "nullable": true - }, - "resolution_comment": { - "type": "string", - "description": "The comment that was optionally added when this alert was closed", - "nullable": true - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": "boolean", - "description": "Whether the secret was publicly leaked.", - "nullable": true - }, - "multi_repo": { - "type": "boolean", - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", - "nullable": true - }, - "is_base64_encoded": { - "type": "boolean", - "description": "A boolean value representing whether or not alert is base64 encoded", - "nullable": true - }, - "first_location_detected": { - "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "$ref": "#/components/schemas/nullable-simple-user" - } - } - }, "enterprise-team": { "title": "Enterprise Team", "description": "Group of enterprise owners and/or members", @@ -110861,6 +110333,15 @@ "closed" ] }, + "campaign-alert-type": { + "title": "Campaign alert type", + "description": "Indicates the alert type of a campaign", + "type": "string", + "enum": [ + "code_scanning", + "secret_scanning" + ] + }, "nullable-team-simple": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -118540,6 +118021,483 @@ } ] }, + "nullable-alert-updated-at": { + "type": "string", + "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "readOnly": true, + "nullable": true + }, + "secret-scanning-alert-state": { + "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", + "type": "string", + "enum": [ + "open", + "resolved" + ] + }, + "secret-scanning-alert-resolution": { + "type": "string", + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "nullable": true, + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests" + ] + }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "nullable-secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ], + "nullable": true + }, + "organization-secret-scanning-alert": { + "type": "object", + "properties": { + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "updated_at": { + "$ref": "#/components/schemas/nullable-alert-updated-at" + }, + "url": { + "$ref": "#/components/schemas/alert-url" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "locations_url": { + "type": "string", + "format": "uri", + "description": "The REST API URL of the code locations for this alert." + }, + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" + }, + "resolution": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + }, + "resolved_at": { + "type": "string", + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "resolved_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "secret": { + "type": "string", + "description": "The secret that was detected." + }, + "repository": { + "$ref": "#/components/schemas/simple-repository" + }, + "push_protection_bypassed": { + "type": "boolean", + "description": "Whether push protection was bypassed for the detected secret.", + "nullable": true + }, + "push_protection_bypassed_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "push_protection_bypassed_at": { + "type": "string", + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "push_protection_bypass_request_reviewer": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "push_protection_bypass_request_reviewer_comment": { + "type": "string", + "description": "An optional comment when reviewing a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, + "resolution_comment": { + "type": "string", + "description": "The comment that was optionally added when this alert was closed", + "nullable": true + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", + "nullable": true + }, + "is_base64_encoded": { + "type": "boolean", + "description": "A boolean value representing whether or not alert is base64 encoded", + "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "$ref": "#/components/schemas/nullable-simple-user" + } + } + }, "secret-scanning-row-version": { "type": "string", "description": "The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate unintentionally overriding someone else's update.", @@ -279891,192 +279849,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": [ { @@ -283043,6 +282815,18 @@ ] } }, + "list-attestation-repositories": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + }, "list-attestations": { "value": { "attestations": [ @@ -287929,6 +287713,192 @@ } ] }, + "organization-secret-scanning-alert-list": { + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" + }, + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "active", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true, + "assigned_to": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + } + ] + }, "secret-scanning-pattern-configuration": { "value": { "pattern_config_version": "0ujsswThIGTUYm2K8FjOOfXtY1K", @@ -309091,113 +309061,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.", @@ -310028,6 +309891,51 @@ "type": "integer" } }, + "secret-scanning-alert-state": { + "name": "state", + "in": "query", + "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "resolved" + ] + } + }, + "secret-scanning-alert-secret-type": { + "name": "secret_type", + "in": "query", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-resolution": { + "name": "resolution", + "in": "query", + "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-sort": { + "name": "sort", + "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated" + ], + "default": "created" + } + }, "secret-scanning-pagination-before-org-repo": { "name": "before", "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.", @@ -310046,6 +309954,45 @@ "type": "string" } }, + "secret-scanning-alert-validity": { + "name": "validity", + "in": "query", + "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-publicly-leaked": { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + "secret-scanning-alert-multi-repo": { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + "secret-scanning-alert-hide-secret": { + "name": "hide_secret", + "in": "query", + "description": "A boolean value representing whether or not to hide literal secrets in the results.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, "network-configuration-id": { "name": "network_configuration_id", "description": "Unique identifier of the hosted compute network configuration.", diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 9427653ab..035c9e286 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -2296,8 +2296,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -2325,61 +2323,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 @@ -5116,9 +5059,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 @@ -9182,6 +9126,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 @@ -11933,8 +11924,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -16635,8 +16624,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: @@ -16644,7 +16635,6 @@ paths: maxItems: 50 items: type: string - example: fields[]=123,fields[]=456,fields[]=789 - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/per-page" @@ -32235,14 +32225,6 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -32253,8 +32235,6 @@ paths: default: 30 - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" responses: '200': description: Response @@ -44484,6 +44464,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -54263,8 +54246,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: @@ -54272,7 +54257,6 @@ paths: maxItems: 50 items: type: string - example: fields[]=123,fields[]=456,fields[]=789 responses: '200': description: Response @@ -54750,7 +54734,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -75976,388 +75963,6 @@ components: - fixed_at - repository additionalProperties: false - nullable-alert-updated-at: - type: string - description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - format: date-time - readOnly: true - nullable: true - secret-scanning-alert-state: - description: Sets the state of the secret scanning alert. You must provide `resolution` - when you set the state to `resolved`. - type: string - enum: - - open - - resolved - secret-scanning-alert-resolution: - type: string - description: "**Required when the `state` is `resolved`.** The reason for resolving - the alert." - nullable: true - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - description: Represents a 'wiki_commit' secret scanning location type. This - location type shows that a secret was detected inside a commit to a repository - wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - description: Represents a 'pull_request_title' secret scanning location type. - This location type shows that a secret was detected in the title of a pull - request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - description: Represents a 'pull_request_body' secret scanning location type. - This location type shows that a secret was detected in the body of a pull - request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - description: Represents a 'pull_request_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a pull - request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - description: Represents a 'pull_request_review' secret scanning location type. - This location type shows that a secret was detected in a review on a pull - request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - description: Represents a 'pull_request_review_comment' secret scanning location - type. This location type shows that a secret was detected in a review comment - on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - nullable-secret-scanning-first-detected-location: - description: 'Details on the location where the token was initially detected. - This can be a commit, wiki commit, issue, discussion, pull request. - - ' - oneOf: - - "$ref": "#/components/schemas/secret-scanning-location-commit" - - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - nullable: true - organization-secret-scanning-alert: - type: object - properties: - number: - "$ref": "#/components/schemas/alert-number" - created_at: - "$ref": "#/components/schemas/alert-created-at" - updated_at: - "$ref": "#/components/schemas/nullable-alert-updated-at" - url: - "$ref": "#/components/schemas/alert-url" - html_url: - "$ref": "#/components/schemas/alert-html-url" - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this alert. - state: - "$ref": "#/components/schemas/secret-scanning-alert-state" - resolution: - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - resolved_at: - type: string - format: date-time - description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - resolved_by: - "$ref": "#/components/schemas/nullable-simple-user" - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: - "$ref": "#/components/schemas/simple-repository" - push_protection_bypassed: - type: boolean - description: Whether push protection was bypassed for the detected secret. - nullable: true - push_protection_bypassed_by: - "$ref": "#/components/schemas/nullable-simple-user" - push_protection_bypassed_at: - type: string - format: date-time - description: 'The time that push protection was bypassed in ISO 8601 format: - `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - push_protection_bypass_request_reviewer: - "$ref": "#/components/schemas/nullable-simple-user" - push_protection_bypass_request_reviewer_comment: - type: string - description: An optional comment when reviewing a push protection bypass. - nullable: true - push_protection_bypass_request_comment: - type: string - description: An optional comment when requesting a push protection bypass. - nullable: true - push_protection_bypass_request_html_url: - type: string - format: uri - description: The URL to a push protection bypass request. - nullable: true - resolution_comment: - type: string - description: The comment that was optionally added when this alert was closed - nullable: true - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: boolean - description: Whether the secret was publicly leaked. - nullable: true - multi_repo: - type: boolean - description: Whether the detected secret was found in multiple repositories - in the same organization or enterprise. - nullable: true - is_base64_encoded: - type: boolean - description: A boolean value representing whether or not alert is base64 - encoded - nullable: true - first_location_detected: - "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" - has_more_locations: - type: boolean - description: A boolean value representing whether or not the token in the - alert was detected in more than one location. - assigned_to: - "$ref": "#/components/schemas/nullable-simple-user" enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -80811,6 +80416,13 @@ components: enum: - open - closed + campaign-alert-type: + title: Campaign alert type + description: Indicates the alert type of a campaign + type: string + enum: + - code_scanning + - secret_scanning nullable-team-simple: title: Team Simple description: Groups of organization members that gives permissions on specified @@ -86896,6 +86508,388 @@ components: state: type: object description: The state of the ruleset version + nullable-alert-updated-at: + type: string + description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + format: date-time + readOnly: true + nullable: true + secret-scanning-alert-state: + description: Sets the state of the secret scanning alert. You must provide `resolution` + when you set the state to `resolved`. + type: string + enum: + - open + - resolved + secret-scanning-alert-resolution: + type: string + description: "**Required when the `state` is `resolved`.** The reason for resolving + the alert." + nullable: true + enum: + - false_positive + - wont_fix + - revoked + - used_in_tests + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + description: Represents a 'wiki_commit' secret scanning location type. This + location type shows that a secret was detected inside a commit to a repository + wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + description: Represents a 'pull_request_title' secret scanning location type. + This location type shows that a secret was detected in the title of a pull + request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + description: Represents a 'pull_request_body' secret scanning location type. + This location type shows that a secret was detected in the body of a pull + request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + description: Represents a 'pull_request_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a pull + request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + description: Represents a 'pull_request_review' secret scanning location type. + This location type shows that a secret was detected in a review on a pull + request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + description: Represents a 'pull_request_review_comment' secret scanning location + type. This location type shows that a secret was detected in a review comment + on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable-secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + nullable: true + organization-secret-scanning-alert: + type: object + properties: + number: + "$ref": "#/components/schemas/alert-number" + created_at: + "$ref": "#/components/schemas/alert-created-at" + updated_at: + "$ref": "#/components/schemas/nullable-alert-updated-at" + url: + "$ref": "#/components/schemas/alert-url" + html_url: + "$ref": "#/components/schemas/alert-html-url" + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this alert. + state: + "$ref": "#/components/schemas/secret-scanning-alert-state" + resolution: + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + resolved_at: + type: string + format: date-time + description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + resolved_by: + "$ref": "#/components/schemas/nullable-simple-user" + secret_type: + type: string + description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: + "$ref": "#/components/schemas/simple-repository" + push_protection_bypassed: + type: boolean + description: Whether push protection was bypassed for the detected secret. + nullable: true + push_protection_bypassed_by: + "$ref": "#/components/schemas/nullable-simple-user" + push_protection_bypassed_at: + type: string + format: date-time + description: 'The time that push protection was bypassed in ISO 8601 format: + `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + push_protection_bypass_request_reviewer: + "$ref": "#/components/schemas/nullable-simple-user" + push_protection_bypass_request_reviewer_comment: + type: string + description: An optional comment when reviewing a push protection bypass. + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true + resolution_comment: + type: string + description: The comment that was optionally added when this alert was closed + nullable: true + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: boolean + description: Whether the secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. + nullable: true + is_base64_encoded: + type: boolean + description: A boolean value representing whether or not alert is base64 + encoded + nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. + assigned_to: + "$ref": "#/components/schemas/nullable-simple-user" secret-scanning-row-version: type: string description: The version of the entity. This is used to confirm you're updating @@ -209330,181 +209324,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 @@ -212043,6 +211862,12 @@ components: signatures: - sig: MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ== repository_id: 1 + list-attestation-repositories: + value: + - id: 123 + name: foo + - id: 456 + name: bar list-attestations: value: attestations: @@ -216265,6 +216090,181 @@ components: parameters: operator: contains pattern: github + organization-secret-scanning-alert-list: + value: + - number: 2 + created_at: '2020-11-06T18:48:51Z' + url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 + html_url: https://github.com/owner/private-repo/security/secret-scanning/2 + locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations + state: resolved + resolution: false_positive + resolved_at: '2020-11-07T02:47:13Z' + resolved_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + secret_type: adafruit_io_key + secret_type_display_name: Adafruit IO Key + secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + push_protection_bypassed_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + push_protection_bypassed: true + push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_reviewer_comment: Example response + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 + resolution_comment: Example comment + validity: active + publicly_leaked: false + multi_repo: false + is_base64_encoded: false + first_location_detected: + path: "/example/secrets.txt" + start_line: 1 + end_line: 1 + start_column: 1 + end_column: 64 + blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b + commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b + has_more_locations: true + assigned_to: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false secret-scanning-pattern-configuration: value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K @@ -234545,109 +234545,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 @@ -235364,6 +235261,48 @@ components: required: true schema: type: integer + secret-scanning-alert-state: + name: state + in: query + description: Set to `open` or `resolved` to only list secret scanning alerts + in a specific state. + required: false + schema: + type: string + enum: + - open + - resolved + secret-scanning-alert-secret-type: + name: secret_type + in: query + description: A comma-separated list of secret types to return. All default secret + patterns are returned. To return generic patterns, pass the token name(s) + in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" + for a complete list of secret types. + required: false + schema: + type: string + secret-scanning-alert-resolution: + name: resolution + in: query + description: A comma-separated list of resolutions. Only secret scanning alerts + with one of these resolutions are listed. Valid resolutions are `false_positive`, + `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. + required: false + schema: + type: string + secret-scanning-alert-sort: + name: sort + description: The property to sort the results by. `created` means when the alert + was created. `updated` means when the alert was updated or resolved. + in: query + required: false + schema: + type: string + enum: + - created + - updated + default: created secret-scanning-pagination-before-org-repo: name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). @@ -235382,6 +235321,42 @@ components: required: false schema: type: string + secret-scanning-alert-validity: + name: validity + in: query + description: A comma-separated list of validities that, when present, will return + alerts that match the validities in this list. Valid options are `active`, + `inactive`, and `unknown`. + required: false + schema: + type: string + secret-scanning-alert-publicly-leaked: + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts by + the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-multi-repo: + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts by + the multi-repo tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-hide-secret: + name: hide_secret + in: query + description: A boolean value representing whether or not to hide literal secrets + in the results. + required: false + schema: + type: boolean + default: false network-configuration-id: name: network_configuration_id description: Unique identifier of the hosted compute network configuration. diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 744d87ec2..08b54ebef 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -20480,29 +20480,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -22110,1758 +22087,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "in": "query", - "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "resolved" - ] - } - }, - { - "name": "secret_type", - "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "resolution", - "in": "query", - "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "sort", - "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated" - ], - "default": "created" - } - }, - { - "name": "direction", - "description": "The direction to sort the results by.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ], - "default": "desc" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "validity", - "in": "query", - "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "is_publicly_leaked", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "is_multi_repo", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "hide_secret", - "in": "query", - "description": "A boolean value representing whether or not to hide literal secrets in the results.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "number": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - }, - "created_at": { - "type": "string", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "updated_at": { - "type": "string", - "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "url": { - "type": "string", - "description": "The REST API URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "html_url": { - "type": "string", - "description": "The GitHub URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", - "type": "string", - "enum": [ - "open", - "resolved" - ] - }, - "resolution": { - "type": "string", - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "nullable": true, - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests" - ] - }, - "resolved_at": { - "type": "string", - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "resolved_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "example": 1296269, - "description": "A unique identifier of the repository." - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "description": "The GraphQL identifier of the repository." - }, - "name": { - "type": "string", - "example": "Hello-World", - "description": "The name of the repository." - }, - "full_name": { - "type": "string", - "example": "octocat/Hello-World", - "description": "The full, globally unique, name of the repository." - }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World", - "description": "The URL to view the repository on GitHub.com." - }, - "description": { - "type": "string", - "example": "This your first repo!", - "nullable": true, - "description": "The repository description." - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World", - "description": "The URL to get more information about the repository from the GitHub API." - }, - "archive_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "description": "A template for the API URL to download the repository as an archive." - }, - "assignees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "description": "A template for the API URL to list the available assignees for issues in the repository." - }, - "blobs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." - }, - "branches_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "description": "A template for the API URL to get information about branches in the repository." - }, - "collaborators_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "description": "A template for the API URL to get information about collaborators of the repository." - }, - "comments_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "description": "A template for the API URL to get information about comments on the repository." - }, - "commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "description": "A template for the API URL to get information about commits on the repository." - }, - "compare_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "description": "A template for the API URL to compare two commits or refs." - }, - "contents_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "description": "A template for the API URL to get the contents of the repository." - }, - "contributors_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/contributors", - "description": "A template for the API URL to list the contributors to the repository." - }, - "deployments_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/deployments", - "description": "The API URL to list the deployments of the repository." - }, - "downloads_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/downloads", - "description": "The API URL to list the downloads on the repository." - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/events", - "description": "The API URL to list the events of the repository." - }, - "forks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/forks", - "description": "The API URL to list the forks of the repository." - }, - "git_commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "description": "A template for the API URL to get information about Git commits of the repository." - }, - "git_refs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "description": "A template for the API URL to get information about Git refs of the repository." - }, - "git_tags_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "description": "A template for the API URL to get information about Git tags of the repository." - }, - "issue_comment_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "description": "A template for the API URL to get information about issue comments on the repository." - }, - "issue_events_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "description": "A template for the API URL to get information about issue events on the repository." - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "description": "A template for the API URL to get information about issues on the repository." - }, - "keys_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "description": "A template for the API URL to get information about deploy keys on the repository." - }, - "labels_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "description": "A template for the API URL to get information about labels of the repository." - }, - "languages_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/languages", - "description": "The API URL to get information about the languages of the repository." - }, - "merges_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/merges", - "description": "The API URL to merge branches in the repository." - }, - "milestones_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "description": "A template for the API URL to get information about milestones of the repository." - }, - "notifications_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "description": "A template for the API URL to get information about notifications on the repository." - }, - "pulls_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "description": "A template for the API URL to get information about pull requests on the repository." - }, - "releases_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "description": "A template for the API URL to get information about releases on the repository." - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "description": "The API URL to list the stargazers on the repository." - }, - "statuses_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "description": "A template for the API URL to get information about statuses of a commit." - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "description": "The API URL to list the subscribers on the repository." - }, - "subscription_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscription", - "description": "The API URL to subscribe to notifications for this repository." - }, - "tags_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/tags", - "description": "The API URL to get information about tags on the repository." - }, - "teams_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." - }, - "trees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." - }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the repository." - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ] - }, - "push_protection_bypassed": { - "type": "boolean", - "description": "Whether push protection was bypassed for the detected secret.", - "nullable": true - }, - "push_protection_bypassed_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "push_protection_bypassed_at": { - "type": "string", - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "push_protection_bypass_request_reviewer": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "push_protection_bypass_request_reviewer_comment": { - "type": "string", - "description": "An optional comment when reviewing a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_comment": { - "type": "string", - "description": "An optional comment when requesting a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_html_url": { - "type": "string", - "format": "uri", - "description": "The URL to a push protection bypass request.", - "nullable": true - }, - "resolution_comment": { - "type": "string", - "description": "The comment that was optionally added when this alert was closed", - "nullable": true - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": "boolean", - "description": "Whether the secret was publicly leaked.", - "nullable": true - }, - "multi_repo": { - "type": "boolean", - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", - "nullable": true - }, - "is_base64_encoded": { - "type": "boolean", - "description": "A boolean value representing whether or not alert is base64 encoded", - "nullable": true - }, - "first_location_detected": { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "example": "/example/secrets.txt" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "example": "/example/Home.md" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_title_url" - ] - }, - { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_body_url" - ] - }, - { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "issue_comment_url" - ] - }, - { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082" - } - }, - "required": [ - "discussion_title_url" - ] - }, - { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussion-4566270" - } - }, - "required": [ - "discussion_body_url" - ] - }, - { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - } - }, - "required": [ - "discussion_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_title_url" - ] - }, - { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_body_url" - ] - }, - { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - } - }, - "required": [ - "pull_request_review_url" - ] - }, - { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - } - ], - "nullable": true - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - } - } - } - }, - "examples": { - "default": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true, - "assigned_to": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -65205,7 +63430,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" ], @@ -83324,352 +81549,562 @@ "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": { + "nullable": true, + "type": "array", + "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": { - "nullable": true, - "type": "array", - "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 ] } } @@ -83677,117 +82112,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" } } }, @@ -100085,29 +98414,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -148274,7 +146580,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": { @@ -148282,8 +146588,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + } } }, { @@ -304039,16 +302344,6 @@ "default": "desc" } }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -304076,29 +302371,6 @@ "schema": { "type": "string" } - }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } } ], "responses": { @@ -488890,7 +487162,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -624057,7 +622329,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": { @@ -624065,8 +622337,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + } } } ], @@ -655215,7 +653486,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index f6e9af8bd..8bebe4f42 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &307 + type: &295 type: string description: The type of credit the user is receiving. enum: @@ -988,7 +988,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &112 + schema: &108 title: Validation Error Simple description: Validation Error Simple type: object @@ -1021,7 +1021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &629 + - &625 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1139,7 +1139,7 @@ paths: GitHub. type: object nullable: true - properties: &68 + properties: &64 id: description: Unique identifier of the GitHub app example: 37 @@ -1272,7 +1272,7 @@ paths: about itself. example: 5 type: integer - required: &69 + required: &65 - id - node_id - owner @@ -1577,7 +1577,7 @@ paths: schema: type: integer default: 30 - - &187 + - &185 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1593,7 +1593,7 @@ paths: application/json: schema: type: array - items: &188 + items: &186 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1673,7 +1673,7 @@ paths: - installation_id - repository_id examples: - default: &189 + default: &187 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1732,7 +1732,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &111 + schema: &107 title: Validation Error description: Validation Error type: object @@ -1801,7 +1801,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &188 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1915,7 +1915,7 @@ paths: - request - response examples: - default: &191 + default: &189 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2116,7 +2116,7 @@ paths: parameters: - *17 - *19 - - &79 + - &74 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2653,7 +2653,7 @@ paths: suspended_at: suspended_by: headers: - Link: &58 + Link: &54 example: ; rel="next", ; rel="last" schema: @@ -2842,11 +2842,11 @@ paths: - selected repositories: type: array - items: &67 + items: &63 title: Repository description: A repository on GitHub. type: object - properties: &263 + properties: &261 id: description: Unique identifier of the repository example: 42 @@ -2866,7 +2866,7 @@ paths: title: License Simple description: License Simple type: object - properties: &74 + properties: &70 key: type: string example: mit @@ -2888,7 +2888,7 @@ paths: html_url: type: string format: uri - required: &75 + required: &71 - key - name - url @@ -3284,7 +3284,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &264 + required: &262 - archive_url - assignees_url - blobs_url @@ -5071,7 +5071,7 @@ paths: responses: '202': *39 '422': *7 - '500': &106 + '500': &101 description: Internal Error content: application/json: @@ -8170,7 +8170,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &103 + properties: &98 id: type: integer format: int64 @@ -8397,7 +8397,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &104 + required: &99 - archive_url - assignees_url - blobs_url @@ -8589,7 +8589,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &479 + - &467 name: has in: query description: |- @@ -8631,31 +8631,6 @@ paths: - *48 - *40 - *41 - - &177 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &178 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - *17 responses: '200': @@ -8664,11 +8639,11 @@ paths: application/json: schema: type: array - items: &179 + items: &177 type: object description: A Dependabot alert. properties: - number: &54 + number: &149 type: integer description: The security alert number. readOnly: true @@ -8730,7 +8705,7 @@ paths: - unknown - direct - transitive - security_advisory: &480 + security_advisory: &468 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8933,23 +8908,23 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *52 - url: &56 + url: &152 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &57 + html_url: &153 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &55 + created_at: &150 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &153 + updated_at: &151 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8992,7 +8967,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &481 + auto_dismissed_at: &469 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9018,7 +8993,7 @@ paths: - repository additionalProperties: false examples: - default: &180 + default: &178 value: - number: 2 state: dismissed @@ -9346,718 +9321,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - *42 - - &295 - name: state - in: query - description: Set to `open` or `resolved` to only list secret scanning alerts - in a specific state. - required: false - schema: - type: string - enum: - - open - - resolved - - &296 - name: secret_type - in: query - description: A comma-separated list of secret types to return. All default - secret patterns are returned. To return generic patterns, pass the token - name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" - for a complete list of secret types. - required: false - schema: - type: string - - &297 - name: resolution - in: query - description: A comma-separated list of resolutions. Only secret scanning alerts - with one of these resolutions are listed. Valid resolutions are `false_positive`, - `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. - required: false - schema: - type: string - - &298 - name: sort - description: The property to sort the results by. `created` means when the - alert was created. `updated` means when the alert was updated or resolved. - in: query - required: false - schema: - type: string - enum: - - created - - updated - default: created - - *48 - - *17 - - *40 - - *41 - - &299 - name: validity - in: query - description: A comma-separated list of validities that, when present, will - return alerts that match the validities in this list. Valid options are - `active`, `inactive`, and `unknown`. - required: false - schema: - type: string - - &300 - name: is_publicly_leaked - in: query - description: A boolean value representing whether or not to filter alerts - by the publicly-leaked tag being present. - required: false - schema: - type: boolean - default: false - - &301 - name: is_multi_repo - in: query - description: A boolean value representing whether or not to filter alerts - by the multi-repo tag being present. - required: false - schema: - type: boolean - default: false - - &302 - name: hide_secret - in: query - description: A boolean value representing whether or not to hide literal secrets - in the results. - required: false - schema: - type: boolean - default: false - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &303 - type: object - properties: - number: *54 - created_at: *55 - updated_at: - type: string - description: 'The time that the alert was last updated in ISO - 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - format: date-time - readOnly: true - nullable: true - url: *56 - html_url: *57 - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this - alert. - state: &607 - description: Sets the state of the secret scanning alert. You - must provide `resolution` when you set the state to `resolved`. - type: string - enum: - - open - - resolved - resolution: &608 - type: string - description: "**Required when the `state` is `resolved`.** The - reason for resolving the alert." - nullable: true - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - resolved_at: - type: string - format: date-time - description: 'The time that the alert was resolved in ISO 8601 - format: `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - resolved_by: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: *53 - push_protection_bypassed: - type: boolean - description: Whether push protection was bypassed for the detected - secret. - nullable: true - push_protection_bypassed_by: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - push_protection_bypassed_at: - type: string - format: date-time - description: 'The time that push protection was bypassed in - ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - push_protection_bypass_request_reviewer: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - push_protection_bypass_request_reviewer_comment: - type: string - description: An optional comment when reviewing a push protection - bypass. - nullable: true - push_protection_bypass_request_comment: - type: string - description: An optional comment when requesting a push protection - bypass. - nullable: true - push_protection_bypass_request_html_url: - type: string - format: uri - description: The URL to a push protection bypass request. - nullable: true - resolution_comment: - type: string - description: The comment that was optionally added when this - alert was closed - nullable: true - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: boolean - description: Whether the secret was publicly leaked. - nullable: true - multi_repo: - type: boolean - description: Whether the detected secret was found in multiple - repositories in the same organization or enterprise. - nullable: true - is_base64_encoded: - type: boolean - description: A boolean value representing whether or not alert - is base64 encoded - nullable: true - first_location_detected: - description: 'Details on the location where the token was initially - detected. This can be a commit, wiki commit, issue, discussion, - pull request. - - ' - oneOf: &609 - - &611 - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - &612 - description: Represents a 'wiki_commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - &613 - description: Represents an 'issue_title' secret scanning location - type. This location type shows that a secret was detected - in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - &614 - description: Represents an 'issue_body' secret scanning location - type. This location type shows that a secret was detected - in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - &615 - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - &616 - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - &617 - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - &618 - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - &619 - description: Represents a 'pull_request_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a pull request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - &620 - description: Represents a 'pull_request_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a pull request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - &621 - description: Represents a 'pull_request_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a pull request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - &622 - description: Represents a 'pull_request_review' secret scanning - location type. This location type shows that a secret was - detected in a review on a pull request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - &623 - description: Represents a 'pull_request_review_comment' secret - scanning location type. This location type shows that a - secret was detected in a review comment on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - nullable: true - has_more_locations: - type: boolean - description: A boolean value representing whether or not the - token in the alert was detected in more than one location. - assigned_to: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - examples: - default: &304 - value: - - number: 2 - created_at: '2020-11-06T18:48:51Z' - url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 - html_url: https://github.com/owner/private-repo/security/secret-scanning/2 - locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations - state: resolved - resolution: false_positive - resolved_at: '2020-11-07T02:47:13Z' - resolved_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - secret_type: adafruit_io_key - secret_type_display_name: Adafruit IO Key - secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - push_protection_bypassed_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - push_protection_bypassed: true - push_protection_bypassed_at: '2020-11-06T21:48:51Z' - push_protection_bypass_request_reviewer: - login: octocat - id: 3 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/3? - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true - push_protection_bypass_request_reviewer_comment: Example response - push_protection_bypass_request_comment: Example comment - push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 - resolution_comment: Example comment - validity: active - publicly_leaked: false - multi_repo: false - is_base64_encoded: false - first_location_detected: - path: "/example/secrets.txt" - start_line: 1 - end_line: 1 - start_column: 1 - end_column: 64 - blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b - commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b - has_more_locations: true - assigned_to: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - headers: - Link: *58 - '404': *6 - '503': &77 - description: Service unavailable - content: - application/json: - schema: - type: object - properties: - code: - type: string - message: - type: string - documentation_url: - type: string - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -10079,7 +9342,7 @@ paths: application/json: schema: type: array - items: &59 + items: &55 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10137,7 +9400,7 @@ paths: - updated_at - group_id examples: - default: &60 + default: &56 value: - id: 1 name: Justice League @@ -10150,7 +9413,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -10211,9 +9474,9 @@ paths: description: Response content: application/json: - schema: *59 + schema: *55 examples: - default: *60 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10231,7 +9494,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *42 - - &61 + - &57 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10250,7 +9513,7 @@ paths: type: array items: *4 examples: - default: &62 + default: &58 value: - login: octocat id: 1 @@ -10271,7 +9534,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10289,7 +9552,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *42 - - *61 + - *57 requestBody: required: true content: @@ -10320,7 +9583,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10338,7 +9601,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *42 - - *61 + - *57 requestBody: required: true content: @@ -10369,7 +9632,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10387,8 +9650,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *42 - - *61 - - &63 + - *57 + - &59 name: username description: The handle for the GitHub user account. in: path @@ -10402,7 +9665,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &64 + exampleKey1: &60 value: login: octocat id: 1 @@ -10438,8 +9701,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *42 - - *61 - - *63 + - *57 + - *59 responses: '201': description: Successfully added team member @@ -10447,7 +9710,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *64 + exampleKey1: *60 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10465,8 +9728,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *42 - - *61 - - *63 + - *57 + - *59 responses: '204': description: Response @@ -10491,7 +9754,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *42 - - &65 + - &61 name: team_slug description: The slug of the team name. in: path @@ -10503,11 +9766,11 @@ paths: description: Response content: application/json: - schema: *59 + schema: *55 examples: - default: *60 + default: *56 headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -10525,7 +9788,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *42 - - *65 + - *61 requestBody: required: true content: @@ -10568,11 +9831,11 @@ paths: description: Response content: application/json: - schema: *59 + schema: *55 examples: - default: *60 + default: *56 headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -10593,7 +9856,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *42 - - *65 + - *61 responses: '204': description: Response @@ -10631,7 +9894,7 @@ paths: application/json: schema: type: array - items: &98 + items: &93 title: Event description: Event type: object @@ -10641,7 +9904,7 @@ paths: type: type: string nullable: true - actor: &66 + actor: &62 title: Actor description: Actor type: object @@ -10681,7 +9944,7 @@ paths: - id - name - url - org: *66 + org: *62 payload: oneOf: - title: CreateEvent @@ -10727,7 +9990,7 @@ paths: properties: action: type: string - discussion: &724 + discussion: &720 title: Discussion description: A Discussion in a repository. type: object @@ -11014,7 +10277,7 @@ paths: - id labels: type: array - items: &70 + items: &66 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11089,12 +10352,12 @@ paths: properties: action: type: string - issue: &71 + issue: &67 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &529 + properties: &517 id: type: integer format: int64 @@ -11208,7 +10471,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &250 + properties: &248 url: type: string format: uri @@ -11278,7 +10541,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &251 + required: &249 - closed_issues - creator - description @@ -11357,7 +10620,7 @@ paths: timeline_url: type: string format: uri - type: &209 + type: &207 title: Issue Type description: The type of issue. type: object @@ -11407,7 +10670,7 @@ paths: - node_id - name - description - repository: *67 + repository: *63 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11418,9 +10681,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - author_association: &72 + properties: *64 + required: *65 + author_association: &68 title: author_association type: string example: OWNER @@ -11435,7 +10698,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &73 + reactions: &69 title: Reaction Rollup type: object properties: @@ -11471,7 +10734,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &641 + sub_issues_summary: &637 title: Sub-issues Summary type: object properties: @@ -11491,7 +10754,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &642 + issue_dependencies_summary: &638 title: Issue Dependencies Summary type: object properties: @@ -11510,7 +10773,7 @@ paths: - total_blocking issue_field_values: type: array - items: &643 + items: &639 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11571,7 +10834,7 @@ paths: - node_id - data_type - value - required: &530 + required: &518 - assignee - closed_at - comments @@ -11596,10 +10859,10 @@ paths: assignees: type: array items: *4 - label: *70 + label: *66 labels: type: array - items: *70 + items: *66 required: - action - issue @@ -11608,8 +10871,8 @@ paths: properties: action: type: string - issue: *71 - comment: &527 + issue: *67 + comment: &515 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11657,7 +10920,7 @@ paths: issue_url: type: string format: uri - author_association: *72 + author_association: *68 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11668,9 +10931,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - reactions: *73 + properties: *64 + required: *65 + reactions: *69 required: - id - node_id @@ -11843,8 +11106,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *70 + required: *71 nullable: true allow_forking: type: boolean @@ -11933,7 +11196,7 @@ paths: type: string number: type: integer - pull_request: &76 + pull_request: &72 title: Pull Request Minimal type: object properties: @@ -12004,10 +11267,10 @@ paths: assignees: type: array items: *4 - label: *70 + label: *66 labels: type: array - items: *70 + items: *66 required: - action - number @@ -12017,7 +11280,7 @@ paths: properties: action: type: string - pull_request: *76 + pull_request: *72 comment: type: object properties: @@ -12268,7 +11531,7 @@ paths: - pull_request updated_at: type: string - pull_request: *76 + pull_request: *72 required: - action - review @@ -12317,7 +11580,7 @@ paths: updated_at: type: string format: date-time - reactions: *73 + reactions: *69 required: - action - comment @@ -12328,7 +11591,7 @@ paths: type: string release: allOf: - - &582 + - &570 title: Release description: A release. type: object @@ -12399,7 +11662,7 @@ paths: author: *4 assets: type: array - items: &583 + items: &571 title: Release Asset description: Data related to a release. type: object @@ -12474,7 +11737,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *73 + reactions: *69 required: - assets_url - upload_url @@ -12566,7 +11829,19 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *77 + '503': &102 + description: Service unavailable + content: + application/json: + schema: + type: object + properties: + code: + type: string + message: + type: string + documentation_url: + type: string x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -12647,7 +11922,7 @@ paths: _links: type: object properties: - timeline: &78 + timeline: &73 title: Link With Type description: Hypermedia Link with Type type: object @@ -12659,17 +11934,17 @@ paths: required: - href - type - user: *78 - security_advisories: *78 - current_user: *78 - current_user_public: *78 - current_user_actor: *78 - current_user_organization: *78 + user: *73 + security_advisories: *73 + current_user: *73 + current_user_public: *73 + current_user_actor: *73 + current_user_organization: *73 current_user_organizations: type: array - items: *78 - repository_discussions: *78 - repository_discussions_category: *78 + items: *73 + repository_discussions: *73 + repository_discussions_category: *73 required: - timeline - user @@ -12731,7 +12006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *79 + - *74 - *17 - *19 responses: @@ -12741,7 +12016,7 @@ paths: application/json: schema: type: array - items: &80 + items: &75 title: Base Gist description: Base Gist type: object @@ -12840,7 +12115,7 @@ paths: - created_at - updated_at examples: - default: &81 + default: &76 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -12885,7 +12160,7 @@ paths: site_admin: false truncated: false headers: - Link: *58 + Link: *54 '304': *37 '403': *29 x-github: @@ -12961,7 +12236,7 @@ paths: description: Response content: application/json: - schema: &82 + schema: &77 title: Gist Simple description: Gist Simple type: object @@ -12978,7 +12253,7 @@ paths: url: type: string format: uri - user: &655 + user: &651 title: Public User description: Public User type: object @@ -13340,7 +12615,7 @@ paths: truncated: type: boolean examples: - default: &83 + default: &78 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13444,7 +12719,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *79 + - *74 - *17 - *19 responses: @@ -13454,11 +12729,11 @@ paths: application/json: schema: type: array - items: *80 + items: *75 examples: - default: *81 + default: *76 headers: - Link: *58 + Link: *54 '422': *15 '304': *37 '403': *29 @@ -13478,7 +12753,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *79 + - *74 - *17 - *19 responses: @@ -13488,11 +12763,11 @@ paths: application/json: schema: type: array - items: *80 + items: *75 examples: - default: *81 + default: *76 headers: - Link: *58 + Link: *54 '401': *25 '304': *37 '403': *29 @@ -13518,7 +12793,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &84 + - &79 name: gist_id description: The unique identifier of the gist. in: path @@ -13530,10 +12805,10 @@ paths: description: Response content: application/json: - schema: *82 + schema: *77 examples: - default: *83 - '403': &87 + default: *78 + '403': &82 description: Forbidden Gist content: application/json: @@ -13581,7 +12856,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *84 + - *79 requestBody: required: true content: @@ -13641,9 +12916,9 @@ paths: description: Response content: application/json: - schema: *82 + schema: *77 examples: - updateGist: *83 + updateGist: *78 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -13801,7 +13076,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *84 + - *79 responses: '204': description: Response @@ -13830,7 +13105,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *84 + - *79 - *17 - *19 responses: @@ -13840,7 +13115,7 @@ paths: application/json: schema: type: array - items: &85 + items: &80 title: Gist Comment description: A comment made to a gist. type: object @@ -13875,7 +13150,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *72 + author_association: *68 required: - url - id @@ -13915,7 +13190,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -13940,7 +13215,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *84 + - *79 requestBody: required: true content: @@ -13965,9 +13240,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *80 examples: - default: &86 + default: &81 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14025,8 +13300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *84 - - &88 + - *79 + - &83 name: comment_id description: The unique identifier of the comment. in: path @@ -14039,12 +13314,12 @@ paths: description: Response content: application/json: - schema: *85 + schema: *80 examples: - default: *86 + default: *81 '304': *37 '404': *6 - '403': *87 + '403': *82 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14066,8 +13341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *84 - - *88 + - *79 + - *83 requestBody: required: true content: @@ -14092,9 +13367,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *80 examples: - default: *86 + default: *81 '404': *6 x-github: githubCloudOnly: false @@ -14111,8 +13386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *84 - - *88 + - *79 + - *83 responses: '204': description: Response @@ -14135,7 +13410,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *84 + - *79 - *17 - *19 responses: @@ -14236,7 +13511,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *84 + - *79 - *17 - *19 responses: @@ -14246,7 +13521,7 @@ paths: application/json: schema: type: array - items: *82 + items: *77 examples: default: value: @@ -14292,7 +13567,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '404': *6 '304': *37 '403': *29 @@ -14311,13 +13586,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *84 + - *79 responses: '201': description: Response content: application/json: - schema: *80 + schema: *75 examples: default: value: @@ -14388,7 +13663,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *84 + - *79 responses: '204': description: Response if gist is starred @@ -14418,7 +13693,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *84 + - *79 responses: '204': description: Response @@ -14440,7 +13715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *84 + - *79 responses: '204': description: Response @@ -14469,7 +13744,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *84 + - *79 - name: sha in: path required: true @@ -14480,9 +13755,9 @@ paths: description: Response content: application/json: - schema: *82 + schema: *77 examples: - default: *83 + default: *78 '422': *15 '404': *6 '403': *29 @@ -14641,7 +13916,7 @@ paths: type: integer repositories: type: array - items: *67 + items: *63 repository_selection: type: string example: selected @@ -14764,7 +14039,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *54 '403': *29 '304': *37 '401': *25 @@ -14848,7 +14123,7 @@ paths: - closed - all default: open - - &212 + - &210 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -14867,7 +14142,7 @@ paths: - comments default: created - *48 - - *79 + - *74 - name: collab in: query required: false @@ -14897,9 +14172,9 @@ paths: application/json: schema: type: array - items: *71 + items: *67 examples: - default: &213 + default: &211 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15144,7 +14419,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *58 + Link: *54 '422': *15 '304': *37 '404': *6 @@ -15183,8 +14458,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *70 + required: *71 examples: default: value: @@ -15469,7 +14744,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &89 + X-CommonMarker-Version: &84 example: 0.17.4 schema: type: string @@ -15524,7 +14799,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *89 + X-CommonMarker-Version: *84 content: text/html: schema: @@ -15553,7 +14828,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &92 + - &87 name: account_id description: account_id parameter in: path @@ -15565,7 +14840,7 @@ paths: description: Response content: application/json: - schema: &91 + schema: &86 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -15595,7 +14870,7 @@ paths: nullable: true id: type: integer - plan: &90 + plan: &85 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -15684,7 +14959,7 @@ paths: nullable: true updated_at: type: string - plan: *90 + plan: *85 required: - url - id @@ -15692,7 +14967,7 @@ paths: - login - marketplace_purchase examples: - default: &93 + default: &88 value: url: https://api.github.com/orgs/github type: Organization @@ -15777,9 +15052,9 @@ paths: application/json: schema: type: array - items: *90 + items: *85 examples: - default: &94 + default: &89 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -15797,7 +15072,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *54 '404': *6 '401': *25 x-github: @@ -15819,14 +15094,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &95 + - &90 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &96 + - &91 name: sort description: The property to sort the results by. in: query @@ -15856,9 +15131,9 @@ paths: application/json: schema: type: array - items: *91 + items: *86 examples: - default: &97 + default: &92 value: - url: https://api.github.com/orgs/github type: Organization @@ -15909,7 +15184,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *54 '404': *6 '422': *15 '401': *25 @@ -15932,15 +15207,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *92 + - *87 responses: '200': description: Response content: application/json: - schema: *91 + schema: *86 examples: - default: *93 + default: *88 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -15972,11 +15247,11 @@ paths: application/json: schema: type: array - items: *90 + items: *85 examples: - default: *94 + default: *89 headers: - Link: *58 + Link: *54 '401': *25 x-github: githubCloudOnly: false @@ -15997,8 +15272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *95 - - *96 + - *90 + - *91 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16018,11 +15293,11 @@ paths: application/json: schema: type: array - items: *91 + items: *86 examples: - default: *97 + default: *92 headers: - Link: *58 + Link: *54 '401': *25 x-github: githubCloudOnly: false @@ -16284,14 +15559,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &330 + - &318 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &331 + - &319 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16308,7 +15583,7 @@ paths: application/json: schema: type: array - items: *98 + items: *93 examples: default: value: @@ -16353,7 +15628,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &339 + '301': &327 description: Moved permanently content: application/json: @@ -16375,7 +15650,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &558 + - &546 name: all description: If `true`, show notifications marked as read. in: query @@ -16383,7 +15658,7 @@ paths: schema: type: boolean default: false - - &559 + - &547 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16392,8 +15667,8 @@ paths: schema: type: boolean default: false - - *79 - - &560 + - *74 + - &548 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -16418,18 +15693,18 @@ paths: application/json: schema: type: array - items: &99 + items: &94 title: Thread description: Thread type: object properties: id: type: string - repository: &137 + repository: &133 title: Minimal Repository description: Minimal Repository type: object - properties: &182 + properties: &180 id: type: integer format: int64 @@ -16705,7 +15980,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &265 + security_and_analysis: &263 nullable: true type: object properties: @@ -16779,7 +16054,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &183 + required: &181 - archive_url - assignees_url - blobs_url @@ -16867,7 +16142,7 @@ paths: - url - subscription_url examples: - default: &561 + default: &549 value: - id: '1' repository: @@ -16949,7 +16224,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -17033,7 +16308,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &100 + - &95 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -17047,7 +16322,7 @@ paths: description: Response content: application/json: - schema: *99 + schema: *94 examples: default: value: @@ -17149,7 +16424,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *100 + - *95 responses: '205': description: Reset Content @@ -17171,7 +16446,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *100 + - *95 responses: '204': description: No content @@ -17194,13 +16469,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *100 + - *95 responses: '200': description: Response content: application/json: - schema: &101 + schema: &96 title: Thread Subscription description: Thread Subscription type: object @@ -17237,7 +16512,7 @@ paths: - url - subscribed examples: - default: &102 + default: &97 value: subscribed: true ignored: false @@ -17268,7 +16543,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *100 + - *95 requestBody: required: false content: @@ -17289,9 +16564,9 @@ paths: description: Response content: application/json: - schema: *101 + schema: *96 examples: - default: *102 + default: *97 '304': *37 '403': *29 '401': *25 @@ -17314,7 +16589,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *100 + - *95 responses: '204': description: Response @@ -17409,7 +16684,7 @@ paths: application/json: schema: type: array - items: &218 + items: &216 title: Organization Simple description: A GitHub organization. type: object @@ -17468,7 +16743,7 @@ paths: - avatar_url - description examples: - default: &672 + default: &668 value: - login: github id: 1 @@ -17508,7 +16783,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - &105 + - &100 name: org description: The organization name. The name is not case sensitive. in: path @@ -17558,8 +16833,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *103 - required: *104 + properties: *98 + required: *99 nullable: true additionalProperties: false examples: @@ -17665,7 +16940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -17731,7 +17006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *105 + - *100 requestBody: required: true content: @@ -17767,9 +17042,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -17777,8 +17053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization parameters: - - *105 - - &107 + - *100 + - &103 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -17787,7 +17063,7 @@ paths: required: false schema: type: integer - - &698 + - &694 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -17796,7 +17072,7 @@ paths: required: false schema: type: integer - - &108 + - &104 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -17811,14 +17087,14 @@ paths: required: false schema: type: string - - &699 + - &695 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &700 + - &696 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -17934,8 +17210,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *106 - '503': *77 + '500': *101 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17955,9 +17231,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *105 - - *107 - - &703 + - *100 + - *103 + - &699 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -17966,8 +17242,8 @@ paths: required: false schema: type: integer - - *108 - - &704 + - *104 + - &700 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18050,8 +17326,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *106 - '503': *77 + '500': *101 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18077,13 +17353,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &109 + schema: &105 title: Organization Full description: Organization Full type: object @@ -18402,7 +17678,7 @@ paths: - updated_at - archived_at examples: - default-response: &110 + default-response: &106 value: login: github id: 1 @@ -18502,7 +17778,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *105 + - *100 requestBody: required: false content: @@ -18718,17 +17994,17 @@ paths: description: Response content: application/json: - schema: *109 + schema: *105 examples: - default: *110 + default: *106 '422': description: Validation failed content: application/json: schema: oneOf: - - *111 - - *112 + - *107 + - *108 '409': *47 x-github: githubCloudOnly: false @@ -18752,7 +18028,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *105 + - *100 responses: '202': *39 '404': *6 @@ -18777,7 +18053,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -18803,7 +18079,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18824,7 +18100,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *105 + - *100 - *17 - *19 responses: @@ -18842,7 +18118,7 @@ paths: type: integer repository_cache_usages: type: array - items: &344 + items: &332 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -18877,7 +18153,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18897,7 +18173,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *105 + - *100 - *17 - *19 responses: @@ -18915,7 +18191,7 @@ paths: type: integer runners: type: array - items: &113 + items: &109 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -18964,7 +18240,7 @@ paths: - display_name - source nullable: true - machine_size_details: &116 + machine_size_details: &112 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19056,7 +18332,7 @@ paths: - public_ip_enabled - platform examples: - default: &136 + default: &132 value: total_count: 2 runners: @@ -19098,7 +18374,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19116,7 +18392,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -19183,9 +18459,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *109 examples: - default: &117 + default: &113 value: id: 5 name: My hosted ubuntu runner @@ -19224,7 +18500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -19240,7 +18516,7 @@ paths: type: integer images: type: array - items: &114 + items: &110 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -19276,7 +18552,7 @@ paths: - display_name - source examples: - default: &115 + default: &111 value: id: ubuntu-20.04 platform: linux-x64 @@ -19300,7 +18576,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -19316,9 +18592,9 @@ paths: type: integer images: type: array - items: *114 + items: *110 examples: - default: *115 + default: *111 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19335,7 +18611,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -19388,7 +18664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -19404,7 +18680,7 @@ paths: type: integer machine_specs: type: array - items: *116 + items: *112 examples: default: value: @@ -19429,7 +18705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -19473,8 +18749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *105 - - &118 + - *100 + - &114 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -19486,11 +18762,11 @@ paths: description: Response content: application/json: - schema: *113 + schema: *109 examples: - default: *117 + default: *113 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19508,8 +18784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *105 - - *118 + - *100 + - *114 requestBody: required: true content: @@ -19547,9 +18823,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *109 examples: - default: *117 + default: *113 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19565,16 +18841,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *105 - - *118 + - *100 + - *114 responses: '202': description: Response content: application/json: - schema: *113 + schema: *109 examples: - default: *117 + default: *113 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -19594,13 +18870,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *105 + - *100 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &119 + schema: &115 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -19614,7 +18890,7 @@ paths: required: - include_claim_keys examples: - default: &120 + default: &116 value: include_claim_keys: - repo @@ -19636,20 +18912,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: application/json: - schema: *119 + schema: *115 examples: - default: *120 + default: *116 responses: '201': description: Empty response content: application/json: - schema: &146 + schema: &142 title: Empty Object description: An object without any properties. type: object @@ -19679,7 +18955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -19688,7 +18964,7 @@ paths: schema: type: object properties: - enabled_repositories: &121 + enabled_repositories: &117 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -19701,7 +18977,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &122 + allowed_actions: &118 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -19709,12 +18985,12 @@ paths: - all - local_only - selected - selected_actions_url: &350 + selected_actions_url: &338 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &123 + sha_pinning_required: &119 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -19745,7 +19021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *105 + - *100 responses: '204': description: Response @@ -19756,9 +19032,9 @@ paths: schema: type: object properties: - enabled_repositories: *121 - allowed_actions: *122 - sha_pinning_required: *123 + enabled_repositories: *117 + allowed_actions: *118 + sha_pinning_required: *119 required: - enabled_repositories examples: @@ -19786,13 +19062,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &354 + schema: &342 type: object properties: days: @@ -19829,12 +19105,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: application/json: - schema: &355 + schema: &343 type: object properties: days: @@ -19871,13 +19147,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &124 + schema: &120 type: object properties: approval_policy: @@ -19891,7 +19167,7 @@ paths: required: - approval_policy examples: - default: &356 + default: &344 value: approval_policy: first_time_contributors '404': *6 @@ -19912,7 +19188,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *105 + - *100 responses: '204': description: Response @@ -19922,7 +19198,7 @@ paths: required: true content: application/json: - schema: *124 + schema: *120 examples: default: summary: Set approval policy to first time contributors @@ -19944,13 +19220,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &357 + schema: &345 type: object required: - run_workflows_from_fork_pull_requests @@ -19976,7 +19252,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &125 + default: &121 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -19999,12 +19275,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: application/json: - schema: &358 + schema: &346 type: object required: - run_workflows_from_fork_pull_requests @@ -20027,7 +19303,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *125 + default: *121 responses: '204': description: Empty response for successful settings update @@ -20057,7 +19333,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *105 + - *100 - *17 - *19 responses: @@ -20075,9 +19351,9 @@ paths: type: number repositories: type: array - items: *67 + items: *63 examples: - default: &129 + default: &125 value: total_count: 1 repositories: @@ -20217,7 +19493,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *105 + - *100 responses: '204': description: Response @@ -20261,8 +19537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *105 - - &126 + - *100 + - &122 name: repository_id description: The unique identifier of the repository. in: path @@ -20290,8 +19566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *105 - - *126 + - *100 + - *122 responses: '204': description: Response @@ -20314,13 +19590,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &127 + schema: &123 type: object properties: github_owned_allowed: @@ -20342,7 +19618,7 @@ paths: items: type: string examples: - default: &128 + default: &124 value: github_owned_allowed: true verified_allowed: false @@ -20367,7 +19643,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *105 + - *100 responses: '204': description: Response @@ -20375,9 +19651,9 @@ paths: required: false content: application/json: - schema: *127 + schema: *123 examples: - selected_actions: *128 + selected_actions: *124 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20397,7 +19673,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -20445,7 +19721,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -20492,7 +19768,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *105 + - *100 - *17 - *19 responses: @@ -20507,9 +19783,9 @@ paths: type: integer repositories: type: array - items: *67 + items: *63 examples: - default: *129 + default: *125 '403': *29 '404': *6 x-github: @@ -20529,7 +19805,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -20577,8 +19853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *105 - - *126 + - *100 + - *122 responses: '204': description: No content @@ -20604,8 +19880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *105 - - *126 + - *100 + - *122 responses: '204': description: No content @@ -20633,23 +19909,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &359 + schema: &347 type: object properties: - default_workflow_permissions: &130 + default_workflow_permissions: &126 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &131 + can_approve_pull_request_reviews: &127 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -20657,7 +19933,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &132 + default: &128 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -20682,7 +19958,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *105 + - *100 responses: '204': description: Success response @@ -20690,13 +19966,13 @@ paths: required: false content: application/json: - schema: &360 + schema: &348 type: object properties: - default_workflow_permissions: *130 - can_approve_pull_request_reviews: *131 + default_workflow_permissions: *126 + can_approve_pull_request_reviews: *127 examples: - default: *132 + default: *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20716,7 +19992,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *105 + - *100 - *17 - *19 - name: visible_to_repository @@ -20741,7 +20017,7 @@ paths: type: number runner_groups: type: array - items: &133 + items: &129 type: object properties: id: @@ -20857,7 +20133,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -20929,9 +20205,9 @@ paths: description: Response content: application/json: - schema: *133 + schema: *129 examples: - default: &135 + default: &131 value: id: 2 name: octo-runner-group @@ -20966,8 +20242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *105 - - &134 + - *100 + - &130 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -20979,7 +20255,7 @@ paths: description: Response content: application/json: - schema: *133 + schema: *129 examples: default: value: @@ -21015,8 +20291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *105 - - *134 + - *100 + - *130 requestBody: required: true content: @@ -21070,9 +20346,9 @@ paths: description: Response content: application/json: - schema: *133 + schema: *129 examples: - default: *135 + default: *131 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21091,8 +20367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *105 - - *134 + - *100 + - *130 responses: '204': description: Response @@ -21115,8 +20391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *105 - - *134 + - *100 + - *130 - *17 - *19 responses: @@ -21134,11 +20410,11 @@ paths: type: number runners: type: array - items: *113 + items: *109 examples: - default: *136 + default: *132 headers: - Link: *58 + Link: *54 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21158,8 +20434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *105 - - *134 + - *100 + - *130 - *19 - *17 responses: @@ -21177,9 +20453,9 @@ paths: type: number repositories: type: array - items: *137 + items: *133 examples: - default: &658 + default: &654 value: total_count: 1 repositories: @@ -21431,8 +20707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *105 - - *134 + - *100 + - *130 requestBody: required: true content: @@ -21476,9 +20752,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *105 - - *134 - - *126 + - *100 + - *130 + - *122 responses: '204': description: Response @@ -21500,9 +20776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *105 - - *134 - - *126 + - *100 + - *130 + - *122 responses: '204': description: Response @@ -21525,8 +20801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *105 - - *134 + - *100 + - *130 - *17 - *19 responses: @@ -21544,7 +20820,7 @@ paths: type: number runners: type: array - items: &139 + items: &135 title: Self hosted runners description: A self hosted runner type: object @@ -21573,7 +20849,7 @@ paths: type: boolean labels: type: array - items: &142 + items: &138 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -21603,7 +20879,7 @@ paths: - busy - labels examples: - default: &140 + default: &136 value: total_count: 2 runners: @@ -21643,7 +20919,7 @@ paths: name: no-gpu type: custom headers: - Link: *58 + Link: *54 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21662,8 +20938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *105 - - *134 + - *100 + - *130 requestBody: required: true content: @@ -21707,9 +20983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *105 - - *134 - - &138 + - *100 + - *130 + - &134 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -21737,9 +21013,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *105 + - *100 + - *130 - *134 - - *138 responses: '204': description: Response @@ -21769,7 +21045,7 @@ paths: in: query schema: type: string - - *105 + - *100 - *17 - *19 responses: @@ -21787,11 +21063,11 @@ paths: type: integer runners: type: array - items: *139 + items: *135 examples: - default: *140 + default: *136 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21813,7 +21089,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -21821,7 +21097,7 @@ paths: application/json: schema: type: array - items: &361 + items: &349 title: Runner Application description: Runner Application type: object @@ -21846,7 +21122,7 @@ paths: - download_url - filename examples: - default: &362 + default: &350 value: - os: osx architecture: x64 @@ -21889,7 +21165,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -21932,7 +21208,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &363 + '201': &351 description: Response content: application/json: @@ -21942,7 +21218,7 @@ paths: - runner - encoded_jit_config properties: - runner: *139 + runner: *135 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -21999,13 +21275,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *105 + - *100 responses: '201': description: Response content: application/json: - schema: &141 + schema: &137 title: Authentication Token description: Authentication Token type: object @@ -22027,7 +21303,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *67 + items: *63 single_file: type: string example: config.yaml @@ -22043,7 +21319,7 @@ paths: - token - expires_at examples: - default: &364 + default: &352 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22074,15 +21350,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *105 + - *100 responses: '201': description: Response content: application/json: - schema: *141 + schema: *137 examples: - default: &365 + default: &353 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22107,16 +21383,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 + - *100 + - *134 responses: '200': description: Response content: application/json: - schema: *139 + schema: *135 examples: - default: &366 + default: &354 value: id: 23 name: MBP @@ -22157,8 +21433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *105 - - *138 + - *100 + - *134 responses: '204': description: Response @@ -22184,10 +21460,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 + - *100 + - *134 responses: - '200': &143 + '200': &139 description: Response content: application/json: @@ -22201,7 +21477,7 @@ paths: type: integer labels: type: array - items: *142 + items: *138 examples: default: value: @@ -22240,8 +21516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 + - *100 + - *134 requestBody: required: true content: @@ -22265,7 +21541,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *139 '404': *6 '422': *7 x-github: @@ -22289,8 +21565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 + - *100 + - *134 requestBody: required: true content: @@ -22315,7 +21591,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *139 '404': *6 '422': *7 x-github: @@ -22339,10 +21615,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 + - *100 + - *134 responses: - '200': &367 + '200': &355 description: Response content: application/json: @@ -22356,7 +21632,7 @@ paths: type: integer labels: type: array - items: *142 + items: *138 examples: default: value: @@ -22397,9 +21673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 - - &368 + - *100 + - *134 + - &356 name: name description: The name of a self-hosted runner's custom label. in: path @@ -22407,7 +21683,7 @@ paths: schema: type: string responses: - '200': *143 + '200': *139 '404': *6 '422': *7 x-github: @@ -22432,7 +21708,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *105 + - *100 - *17 - *19 responses: @@ -22450,7 +21726,7 @@ paths: type: integer secrets: type: array - items: &144 + items: &140 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -22500,7 +21776,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22523,13 +21799,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &380 + schema: &368 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22558,7 +21834,7 @@ paths: - key_id - key examples: - default: &381 + default: &369 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22583,8 +21859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *105 - - &145 + - *100 + - &141 name: secret_name description: The name of the secret. in: path @@ -22596,7 +21872,7 @@ paths: description: Response content: application/json: - schema: *144 + schema: *140 examples: default: value: @@ -22626,8 +21902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 requestBody: required: true content: @@ -22684,7 +21960,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -22710,8 +21986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 responses: '204': description: Response @@ -22737,8 +22013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 - *19 - *17 responses: @@ -22756,9 +22032,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *133 examples: - default: &149 + default: &145 value: total_count: 1 repositories: @@ -22850,8 +22126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 requestBody: required: true content: @@ -22903,8 +22179,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 - name: repository_id in: path required: true @@ -22937,8 +22213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 - name: repository_id in: path required: true @@ -22970,8 +22246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *105 - - &349 + - *100 + - &337 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -22995,7 +22271,7 @@ paths: type: integer variables: type: array - items: &147 + items: &143 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23059,7 +22335,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23080,7 +22356,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *105 + - *100 requestBody: required: true content: @@ -23128,7 +22404,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -23153,8 +22429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *105 - - &148 + - *100 + - &144 name: name description: The name of the variable. in: path @@ -23166,7 +22442,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *143 examples: default: value: @@ -23196,8 +22472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *105 - - *148 + - *100 + - *144 requestBody: required: true content: @@ -23259,8 +22535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *105 - - *148 + - *100 + - *144 responses: '204': description: Response @@ -23286,8 +22562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *105 - - *148 + - *100 + - *144 - *19 - *17 responses: @@ -23305,9 +22581,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *133 examples: - default: *149 + default: *145 '409': description: Response when the visibility of the variable is not set to `selected` @@ -23333,8 +22609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *105 - - *148 + - *100 + - *144 requestBody: required: true content: @@ -23383,8 +22659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *105 - - *148 + - *100 + - *144 - name: repository_id in: path required: true @@ -23418,8 +22694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *105 - - *148 + - *100 + - *144 - name: repository_id in: path required: true @@ -23450,7 +22726,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *105 + - *100 requestBody: required: true content: @@ -23582,7 +22858,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *105 + - *100 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -23667,7 +22943,7 @@ paths: - *17 - *40 - *41 - - *105 + - *100 requestBody: required: true content: @@ -23690,12 +22966,12 @@ paths: required: - subject_digests examples: - default: &687 + default: &683 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &688 + withPredicateType: &684 value: subject_digests: - sha256:abc123 @@ -23753,7 +23029,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &689 + default: &685 value: attestations_subject_digests: - sha256:abc: @@ -23862,7 +23138,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *105 + - *100 requestBody: required: true content: @@ -23927,7 +23203,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *105 + - *100 - name: subject_digest description: Subject Digest in: path @@ -23946,6 +23222,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 + - *40 + - *41 + - *100 + - 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 @@ -23958,7 +23285,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *105 + - *100 - name: attestation_id description: Attestation ID in: path @@ -23996,7 +23323,7 @@ paths: - *17 - *40 - *41 - - *105 + - *100 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24049,7 +23376,7 @@ paths: initiator: type: string examples: - default: &394 + default: &382 value: attestations: - bundle: @@ -24156,7 +23483,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *105 + - *100 - *17 - *19 responses: @@ -24168,7 +23495,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24187,8 +23514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: If the user is blocked @@ -24213,8 +23540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: Response @@ -24234,8 +23561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: Response @@ -24260,7 +23587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *105 + - *100 - *19 - *17 - *48 @@ -24268,7 +23595,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &150 + schema: &146 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -24294,7 +23621,7 @@ paths: application/json: schema: type: array - items: &151 + items: &147 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -24400,7 +23727,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &225 + properties: &223 id: description: Unique identifier of the team type: integer @@ -24472,7 +23799,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &226 + required: &224 - id - node_id - url @@ -24515,7 +23842,7 @@ paths: type: string format: date-time nullable: true - state: *150 + state: *146 contact_link: description: The contact link of the campaign. type: string @@ -24610,9 +23937,9 @@ paths: closed_at: state: open headers: - Link: *58 + Link: *54 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24636,7 +23963,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -24730,9 +24057,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *147 examples: - default: &152 + default: &148 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -24781,7 +24108,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24803,7 +24130,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *105 + - *100 - name: campaign_number description: The campaign number. in: path @@ -24815,16 +24142,16 @@ paths: description: Response content: application/json: - schema: *151 + schema: *147 examples: - default: *152 + default: *148 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24845,7 +24172,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *105 + - *100 - name: campaign_number description: The campaign number. in: path @@ -24894,7 +24221,7 @@ paths: type: string format: uri nullable: true - state: *150 + state: *146 examples: default: value: @@ -24904,9 +24231,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *147 examples: - default: *152 + default: *148 '400': description: Bad Request content: @@ -24918,7 +24245,7 @@ paths: content: application/json: schema: *3 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24939,7 +24266,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *105 + - *100 - name: campaign_number description: The campaign number. in: path @@ -24950,7 +24277,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24972,8 +24299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *105 - - &419 + - *100 + - &407 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`, @@ -24983,7 +24310,7 @@ paths: schema: &156 type: string description: The name of the tool used to generate the code scanning analysis. - - &420 + - &408 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 @@ -25006,7 +24333,7 @@ paths: be returned. in: query required: false - schema: &422 + schema: &410 type: string description: State of a code scanning alert. enum: @@ -25029,7 +24356,7 @@ paths: be returned. in: query required: false - schema: &423 + schema: &411 type: string description: Severity of a code scanning alert. enum: @@ -25050,12 +24377,12 @@ paths: items: type: object properties: - number: *54 - created_at: *55 - updated_at: *153 - url: *56 - html_url: *57 - instances_url: &424 + number: *149 + created_at: *150 + updated_at: *151 + url: *152 + html_url: *153 + instances_url: &412 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -25078,7 +24405,7 @@ paths: required: *21 nullable: true dismissed_at: *155 - dismissed_reason: &425 + dismissed_reason: &413 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -25087,13 +24414,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &426 + dismissed_comment: &414 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &427 + rule: &415 type: object properties: id: @@ -25146,7 +24473,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &428 + tool: &416 type: object properties: name: *156 @@ -25156,15 +24483,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *157 - most_recent_instance: &429 + most_recent_instance: &417 type: object properties: - ref: &421 + ref: &409 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &439 + analysis_key: &427 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25175,7 +24502,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &440 + category: &428 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -25475,9 +24802,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *58 + Link: *54 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25499,7 +24826,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *105 + - *100 - name: target_type in: query description: The target type of the code security configuration @@ -25610,7 +24937,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *105 + - *100 requestBody: required: true content: @@ -25853,7 +25180,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *105 + - *100 responses: '200': description: Response @@ -25887,7 +25214,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *105 + - *100 requestBody: required: true content: @@ -25939,7 +25266,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *105 + - *100 - *45 responses: '200': @@ -25972,7 +25299,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *105 + - *100 - *45 requestBody: required: true @@ -26229,7 +25556,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *105 + - *100 - *45 responses: '204': *163 @@ -26260,7 +25587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *105 + - *100 - *45 requestBody: required: true @@ -26324,7 +25651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *105 + - *100 - *45 requestBody: required: true @@ -26394,7 +25721,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *105 + - *100 - *45 - name: per_page description: The number of results per page (max 100). For more information, @@ -26453,7 +25780,7 @@ paths: parameters: - *17 - *19 - - *105 + - *100 responses: '200': description: Response @@ -26469,7 +25796,7 @@ paths: type: integer codespaces: type: array - items: &214 + items: &212 type: object title: Codespace description: A codespace. @@ -26494,12 +25821,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *137 + repository: *133 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &452 + properties: &440 name: type: string description: The name of the machine. @@ -26541,7 +25868,7 @@ paths: - ready - in_progress nullable: true - required: &453 + required: &441 - name - display_name - operating_system @@ -26746,7 +26073,7 @@ paths: - pulls_url - recent_folders examples: - default: &215 + default: &213 value: total_count: 3 codespaces: @@ -27156,7 +26483,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -27178,7 +26505,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *105 + - *100 deprecated: true requestBody: required: true @@ -27222,7 +26549,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27245,7 +26572,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *105 + - *100 deprecated: true requestBody: required: true @@ -27277,7 +26604,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27300,7 +26627,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *105 + - *100 requestBody: required: true content: @@ -27331,7 +26658,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27352,7 +26679,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *105 + - *100 - *17 - *19 responses: @@ -27409,7 +26736,7 @@ paths: - updated_at - visibility examples: - default: &454 + default: &442 value: total_count: 2 secrets: @@ -27422,7 +26749,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27441,13 +26768,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &455 + schema: &443 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27476,7 +26803,7 @@ paths: - key_id - key examples: - default: &456 + default: &444 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27499,8 +26826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 responses: '200': description: Response @@ -27508,14 +26835,14 @@ paths: application/json: schema: *166 examples: - default: &458 + default: &446 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27535,8 +26862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 requestBody: required: true content: @@ -27591,7 +26918,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -27617,8 +26944,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 responses: '204': description: Response @@ -27643,8 +26970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 - *19 - *17 responses: @@ -27662,9 +26989,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *133 examples: - default: *149 + default: *145 '404': *6 x-github: githubCloudOnly: false @@ -27686,8 +27013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 requestBody: required: true content: @@ -27737,8 +27064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 - name: repository_id in: path required: true @@ -27771,8 +27098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 - name: repository_id in: path required: true @@ -27811,7 +27138,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *105 + - *100 responses: '200': description: OK @@ -27920,7 +27247,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -27952,7 +27279,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *105 + - *100 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -27975,7 +27302,7 @@ paths: currently being billed. seats: type: array - items: &217 + items: &215 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -28000,7 +27327,7 @@ paths: access to GitHub Copilot, if applicable. oneOf: - *169 - - *59 + - *55 nullable: true pending_cancellation_date: type: string @@ -28124,8 +27451,8 @@ paths: type: User site_admin: false headers: - Link: *58 - '500': *106 + Link: *54 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -28158,7 +27485,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *105 + - *100 requestBody: content: application/json: @@ -28200,7 +27527,7 @@ paths: default: value: seats_created: 5 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -28236,7 +27563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *105 + - *100 requestBody: content: application/json: @@ -28278,7 +27605,7 @@ paths: default: value: seats_cancelled: 5 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -28316,7 +27643,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *105 + - *100 requestBody: content: application/json: @@ -28357,7 +27684,7 @@ paths: default: value: seats_created: 5 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -28393,7 +27720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *105 + - *100 requestBody: content: application/json: @@ -28435,7 +27762,7 @@ paths: default: value: seats_cancelled: 5 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -28474,7 +27801,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *105 + - *100 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -28506,7 +27833,7 @@ paths: application/json: schema: type: array - items: &312 + items: &300 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -28813,7 +28140,7 @@ paths: - date additionalProperties: true examples: - default: &313 + default: &301 value: - date: '2024-06-24' total_active_users: 24 @@ -28912,10 +28239,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *106 + '500': *101 '403': *29 '404': *6 - '422': &314 + '422': &302 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -28942,7 +28269,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *105 + - *100 - *170 - *171 - *172 @@ -28990,8 +28317,6 @@ paths: - *48 - *40 - *41 - - *177 - - *178 - *17 responses: '200': @@ -29000,9 +28325,9 @@ paths: application/json: schema: type: array - items: *179 + items: *177 examples: - default: *180 + default: *178 '304': *37 '400': *14 '403': *29 @@ -29028,7 +28353,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *105 + - *100 - *17 - *19 responses: @@ -29046,7 +28371,7 @@ paths: type: integer secrets: type: array - items: &181 + items: &179 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -29096,7 +28421,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29117,13 +28442,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &484 + schema: &472 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -29140,7 +28465,7 @@ paths: - key_id - key examples: - default: &485 + default: &473 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29163,14 +28488,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 responses: '200': description: Response content: application/json: - schema: *181 + schema: *179 examples: default: value: @@ -29198,8 +28523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 requestBody: required: true content: @@ -29258,7 +28583,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -29282,8 +28607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 responses: '204': description: Response @@ -29307,8 +28632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 - *19 - *17 responses: @@ -29326,9 +28651,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *133 examples: - default: *149 + default: *145 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29349,8 +28674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 requestBody: required: true content: @@ -29400,8 +28725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 - name: repository_id in: path required: true @@ -29432,8 +28757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 - name: repository_id in: path required: true @@ -29463,7 +28788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -29471,7 +28796,7 @@ paths: application/json: schema: type: array - items: &228 + items: &226 title: Package description: A software package type: object @@ -29521,8 +28846,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *182 - required: *183 + properties: *180 + required: *181 nullable: true created_at: type: string @@ -29541,7 +28866,7 @@ paths: - created_at - updated_at examples: - default: &229 + default: &227 value: - id: 197 name: hello_docker @@ -29619,7 +28944,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *105 + - *100 - *17 - *19 responses: @@ -29629,7 +28954,7 @@ paths: application/json: schema: type: array - items: *98 + items: *93 examples: 200-response: value: @@ -29701,7 +29026,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *105 + - *100 - *17 - *19 responses: @@ -29711,7 +29036,7 @@ paths: application/json: schema: type: array - items: &206 + items: &204 title: Organization Invitation description: Organization Invitation type: object @@ -29758,7 +29083,7 @@ paths: - invitation_teams_url - node_id examples: - default: &207 + default: &205 value: - id: 1 login: monalisa @@ -29791,7 +29116,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -29815,7 +29140,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *105 + - *100 - *17 - *19 responses: @@ -29825,7 +29150,7 @@ paths: application/json: schema: type: array - items: &184 + items: &182 title: Org Hook description: Org Hook type: object @@ -29913,7 +29238,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -29936,7 +29261,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *105 + - *100 requestBody: required: true content: @@ -29996,9 +29321,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *182 examples: - default: &185 + default: &183 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -30045,8 +29370,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *105 - - &186 + - *100 + - &184 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -30059,9 +29384,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *182 examples: - default: *185 + default: *183 '404': *6 x-github: githubCloudOnly: false @@ -30088,8 +29413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *105 - - *186 + - *100 + - *184 requestBody: required: false content: @@ -30134,7 +29459,7 @@ paths: description: Response content: application/json: - schema: *184 + schema: *182 examples: default: value: @@ -30175,8 +29500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *105 - - *186 + - *100 + - *184 responses: '204': description: Response @@ -30203,8 +29528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *105 - - *186 + - *100 + - *184 responses: '200': description: Response @@ -30234,8 +29559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *105 - - *186 + - *100 + - *184 requestBody: required: false content: @@ -30285,10 +29610,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *105 - - *186 + - *100 + - *184 - *17 - - *187 + - *185 responses: '200': description: Response @@ -30296,9 +29621,9 @@ paths: application/json: schema: type: array - items: *188 + items: *186 examples: - default: *189 + default: *187 '400': *14 '422': *15 x-github: @@ -30323,17 +29648,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *105 - - *186 + - *100 + - *184 - *16 responses: '200': description: Response content: application/json: - schema: *190 + schema: *188 examples: - default: *191 + default: *189 '400': *14 '422': *15 x-github: @@ -30358,8 +29683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *105 - - *186 + - *100 + - *184 - *16 responses: '202': *39 @@ -30388,8 +29713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *105 - - *186 + - *100 + - *184 responses: '204': description: Response @@ -30411,8 +29736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *105 - - &196 + - *100 + - &194 name: actor_type in: path description: The type of the actor @@ -30425,14 +29750,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &197 + - &195 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &192 + - &190 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -30440,7 +29765,7 @@ paths: required: true schema: type: string - - &193 + - &191 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -30533,13 +29858,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *105 - - *192 - - *193 + - *100 + - *190 + - *191 - *19 - *17 - *48 - - &202 + - &200 name: sort description: The property to sort the results by. in: query @@ -30617,15 +29942,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *105 - - *192 - - *193 + - *100 + - *190 + - *191 responses: '200': description: Response content: application/json: - schema: &194 + schema: &192 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30641,7 +29966,7 @@ paths: type: integer format: int64 examples: - default: &195 + default: &193 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30661,24 +29986,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *105 - - &198 + - *100 + - &196 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *192 - - *193 + - *190 + - *191 responses: '200': description: Response content: application/json: - schema: *194 + schema: *192 examples: - default: *195 + default: *193 x-github: enabledForGitHubApps: true category: orgs @@ -30696,19 +30021,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *105 - - *192 - - *193 - - *196 - - *197 + - *100 + - *190 + - *191 + - *194 + - *195 responses: '200': description: Response content: application/json: - schema: *194 + schema: *192 examples: - default: *195 + default: *193 x-github: enabledForGitHubApps: true category: orgs @@ -30725,10 +30050,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *105 - - *192 - - *193 - - &199 + - *100 + - *190 + - *191 + - &197 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30741,7 +30066,7 @@ paths: description: Response content: application/json: - schema: &200 + schema: &198 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30757,7 +30082,7 @@ paths: type: integer format: int64 examples: - default: &201 + default: &199 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30793,19 +30118,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *105 - - *198 - - *192 - - *193 - - *199 + - *100 + - *196 + - *190 + - *191 + - *197 responses: '200': description: Response content: application/json: - schema: *200 + schema: *198 examples: - default: *201 + default: *199 x-github: enabledForGitHubApps: true category: orgs @@ -30822,20 +30147,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *105 - - *196 + - *100 + - *194 + - *195 + - *190 + - *191 - *197 - - *192 - - *193 - - *199 responses: '200': description: Response content: application/json: - schema: *200 + schema: *198 examples: - default: *201 + default: *199 x-github: enabledForGitHubApps: true category: orgs @@ -30852,14 +30177,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *105 - - *198 - - *192 - - *193 + - *100 + - *196 + - *190 + - *191 - *19 - *17 - *48 - - *202 + - *200 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -30932,7 +30257,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *105 + - *100 responses: '200': description: Response @@ -30940,7 +30265,7 @@ paths: application/json: schema: *22 examples: - default: &523 + default: &511 value: id: 1 account: @@ -31009,7 +30334,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *105 + - *100 - *17 - *19 responses: @@ -31079,7 +30404,7 @@ paths: suspended_at: suspended_by: headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31098,7 +30423,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -31106,12 +30431,12 @@ paths: application/json: schema: anyOf: - - &204 + - &202 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &203 + limit: &201 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -31136,7 +30461,7 @@ paths: properties: {} additionalProperties: false examples: - default: &205 + default: &203 value: limit: collaborators_only origin: organization @@ -31160,18 +30485,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: application/json: - schema: &524 + schema: &512 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *203 + limit: *201 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -31195,9 +30520,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *202 examples: - default: *205 + default: *203 '422': *15 x-github: githubCloudOnly: false @@ -31215,7 +30540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *105 + - *100 responses: '204': description: Response @@ -31239,7 +30564,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *105 + - *100 - *17 - *19 - name: role @@ -31273,11 +30598,11 @@ paths: application/json: schema: type: array - items: *206 + items: *204 examples: - default: *207 + default: *205 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -31298,7 +30623,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *105 + - *100 requestBody: required: false content: @@ -31352,7 +30677,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *204 examples: default: value: @@ -31406,8 +30731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *105 - - &208 + - *100 + - &206 name: invitation_id description: The unique identifier of the invitation. in: path @@ -31437,8 +30762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *105 - - *208 + - *100 + - *206 - *17 - *19 responses: @@ -31450,7 +30775,7 @@ paths: type: array items: *169 examples: - default: &227 + default: &225 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -31466,7 +30791,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -31485,7 +30810,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -31493,7 +30818,7 @@ paths: application/json: schema: type: array - items: *209 + items: *207 examples: default: value: @@ -31531,7 +30856,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -31578,9 +30903,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *207 examples: - default: &210 + default: &208 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -31612,8 +30937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *105 - - &211 + - *100 + - &209 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -31666,9 +30991,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *207 examples: - default: *210 + default: *208 '404': *6 '422': *7 x-github: @@ -31692,8 +31017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *105 - - *211 + - *100 + - *209 responses: '204': description: Response @@ -31726,7 +31051,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *105 + - *100 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -31756,7 +31081,7 @@ paths: - closed - all default: open - - *212 + - *210 - name: type description: Can be the name of an issue type. in: query @@ -31775,7 +31100,7 @@ paths: - comments default: created - *48 - - *79 + - *74 - *17 - *19 responses: @@ -31785,11 +31110,11 @@ paths: application/json: schema: type: array - items: *71 + items: *67 examples: - default: *213 + default: *211 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -31809,7 +31134,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *105 + - *100 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -31847,9 +31172,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -31867,8 +31192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: Response if requester is an organization member and user is @@ -31902,8 +31227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: Response @@ -31929,8 +31254,8 @@ paths: parameters: - *17 - *19 - - *105 - - *63 + - *100 + - *59 responses: '200': description: Response @@ -31946,11 +31271,11 @@ paths: type: integer codespaces: type: array - items: *214 + items: *212 examples: - default: *215 + default: *213 '304': *37 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -31973,9 +31298,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *105 - - *63 - - &216 + - *100 + - *59 + - &214 name: codespace_name in: path required: true @@ -31985,7 +31310,7 @@ paths: responses: '202': *39 '304': *37 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -32008,17 +31333,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *105 - - *63 - - *216 + - *100 + - *59 + - *214 responses: '200': description: Response content: application/json: - schema: *214 + schema: *212 examples: - default: &451 + default: &439 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -32160,7 +31485,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -32191,14 +31516,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *105 - - *63 + - *100 + - *59 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *217 + schema: *215 examples: default: value: @@ -32242,7 +31567,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -32267,14 +31592,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *105 - - *63 + - *100 + - *59 responses: '200': description: Response content: application/json: - schema: &219 + schema: &217 title: Org Membership description: Org Membership type: object @@ -32318,7 +31643,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *218 + organization: *216 user: title: Simple User description: A GitHub user. @@ -32341,7 +31666,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &220 + response-if-user-has-an-active-admin-membership-with-organization: &218 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -32409,8 +31734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *105 - - *63 + - *100 + - *59 requestBody: required: false content: @@ -32438,9 +31763,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *217 examples: - response-if-user-already-had-membership-with-organization: *220 + response-if-user-already-had-membership-with-organization: *218 '422': *15 '403': *29 x-github: @@ -32464,8 +31789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: Response @@ -32490,7 +31815,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *105 + - *100 - *17 - *19 - name: exclude @@ -32511,7 +31836,7 @@ paths: application/json: schema: type: array - items: &221 + items: &219 title: Migration description: A migration. type: object @@ -32552,7 +31877,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *67 + items: *63 url: type: string format: uri @@ -32748,7 +32073,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -32764,7 +32089,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *105 + - *100 requestBody: required: true content: @@ -32840,7 +32165,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *219 examples: default: value: @@ -33018,8 +32343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *105 - - &222 + - *100 + - &220 name: migration_id description: The unique identifier of the migration. in: path @@ -33046,7 +32371,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *221 + schema: *219 examples: default: value: @@ -33215,8 +32540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *105 - - *222 + - *100 + - *220 responses: '302': description: Response @@ -33237,8 +32562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *105 - - *222 + - *100 + - *220 responses: '204': description: Response @@ -33261,9 +32586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *105 - - *222 - - &671 + - *100 + - *220 + - &667 name: repo_name description: repo_name parameter in: path @@ -33290,8 +32615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *105 - - *222 + - *100 + - *220 - *17 - *19 responses: @@ -33301,9 +32626,9 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: - default: &234 + default: &232 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33414,7 +32739,7 @@ paths: secret_scanning_non_provider_patterns: status: disabled headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -33440,7 +32765,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response - list of organization roles @@ -33456,7 +32781,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &224 + items: &222 title: Organization Role description: Organization roles type: object @@ -33603,8 +32928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *105 - - *65 + - *100 + - *61 responses: '204': description: Response @@ -33629,9 +32954,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *105 - - *65 - - &223 + - *100 + - *61 + - &221 name: role_id description: The unique identifier of the role. in: path @@ -33666,9 +32991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *105 - - *65 - - *223 + - *100 + - *61 + - *221 responses: '204': description: Response @@ -33693,8 +33018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: Response @@ -33719,9 +33044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *105 - - *63 - - *223 + - *100 + - *59 + - *221 responses: '204': description: Response @@ -33751,9 +33076,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *105 - - *63 - - *223 + - *100 + - *59 + - *221 responses: '204': description: Response @@ -33781,14 +33106,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *105 - - *223 + - *100 + - *221 responses: '200': description: Response content: application/json: - schema: *224 + schema: *222 examples: default: value: @@ -33838,8 +33163,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *105 - - *223 + - *100 + - *221 - *17 - *19 responses: @@ -33917,8 +33242,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *225 - required: *226 + properties: *223 + required: *224 nullable: true type: description: The ownership type of the team @@ -33950,9 +33275,9 @@ paths: - type - parent examples: - default: *227 + default: *225 headers: - Link: *58 + Link: *54 '404': description: Response if the organization or role does not exist. '422': @@ -33979,8 +33304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *105 - - *223 + - *100 + - *221 - *17 - *19 responses: @@ -34008,13 +33333,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &308 + items: &296 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *225 - required: *226 + properties: *223 + required: *224 name: nullable: true type: string @@ -34109,9 +33434,9 @@ paths: - type - url examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': description: Response if the organization or role does not exist. '422': @@ -34133,7 +33458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *105 + - *100 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -34160,9 +33485,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34185,8 +33510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *105 - - *63 + - *100 + - *59 requestBody: required: false content: @@ -34243,8 +33568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: Response @@ -34301,8 +33626,8 @@ paths: - docker - nuget - container - - *105 - - &673 + - *100 + - &669 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34338,12 +33663,12 @@ paths: application/json: schema: type: array - items: *228 + items: *226 examples: - default: *229 + default: *227 '403': *29 '401': *25 - '400': &675 + '400': &671 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34365,7 +33690,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &230 + - &228 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -34383,20 +33708,20 @@ paths: - docker - nuget - container - - &231 + - &229 name: package_name description: The name of the package. in: path required: true schema: type: string - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: *228 + schema: *226 examples: default: value: @@ -34448,9 +33773,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *230 - - *231 - - *105 + - *228 + - *229 + - *100 responses: '204': description: Response @@ -34482,9 +33807,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *230 - - *231 - - *105 + - *228 + - *229 + - *100 - name: token description: package token schema: @@ -34516,9 +33841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *230 - - *231 - - *105 + - *228 + - *229 + - *100 - *19 - *17 - name: state @@ -34538,7 +33863,7 @@ paths: application/json: schema: type: array - items: &232 + items: &230 title: Package Version description: A version of a software package type: object @@ -34663,10 +33988,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *230 - - *231 - - *105 - - &233 + - *228 + - *229 + - *100 + - &231 name: package_version_id description: Unique identifier of the package version. in: path @@ -34678,7 +34003,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *230 examples: default: value: @@ -34714,10 +34039,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *230 + - *228 + - *229 + - *100 - *231 - - *105 - - *233 responses: '204': description: Response @@ -34749,10 +34074,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *230 + - *228 + - *229 + - *100 - *231 - - *105 - - *233 responses: '204': description: Response @@ -34779,10 +34104,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *105 + - *100 - *17 - *19 - - &235 + - &233 name: sort description: The property by which to sort the results. in: query @@ -34793,7 +34118,7 @@ paths: - created_at default: created_at - *48 - - &236 + - &234 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -34804,7 +34129,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &237 + - &235 name: repository description: The name of the repository to use to filter the results. in: query @@ -34812,7 +34137,7 @@ paths: schema: type: string example: Hello-World - - &238 + - &236 name: permission description: The permission to use to filter the results. in: query @@ -34820,7 +34145,7 @@ paths: schema: type: string example: issues_read - - &239 + - &237 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -34830,7 +34155,7 @@ paths: schema: type: string format: date-time - - &240 + - &238 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -34840,7 +34165,7 @@ paths: schema: type: string format: date-time - - &241 + - &239 name: token_id description: The ID of the token in: query @@ -34852,7 +34177,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *106 + '500': *101 '422': *15 '404': *6 '403': *29 @@ -34984,7 +34309,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35004,7 +34329,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *105 + - *100 requestBody: required: true content: @@ -35045,7 +34370,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *106 + '500': *101 '422': *15 '404': *6 '403': *29 @@ -35070,7 +34395,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *105 + - *100 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -35106,7 +34431,7 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *106 + '500': *101 '422': *15 '404': *6 '403': *29 @@ -35131,7 +34456,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *105 + - *100 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -35142,7 +34467,7 @@ paths: - *17 - *19 responses: - '500': *106 + '500': *101 '404': *6 '403': *29 '200': @@ -35151,11 +34476,11 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: - default: *234 + default: *232 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35176,19 +34501,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *105 + - *100 - *17 - *19 - - *235 + - *233 - *48 + - *234 + - *235 - *236 - *237 - *238 - *239 - - *240 - - *241 responses: - '500': *106 + '500': *101 '422': *15 '404': *6 '403': *29 @@ -35315,7 +34640,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35335,7 +34660,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *105 + - *100 requestBody: required: true content: @@ -35370,7 +34695,7 @@ paths: - 1296269 - 1296280 responses: - '500': *106 + '500': *101 '404': *6 '202': *39 '403': *29 @@ -35395,7 +34720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *105 + - *100 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -35423,7 +34748,7 @@ paths: value: action: revoke responses: - '500': *106 + '500': *101 '404': *6 '204': *163 '403': *29 @@ -35447,7 +34772,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *105 + - *100 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -35457,7 +34782,7 @@ paths: - *17 - *19 responses: - '500': *106 + '500': *101 '404': *6 '403': *29 '200': @@ -35466,11 +34791,11 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: - default: *234 + default: *232 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35492,7 +34817,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *105 + - *100 - *17 - *19 responses: @@ -35510,7 +34835,7 @@ paths: type: integer configurations: type: array - items: &242 + items: &240 title: Organization private registry description: Private registry configuration for an organization type: object @@ -35576,7 +34901,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *58 + Link: *54 '400': *14 '404': *6 x-github: @@ -35598,7 +34923,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -35763,7 +35088,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &243 + org-private-registry-with-selected-visibility: &241 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -35804,7 +35129,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -35830,7 +35155,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -35852,16 +35177,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *105 - - *145 + - *100 + - *141 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *242 + schema: *240 examples: - default: *243 + default: *241 '404': *6 x-github: githubCloudOnly: false @@ -35882,8 +35207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *105 - - *145 + - *100 + - *141 requestBody: required: true content: @@ -35978,8 +35303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *105 - - *145 + - *100 + - *141 responses: '204': description: Response @@ -36004,7 +35329,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects parameters: - - *105 + - *100 - name: state description: Indicates the state of the projects to return. in: query @@ -36025,7 +35350,7 @@ paths: application/json: schema: type: array - items: &244 + items: &242 title: Project description: Projects are a way to organize columns and cards of work. @@ -36149,7 +35474,7 @@ paths: organization_permission: write private: true headers: - Link: *58 + Link: *54 '422': *7 x-github: githubCloudOnly: false @@ -36172,7 +35497,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project parameters: - - *105 + - *100 requestBody: required: true content: @@ -36198,7 +35523,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *242 examples: default: value: @@ -36236,7 +35561,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &336 + '410': &324 description: Gone content: application/json: @@ -36262,7 +35587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *105 + - *100 - name: q description: Limit results to projects of the specified type. in: query @@ -36279,7 +35604,7 @@ paths: application/json: schema: type: array - items: &245 + items: &243 title: Projects v2 Project description: A projects v2 project type: object @@ -36349,7 +35674,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &755 + properties: &751 id: type: number description: The unique identifier of the status update. @@ -36397,7 +35722,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &756 + required: &752 - id - node_id - created_at @@ -36422,7 +35747,7 @@ paths: - deleted_at - deleted_by examples: - default: &246 + default: &244 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -36505,7 +35830,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36525,24 +35850,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &247 + - &245 name: project_number description: The project's number. in: path required: true schema: type: integer - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: *245 + schema: *243 examples: - default: *246 + default: *244 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36562,8 +35887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *247 - - *105 + - *245 + - *100 - *17 - *40 - *41 @@ -36574,7 +35899,7 @@ paths: application/json: schema: type: array - items: &248 + items: &246 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -36721,7 +36046,7 @@ paths: - updated_at - project_url examples: - default: &249 + default: &247 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -36744,7 +36069,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36764,25 +36089,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *247 - - &692 + - *245 + - &688 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: *248 + schema: *246 examples: - default: *249 + default: *247 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36803,8 +36128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *247 - - *105 + - *245 + - *100 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -36813,8 +36138,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: @@ -36822,7 +36149,6 @@ paths: maxItems: 50 items: type: string - example: fields[]=123,fields[]=456,fields[]=789 - *40 - *41 - *17 @@ -36833,7 +36159,7 @@ paths: application/json: schema: type: array - items: &255 + items: &253 title: Projects v2 Item description: An item belonging to a project type: object @@ -36849,7 +36175,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &253 + content_type: &251 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -36899,7 +36225,7 @@ paths: - updated_at - archived_at examples: - default: &256 + default: &254 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -37573,7 +36899,7 @@ paths: type: sub_issues_progress value: headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -37593,8 +36919,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *105 - - *247 + - *100 + - *245 requestBody: required: true description: Details of the item to add to the project. @@ -37631,7 +36957,7 @@ paths: description: Response content: application/json: - schema: &693 + schema: &689 title: Projects v2 Item description: An item belonging to a project type: object @@ -37644,8 +36970,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *71 - - &466 + - *67 + - &454 title: Pull Request Simple description: Pull Request Simple type: object @@ -37751,8 +37077,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *248 + required: *249 nullable: true active_lock_reason: type: string @@ -37806,7 +37132,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *63 sha: type: string user: @@ -37829,7 +37155,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *63 sha: type: string user: @@ -37848,7 +37174,7 @@ paths: _links: type: object properties: - comments: &252 + comments: &250 title: Link description: Hypermedia Link type: object @@ -37857,13 +37183,13 @@ paths: type: string required: - href - commits: *252 - statuses: *252 - html: *252 - issue: *252 - review_comments: *252 - review_comment: *252 - self: *252 + commits: *250 + statuses: *250 + html: *250 + issue: *250 + review_comments: *250 + review_comment: *250 + self: *250 required: - comments - commits @@ -37873,8 +37199,8 @@ paths: - review_comments - review_comment - self - author_association: *72 - auto_merge: &568 + author_association: *68 + auto_merge: &556 title: Auto merge description: The status of auto merging a pull request. type: object @@ -37976,7 +37302,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *253 + content_type: *251 creator: *4 created_at: type: string @@ -38009,7 +37335,7 @@ paths: - updated_at - archived_at examples: - issue: &254 + issue: &252 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -38064,7 +37390,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *254 + pull_request: *252 '304': *37 '403': *29 '401': *25 @@ -38084,9 +37410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *247 - - *105 - - &257 + - *245 + - *100 + - &255 name: item_id description: The unique identifier of the project item. in: path @@ -38109,11 +37435,11 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - default: *256 + default: *254 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -38132,9 +37458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *247 - - *105 - - *257 + - *245 + - *100 + - *255 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -38204,13 +37530,13 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - text_field: *256 - number_field: *256 - date_field: *256 - single_select_field: *256 - iteration_field: *256 + text_field: *254 + number_field: *254 + date_field: *254 + single_select_field: *254 + iteration_field: *254 '401': *25 '403': *29 '404': *6 @@ -38230,9 +37556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *247 - - *105 - - *257 + - *245 + - *100 + - *255 responses: '204': description: Response @@ -38256,7 +37582,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -38264,7 +37590,7 @@ paths: application/json: schema: type: array - items: &258 + items: &256 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -38330,7 +37656,7 @@ paths: - property_name - value_type examples: - default: &259 + default: &257 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38378,7 +37704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -38389,7 +37715,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *258 + items: *256 minItems: 1 maxItems: 100 required: @@ -38419,9 +37745,9 @@ paths: application/json: schema: type: array - items: *258 + items: *256 examples: - default: *259 + default: *257 '403': *29 '404': *6 x-github: @@ -38442,8 +37768,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *105 - - &260 + - *100 + - &258 name: custom_property_name description: The custom property name in: path @@ -38455,9 +37781,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: &261 + default: &259 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38491,8 +37817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *105 - - *260 + - *100 + - *258 requestBody: required: true content: @@ -38561,9 +37887,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *261 + default: *259 '403': *29 '404': *6 x-github: @@ -38586,8 +37912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *105 - - *260 + - *100 + - *258 responses: '204': *163 '403': *29 @@ -38610,7 +37936,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *105 + - *100 - *17 - *19 - name: repository_query @@ -38648,7 +37974,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &262 + items: &260 title: Custom Property Value description: Custom property name and associated value type: object @@ -38687,7 +38013,7 @@ paths: - property_name: team value: octocat headers: - Link: *58 + Link: *54 '403': *29 '404': *6 x-github: @@ -38715,7 +38041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *105 + - *100 requestBody: required: true content: @@ -38735,7 +38061,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *262 + items: *260 required: - repository_names - properties @@ -38776,7 +38102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *105 + - *100 - *17 - *19 responses: @@ -38788,9 +38114,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38807,8 +38133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: Response if user is a public member @@ -38832,8 +38158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: Response @@ -38854,8 +38180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: Response @@ -38879,7 +38205,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *105 + - *100 - name: type description: Specifies the types of repositories you want returned. in: query @@ -38925,11 +38251,11 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: - default: *234 + default: *232 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38948,7 +38274,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *105 + - *100 requestBody: required: true content: @@ -39129,7 +38455,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &326 title: Full Repository description: Full Repository type: object @@ -39406,8 +38732,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *263 - required: *264 + properties: *261 + required: *262 nullable: true temp_clone_token: type: string @@ -39494,8 +38820,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *70 + required: *71 nullable: true organization: title: Simple User @@ -39504,8 +38830,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *67 - source: *67 + parent: *63 + source: *63 forks: type: integer master_branch: @@ -39522,7 +38848,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &471 + properties: &459 url: type: string format: uri @@ -39538,12 +38864,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &472 + required: &460 - url - key - name - html_url - security_and_analysis: *265 + security_and_analysis: *263 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -39627,7 +38953,7 @@ paths: - network_count - subscribers_count examples: - default: &340 + default: &328 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40145,10 +39471,10 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *100 - *17 - *19 - - &591 + - &579 name: targets description: | A comma-separated list of rule targets to filter by. @@ -40166,7 +39492,7 @@ paths: application/json: schema: type: array - items: &291 + items: &289 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -40201,7 +39527,7 @@ paths: source: type: string description: The name of the source - enforcement: &268 + enforcement: &266 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -40214,7 +39540,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &269 + items: &267 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -40284,7 +39610,7 @@ paths: conditions: nullable: true anyOf: - - &266 + - &264 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -40308,7 +39634,7 @@ paths: match. items: type: string - - &270 + - &268 title: Organization ruleset conditions type: object description: |- @@ -40322,7 +39648,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *266 + - *264 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -40356,7 +39682,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *266 + - *264 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -40378,7 +39704,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *266 + - *264 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -40391,7 +39717,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &267 + items: &265 title: Repository ruleset property targeting definition type: object @@ -40424,17 +39750,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *267 + items: *265 required: - repository_property rules: type: array - items: &592 + items: &580 title: Repository Rule type: object description: A repository rule. oneOf: - - &271 + - &269 title: creation description: Only allow users with bypass permission to create matching refs. @@ -40446,7 +39772,7 @@ paths: type: string enum: - creation - - &272 + - &270 title: update description: Only allow users with bypass permission to update matching refs. @@ -40467,7 +39793,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &273 + - &271 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -40479,7 +39805,7 @@ paths: type: string enum: - deletion - - &274 + - &272 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -40491,7 +39817,7 @@ paths: type: string enum: - required_linear_history - - &589 + - &577 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -40569,7 +39895,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &275 + - &273 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -40593,7 +39919,7 @@ paths: type: string required: - required_deployment_environments - - &276 + - &274 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -40605,7 +39931,7 @@ paths: type: string enum: - required_signatures - - &277 + - &275 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -40667,7 +39993,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &278 + - &276 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -40715,7 +40041,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &279 + - &277 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -40727,7 +40053,7 @@ paths: type: string enum: - non_fast_forward - - &280 + - &278 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -40763,7 +40089,7 @@ paths: required: - operator - pattern - - &281 + - &279 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -40799,7 +40125,7 @@ paths: required: - operator - pattern - - &282 + - &280 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -40835,7 +40161,7 @@ paths: required: - operator - pattern - - &283 + - &281 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -40871,7 +40197,7 @@ paths: required: - operator - pattern - - &284 + - &282 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -40907,7 +40233,7 @@ paths: required: - operator - pattern - - &285 + - &283 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -40932,7 +40258,7 @@ paths: type: string required: - restricted_file_paths - - &286 + - &284 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -40956,7 +40282,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &287 + - &285 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -40979,7 +40305,7 @@ paths: type: string required: - restricted_file_extensions - - &288 + - &286 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -41004,7 +40330,7 @@ paths: maximum: 100 required: - max_file_size - - &289 + - &287 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -41054,7 +40380,7 @@ paths: - repository_id required: - workflows - - &290 + - &288 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -41115,7 +40441,7 @@ paths: - tool required: - code_scanning_tools - - &590 + - &578 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -41176,7 +40502,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *106 + '500': *101 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -41192,7 +40518,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *100 requestBody: description: Request body required: true @@ -41213,20 +40539,22 @@ paths: - push - repository default: branch - enforcement: *268 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *270 + items: *267 + conditions: *268 rules: type: array description: An array of rules within the ruleset. - items: &293 + items: &291 title: Repository Rule type: object description: A repository rule. oneOf: + - *269 + - *270 - *271 - *272 - *273 @@ -41245,8 +40573,6 @@ paths: - *286 - *287 - *288 - - *289 - - *290 required: - name - enforcement @@ -41284,9 +40610,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: &292 + default: &290 value: id: 21 name: super cool ruleset @@ -41326,7 +40652,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *106 + '500': *101 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -41340,8 +40666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *105 - - &593 + - *100 + - &581 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -41356,7 +40682,7 @@ paths: in: query schema: type: string - - &594 + - &582 name: time_period description: |- The time period to filter by. @@ -41372,14 +40698,14 @@ paths: - week - month default: day - - &595 + - &583 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &596 + - &584 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -41399,7 +40725,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &585 title: Rule Suites description: Response type: array @@ -41454,7 +40780,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &598 + default: &586 value: - id: 21 actor_id: 12 @@ -41478,7 +40804,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41497,8 +40823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *105 - - &599 + - *100 + - &587 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41514,7 +40840,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &588 title: Rule Suite description: Response type: object @@ -41613,7 +40939,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &601 + default: &589 value: id: 21 actor_id: 12 @@ -41648,7 +40974,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41674,7 +41000,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *100 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41686,11 +41012,11 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: *292 + default: *290 '404': *6 - '500': *106 + '500': *101 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -41706,7 +41032,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *100 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41732,16 +41058,16 @@ paths: - tag - push - repository - enforcement: *268 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *270 + items: *267 + conditions: *268 rules: description: An array of rules within the ruleset. type: array - items: *293 + items: *291 examples: default: value: @@ -41776,11 +41102,11 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: *292 + default: *290 '404': *6 - '500': *106 + '500': *101 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -41796,7 +41122,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *100 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41807,7 +41133,7 @@ paths: '204': description: Response '404': *6 - '500': *106 + '500': *101 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -41819,7 +41145,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *105 + - *100 - *17 - *19 - name: ruleset_id @@ -41835,7 +41161,7 @@ paths: application/json: schema: type: array - items: &294 + items: &292 title: Ruleset version type: object description: The historical version of a ruleset @@ -41859,7 +41185,7 @@ paths: type: string format: date-time examples: - default: &603 + default: &591 value: - version_id: 3 actor: @@ -41877,7 +41203,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41894,7 +41220,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *105 + - *100 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41912,9 +41238,9 @@ paths: description: Response content: application/json: - schema: &604 + schema: &592 allOf: - - *294 + - *292 - type: object required: - state @@ -41961,7 +41287,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41983,15 +41309,53 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *105 - - *295 - - *296 - - *297 - - *298 + - *100 + - &593 + 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 + - &594 + 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 + - &595 + 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 + - &596 + name: sort + description: The property to sort the results by. `created` means when the + alert was created. `updated` means when the alert was updated or resolved. + in: query + required: false + schema: + type: string + enum: + - created + - updated + default: created - *48 - *19 - *17 - - &605 + - &597 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -42001,7 +41365,7 @@ paths: required: false schema: type: string - - &606 + - &598 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -42011,10 +41375,42 @@ paths: required: false schema: type: string - - *299 - - *300 - - *301 - - *302 + - &599 + 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 + - &600 + 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 + - &601 + 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 + - &602 + name: hide_secret + in: query + description: A boolean value representing whether or not to hide literal secrets + in the results. + required: false + schema: + type: boolean + default: false responses: '200': description: Response @@ -42022,13 +41418,593 @@ paths: application/json: schema: type: array - items: *303 + items: + type: object + properties: + number: *149 + created_at: *150 + updated_at: + type: string + description: 'The time that the alert was last updated in ISO + 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + format: date-time + readOnly: true + nullable: true + url: *152 + html_url: *153 + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this + alert. + state: &603 + 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: &604 + type: string + description: "**Required when the `state` is `resolved`.** The + reason for resolving the alert." + nullable: true + enum: + - false_positive + - wont_fix + - revoked + - used_in_tests + resolved_at: + type: string + format: date-time + description: 'The time that the alert was resolved in ISO 8601 + format: `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + resolved_by: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + secret_type: + type: string + description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: *53 + push_protection_bypassed: + type: boolean + description: Whether push protection was bypassed for the detected + secret. + nullable: true + push_protection_bypassed_by: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + push_protection_bypassed_at: + type: string + format: date-time + description: 'The time that push protection was bypassed in + ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + push_protection_bypass_request_reviewer: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + push_protection_bypass_request_reviewer_comment: + type: string + description: An optional comment when reviewing a push protection + bypass. + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection + bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true + resolution_comment: + type: string + description: The comment that was optionally added when this + alert was closed + nullable: true + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: boolean + description: Whether the secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple + repositories in the same organization or enterprise. + nullable: true + is_base64_encoded: + type: boolean + description: A boolean value representing whether or not alert + is base64 encoded + nullable: true + first_location_detected: + description: 'Details on the location where the token was initially + detected. This can be a commit, wiki commit, issue, discussion, + pull request. + + ' + oneOf: &605 + - &607 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in + the file + end_line: + type: number + description: Line number at which the secret ends in the + file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &608 + description: Represents a 'wiki_commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in + the file + end_line: + type: number + description: Line number at which the secret ends in the + file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &609 + description: Represents an 'issue_title' secret scanning location + type. This location type shows that a secret was detected + in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &610 + description: Represents an 'issue_body' secret scanning location + type. This location type shows that a secret was detected + in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &611 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &612 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret was + detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &613 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret was + detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &614 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &615 + description: Represents a 'pull_request_title' secret scanning + location type. This location type shows that a secret was + detected in the title of a pull request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &616 + description: Represents a 'pull_request_body' secret scanning + location type. This location type shows that a secret was + detected in the body of a pull request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &617 + description: Represents a 'pull_request_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on a pull request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &618 + description: Represents a 'pull_request_review' secret scanning + location type. This location type shows that a secret was + detected in a review on a pull request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &619 + description: Represents a 'pull_request_review_comment' secret + scanning location type. This location type shows that a + secret was detected in a review comment on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable: true + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. + assigned_to: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true examples: - default: *304 + default: + value: + - number: 2 + created_at: '2020-11-06T18:48:51Z' + url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 + html_url: https://github.com/owner/private-repo/security/secret-scanning/2 + locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations + state: resolved + resolution: false_positive + resolved_at: '2020-11-07T02:47:13Z' + resolved_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + secret_type: adafruit_io_key + secret_type_display_name: Adafruit IO Key + secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + push_protection_bypassed_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + push_protection_bypassed: true + push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_reviewer_comment: Example response + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 + resolution_comment: Example comment + validity: active + publicly_leaked: false + multi_repo: false + is_base64_encoded: false + first_location_detected: + path: "/example/secrets.txt" + start_line: 1 + end_line: 1 + start_column: 1 + end_column: 64 + blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b + commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b + has_more_locations: true + assigned_to: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false headers: - Link: *58 + Link: *54 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42053,7 +42029,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *105 + - *100 responses: '200': description: Response @@ -42065,7 +42041,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &306 + pattern_config_version: &294 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -42074,7 +42050,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &305 + items: &293 type: object properties: token_type: @@ -42140,7 +42116,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *305 + items: *293 examples: default: value: @@ -42189,7 +42165,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *105 + - *100 requestBody: required: true content: @@ -42197,7 +42173,7 @@ paths: schema: type: object properties: - pattern_config_version: *306 + pattern_config_version: *294 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -42223,7 +42199,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *306 + custom_pattern_version: *294 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -42277,7 +42253,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *105 + - *100 - *48 - name: sort description: The property to sort the results by. @@ -42321,7 +42297,7 @@ paths: application/json: schema: type: array - items: &627 + items: &623 description: A repository security advisory. type: object properties: @@ -42541,7 +42517,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *295 credits_detailed: type: array nullable: true @@ -42551,7 +42527,7 @@ paths: type: object properties: user: *4 - type: *307 + type: *295 state: type: string description: The state of the user's acceptance of the @@ -42612,7 +42588,7 @@ paths: - private_fork additionalProperties: false examples: - default: &628 + default: &624 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42991,7 +42967,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *105 + - *100 responses: '200': description: Response @@ -42999,9 +42975,9 @@ paths: application/json: schema: type: array - items: *308 + items: *296 examples: - default: *227 + default: *225 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43024,8 +43000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *105 - - *65 + - *100 + - *61 responses: '204': description: Response @@ -43050,8 +43026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *105 - - *65 + - *100 + - *61 responses: '204': description: Response @@ -43080,13 +43056,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &694 + schema: &690 type: object properties: total_minutes_used: @@ -43156,7 +43132,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &695 + default: &691 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -43186,13 +43162,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &696 + schema: &692 type: object properties: total_gigabytes_bandwidth_used: @@ -43210,7 +43186,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &697 + default: &693 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -43236,13 +43212,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &701 + schema: &697 type: object properties: days_left_in_billing_cycle: @@ -43260,7 +43236,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &702 + default: &698 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -43284,7 +43260,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Immutable releases settings response @@ -43333,7 +43309,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *105 + - *100 responses: '204': description: Response @@ -43390,7 +43366,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *105 + - *100 - *19 - *17 responses: @@ -43408,9 +43384,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *133 examples: - default: *149 + default: *145 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43429,7 +43405,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *105 + - *100 requestBody: required: true content: @@ -43478,8 +43454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *105 - - *126 + - *100 + - *122 responses: '204': description: Response @@ -43501,8 +43477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *105 - - *126 + - *100 + - *122 responses: '204': description: Response @@ -43525,7 +43501,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *105 + - *100 - *17 - *19 responses: @@ -43543,7 +43519,7 @@ paths: type: integer network_configurations: type: array - items: &309 + items: &297 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -43602,7 +43578,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43621,7 +43597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -43663,9 +43639,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *297 examples: - default: &310 + default: &298 value: id: 123456789ABCDEF name: My network configuration @@ -43693,8 +43669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *105 - - &311 + - *100 + - &299 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -43706,11 +43682,11 @@ paths: description: Response content: application/json: - schema: *309 + schema: *297 examples: - default: *310 + default: *298 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43729,8 +43705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *105 - - *311 + - *100 + - *299 requestBody: required: true content: @@ -43769,9 +43745,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *297 examples: - default: *310 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43790,8 +43766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *105 - - *311 + - *100 + - *299 responses: '204': description: Response @@ -43814,7 +43790,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *105 + - *100 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -43868,7 +43844,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43898,8 +43874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *105 - - *65 + - *100 + - *61 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -43931,13 +43907,13 @@ paths: application/json: schema: type: array - items: *312 + items: *300 examples: - default: *313 - '500': *106 + default: *301 + '500': *101 '403': *29 '404': *6 - '422': *314 + '422': *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43955,7 +43931,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *105 + - *100 - *17 - *19 responses: @@ -43967,9 +43943,9 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -43989,7 +43965,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *105 + - *100 requestBody: required: true content: @@ -44061,7 +44037,7 @@ paths: description: Response content: application/json: - schema: &315 + schema: &303 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -44124,8 +44100,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *225 - required: *226 + properties: *223 + required: *224 nullable: true members_count: type: integer @@ -44388,7 +44364,7 @@ paths: - repos_count - organization examples: - default: &316 + default: &304 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44458,16 +44434,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *105 - - *65 + - *100 + - *61 responses: '200': description: Response content: application/json: - schema: *315 + schema: *303 examples: - default: *316 + default: *304 '404': *6 x-github: githubCloudOnly: false @@ -44488,8 +44464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *105 - - *65 + - *100 + - *61 requestBody: required: false content: @@ -44551,16 +44527,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *315 + schema: *303 examples: - default: *316 + default: *304 '201': description: Response content: application/json: - schema: *315 + schema: *303 examples: - default: *316 + default: *304 '404': *6 '422': *15 '403': *29 @@ -44585,8 +44561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *105 - - *65 + - *100 + - *61 responses: '204': description: Response @@ -44612,8 +44588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *105 - - *65 + - *100 + - *61 - *48 - *17 - *19 @@ -44630,7 +44606,7 @@ paths: application/json: schema: type: array - items: &317 + items: &305 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44709,7 +44685,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *73 + reactions: *69 required: - author - body @@ -44729,7 +44705,7 @@ paths: - updated_at - url examples: - default: &645 + default: &641 value: - author: login: octocat @@ -44779,7 +44755,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44803,8 +44779,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *105 - - *65 + - *100 + - *61 requestBody: required: true content: @@ -44838,9 +44814,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *305 examples: - default: &318 + default: &306 value: author: login: octocat @@ -44912,9 +44888,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *105 - - *65 - - &319 + - *100 + - *61 + - &307 name: discussion_number description: The number that identifies the discussion. in: path @@ -44926,9 +44902,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *305 examples: - default: *318 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44950,9 +44926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *105 - - *65 - - *319 + - *100 + - *61 + - *307 requestBody: required: false content: @@ -44975,9 +44951,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *305 examples: - default: &646 + default: &642 value: author: login: octocat @@ -45047,9 +45023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *105 - - *65 - - *319 + - *100 + - *61 + - *307 responses: '204': description: Response @@ -45075,9 +45051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *105 - - *65 - - *319 + - *100 + - *61 + - *307 - *48 - *17 - *19 @@ -45088,7 +45064,7 @@ paths: application/json: schema: type: array - items: &320 + items: &308 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -45145,7 +45121,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *73 + reactions: *69 required: - author - body @@ -45160,7 +45136,7 @@ paths: - updated_at - url examples: - default: &647 + default: &643 value: - author: login: octocat @@ -45204,7 +45180,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45228,9 +45204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *105 - - *65 - - *319 + - *100 + - *61 + - *307 requestBody: required: true content: @@ -45252,9 +45228,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *308 examples: - default: &321 + default: &309 value: author: login: octocat @@ -45320,10 +45296,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *105 - - *65 - - *319 - - &322 + - *100 + - *61 + - *307 + - &310 name: comment_number description: The number that identifies the comment. in: path @@ -45335,9 +45311,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *308 examples: - default: *321 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45359,10 +45335,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *100 + - *61 + - *307 + - *310 requestBody: required: true content: @@ -45384,9 +45360,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *308 examples: - default: &648 + default: &644 value: author: login: octocat @@ -45450,10 +45426,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *100 + - *61 + - *307 + - *310 responses: '204': description: Response @@ -45479,10 +45455,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *100 + - *61 + - *307 + - *310 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -45508,7 +45484,7 @@ paths: application/json: schema: type: array - items: &323 + items: &311 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -45551,7 +45527,7 @@ paths: - content - created_at examples: - default: &325 + default: &313 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45577,7 +45553,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45601,10 +45577,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *100 + - *61 + - *307 + - *310 requestBody: required: true content: @@ -45637,9 +45613,9 @@ paths: team discussion comment content: application/json: - schema: *323 + schema: *311 examples: - default: &324 + default: &312 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45668,9 +45644,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45693,11 +45669,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *105 - - *65 - - *319 - - *322 - - &326 + - *100 + - *61 + - *307 + - *310 + - &314 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45729,9 +45705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *105 - - *65 - - *319 + - *100 + - *61 + - *307 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -45757,11 +45733,11 @@ paths: application/json: schema: type: array - items: *323 + items: *311 examples: - default: *325 + default: *313 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45785,9 +45761,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *105 - - *65 - - *319 + - *100 + - *61 + - *307 requestBody: required: true content: @@ -45819,16 +45795,16 @@ paths: description: Response content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '201': description: Response content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45851,10 +45827,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *105 - - *65 - - *319 - - *326 + - *100 + - *61 + - *307 + - *314 responses: '204': description: Response @@ -45878,8 +45854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *105 - - *65 + - *100 + - *61 - *17 - *19 responses: @@ -45889,11 +45865,11 @@ paths: application/json: schema: type: array - items: *206 + items: *204 examples: - default: *207 + default: *205 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45913,8 +45889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *105 - - *65 + - *100 + - *61 - name: role description: Filters members returned by their role in the team. in: query @@ -45937,9 +45913,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45967,15 +45943,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *105 - - *65 - - *63 + - *100 + - *61 + - *59 responses: '200': description: Response content: application/json: - schema: &327 + schema: &315 title: Team Membership description: Team Membership type: object @@ -46002,7 +45978,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &649 + response-if-user-is-a-team-maintainer: &645 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -46038,9 +46014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *105 - - *65 - - *63 + - *100 + - *61 + - *59 requestBody: required: false content: @@ -46065,9 +46041,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *315 examples: - response-if-users-membership-with-team-is-now-pending: &650 + response-if-users-membership-with-team-is-now-pending: &646 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -46102,9 +46078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *105 - - *65 - - *63 + - *100 + - *61 + - *59 responses: '204': description: Response @@ -46129,8 +46105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *105 - - *65 + - *100 + - *61 - *17 - *19 responses: @@ -46140,7 +46116,7 @@ paths: application/json: schema: type: array - items: &328 + items: &316 title: Team Project description: A team's access to a project. type: object @@ -46208,7 +46184,7 @@ paths: - updated_at - permissions examples: - default: &651 + default: &647 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46248,7 +46224,7 @@ paths: write: true admin: false headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46271,9 +46247,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *105 - - *65 - - &329 + - *100 + - *61 + - &317 name: project_id description: The unique identifier of the project. in: path @@ -46285,9 +46261,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *316 examples: - default: &652 + default: &648 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46349,9 +46325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *105 - - *65 - - *329 + - *100 + - *61 + - *317 requestBody: required: false content: @@ -46417,9 +46393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *105 - - *65 - - *329 + - *100 + - *61 + - *317 responses: '204': description: Response @@ -46446,8 +46422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *105 - - *65 + - *100 + - *61 - *17 - *19 responses: @@ -46457,11 +46433,11 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: - default: *234 + default: *232 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46488,16 +46464,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *105 - - *65 - - *330 - - *331 + - *100 + - *61 + - *318 + - *319 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &653 + schema: &649 title: Team Repository description: A team's access to a repository. type: object @@ -46520,8 +46496,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *70 + required: *71 nullable: true forks: type: integer @@ -47066,10 +47042,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *105 - - *65 - - *330 - - *331 + - *100 + - *61 + - *318 + - *319 requestBody: required: false content: @@ -47114,10 +47090,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *105 - - *65 - - *330 - - *331 + - *100 + - *61 + - *318 + - *319 responses: '204': description: Response @@ -47141,8 +47117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *105 - - *65 + - *100 + - *61 - *17 - *19 responses: @@ -47154,7 +47130,7 @@ paths: type: array items: *169 examples: - response-if-child-teams-exist: &654 + response-if-child-teams-exist: &650 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -47182,7 +47158,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47207,7 +47183,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *105 + - *100 - name: security_product in: path description: The security feature to enable or disable. @@ -47281,7 +47257,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &332 + - &320 name: column_id description: The unique identifier of the column. in: path @@ -47293,7 +47269,7 @@ paths: description: Response content: application/json: - schema: &333 + schema: &321 title: Project Column description: Project columns contain cards of work. type: object @@ -47339,7 +47315,7 @@ paths: - created_at - updated_at examples: - default: &334 + default: &322 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -47374,7 +47350,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *332 + - *320 requestBody: required: true content: @@ -47398,9 +47374,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *321 examples: - default: *334 + default: *322 '304': *37 '403': *29 '401': *25 @@ -47425,7 +47401,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *332 + - *320 responses: '204': description: Response @@ -47454,7 +47430,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *332 + - *320 requestBody: required: true content: @@ -47514,15 +47490,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *329 + - *317 responses: '200': description: Response content: application/json: - schema: *244 + schema: *242 examples: - default: &335 + default: &323 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -47579,7 +47555,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *329 + - *317 requestBody: required: false content: @@ -47625,9 +47601,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *242 examples: - default: *335 + default: *323 '404': description: Not Found if the authenticated user does not have access to the project @@ -47648,7 +47624,7 @@ paths: items: type: string '401': *25 - '410': *336 + '410': *324 '422': *7 x-github: githubCloudOnly: false @@ -47671,7 +47647,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *329 + - *317 responses: '204': description: Delete Success @@ -47692,7 +47668,7 @@ paths: items: type: string '401': *25 - '410': *336 + '410': *324 '404': *6 x-github: githubCloudOnly: false @@ -47716,7 +47692,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *329 + - *317 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -47743,9 +47719,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': *6 '422': *15 '304': *37 @@ -47773,8 +47749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *329 - - *63 + - *317 + - *59 requestBody: required: false content: @@ -47826,8 +47802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *329 - - *63 + - *317 + - *59 responses: '204': description: Response @@ -47858,8 +47834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *329 - - *63 + - *317 + - *59 responses: '200': description: Response @@ -47932,7 +47908,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *329 + - *317 - *17 - *19 responses: @@ -47942,7 +47918,7 @@ paths: application/json: schema: type: array - items: *333 + items: *321 examples: default: value: @@ -47955,7 +47931,7 @@ paths: created_at: '2016-09-05T14:18:44Z' updated_at: '2016-09-05T14:22:28Z' headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -47980,7 +47956,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *329 + - *317 requestBody: required: true content: @@ -48003,7 +47979,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *321 examples: default: value: @@ -48068,7 +48044,7 @@ paths: resources: type: object properties: - core: &337 + core: &325 title: Rate Limit type: object properties: @@ -48085,21 +48061,21 @@ paths: - remaining - reset - used - graphql: *337 - search: *337 - code_search: *337 - source_import: *337 - integration_manifest: *337 - code_scanning_upload: *337 - actions_runner_registration: *337 - scim: *337 - dependency_snapshots: *337 - dependency_sbom: *337 - code_scanning_autofix: *337 + graphql: *325 + search: *325 + code_search: *325 + source_import: *325 + integration_manifest: *325 + code_scanning_upload: *325 + actions_runner_registration: *325 + scim: *325 + dependency_snapshots: *325 + dependency_sbom: *325 + code_scanning_autofix: *325 required: - core - search - rate: *337 + rate: *325 required: - rate - resources @@ -48204,14 +48180,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *338 + schema: *326 examples: default-response: summary: Default response @@ -48712,7 +48688,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *339 + '301': *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48730,8 +48706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: false content: @@ -48978,10 +48954,10 @@ paths: description: Response content: application/json: - schema: *338 + schema: *326 examples: - default: *340 - '307': &341 + default: *328 + '307': &329 description: Temporary Redirect content: application/json: @@ -49010,8 +48986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -49033,7 +49009,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *341 + '307': *329 '404': *6 '409': *47 x-github: @@ -49057,11 +49033,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 - - &372 + - &360 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -49084,7 +49060,7 @@ paths: type: integer artifacts: type: array - items: &342 + items: &330 title: Artifact description: An artifact type: object @@ -49162,7 +49138,7 @@ paths: - expires_at - updated_at examples: - default: &373 + default: &361 value: total_count: 2 artifacts: @@ -49201,7 +49177,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49223,9 +49199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *330 - - *331 - - &343 + - *318 + - *319 + - &331 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49237,7 +49213,7 @@ paths: description: Response content: application/json: - schema: *342 + schema: *330 examples: default: value: @@ -49275,9 +49251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *330 + - *318 + - *319 - *331 - - *343 responses: '204': description: Response @@ -49301,9 +49277,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *330 + - *318 + - *319 - *331 - - *343 - name: archive_format in: path required: true @@ -49317,7 +49293,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49340,14 +49316,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *344 + schema: *332 examples: default: value: @@ -49373,11 +49349,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 - - &345 + - &333 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -49411,7 +49387,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &334 title: Repository actions caches description: Repository actions caches type: object @@ -49453,7 +49429,7 @@ paths: - total_count - actions_caches examples: - default: &347 + default: &335 value: total_count: 1 actions_caches: @@ -49465,7 +49441,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49485,23 +49461,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *330 - - *331 + - *318 + - *319 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *345 + - *333 responses: '200': description: Response content: application/json: - schema: *346 + schema: *334 examples: - default: *347 + default: *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49521,8 +49497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *330 - - *331 + - *318 + - *319 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49553,9 +49529,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *330 - - *331 - - &348 + - *318 + - *319 + - &336 name: job_id description: The unique identifier of the job. in: path @@ -49567,7 +49543,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &364 title: Job description: Information of a job execution in a workflow run type: object @@ -49874,9 +49850,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *330 - - *331 - - *348 + - *318 + - *319 + - *336 responses: '302': description: Response @@ -49904,9 +49880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *330 - - *331 - - *348 + - *318 + - *319 + - *336 requestBody: required: false content: @@ -49927,7 +49903,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -49951,8 +49927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Status response @@ -50002,8 +49978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -50037,7 +50013,7 @@ paths: description: Empty response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -50066,8 +50042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -50085,7 +50061,7 @@ paths: type: integer secrets: type: array - items: &378 + items: &366 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -50105,7 +50081,7 @@ paths: - created_at - updated_at examples: - default: &379 + default: &367 value: total_count: 2 secrets: @@ -50116,7 +50092,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50138,9 +50114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *330 - - *331 - - *349 + - *318 + - *319 + - *337 - *19 responses: '200': @@ -50157,7 +50133,7 @@ paths: type: integer variables: type: array - items: &382 + items: &370 title: Actions Variable type: object properties: @@ -50187,7 +50163,7 @@ paths: - created_at - updated_at examples: - default: &383 + default: &371 value: total_count: 2 variables: @@ -50200,7 +50176,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50220,8 +50196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -50230,12 +50206,12 @@ paths: schema: type: object properties: - enabled: &351 + enabled: &339 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *122 - selected_actions_url: *350 - sha_pinning_required: *123 + allowed_actions: *118 + selected_actions_url: *338 + sha_pinning_required: *119 required: - enabled examples: @@ -50263,8 +50239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -50275,9 +50251,9 @@ paths: schema: type: object properties: - enabled: *351 - allowed_actions: *122 - sha_pinning_required: *123 + enabled: *339 + allowed_actions: *118 + sha_pinning_required: *119 required: - enabled examples: @@ -50307,14 +50283,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: &352 + schema: &340 type: object properties: access_level: @@ -50331,7 +50307,7 @@ paths: required: - access_level examples: - default: &353 + default: &341 value: access_level: organization x-github: @@ -50355,15 +50331,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: application/json: - schema: *352 + schema: *340 examples: - default: *353 + default: *341 responses: '204': description: Response @@ -50387,14 +50363,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *354 + schema: *342 examples: default: value: @@ -50418,8 +50394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Empty response for successful settings update @@ -50429,7 +50405,7 @@ paths: required: true content: application/json: - schema: *355 + schema: *343 examples: default: summary: Set retention days @@ -50453,16 +50429,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *124 + schema: *120 examples: - default: *356 + default: *344 '404': *6 x-github: enabledForGitHubApps: true @@ -50481,8 +50457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -50492,7 +50468,7 @@ paths: required: true content: application/json: - schema: *124 + schema: *120 examples: default: summary: Set approval policy to first time contributors @@ -50516,16 +50492,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *357 + schema: *345 examples: - default: *125 + default: *121 '403': *29 '404': *6 x-github: @@ -50545,15 +50521,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: application/json: - schema: *358 + schema: *346 examples: - default: *125 + default: *121 responses: '204': description: Empty response for successful settings update @@ -50577,16 +50553,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *127 + schema: *123 examples: - default: *128 + default: *124 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -50605,8 +50581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -50614,9 +50590,9 @@ paths: required: false content: application/json: - schema: *127 + schema: *123 examples: - selected_actions: *128 + selected_actions: *124 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -50638,16 +50614,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *359 + schema: *347 examples: - default: *132 + default: *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50668,8 +50644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Success response @@ -50680,9 +50656,9 @@ paths: required: true content: application/json: - schema: *360 + schema: *348 examples: - default: *132 + default: *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50709,8 +50685,8 @@ paths: in: query schema: type: string - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -50728,11 +50704,11 @@ paths: type: integer runners: type: array - items: *139 + items: *135 examples: - default: *140 + default: *136 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50754,8 +50730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -50763,9 +50739,9 @@ paths: application/json: schema: type: array - items: *361 + items: *349 examples: - default: *362 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50787,8 +50763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -50831,7 +50807,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *363 + '201': *351 '404': *6 '422': *7 '409': *47 @@ -50862,16 +50838,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '201': description: Response content: application/json: - schema: *141 + schema: *137 examples: - default: *364 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50899,16 +50875,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '201': description: Response content: application/json: - schema: *141 + schema: *137 examples: - default: *365 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50930,17 +50906,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *330 - - *331 - - *138 + - *318 + - *319 + - *134 responses: '200': description: Response content: application/json: - schema: *139 + schema: *135 examples: - default: *366 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50961,9 +50937,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *330 - - *331 - - *138 + - *318 + - *319 + - *134 responses: '204': description: Response @@ -50989,11 +50965,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *330 - - *331 - - *138 + - *318 + - *319 + - *134 responses: - '200': *143 + '200': *139 '404': *6 x-github: githubCloudOnly: false @@ -51015,9 +50991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *330 - - *331 - - *138 + - *318 + - *319 + - *134 requestBody: required: true content: @@ -51041,7 +51017,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *139 '404': *6 '422': *7 x-github: @@ -51065,9 +51041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *330 - - *331 - - *138 + - *318 + - *319 + - *134 requestBody: required: true content: @@ -51092,7 +51068,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *139 '404': *6 '422': *7 x-github: @@ -51116,11 +51092,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *330 - - *331 - - *138 + - *318 + - *319 + - *134 responses: - '200': *367 + '200': *355 '404': *6 x-github: githubCloudOnly: false @@ -51147,12 +51123,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *330 - - *331 - - *138 - - *368 + - *318 + - *319 + - *134 + - *356 responses: - '200': *143 + '200': *139 '404': *6 '422': *7 x-github: @@ -51178,9 +51154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *330 - - *331 - - &386 + - *318 + - *319 + - &374 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -51188,7 +51164,7 @@ paths: required: false schema: type: string - - &387 + - &375 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -51196,7 +51172,7 @@ paths: required: false schema: type: string - - &388 + - &376 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -51205,7 +51181,7 @@ paths: required: false schema: type: string - - &389 + - &377 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -51232,7 +51208,7 @@ paths: - pending - *17 - *19 - - &390 + - &378 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -51241,7 +51217,7 @@ paths: schema: type: string format: date-time - - &369 + - &357 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -51250,13 +51226,13 @@ paths: schema: type: boolean default: false - - &391 + - &379 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &392 + - &380 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -51279,7 +51255,7 @@ paths: type: integer workflow_runs: type: array - items: &370 + items: &358 title: Workflow Run description: An invocation of a workflow type: object @@ -51374,7 +51350,7 @@ paths: that triggered the run. type: array nullable: true - items: *76 + items: *72 created_at: type: string format: date-time @@ -51427,7 +51403,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &414 + properties: &402 id: type: string description: SHA for the commit @@ -51478,7 +51454,7 @@ paths: - name - email nullable: true - required: &415 + required: &403 - id - tree_id - message @@ -51486,8 +51462,8 @@ paths: - author - committer nullable: true - repository: *137 - head_repository: *137 + repository: *133 + head_repository: *133 head_repository_id: type: integer example: 5 @@ -51525,7 +51501,7 @@ paths: - workflow_url - pull_requests examples: - default: &393 + default: &381 value: total_count: 1 workflow_runs: @@ -51739,7 +51715,7 @@ paths: releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51761,24 +51737,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *330 - - *331 - - &371 + - *318 + - *319 + - &359 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *369 + - *357 responses: '200': description: Response content: application/json: - schema: *370 + schema: *358 examples: - default: &374 + default: &362 value: id: 30433642 name: Build @@ -52019,9 +51995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 responses: '204': description: Response @@ -52044,9 +52020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 responses: '200': description: Response @@ -52165,15 +52141,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 responses: '201': description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -52200,12 +52176,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 - *17 - *19 - - *372 + - *360 responses: '200': description: Response @@ -52221,11 +52197,11 @@ paths: type: integer artifacts: type: array - items: *342 + items: *330 examples: - default: *373 + default: *361 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52247,25 +52223,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *330 - - *331 - - *371 - - &375 + - *318 + - *319 + - *359 + - &363 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *369 + - *357 responses: '200': description: Response content: application/json: - schema: *370 + schema: *358 examples: - default: *374 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52288,10 +52264,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *330 - - *331 - - *371 - - *375 + - *318 + - *319 + - *359 + - *363 - *17 - *19 responses: @@ -52309,9 +52285,9 @@ paths: type: integer jobs: type: array - items: *376 + items: *364 examples: - default: &377 + default: &365 value: total_count: 1 jobs: @@ -52400,7 +52376,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -52424,10 +52400,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *330 - - *331 - - *371 - - *375 + - *318 + - *319 + - *359 + - *363 responses: '302': description: Response @@ -52455,15 +52431,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 responses: '202': description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -52490,9 +52466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 requestBody: required: true content: @@ -52559,15 +52535,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 responses: '202': description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -52594,9 +52570,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -52626,11 +52602,11 @@ paths: type: integer jobs: type: array - items: *376 + items: *364 examples: - default: *377 + default: *365 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52653,9 +52629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 responses: '302': description: Response @@ -52682,14 +52658,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 responses: '204': description: Response '403': *29 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52711,9 +52687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 responses: '200': description: Response @@ -52773,7 +52749,7 @@ paths: items: type: object properties: - type: &493 + type: &481 type: string description: The type of reviewer. enum: @@ -52858,9 +52834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 requestBody: required: true content: @@ -52907,7 +52883,7 @@ paths: application/json: schema: type: array - items: &488 + items: &476 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52995,8 +52971,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 required: - id - node_id @@ -53013,7 +52989,7 @@ paths: - created_at - updated_at examples: - default: &489 + default: &477 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -53069,9 +53045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 requestBody: required: false content: @@ -53092,7 +53068,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -53115,9 +53091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 requestBody: required: false content: @@ -53138,7 +53114,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -53170,9 +53146,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 responses: '200': description: Response @@ -53309,8 +53285,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -53328,11 +53304,11 @@ paths: type: integer secrets: type: array - items: *378 + items: *366 examples: - default: *379 + default: *367 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53355,16 +53331,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *380 + schema: *368 examples: - default: *381 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53386,17 +53362,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *318 + - *319 + - *141 responses: '200': description: Response content: application/json: - schema: *378 + schema: *366 examples: - default: &506 + default: &494 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53422,9 +53398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *318 + - *319 + - *141 requestBody: required: true content: @@ -53455,7 +53431,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -53481,9 +53457,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *318 + - *319 + - *141 responses: '204': description: Response @@ -53508,9 +53484,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *330 - - *331 - - *349 + - *318 + - *319 + - *337 - *19 responses: '200': @@ -53527,11 +53503,11 @@ paths: type: integer variables: type: array - items: *382 + items: *370 examples: - default: *383 + default: *371 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53552,8 +53528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -53580,7 +53556,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -53605,17 +53581,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *330 - - *331 - - *148 + - *318 + - *319 + - *144 responses: '200': description: Response content: application/json: - schema: *382 + schema: *370 examples: - default: &507 + default: &495 value: name: USERNAME value: octocat @@ -53641,9 +53617,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *330 - - *331 - - *148 + - *318 + - *319 + - *144 requestBody: required: true content: @@ -53685,9 +53661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *330 - - *331 - - *148 + - *318 + - *319 + - *144 responses: '204': description: Response @@ -53712,8 +53688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -53731,7 +53707,7 @@ paths: type: integer workflows: type: array - items: &384 + items: &372 title: Workflow description: A GitHub Actions workflow type: object @@ -53815,7 +53791,7 @@ paths: html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289 badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53838,9 +53814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *330 - - *331 - - &385 + - *318 + - *319 + - &373 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53855,7 +53831,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *372 examples: default: value: @@ -53888,9 +53864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *330 - - *331 - - *385 + - *318 + - *319 + - *373 responses: '204': description: Response @@ -53915,9 +53891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *330 - - *331 - - *385 + - *318 + - *319 + - *373 responses: '204': description: Response @@ -53968,9 +53944,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *330 - - *331 - - *385 + - *318 + - *319 + - *373 responses: '204': description: Response @@ -53997,19 +53973,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *330 - - *331 - - *385 - - *386 - - *387 - - *388 - - *389 + - *318 + - *319 + - *373 + - *374 + - *375 + - *376 + - *377 - *17 - *19 - - *390 - - *369 - - *391 - - *392 + - *378 + - *357 + - *379 + - *380 responses: '200': description: Response @@ -54025,11 +54001,11 @@ paths: type: integer workflow_runs: type: array - items: *370 + items: *358 examples: - default: *393 + default: *381 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54059,9 +54035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *330 - - *331 - - *385 + - *318 + - *319 + - *373 responses: '200': description: Response @@ -54122,8 +54098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *330 - - *331 + - *318 + - *319 - *48 - *17 - *40 @@ -54268,7 +54244,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '422': *7 x-github: githubCloudOnly: false @@ -54287,8 +54263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -54300,9 +54276,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -54325,8 +54301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *330 - - *331 + - *318 + - *319 - name: assignee in: path required: true @@ -54362,8 +54338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -54475,8 +54451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *40 - *41 @@ -54532,7 +54508,7 @@ paths: initiator: type: string examples: - default: *394 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54552,8 +54528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -54561,7 +54537,7 @@ paths: application/json: schema: type: array - items: &395 + items: &383 title: Autolink reference description: An autolink reference. type: object @@ -54615,8 +54591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -54655,9 +54631,9 @@ paths: description: response content: application/json: - schema: *395 + schema: *383 examples: - default: &396 + default: &384 value: id: 1 key_prefix: TICKET- @@ -54688,9 +54664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *330 - - *331 - - &397 + - *318 + - *319 + - &385 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54702,9 +54678,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *383 examples: - default: *396 + default: *384 '404': *6 x-github: githubCloudOnly: false @@ -54724,9 +54700,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *330 - - *331 - - *397 + - *318 + - *319 + - *385 responses: '204': description: Response @@ -54750,8 +54726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response if Dependabot is enabled @@ -54799,8 +54775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -54821,8 +54797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -54842,8 +54818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *330 - - *331 + - *318 + - *319 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54881,7 +54857,7 @@ paths: - url protected: type: boolean - protection: &399 + protection: &387 title: Branch Protection description: Branch Protection type: object @@ -54923,7 +54899,7 @@ paths: required: - contexts - checks - enforce_admins: &402 + enforce_admins: &390 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54938,7 +54914,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &404 + required_pull_request_reviews: &392 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -55014,7 +54990,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &401 + restrictions: &389 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55273,7 +55249,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -55291,9 +55267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *330 - - *331 - - &400 + - *318 + - *319 + - &388 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -55307,14 +55283,14 @@ paths: description: Response content: application/json: - schema: &410 + schema: &398 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &462 + commit: &450 title: Commit description: Commit type: object @@ -55348,7 +55324,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &398 + properties: &386 name: type: string example: '"Chris Wanstrath"' @@ -55363,7 +55339,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *386 nullable: true message: type: string @@ -55384,7 +55360,7 @@ paths: required: - sha - url - verification: &513 + verification: &501 title: Verification type: object properties: @@ -55418,12 +55394,12 @@ paths: nullable: true oneOf: - *4 - - *146 + - *142 committer: nullable: true oneOf: - *4 - - *146 + - *142 parents: type: array items: @@ -55454,7 +55430,7 @@ paths: type: integer files: type: array - items: &475 + items: &463 title: Diff Entry description: Diff Entry type: object @@ -55538,7 +55514,7 @@ paths: - self protected: type: boolean - protection: *399 + protection: *387 protection_url: type: string format: uri @@ -55645,7 +55621,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *339 + '301': *327 '404': *6 x-github: githubCloudOnly: false @@ -55667,15 +55643,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response content: application/json: - schema: *399 + schema: *387 examples: default: value: @@ -55869,9 +55845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: true content: @@ -56126,7 +56102,7 @@ paths: url: type: string format: uri - required_status_checks: &407 + required_status_checks: &395 title: Status Check Policy description: Status Check Policy type: object @@ -56278,7 +56254,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *401 + restrictions: *389 required_conversation_resolution: type: object properties: @@ -56390,9 +56366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '204': description: Response @@ -56417,17 +56393,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response content: application/json: - schema: *402 + schema: *390 examples: - default: &403 + default: &391 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56449,17 +56425,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response content: application/json: - schema: *402 + schema: *390 examples: - default: *403 + default: *391 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56478,9 +56454,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '204': description: Response @@ -56505,17 +56481,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response content: application/json: - schema: *404 + schema: *392 examples: - default: &405 + default: &393 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56611,9 +56587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: false content: @@ -56711,9 +56687,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *392 examples: - default: *405 + default: *393 '422': *15 x-github: githubCloudOnly: false @@ -56734,9 +56710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '204': description: Response @@ -56763,17 +56739,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response content: application/json: - schema: *402 + schema: *390 examples: - default: &406 + default: &394 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56796,17 +56772,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response content: application/json: - schema: *402 + schema: *390 examples: - default: *406 + default: *394 '404': *6 x-github: githubCloudOnly: false @@ -56826,9 +56802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '204': description: Response @@ -56853,17 +56829,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response content: application/json: - schema: *407 + schema: *395 examples: - default: &408 + default: &396 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56889,9 +56865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: false content: @@ -56943,9 +56919,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *395 examples: - default: *408 + default: *396 '404': *6 '422': *15 x-github: @@ -56967,9 +56943,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '204': description: Response @@ -56993,9 +56969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response @@ -57029,9 +57005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: false content: @@ -57098,9 +57074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: false content: @@ -57164,9 +57140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: content: application/json: @@ -57232,15 +57208,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response content: application/json: - schema: *401 + schema: *389 examples: default: value: @@ -57331,9 +57307,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '204': description: Response @@ -57356,9 +57332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response @@ -57368,7 +57344,7 @@ paths: type: array items: *5 examples: - default: &409 + default: &397 value: - id: 1 slug: octoapp @@ -57425,9 +57401,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: true content: @@ -57461,7 +57437,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *397 '422': *15 x-github: githubCloudOnly: false @@ -57482,9 +57458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: true content: @@ -57518,7 +57494,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *397 '422': *15 x-github: githubCloudOnly: false @@ -57539,9 +57515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: true content: @@ -57575,7 +57551,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *397 '422': *15 x-github: githubCloudOnly: false @@ -57597,9 +57573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response @@ -57609,7 +57585,7 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 '404': *6 x-github: githubCloudOnly: false @@ -57629,9 +57605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: false content: @@ -57669,7 +57645,7 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -57690,9 +57666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: false content: @@ -57730,7 +57706,7 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -57751,9 +57727,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: content: application/json: @@ -57790,7 +57766,7 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -57812,9 +57788,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response @@ -57824,7 +57800,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '404': *6 x-github: githubCloudOnly: false @@ -57848,9 +57824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: true content: @@ -57883,7 +57859,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '422': *15 x-github: githubCloudOnly: false @@ -57908,9 +57884,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: true content: @@ -57943,7 +57919,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '422': *15 x-github: githubCloudOnly: false @@ -57968,9 +57944,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: true content: @@ -58003,7 +57979,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '422': *15 x-github: githubCloudOnly: false @@ -58030,9 +58006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: true content: @@ -58054,7 +58030,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *398 examples: default: value: @@ -58170,8 +58146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -58450,7 +58426,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &399 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58561,16 +58537,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *76 - deployment: &713 + items: *72 + deployment: &709 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58637,8 +58613,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 required: - id - node_id @@ -58850,9 +58826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *330 - - *331 - - &412 + - *318 + - *319 + - &400 name: check_run_id description: The unique identifier of the check run. in: path @@ -58864,9 +58840,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *399 examples: - default: &413 + default: &401 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58966,9 +58942,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *330 - - *331 - - *412 + - *318 + - *319 + - *400 requestBody: required: true content: @@ -59208,9 +59184,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *399 examples: - default: *413 + default: *401 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59230,9 +59206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *330 - - *331 - - *412 + - *318 + - *319 + - *400 - *17 - *19 responses: @@ -59307,7 +59283,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59327,15 +59303,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *330 - - *331 - - *412 + - *318 + - *319 + - *400 responses: '201': description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -59373,8 +59349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -59396,7 +59372,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &416 + schema: &404 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59460,7 +59436,7 @@ paths: nullable: true pull_requests: type: array - items: *76 + items: *72 nullable: true app: title: GitHub app @@ -59471,9 +59447,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - repository: *137 + properties: *64 + required: *65 + repository: *133 created_at: type: string format: date-time @@ -59482,12 +59458,12 @@ paths: type: string format: date-time nullable: true - head_commit: &739 + head_commit: &735 title: Simple Commit description: A commit. type: object - properties: *414 - required: *415 + properties: *402 + required: *403 latest_check_runs_count: type: integer check_runs_url: @@ -59515,7 +59491,7 @@ paths: - check_runs_url - pull_requests examples: - default: &417 + default: &405 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59806,9 +59782,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *416 + schema: *404 examples: - default: *417 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59827,8 +59803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -59889,7 +59865,7 @@ paths: required: - app_id - setting - repository: *137 + repository: *133 examples: default: value: @@ -60137,9 +60113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *330 - - *331 - - &418 + - *318 + - *319 + - &406 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60151,9 +60127,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *404 examples: - default: *417 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60176,17 +60152,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *330 - - *331 - - *418 - - &468 + - *318 + - *319 + - *406 + - &456 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &469 + - &457 name: status description: Returns check runs with the specified `status`. in: query @@ -60225,9 +60201,9 @@ paths: type: integer check_runs: type: array - items: *411 + items: *399 examples: - default: &470 + default: &458 value: total_count: 1 check_runs: @@ -60309,7 +60285,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60329,15 +60305,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *330 - - *331 - - *418 + - *318 + - *319 + - *406 responses: '201': description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -60364,21 +60340,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *330 - - *331 - - *419 - - *420 + - *318 + - *319 + - *407 + - *408 - *19 - *17 - - &437 + - &425 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *421 - - &438 + schema: *409 + - &426 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60403,13 +60379,13 @@ paths: be returned. in: query required: false - schema: *422 + schema: *410 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *423 + schema: *411 responses: '200': description: Response @@ -60420,12 +60396,12 @@ paths: items: type: object properties: - number: *54 - created_at: *55 - updated_at: *153 - url: *56 - html_url: *57 - instances_url: *424 + number: *149 + created_at: *150 + updated_at: *151 + url: *152 + html_url: *153 + instances_url: *412 state: *158 fixed_at: *154 dismissed_by: @@ -60436,11 +60412,11 @@ paths: required: *21 nullable: true dismissed_at: *155 - dismissed_reason: *425 - dismissed_comment: *426 - rule: *427 - tool: *428 - most_recent_instance: *429 + dismissed_reason: *413 + dismissed_comment: *414 + rule: *415 + tool: *416 + most_recent_instance: *417 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60566,14 +60542,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &430 + '403': &418 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60593,9 +60569,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *330 - - *331 - - &431 + - *318 + - *319 + - &419 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60603,21 +60579,21 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *54 + schema: *149 responses: '200': description: Response content: application/json: - schema: &432 + schema: &420 type: object properties: - number: *54 - created_at: *55 - updated_at: *153 - url: *56 - html_url: *57 - instances_url: *424 + number: *149 + created_at: *150 + updated_at: *151 + url: *152 + html_url: *153 + instances_url: *412 state: *158 fixed_at: *154 dismissed_by: @@ -60628,8 +60604,8 @@ paths: required: *21 nullable: true dismissed_at: *155 - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_reason: *413 + dismissed_comment: *414 rule: type: object properties: @@ -60683,8 +60659,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *428 - most_recent_instance: *429 + tool: *416 + most_recent_instance: *417 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60783,9 +60759,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *430 + '403': *418 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60803,9 +60779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *330 - - *331 - - *431 + - *318 + - *319 + - *419 requestBody: required: true content: @@ -60820,8 +60796,8 @@ paths: enum: - open - dismissed - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_reason: *413 + dismissed_comment: *414 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60840,7 +60816,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *420 examples: default: value: @@ -60916,14 +60892,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &436 + '403': &424 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *77 + '503': *102 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60943,15 +60919,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *330 - - *331 - - *431 + - *318 + - *319 + - *419 responses: '200': description: Response content: application/json: - schema: &433 + schema: &421 type: object properties: status: @@ -60977,13 +60953,13 @@ paths: - description - started_at examples: - default: &434 + default: &422 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &435 + '400': &423 description: Bad Request content: application/json: @@ -60994,9 +60970,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *430 + '403': *418 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61019,29 +60995,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *330 - - *331 - - *431 + - *318 + - *319 + - *419 responses: '200': description: OK content: application/json: - schema: *433 + schema: *421 examples: - default: *434 + default: *422 '202': description: Accepted content: application/json: - schema: *433 + schema: *421 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *435 + '400': *423 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -61051,7 +61027,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61073,9 +61049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *330 - - *331 - - *431 + - *318 + - *319 + - *419 requestBody: required: false content: @@ -61120,12 +61096,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *435 - '403': *436 + '400': *423 + '403': *424 '404': *6 '422': description: Unprocessable Entity - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61145,13 +61121,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *330 - - *331 - - *431 + - *318 + - *319 + - *419 - *19 - *17 - - *437 - - *438 + - *425 + - *426 responses: '200': description: Response @@ -61159,7 +61135,7 @@ paths: application/json: schema: type: array - items: *429 + items: *417 examples: default: value: @@ -61198,9 +61174,9 @@ paths: end_column: 50 classifications: - source - '403': *430 + '403': *418 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61232,25 +61208,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *330 - - *331 - - *419 - - *420 + - *318 + - *319 + - *407 + - *408 - *19 - *17 - - *438 + - *426 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *421 + schema: *409 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &441 + schema: &429 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -61271,23 +61247,23 @@ paths: application/json: schema: type: array - items: &442 + items: &430 type: object properties: - ref: *421 - commit_sha: &450 + ref: *409 + commit_sha: &438 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *439 + analysis_key: *427 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *440 + category: *428 error: type: string example: error reading field xyz @@ -61311,8 +61287,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *441 - tool: *428 + sarif_id: *429 + tool: *416 deletable: type: boolean warning: @@ -61373,9 +61349,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *430 + '403': *418 '404': *6 - '503': *77 + '503': *102 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61409,8 +61385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61423,7 +61399,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *430 examples: response: summary: application/json response @@ -61477,14 +61453,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *430 + '403': *418 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *77 + '503': *102 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61564,8 +61540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61618,9 +61594,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *436 + '403': *424 '404': *6 - '503': *77 + '503': *102 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61640,8 +61616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -61649,7 +61625,7 @@ paths: application/json: schema: type: array - items: &443 + items: &431 title: CodeQL Database description: A CodeQL database. type: object @@ -61760,9 +61736,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *430 + '403': *418 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61789,8 +61765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - name: language in: path description: The language of the CodeQL database. @@ -61802,7 +61778,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *431 examples: default: value: @@ -61834,11 +61810,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &477 + '302': &465 description: Found - '403': *430 + '403': *418 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61858,8 +61834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *330 - - *331 + - *318 + - *319 - name: language in: path description: The language of the CodeQL database. @@ -61869,9 +61845,9 @@ paths: responses: '204': description: Response - '403': *436 + '403': *424 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61897,8 +61873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -61907,7 +61883,7 @@ paths: type: object additionalProperties: false properties: - language: &444 + language: &432 type: string description: The language targeted by the CodeQL query enum: @@ -61986,7 +61962,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &448 + schema: &436 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61996,7 +61972,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *444 + query_language: *432 query_pack_url: type: string description: The download url for the query pack. @@ -62043,7 +62019,7 @@ paths: items: type: object properties: - repository: &445 + repository: &433 title: Repository Identifier description: Repository Identifier type: object @@ -62079,7 +62055,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &449 + analysis_status: &437 type: string description: The new status of the CodeQL variant analysis repository task. @@ -62111,7 +62087,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &446 + access_mismatch_repos: &434 type: object properties: repository_count: @@ -62125,7 +62101,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *445 + items: *433 required: - repository_count - repositories @@ -62147,8 +62123,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *446 - over_limit_repos: *446 + no_codeql_db_repos: *434 + over_limit_repos: *434 required: - access_mismatch_repos - not_found_repos @@ -62164,7 +62140,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &447 + value: &435 summary: Default response value: id: 1 @@ -62316,17 +62292,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *447 + value: *435 repository_lists: summary: Response for a successful variant analysis submission - value: *447 + value: *435 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62347,8 +62323,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *330 - - *331 + - *318 + - *319 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62360,11 +62336,11 @@ paths: description: Response content: application/json: - schema: *448 + schema: *436 examples: - default: *447 + default: *435 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62385,7 +62361,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *330 + - *318 - name: repo in: path description: The name of the controller repository. @@ -62420,7 +62396,7 @@ paths: type: object properties: repository: *53 - analysis_status: *449 + analysis_status: *437 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62524,7 +62500,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62545,8 +62521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -62631,9 +62607,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *430 + '403': *418 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62652,8 +62628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -62720,7 +62696,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -62745,7 +62721,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *436 + '403': *424 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62759,7 +62735,7 @@ paths: content: application/json: schema: *3 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62816,8 +62792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -62825,7 +62801,7 @@ paths: schema: type: object properties: - commit_sha: *450 + commit_sha: *438 ref: type: string description: |- @@ -62883,7 +62859,7 @@ paths: schema: type: object properties: - id: *441 + id: *429 url: type: string description: The REST API URL for checking the status of the upload. @@ -62897,11 +62873,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *436 + '403': *424 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *77 + '503': *102 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62920,8 +62896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *330 - - *331 + - *318 + - *319 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62967,10 +62943,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *430 + '403': *418 '404': description: Not Found if the sarif id does not match any upload - '503': *77 + '503': *102 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62992,8 +62968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -63074,8 +63050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *330 - - *331 + - *318 + - *319 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -63195,8 +63171,8 @@ paths: parameters: - *17 - *19 - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -63212,7 +63188,7 @@ paths: type: integer codespaces: type: array - items: *214 + items: *212 examples: default: value: @@ -63488,7 +63464,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -63510,8 +63486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -63574,22 +63550,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *439 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *439 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63613,8 +63589,8 @@ paths: parameters: - *17 - *19 - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -63654,7 +63630,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *106 + '500': *101 '400': *14 '401': *25 '403': *29 @@ -63678,8 +63654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63714,14 +63690,14 @@ paths: type: integer machines: type: array - items: &661 + items: &657 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *440 + required: *441 examples: - default: &662 + default: &658 value: total_count: 2 machines: @@ -63738,7 +63714,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -63761,8 +63737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *330 - - *331 + - *318 + - *319 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63846,8 +63822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *330 - - *331 + - *318 + - *319 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -63892,7 +63868,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63913,8 +63889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -63932,7 +63908,7 @@ paths: type: integer secrets: type: array - items: &457 + items: &445 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63952,9 +63928,9 @@ paths: - created_at - updated_at examples: - default: *454 + default: *442 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63975,16 +63951,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *455 + schema: *443 examples: - default: *456 + default: *444 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64004,17 +63980,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *318 + - *319 + - *141 responses: '200': description: Response content: application/json: - schema: *457 + schema: *445 examples: - default: *458 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64034,9 +64010,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *318 + - *319 + - *141 requestBody: required: true content: @@ -64064,7 +64040,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -64088,9 +64064,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *318 + - *319 + - *141 responses: '204': description: Response @@ -64118,8 +64094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *330 - - *331 + - *318 + - *319 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -64161,7 +64137,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &459 + properties: &447 login: type: string example: octocat @@ -64254,7 +64230,7 @@ paths: user_view_type: type: string example: public - required: &460 + required: &448 - avatar_url - events_url - followers_url @@ -64303,7 +64279,7 @@ paths: admin: false role_name: write headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -64328,9 +64304,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *330 - - *331 - - *63 + - *318 + - *319 + - *59 responses: '204': description: Response if user is a collaborator @@ -64376,9 +64352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *330 - - *331 - - *63 + - *318 + - *319 + - *59 requestBody: required: false content: @@ -64404,7 +64380,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &526 + schema: &514 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64415,7 +64391,7 @@ paths: example: 42 type: integer format: int64 - repository: *137 + repository: *133 invitee: title: Simple User description: A GitHub user. @@ -64593,7 +64569,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *111 + schema: *107 '403': *29 x-github: triggersNotification: true @@ -64633,9 +64609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *330 - - *331 - - *63 + - *318 + - *319 + - *59 responses: '204': description: No Content when collaborator was removed from the repository. @@ -64666,9 +64642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *330 - - *331 - - *63 + - *318 + - *319 + - *59 responses: '200': description: if user has admin permissions @@ -64688,8 +64664,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *459 - required: *460 + properties: *447 + required: *448 nullable: true required: - permission @@ -64744,8 +64720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -64755,7 +64731,7 @@ paths: application/json: schema: type: array - items: &461 + items: &449 title: Commit Comment description: Commit Comment type: object @@ -64796,8 +64772,8 @@ paths: updated_at: type: string format: date-time - author_association: *72 - reactions: *73 + author_association: *68 + reactions: *69 required: - url - html_url @@ -64813,7 +64789,7 @@ paths: - created_at - updated_at examples: - default: &464 + default: &452 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64847,7 +64823,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64872,17 +64848,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 responses: '200': description: Response content: application/json: - schema: *461 + schema: *449 examples: - default: &465 + default: &453 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64939,9 +64915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 requestBody: required: true content: @@ -64963,7 +64939,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *449 examples: default: value: @@ -65014,9 +64990,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 responses: '204': description: Response @@ -65037,9 +65013,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -65065,11 +65041,11 @@ paths: application/json: schema: type: array - items: *323 + items: *311 examples: - default: *325 + default: *313 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -65088,9 +65064,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 requestBody: required: true content: @@ -65122,16 +65098,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '201': description: Reaction created content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '422': *15 x-github: githubCloudOnly: false @@ -65153,10 +65129,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *330 - - *331 - - *88 - - *326 + - *318 + - *319 + - *83 + - *314 responses: '204': description: Response @@ -65205,8 +65181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *330 - - *331 + - *318 + - *319 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65262,9 +65238,9 @@ paths: application/json: schema: type: array - items: *462 + items: *450 examples: - default: &575 + default: &563 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65334,8 +65310,8 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *58 - '500': *106 + Link: *54 + '500': *101 '400': *14 '404': *6 '409': *47 @@ -65358,9 +65334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *330 - - *331 - - &463 + - *318 + - *319 + - &451 name: commit_sha description: The SHA of the commit. in: path @@ -65432,9 +65408,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *330 - - *331 - - *463 + - *318 + - *319 + - *451 - *17 - *19 responses: @@ -65444,11 +65420,11 @@ paths: application/json: schema: type: array - items: *461 + items: *449 examples: - default: *464 + default: *452 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65474,9 +65450,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *330 - - *331 - - *463 + - *318 + - *319 + - *451 requestBody: required: true content: @@ -65511,9 +65487,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *449 examples: - default: *465 + default: *453 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65541,9 +65517,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *330 - - *331 - - *463 + - *318 + - *319 + - *451 - *17 - *19 responses: @@ -65553,9 +65529,9 @@ paths: application/json: schema: type: array - items: *466 + items: *454 examples: - default: &567 + default: &555 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66034,7 +66010,7 @@ paths: auto_merge: draft: false headers: - Link: *58 + Link: *54 '409': *47 x-github: githubCloudOnly: false @@ -66092,11 +66068,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *330 - - *331 + - *318 + - *319 - *19 - *17 - - &467 + - &455 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -66111,9 +66087,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *450 examples: - default: &554 + default: &542 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66199,8 +66175,8 @@ paths: ..... '422': *15 '404': *6 - '500': *106 - '503': *77 + '500': *101 + '503': *102 '409': *47 x-github: githubCloudOnly: false @@ -66226,11 +66202,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *330 - - *331 - - *467 - - *468 - - *469 + - *318 + - *319 + - *455 + - *456 + - *457 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66264,11 +66240,11 @@ paths: type: integer check_runs: type: array - items: *411 + items: *399 examples: - default: *470 + default: *458 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66291,9 +66267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *330 - - *331 - - *467 + - *318 + - *319 + - *455 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -66301,7 +66277,7 @@ paths: schema: type: integer example: 1 - - *468 + - *456 - *17 - *19 responses: @@ -66319,7 +66295,7 @@ paths: type: integer check_suites: type: array - items: *416 + items: *404 examples: default: value: @@ -66494,7 +66470,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66519,9 +66495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *330 - - *331 - - *467 + - *318 + - *319 + - *455 - *17 - *19 responses: @@ -66588,7 +66564,7 @@ paths: type: string total_count: type: integer - repository: *137 + repository: *133 commit_url: type: string format: uri @@ -66719,9 +66695,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *330 - - *331 - - *467 + - *318 + - *319 + - *455 - *17 - *19 responses: @@ -66731,7 +66707,7 @@ paths: application/json: schema: type: array - items: &632 + items: &628 title: Status description: The status of a commit. type: object @@ -66811,8 +66787,8 @@ paths: type: User site_admin: false headers: - Link: *58 - '301': *339 + Link: *54 + '301': *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66840,8 +66816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -66870,20 +66846,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *471 - required: *472 + properties: *459 + required: *460 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &473 + properties: &461 url: type: string format: uri html_url: type: string format: uri - required: &474 + required: &462 - url - html_url nullable: true @@ -66891,32 +66867,32 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *70 + required: *71 nullable: true contributing: title: Community Health File type: object - properties: *473 - required: *474 + properties: *461 + required: *462 nullable: true readme: title: Community Health File type: object - properties: *473 - required: *474 + properties: *461 + required: *462 nullable: true issue_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *461 + required: *462 nullable: true pull_request_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *461 + required: *462 nullable: true required: - code_of_conduct @@ -67043,8 +67019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *330 - - *331 + - *318 + - *319 - *19 - *17 - name: basehead @@ -67087,8 +67063,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *462 - merge_base_commit: *462 + base_commit: *450 + merge_base_commit: *450 status: type: string enum: @@ -67108,10 +67084,10 @@ paths: example: 6 commits: type: array - items: *462 + items: *450 files: type: array - items: *475 + items: *463 required: - url - html_url @@ -67354,8 +67330,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *106 - '503': *77 + '500': *101 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67397,8 +67373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *330 - - *331 + - *318 + - *319 - name: path description: path parameter in: path @@ -67541,7 +67517,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &476 + response-if-content-is-a-file: &464 summary: Response if content is a file value: type: file @@ -67673,7 +67649,7 @@ paths: - size - type - url - - &580 + - &568 title: Content File description: Content File type: object @@ -67874,7 +67850,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *476 + response-if-content-is-a-file: *464 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -67943,7 +67919,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *477 + '302': *465 '304': *37 x-github: githubCloudOnly: false @@ -67966,8 +67942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *330 - - *331 + - *318 + - *319 - name: path description: path parameter in: path @@ -68060,7 +68036,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &466 title: File Commit description: File Commit type: object @@ -68212,7 +68188,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *466 examples: example-for-creating-a-file: value: @@ -68266,7 +68242,7 @@ paths: schema: oneOf: - *3 - - &508 + - &496 description: Repository rule violation was detected type: object properties: @@ -68287,7 +68263,7 @@ paths: items: type: object properties: - placeholder_id: &624 + placeholder_id: &620 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68319,8 +68295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *330 - - *331 + - *318 + - *319 - name: path description: path parameter in: path @@ -68381,7 +68357,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *466 examples: default: value: @@ -68416,7 +68392,7 @@ paths: '422': *15 '404': *6 '409': *47 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68436,8 +68412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *330 - - *331 + - *318 + - *319 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68537,7 +68513,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *58 + Link: *54 '204': description: Response if repository is empty '403': *29 @@ -68560,8 +68536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - *170 - *171 - *172 @@ -68573,18 +68549,10 @@ paths: schema: type: string - *174 - - *479 + - *467 - *175 - *176 - *48 - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -68595,8 +68563,6 @@ paths: default: 30 - *40 - *41 - - *177 - - *178 responses: '200': description: Response @@ -68604,11 +68570,11 @@ paths: application/json: schema: type: array - items: &482 + items: &470 type: object description: A Dependabot alert. properties: - number: *54 + number: *149 state: type: string description: The state of the Dependabot alert. @@ -68650,12 +68616,12 @@ paths: - unknown - direct - transitive - security_advisory: *480 + security_advisory: *468 security_vulnerability: *52 - url: *56 - html_url: *57 - created_at: *55 - updated_at: *153 + url: *152 + html_url: *153 + created_at: *150 + updated_at: *151 dismissed_at: *155 dismissed_by: title: Simple User @@ -68681,7 +68647,7 @@ paths: nullable: true maxLength: 280 fixed_at: *154 - auto_dismissed_at: *481 + auto_dismissed_at: *469 required: - number - state @@ -68911,9 +68877,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *330 - - *331 - - &483 + - *318 + - *319 + - &471 name: alert_number in: path description: |- @@ -68922,13 +68888,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *54 + schema: *149 responses: '200': description: Response content: application/json: - schema: *482 + schema: *470 examples: default: value: @@ -69041,9 +69007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *330 - - *331 - - *483 + - *318 + - *319 + - *471 requestBody: required: true content: @@ -69088,7 +69054,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *470 examples: default: value: @@ -69217,8 +69183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -69236,7 +69202,7 @@ paths: type: integer secrets: type: array - items: &486 + items: &474 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -69267,7 +69233,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69289,16 +69255,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *484 + schema: *472 examples: - default: *485 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69318,15 +69284,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *318 + - *319 + - *141 responses: '200': description: Response content: application/json: - schema: *486 + schema: *474 examples: default: value: @@ -69352,9 +69318,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *318 + - *319 + - *141 requestBody: required: true content: @@ -69382,7 +69348,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -69406,9 +69372,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *318 + - *319 + - *141 responses: '204': description: Response @@ -69430,8 +69396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *330 - - *331 + - *318 + - *319 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -69567,7 +69533,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *58 + Link: *54 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -69591,8 +69557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -69808,7 +69774,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *58 + Link: *54 '404': *6 '403': *29 x-github: @@ -69831,8 +69797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -69907,7 +69873,7 @@ paths: - version - url additionalProperties: false - metadata: &487 + metadata: &475 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -69940,7 +69906,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *487 + metadata: *475 resolved: type: object description: A collection of resolved package dependencies. @@ -69953,7 +69919,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *487 + metadata: *475 relationship: type: string description: A notation of whether a dependency is requested @@ -70082,8 +70048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *330 - - *331 + - *318 + - *319 - name: sha description: The SHA recorded at creation time. in: query @@ -70123,11 +70089,11 @@ paths: application/json: schema: type: array - items: *488 + items: *476 examples: - default: *489 + default: *477 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70191,8 +70157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -70273,7 +70239,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *476 examples: simple-example: summary: Simple example @@ -70346,9 +70312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *330 - - *331 - - &490 + - *318 + - *319 + - &478 name: deployment_id description: deployment_id parameter in: path @@ -70360,7 +70326,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *476 examples: default: value: @@ -70425,9 +70391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *330 - - *331 - - *490 + - *318 + - *319 + - *478 responses: '204': description: Response @@ -70449,9 +70415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *330 - - *331 - - *490 + - *318 + - *319 + - *478 - *17 - *19 responses: @@ -70461,7 +70427,7 @@ paths: application/json: schema: type: array - items: &491 + items: &479 title: Deployment Status description: The status of a deployment. type: object @@ -70552,8 +70518,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 required: - id - node_id @@ -70602,7 +70568,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -70622,9 +70588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *330 - - *331 - - *490 + - *318 + - *319 + - *478 requestBody: required: true content: @@ -70699,9 +70665,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *479 examples: - default: &492 + default: &480 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70757,9 +70723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *330 - - *331 - - *490 + - *318 + - *319 + - *478 - name: status_id in: path required: true @@ -70770,9 +70736,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *479 examples: - default: *492 + default: *480 '404': *6 x-github: githubCloudOnly: false @@ -70797,8 +70763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -70855,8 +70821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -70873,7 +70839,7 @@ paths: type: integer environments: type: array - items: &494 + items: &482 title: Environment description: Details of a deployment environment type: object @@ -70925,7 +70891,7 @@ paths: type: type: string example: wait_timer - wait_timer: &496 + wait_timer: &484 type: integer example: 30 description: The amount of time to delay a job after @@ -70962,7 +70928,7 @@ paths: items: type: object properties: - type: *493 + type: *481 reviewer: anyOf: - *4 @@ -70986,7 +70952,7 @@ paths: - id - node_id - type - deployment_branch_policy: &497 + deployment_branch_policy: &485 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -71102,9 +71068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *330 - - *331 - - &495 + - *318 + - *319 + - &483 name: environment_name in: path required: true @@ -71117,9 +71083,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *482 examples: - default: &498 + default: &486 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -71203,9 +71169,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *330 - - *331 - - *495 + - *318 + - *319 + - *483 requestBody: required: false content: @@ -71214,7 +71180,7 @@ paths: type: object nullable: true properties: - wait_timer: *496 + wait_timer: *484 prevent_self_review: type: boolean example: false @@ -71231,13 +71197,13 @@ paths: items: type: object properties: - type: *493 + type: *481 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *497 + deployment_branch_policy: *485 additionalProperties: false examples: default: @@ -71257,9 +71223,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *482 examples: - default: *498 + default: *486 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -71283,9 +71249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *330 - - *331 - - *495 + - *318 + - *319 + - *483 responses: '204': description: Default response @@ -71310,9 +71276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *330 - - *331 - - *495 + - *318 + - *319 + - *483 - *17 - *19 responses: @@ -71330,7 +71296,7 @@ paths: example: 2 branch_policies: type: array - items: &499 + items: &487 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71387,9 +71353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 + - *318 + - *319 + - *483 requestBody: required: true content: @@ -71435,9 +71401,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *487 examples: - example-wildcard: &500 + example-wildcard: &488 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71479,10 +71445,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 - - &501 + - *318 + - *319 + - *483 + - &489 name: branch_policy_id in: path required: true @@ -71494,9 +71460,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *487 examples: - default: *500 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71515,10 +71481,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 - - *501 + - *318 + - *319 + - *483 + - *489 requestBody: required: true content: @@ -71546,9 +71512,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *487 examples: - default: *500 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71567,10 +71533,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 - - *501 + - *318 + - *319 + - *483 + - *489 responses: '204': description: Response @@ -71595,9 +71561,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *495 - - *331 - - *330 + - *483 + - *319 + - *318 responses: '200': description: List of deployment protection rules @@ -71613,7 +71579,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &502 + items: &490 title: Deployment protection rule description: Deployment protection rule type: object @@ -71632,7 +71598,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &503 + app: &491 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71731,9 +71697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *495 - - *331 - - *330 + - *483 + - *319 + - *318 requestBody: content: application/json: @@ -71754,9 +71720,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *502 + schema: *490 examples: - default: &504 + default: &492 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71791,9 +71757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *495 - - *331 - - *330 + - *483 + - *319 + - *318 - *19 - *17 responses: @@ -71812,7 +71778,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *503 + items: *491 examples: default: value: @@ -71847,10 +71813,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *330 - - *331 - - *495 - - &505 + - *318 + - *319 + - *483 + - &493 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71862,9 +71828,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *490 examples: - default: *504 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71885,10 +71851,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *495 - - *331 - - *330 - - *505 + - *483 + - *319 + - *318 + - *493 responses: '204': description: Response @@ -71914,9 +71880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *330 - - *331 - - *495 + - *318 + - *319 + - *483 - *17 - *19 responses: @@ -71934,11 +71900,11 @@ paths: type: integer secrets: type: array - items: *378 + items: *366 examples: - default: *379 + default: *367 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71961,17 +71927,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *330 - - *331 - - *495 + - *318 + - *319 + - *483 responses: '200': description: Response content: application/json: - schema: *380 + schema: *368 examples: - default: *381 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71993,18 +71959,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *330 - - *331 - - *495 - - *145 + - *318 + - *319 + - *483 + - *141 responses: '200': description: Response content: application/json: - schema: *378 + schema: *366 examples: - default: *506 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72026,10 +71992,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *330 - - *331 - - *495 - - *145 + - *318 + - *319 + - *483 + - *141 requestBody: required: true content: @@ -72060,7 +72026,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -72086,10 +72052,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *330 - - *331 - - *495 - - *145 + - *318 + - *319 + - *483 + - *141 responses: '204': description: Default response @@ -72114,10 +72080,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *330 - - *331 - - *495 - - *349 + - *318 + - *319 + - *483 + - *337 - *19 responses: '200': @@ -72134,11 +72100,11 @@ paths: type: integer variables: type: array - items: *382 + items: *370 examples: - default: *383 + default: *371 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72159,9 +72125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *330 - - *331 - - *495 + - *318 + - *319 + - *483 requestBody: required: true content: @@ -72188,7 +72154,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -72213,18 +72179,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *330 - - *331 - - *495 - - *148 + - *318 + - *319 + - *483 + - *144 responses: '200': description: Response content: application/json: - schema: *382 + schema: *370 examples: - default: *507 + default: *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72245,10 +72211,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *330 - - *331 - - *148 - - *495 + - *318 + - *319 + - *144 + - *483 requestBody: required: true content: @@ -72290,10 +72256,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *330 - - *331 - - *148 - - *495 + - *318 + - *319 + - *144 + - *483 responses: '204': description: Response @@ -72315,8 +72281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -72326,7 +72292,7 @@ paths: application/json: schema: type: array - items: *98 + items: *93 examples: 200-response: value: @@ -72384,8 +72350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *330 - - *331 + - *318 + - *319 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72407,7 +72373,7 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: default: value: @@ -72520,7 +72486,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *58 + Link: *54 '400': *14 x-github: githubCloudOnly: false @@ -72544,8 +72510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: false content: @@ -72577,9 +72543,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *326 examples: - default: *340 + default: *328 '400': *14 '422': *15 '403': *29 @@ -72600,8 +72566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -72660,8 +72626,8 @@ paths: application/json: schema: oneOf: - - *111 - - *508 + - *107 + - *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72686,8 +72652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *330 - - *331 + - *318 + - *319 - name: file_sha in: path required: true @@ -72786,8 +72752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -72896,7 +72862,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &497 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73110,15 +73076,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *330 - - *331 - - *463 + - *318 + - *319 + - *451 responses: '200': description: Response content: application/json: - schema: *509 + schema: *497 examples: default: value: @@ -73174,9 +73140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *330 - - *331 - - &510 + - *318 + - *319 + - &498 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -73193,7 +73159,7 @@ paths: application/json: schema: type: array - items: &511 + items: &499 title: Git Reference description: Git references within a repository type: object @@ -73246,7 +73212,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *58 + Link: *54 '409': *47 x-github: githubCloudOnly: false @@ -73268,17 +73234,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *330 - - *331 - - *510 + - *318 + - *319 + - *498 responses: '200': description: Response content: application/json: - schema: *511 + schema: *499 examples: - default: &512 + default: &500 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -73307,8 +73273,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -73337,9 +73303,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *499 examples: - default: *512 + default: *500 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73365,9 +73331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *330 - - *331 - - *510 + - *318 + - *319 + - *498 requestBody: required: true content: @@ -73396,9 +73362,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *499 examples: - default: *512 + default: *500 '422': *15 '409': *47 x-github: @@ -73416,9 +73382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *330 - - *331 - - *510 + - *318 + - *319 + - *498 responses: '204': description: Response @@ -73473,8 +73439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -73541,7 +73507,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &502 title: Git Tag description: Metadata for a Git tag type: object @@ -73592,7 +73558,7 @@ paths: - sha - type - url - verification: *513 + verification: *501 required: - sha - url @@ -73602,7 +73568,7 @@ paths: - tag - message examples: - default: &515 + default: &503 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73675,8 +73641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *330 - - *331 + - *318 + - *319 - name: tag_sha in: path required: true @@ -73687,9 +73653,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *502 examples: - default: *515 + default: *503 '404': *6 '409': *47 x-github: @@ -73713,8 +73679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -73787,7 +73753,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &504 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -73883,8 +73849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *330 - - *331 + - *318 + - *319 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -73907,7 +73873,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *504 examples: default-response: summary: Default response @@ -73966,8 +73932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -73977,7 +73943,7 @@ paths: application/json: schema: type: array - items: &517 + items: &505 title: Webhook description: Webhooks for repositories. type: object @@ -74031,7 +73997,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &747 + last_response: &743 title: Hook Response type: object properties: @@ -74086,7 +74052,7 @@ paths: status: unused message: headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -74105,8 +74071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: false content: @@ -74158,9 +74124,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *505 examples: - default: &518 + default: &506 value: type: Repository id: 12345678 @@ -74208,17 +74174,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *318 + - *319 + - *184 responses: '200': description: Response content: application/json: - schema: *517 + schema: *505 examples: - default: *518 + default: *506 '404': *6 x-github: githubCloudOnly: false @@ -74238,9 +74204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *318 + - *319 + - *184 requestBody: required: true content: @@ -74285,9 +74251,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *505 examples: - default: *518 + default: *506 '422': *15 '404': *6 x-github: @@ -74308,9 +74274,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *318 + - *319 + - *184 responses: '204': description: Response @@ -74334,9 +74300,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *330 - - *331 - - *186 + - *318 + - *319 + - *184 responses: '200': description: Response @@ -74363,9 +74329,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *330 - - *331 - - *186 + - *318 + - *319 + - *184 requestBody: required: false content: @@ -74409,11 +74375,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *318 + - *319 + - *184 - *17 - - *187 + - *185 responses: '200': description: Response @@ -74421,9 +74387,9 @@ paths: application/json: schema: type: array - items: *188 + items: *186 examples: - default: *189 + default: *187 '400': *14 '422': *15 x-github: @@ -74442,18 +74408,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *318 + - *319 + - *184 - *16 responses: '200': description: Response content: application/json: - schema: *190 + schema: *188 examples: - default: *191 + default: *189 '400': *14 '422': *15 x-github: @@ -74472,9 +74438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *318 + - *319 + - *184 - *16 responses: '202': *39 @@ -74497,9 +74463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *318 + - *319 + - *184 responses: '204': description: Response @@ -74524,9 +74490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *330 - - *331 - - *186 + - *318 + - *319 + - *184 responses: '204': description: Response @@ -74549,8 +74515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response if immutable releases are enabled @@ -74596,8 +74562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': *163 '409': *47 @@ -74617,8 +74583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': *163 '409': *47 @@ -74675,14 +74641,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: &519 + schema: &507 title: Import description: A repository import from an external source. type: object @@ -74781,7 +74747,7 @@ paths: - html_url - authors_url examples: - default: &522 + default: &510 value: vcs: subversion use_lfs: true @@ -74797,7 +74763,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &520 + '503': &508 description: Unavailable due to service under maintenance. content: application/json: @@ -74826,8 +74792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -74875,7 +74841,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *507 examples: default: value: @@ -74900,7 +74866,7 @@ paths: type: string '422': *15 '404': *6 - '503': *520 + '503': *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74928,8 +74894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: false content: @@ -74978,7 +74944,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *507 examples: example-1: summary: Example 1 @@ -75026,7 +74992,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *520 + '503': *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75049,12 +75015,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response - '503': *520 + '503': *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75080,9 +75046,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *330 - - *331 - - &684 + - *318 + - *319 + - &680 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75096,7 +75062,7 @@ paths: application/json: schema: type: array - items: &521 + items: &509 title: Porter Author description: Porter Author type: object @@ -75150,7 +75116,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *520 + '503': *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75175,8 +75141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *330 - - *331 + - *318 + - *319 - name: author_id in: path required: true @@ -75206,7 +75172,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *509 examples: default: value: @@ -75219,7 +75185,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *520 + '503': *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75243,8 +75209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -75285,7 +75251,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *520 + '503': *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75313,8 +75279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -75341,11 +75307,11 @@ paths: description: Response content: application/json: - schema: *519 + schema: *507 examples: - default: *522 + default: *510 '422': *15 - '503': *520 + '503': *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75368,8 +75334,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -75377,8 +75343,8 @@ paths: application/json: schema: *22 examples: - default: *523 - '301': *339 + default: *511 + '301': *327 '404': *6 x-github: githubCloudOnly: false @@ -75398,8 +75364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -75407,12 +75373,12 @@ paths: application/json: schema: anyOf: - - *204 + - *202 - type: object properties: {} additionalProperties: false examples: - default: &525 + default: &513 value: limit: collaborators_only origin: repository @@ -75437,13 +75403,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: application/json: - schema: *524 + schema: *512 examples: default: summary: Example request body @@ -75455,9 +75421,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *202 examples: - default: *525 + default: *513 '409': description: Response x-github: @@ -75479,8 +75445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -75503,8 +75469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -75514,9 +75480,9 @@ paths: application/json: schema: type: array - items: *526 + items: *514 examples: - default: &677 + default: &673 value: - id: 1 repository: @@ -75630,7 +75596,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75647,9 +75613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *330 - - *331 - - *208 + - *318 + - *319 + - *206 requestBody: required: false content: @@ -75678,7 +75644,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *514 examples: default: value: @@ -75809,9 +75775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *330 - - *331 - - *208 + - *318 + - *319 + - *206 responses: '204': description: Response @@ -75842,8 +75808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *330 - - *331 + - *318 + - *319 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -75891,7 +75857,7 @@ paths: required: false schema: type: string - - *212 + - *210 - name: sort description: What to sort results by. in: query @@ -75904,7 +75870,7 @@ paths: - comments default: created - *48 - - *79 + - *74 - *17 - *19 responses: @@ -75914,9 +75880,9 @@ paths: application/json: schema: type: array - items: *71 + items: *67 examples: - default: &535 + default: &523 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76063,8 +76029,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *58 - '301': *339 + Link: *54 + '301': *327 '422': *15 '404': *6 x-github: @@ -76093,8 +76059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -76176,9 +76142,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: &532 + default: &520 value: id: 1 node_id: MDU6SXNzdWUx @@ -76332,9 +76298,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *77 + '503': *102 '404': *6 - '410': *336 + '410': *324 x-github: triggersNotification: true githubCloudOnly: false @@ -76362,9 +76328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *330 - - *331 - - *96 + - *318 + - *319 + - *91 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -76374,7 +76340,7 @@ paths: enum: - asc - desc - - *79 + - *74 - *17 - *19 responses: @@ -76384,9 +76350,9 @@ paths: application/json: schema: type: array - items: *527 + items: *515 examples: - default: &534 + default: &522 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76417,7 +76383,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *58 + Link: *54 '422': *15 '404': *6 x-github: @@ -76444,17 +76410,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 responses: '200': description: Response content: application/json: - schema: *527 + schema: *515 examples: - default: &528 + default: &516 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76508,9 +76474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 requestBody: required: true content: @@ -76532,9 +76498,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *515 examples: - default: *528 + default: *516 '422': *15 x-github: githubCloudOnly: false @@ -76552,9 +76518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 responses: '204': description: Response @@ -76574,9 +76540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -76602,11 +76568,11 @@ paths: application/json: schema: type: array - items: *323 + items: *311 examples: - default: *325 + default: *313 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -76625,9 +76591,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 requestBody: required: true content: @@ -76659,16 +76625,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '201': description: Reaction created content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '422': *15 x-github: githubCloudOnly: false @@ -76690,10 +76656,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *330 - - *331 - - *88 - - *326 + - *318 + - *319 + - *83 + - *314 responses: '204': description: Response @@ -76713,8 +76679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -76724,7 +76690,7 @@ paths: application/json: schema: type: array - items: &531 + items: &519 title: Issue Event description: Issue Event type: object @@ -76767,8 +76733,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *529 - required: *530 + properties: *517 + required: *518 nullable: true label: title: Issue Event Label @@ -76877,7 +76843,7 @@ paths: required: - from - to - author_association: *72 + author_association: *68 lock_reason: type: string nullable: true @@ -76890,8 +76856,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 required: - id - node_id @@ -77057,7 +77023,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -77075,8 +77041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *330 - - *331 + - *318 + - *319 - name: event_id in: path required: true @@ -77087,7 +77053,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *519 examples: default: value: @@ -77280,7 +77246,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *336 + '410': *324 '403': *29 x-github: githubCloudOnly: false @@ -77314,9 +77280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *330 - - *331 - - &533 + - *318 + - *319 + - &521 name: issue_number description: The number that identifies the issue. in: path @@ -77328,12 +77294,12 @@ paths: description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: *532 - '301': *339 + default: *520 + '301': *327 '404': *6 - '410': *336 + '410': *324 '304': *37 x-github: githubCloudOnly: false @@ -77358,9 +77324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: false content: @@ -77464,15 +77430,15 @@ paths: description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: *532 + default: *520 '422': *15 - '503': *77 + '503': *102 '403': *29 - '301': *339 + '301': *327 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77490,9 +77456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: false content: @@ -77518,9 +77484,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: *532 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77536,9 +77502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: content: application/json: @@ -77563,9 +77529,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: *532 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77587,9 +77553,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 - name: assignee in: path required: true @@ -77629,10 +77595,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *330 - - *331 - - *533 - - *79 + - *318 + - *319 + - *521 + - *74 - *17 - *19 responses: @@ -77642,13 +77608,13 @@ paths: application/json: schema: type: array - items: *527 + items: *515 examples: - default: *534 + default: *522 headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77677,9 +77643,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: true content: @@ -77701,16 +77667,16 @@ paths: description: Response content: application/json: - schema: *527 + schema: *515 examples: - default: *528 + default: *516 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *336 + '410': *324 '422': *15 '404': *6 x-github: @@ -77738,9 +77704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 - *17 - *19 responses: @@ -77750,14 +77716,14 @@ paths: application/json: schema: type: array - items: *71 + items: *67 examples: - default: *535 + default: *523 headers: - Link: *58 - '301': *339 + Link: *54 + '301': *327 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77785,9 +77751,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: true content: @@ -77809,17 +77775,17 @@ paths: description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: *532 + default: *520 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *339 + '301': *327 '403': *29 - '410': *336 + '410': *324 '422': *15 '404': *6 x-github: @@ -77850,9 +77816,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -77864,15 +77830,15 @@ paths: description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: *532 - '301': *339 + default: *520 + '301': *327 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *324 x-github: triggersNotification: true githubCloudOnly: false @@ -77898,9 +77864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 - *17 - *19 responses: @@ -77910,14 +77876,14 @@ paths: application/json: schema: type: array - items: *71 + items: *67 examples: - default: *535 + default: *523 headers: - Link: *58 - '301': *339 + Link: *54 + '301': *327 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77934,9 +77900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 - *17 - *19 responses: @@ -77950,7 +77916,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &537 + - &525 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -77981,8 +77947,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 label: type: object properties: @@ -78004,7 +77970,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &526 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -78035,8 +78001,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 label: type: object properties: @@ -78124,8 +78090,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 assignee: *4 assigner: *4 required: @@ -78140,7 +78106,7 @@ paths: - performed_via_github_app - assignee - assigner - - &539 + - &527 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -78171,8 +78137,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 milestone: type: object properties: @@ -78191,7 +78157,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &528 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -78222,8 +78188,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 milestone: type: object properties: @@ -78242,7 +78208,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &529 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -78273,8 +78239,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 rename: type: object properties: @@ -78296,7 +78262,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &530 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78327,8 +78293,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 review_requester: *4 requested_team: *169 requested_reviewer: *4 @@ -78343,7 +78309,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &531 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78374,8 +78340,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 review_requester: *4 requested_team: *169 requested_reviewer: *4 @@ -78390,7 +78356,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &532 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78421,8 +78387,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 dismissed_review: type: object properties: @@ -78450,7 +78416,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &533 title: Locked Issue Event description: Locked Issue Event type: object @@ -78481,8 +78447,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 lock_reason: type: string example: '"off-topic"' @@ -78498,7 +78464,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &534 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78529,8 +78495,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 project_card: type: object properties: @@ -78564,7 +78530,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &535 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78595,8 +78561,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 project_card: type: object properties: @@ -78630,7 +78596,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &536 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78661,8 +78627,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 project_card: type: object properties: @@ -78696,7 +78662,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &537 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78786,8 +78752,8 @@ paths: name: label color: red headers: - Link: *58 - '410': *336 + Link: *54 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78804,9 +78770,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 - *17 - *19 responses: @@ -78816,9 +78782,9 @@ paths: application/json: schema: type: array - items: *70 + items: *66 examples: - default: &536 + default: &524 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78835,10 +78801,10 @@ paths: color: a2eeef default: false headers: - Link: *58 - '301': *339 + Link: *54 + '301': *327 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78855,9 +78821,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: false content: @@ -78916,12 +78882,12 @@ paths: application/json: schema: type: array - items: *70 + items: *66 examples: - default: *536 - '301': *339 + default: *524 + '301': *327 '404': *6 - '410': *336 + '410': *324 '422': *15 x-github: githubCloudOnly: false @@ -78938,9 +78904,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: false content: @@ -79000,12 +78966,12 @@ paths: application/json: schema: type: array - items: *70 + items: *66 examples: - default: *536 - '301': *339 + default: *524 + '301': *327 '404': *6 - '410': *336 + '410': *324 '422': *15 x-github: githubCloudOnly: false @@ -79022,15 +78988,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 responses: '204': description: Response - '301': *339 + '301': *327 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79049,9 +79015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 - name: name in: path required: true @@ -79064,7 +79030,7 @@ paths: application/json: schema: type: array - items: *70 + items: *66 examples: default: value: @@ -79075,9 +79041,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *339 + '301': *327 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79097,9 +79063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: false content: @@ -79127,7 +79093,7 @@ paths: '204': description: Response '403': *29 - '410': *336 + '410': *324 '404': *6 '422': *15 x-github: @@ -79145,9 +79111,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 responses: '204': description: Response @@ -79177,20 +79143,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 responses: '200': description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: *532 - '301': *339 + default: *520 + '301': *327 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79207,9 +79173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -79235,13 +79201,13 @@ paths: application/json: schema: type: array - items: *323 + items: *311 examples: - default: *325 + default: *313 headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79259,9 +79225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: true content: @@ -79293,16 +79259,16 @@ paths: description: Response content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '201': description: Response content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '422': *15 x-github: githubCloudOnly: false @@ -79324,10 +79290,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *330 - - *331 - - *533 - - *326 + - *318 + - *319 + - *521 + - *314 responses: '204': description: Response @@ -79356,9 +79322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: true content: @@ -79380,9 +79346,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: *532 + default: *520 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79415,9 +79381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 - *17 - *19 responses: @@ -79427,13 +79393,13 @@ paths: application/json: schema: type: array - items: *71 + items: *67 examples: - default: *535 + default: *523 headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79461,9 +79427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: true content: @@ -79490,16 +79456,16 @@ paths: description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: *532 + default: *520 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *336 + '410': *324 '422': *15 '404': *6 x-github: @@ -79519,9 +79485,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: true content: @@ -79552,13 +79518,13 @@ paths: description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: *532 + default: *520 '403': *29 '404': *6 '422': *7 - '503': *77 + '503': *102 x-github: triggersNotification: true githubCloudOnly: false @@ -79576,9 +79542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 - *17 - *19 responses: @@ -79593,19 +79559,19 @@ paths: description: Timeline Event type: object anyOf: + - *525 + - *526 + - *527 + - *528 + - *529 + - *530 + - *531 + - *532 + - *533 + - *534 + - *535 + - *536 - *537 - - *538 - - *539 - - *540 - - *541 - - *542 - - *543 - - *544 - - *545 - - *546 - - *547 - - *548 - - *549 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -79648,7 +79614,7 @@ paths: issue_url: type: string format: uri - author_association: *72 + author_association: *68 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -79658,9 +79624,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - reactions: *73 + properties: *64 + required: *65 + reactions: *69 required: - event - actor @@ -79691,7 +79657,7 @@ paths: properties: type: type: string - issue: *71 + issue: *67 required: - event - created_at @@ -79891,7 +79857,7 @@ paths: type: string body_text: type: string - author_association: *72 + author_association: *68 required: - event - id @@ -79914,7 +79880,7 @@ paths: type: string comments: type: array - items: &569 + items: &557 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -80003,7 +79969,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *72 + author_association: *68 _links: type: object properties: @@ -80087,7 +80053,7 @@ paths: enum: - line - file - reactions: *73 + reactions: *69 body_html: type: string example: '"

comment body

"' @@ -80123,7 +80089,7 @@ paths: type: string comments: type: array - items: *461 + items: *449 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80154,8 +80120,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 assignee: *4 required: - id @@ -80198,8 +80164,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 assignee: *4 required: - id @@ -80242,8 +80208,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 state_reason: type: string nullable: true @@ -80410,9 +80376,9 @@ paths: type: User site_admin: true headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80429,8 +80395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -80440,7 +80406,7 @@ paths: application/json: schema: type: array - items: &550 + items: &538 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80490,7 +80456,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80506,8 +80472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -80543,9 +80509,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *538 examples: - default: &551 + default: &539 value: id: 1 key: ssh-rsa AAA... @@ -80579,9 +80545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *330 - - *331 - - &552 + - *318 + - *319 + - &540 name: key_id description: The unique identifier of the key. in: path @@ -80593,9 +80559,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *538 examples: - default: *551 + default: *539 '404': *6 x-github: githubCloudOnly: false @@ -80613,9 +80579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *330 - - *331 - - *552 + - *318 + - *319 + - *540 responses: '204': description: Response @@ -80635,8 +80601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -80646,11 +80612,11 @@ paths: application/json: schema: type: array - items: *70 + items: *66 examples: - default: *536 + default: *524 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -80669,8 +80635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -80706,9 +80672,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *66 examples: - default: &553 + default: &541 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80740,8 +80706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *330 - - *331 + - *318 + - *319 - name: name in: path required: true @@ -80752,9 +80718,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *66 examples: - default: *553 + default: *541 '404': *6 x-github: githubCloudOnly: false @@ -80771,8 +80737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *330 - - *331 + - *318 + - *319 - name: name in: path required: true @@ -80811,7 +80777,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *66 examples: default: value: @@ -80837,8 +80803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *330 - - *331 + - *318 + - *319 - name: name in: path required: true @@ -80864,8 +80830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -80904,9 +80870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *330 - - *331 - - *437 + - *318 + - *319 + - *425 responses: '200': description: Response @@ -80968,8 +80934,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *70 + required: *71 nullable: true required: - _links @@ -81051,8 +81017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -81117,8 +81083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -81152,9 +81118,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *462 + schema: *450 examples: - default: *554 + default: *542 '204': description: Response when already merged '404': @@ -81179,8 +81145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *330 - - *331 + - *318 + - *319 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81221,12 +81187,12 @@ paths: application/json: schema: type: array - items: &555 + items: &543 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *248 + required: *249 examples: default: value: @@ -81265,7 +81231,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -81282,8 +81248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -81323,9 +81289,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *543 examples: - default: &556 + default: &544 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81384,9 +81350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *330 - - *331 - - &557 + - *318 + - *319 + - &545 name: milestone_number description: The number that identifies the milestone. in: path @@ -81398,9 +81364,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *543 examples: - default: *556 + default: *544 '404': *6 x-github: githubCloudOnly: false @@ -81417,9 +81383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *330 - - *331 - - *557 + - *318 + - *319 + - *545 requestBody: required: false content: @@ -81457,9 +81423,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *543 examples: - default: *556 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81475,9 +81441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *330 - - *331 - - *557 + - *318 + - *319 + - *545 responses: '204': description: Response @@ -81498,9 +81464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *330 - - *331 - - *557 + - *318 + - *319 + - *545 - *17 - *19 responses: @@ -81510,11 +81476,11 @@ paths: application/json: schema: type: array - items: *70 + items: *66 examples: - default: *536 + default: *524 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81531,12 +81497,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *330 - - *331 - - *558 - - *559 - - *79 - - *560 + - *318 + - *319 + - *546 + - *547 + - *74 + - *548 - *17 - *19 responses: @@ -81546,11 +81512,11 @@ paths: application/json: schema: type: array - items: *99 + items: *94 examples: - default: *561 + default: *549 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -81572,8 +81538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: false content: @@ -81631,14 +81597,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: &562 + schema: &550 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81763,7 +81729,7 @@ paths: - custom_404 - public examples: - default: &563 + default: &551 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81804,8 +81770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -81859,9 +81825,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *550 examples: - default: *563 + default: *551 '422': *15 '409': *47 x-github: @@ -81884,8 +81850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -81984,8 +81950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -82011,8 +81977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -82022,7 +81988,7 @@ paths: application/json: schema: type: array - items: &564 + items: &552 title: Page Build description: Page Build type: object @@ -82097,7 +82063,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82116,8 +82082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *330 - - *331 + - *318 + - *319 responses: '201': description: Response @@ -82162,16 +82128,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *564 + schema: *552 examples: - default: &565 + default: &553 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -82219,8 +82185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *330 - - *331 + - *318 + - *319 - name: build_id in: path required: true @@ -82231,9 +82197,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *552 examples: - default: *565 + default: *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82253,8 +82219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -82359,9 +82325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *330 - - *331 - - &566 + - *318 + - *319 + - &554 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82419,9 +82385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *330 - - *331 - - *566 + - *318 + - *319 + - *554 responses: '204': *163 '404': *6 @@ -82448,8 +82414,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -82680,7 +82646,7 @@ paths: description: Empty response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -82707,8 +82673,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Private vulnerability reporting status @@ -82745,8 +82711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': *163 '422': *14 @@ -82767,8 +82733,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': *163 '422': *14 @@ -82791,8 +82757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *330 - - *331 + - *318 + - *319 - name: state description: Indicates the state of the projects to return. in: query @@ -82813,7 +82779,7 @@ paths: application/json: schema: type: array - items: *244 + items: *242 examples: default: value: @@ -82849,11 +82815,11 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *58 + Link: *54 '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *324 '422': *7 x-github: githubCloudOnly: false @@ -82876,8 +82842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -82903,13 +82869,13 @@ paths: description: Response content: application/json: - schema: *244 + schema: *242 examples: - default: *335 + default: *323 '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *324 '422': *7 x-github: githubCloudOnly: false @@ -82932,8 +82898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -82941,7 +82907,7 @@ paths: application/json: schema: type: array - items: *262 + items: *260 examples: default: value: @@ -82972,8 +82938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -82985,7 +82951,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *262 + items: *260 required: - properties examples: @@ -83035,8 +83001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *330 - - *331 + - *318 + - *319 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83096,11 +83062,11 @@ paths: application/json: schema: type: array - items: *466 + items: *454 examples: - default: *567 + default: *555 headers: - Link: *58 + Link: *54 '304': *37 '422': *15 x-github: @@ -83130,8 +83096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -83196,7 +83162,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &559 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83307,8 +83273,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *248 + required: *249 nullable: true active_lock_reason: type: string @@ -83353,7 +83319,7 @@ paths: nullable: true requested_teams: type: array - items: *308 + items: *296 nullable: true head: type: object @@ -83362,7 +83328,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *63 sha: type: string user: *4 @@ -83379,7 +83345,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *63 sha: type: string user: *4 @@ -83392,14 +83358,14 @@ paths: _links: type: object properties: - comments: *252 - commits: *252 - statuses: *252 - html: *252 - issue: *252 - review_comments: *252 - review_comment: *252 - self: *252 + comments: *250 + commits: *250 + statuses: *250 + html: *250 + issue: *250 + review_comments: *250 + review_comment: *250 + self: *250 required: - comments - commits @@ -83409,8 +83375,8 @@ paths: - review_comments - review_comment - self - author_association: *72 - auto_merge: *568 + author_association: *68 + auto_merge: *556 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -83502,7 +83468,7 @@ paths: - merged_by - review_comments examples: - default: &572 + default: &560 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -84029,8 +83995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - name: sort in: query required: false @@ -84049,7 +84015,7 @@ paths: enum: - asc - desc - - *79 + - *74 - *17 - *19 responses: @@ -84059,9 +84025,9 @@ paths: application/json: schema: type: array - items: *569 + items: *557 examples: - default: &574 + default: &562 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84113,7 +84079,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84138,17 +84104,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 responses: '200': description: Response content: application/json: - schema: *569 + schema: *557 examples: - default: &570 + default: &558 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84223,9 +84189,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 requestBody: required: true content: @@ -84247,9 +84213,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *557 examples: - default: *570 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84265,9 +84231,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 responses: '204': description: Response @@ -84288,9 +84254,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -84316,11 +84282,11 @@ paths: application/json: schema: type: array - items: *323 + items: *311 examples: - default: *325 + default: *313 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -84339,9 +84305,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 requestBody: required: true content: @@ -84373,16 +84339,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '201': description: Reaction created content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '422': *15 x-github: githubCloudOnly: false @@ -84404,10 +84370,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *330 - - *331 - - *88 - - *326 + - *318 + - *319 + - *83 + - *314 responses: '204': description: Response @@ -84450,9 +84416,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *330 - - *331 - - &573 + - *318 + - *319 + - &561 name: pull_number description: The number that identifies the pull request. in: path @@ -84465,9 +84431,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *571 + schema: *559 examples: - default: *572 + default: *560 '304': *37 '404': *6 '406': @@ -84475,8 +84441,8 @@ paths: content: application/json: schema: *3 - '500': *106 - '503': *77 + '500': *101 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84502,9 +84468,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 requestBody: required: false content: @@ -84546,9 +84512,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *559 examples: - default: *572 + default: *560 '422': *15 '403': *29 x-github: @@ -84570,9 +84536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 requestBody: required: true content: @@ -84632,21 +84598,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *439 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *439 '401': *25 '403': *29 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -84672,10 +84638,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *330 - - *331 - - *573 - - *96 + - *318 + - *319 + - *561 + - *91 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -84685,7 +84651,7 @@ paths: enum: - asc - desc - - *79 + - *74 - *17 - *19 responses: @@ -84695,11 +84661,11 @@ paths: application/json: schema: type: array - items: *569 + items: *557 examples: - default: *574 + default: *562 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84730,9 +84696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 requestBody: required: true content: @@ -84837,7 +84803,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *557 examples: example-for-a-multi-line-comment: value: @@ -84925,10 +84891,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *330 - - *331 - - *573 - - *88 + - *318 + - *319 + - *561 + - *83 requestBody: required: true content: @@ -84950,7 +84916,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *557 examples: default: value: @@ -85036,9 +85002,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 - *17 - *19 responses: @@ -85048,11 +85014,11 @@ paths: application/json: schema: type: array - items: *462 + items: *450 examples: - default: *575 + default: *563 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85080,9 +85046,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 - *17 - *19 responses: @@ -85092,7 +85058,7 @@ paths: application/json: schema: type: array - items: *475 + items: *463 examples: default: value: @@ -85108,10 +85074,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *58 + Link: *54 '422': *15 - '500': *106 - '503': *77 + '500': *101 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85130,9 +85096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 responses: '204': description: Response if pull request has been merged @@ -85155,9 +85121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 requestBody: required: false content: @@ -85268,9 +85234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 responses: '200': description: Response @@ -85327,7 +85293,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85345,9 +85311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 requestBody: required: false content: @@ -85384,7 +85350,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *454 examples: default: value: @@ -85920,9 +85886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 requestBody: required: true content: @@ -85956,7 +85922,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *454 examples: default: value: @@ -86461,9 +86427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 - *17 - *19 responses: @@ -86473,7 +86439,7 @@ paths: application/json: schema: type: array - items: &576 + items: &564 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86542,7 +86508,7 @@ paths: type: string body_text: type: string - author_association: *72 + author_association: *68 required: - id - node_id @@ -86591,7 +86557,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86624,9 +86590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 requestBody: required: false content: @@ -86712,9 +86678,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *564 examples: - default: &578 + default: &566 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86777,10 +86743,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - &577 + - *318 + - *319 + - *561 + - &565 name: review_id description: The unique identifier of the review. in: path @@ -86792,9 +86758,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *564 examples: - default: &579 + default: &567 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86853,10 +86819,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *318 + - *319 + - *561 + - *565 requestBody: required: true content: @@ -86879,7 +86845,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *564 examples: default: value: @@ -86941,18 +86907,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *318 + - *319 + - *561 + - *565 responses: '200': description: Response content: application/json: - schema: *576 + schema: *564 examples: - default: *578 + default: *566 '422': *7 '404': *6 x-github: @@ -86979,10 +86945,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *330 - - *331 - - *573 - - *577 + - *318 + - *319 + - *561 + - *565 - *17 - *19 responses: @@ -87061,13 +87027,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *72 + author_association: *68 _links: type: object properties: - self: *252 - html: *252 - pull_request: *252 + self: *250 + html: *250 + pull_request: *250 required: - self - html @@ -87076,7 +87042,7 @@ paths: type: string body_html: type: string - reactions: *73 + reactions: *69 side: description: The side of the first line of the range for a multi-line comment. @@ -87188,7 +87154,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -87217,10 +87183,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *318 + - *319 + - *561 + - *565 requestBody: required: true content: @@ -87248,7 +87214,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *564 examples: default: value: @@ -87311,10 +87277,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *318 + - *319 + - *561 + - *565 requestBody: required: true content: @@ -87349,9 +87315,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *564 examples: - default: *579 + default: *567 '404': *6 '422': *7 '403': *29 @@ -87373,9 +87339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 requestBody: required: false content: @@ -87438,8 +87404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *330 - - *331 + - *318 + - *319 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87452,9 +87418,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *568 examples: - default: &581 + default: &569 value: type: file encoding: base64 @@ -87496,8 +87462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *330 - - *331 + - *318 + - *319 - name: dir description: The alternate path to look for a README file in: path @@ -87517,9 +87483,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *568 examples: - default: *581 + default: *569 '404': *6 '422': *15 x-github: @@ -87541,8 +87507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -87552,7 +87518,7 @@ paths: application/json: schema: type: array - items: *582 + items: *570 examples: default: value: @@ -87626,7 +87592,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -87646,8 +87612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -87723,9 +87689,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *570 examples: - default: &586 + default: &574 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -87830,9 +87796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *330 - - *331 - - &584 + - *318 + - *319 + - &572 name: asset_id description: The unique identifier of the asset. in: path @@ -87844,9 +87810,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *571 examples: - default: &585 + default: &573 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -87881,7 +87847,7 @@ paths: type: User site_admin: false '404': *6 - '302': *477 + '302': *465 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87897,9 +87863,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *330 - - *331 - - *584 + - *318 + - *319 + - *572 requestBody: required: false content: @@ -87927,9 +87893,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *571 examples: - default: *585 + default: *573 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87945,9 +87911,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *330 - - *331 - - *584 + - *318 + - *319 + - *572 responses: '204': description: Response @@ -87971,8 +87937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -88057,16 +88023,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *582 + schema: *570 examples: - default: *586 + default: *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88083,8 +88049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *330 - - *331 + - *318 + - *319 - name: tag description: tag parameter in: path @@ -88097,9 +88063,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *570 examples: - default: *586 + default: *574 '404': *6 x-github: githubCloudOnly: false @@ -88121,9 +88087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *330 - - *331 - - &587 + - *318 + - *319 + - &575 name: release_id description: The unique identifier of the release. in: path @@ -88137,9 +88103,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *582 + schema: *570 examples: - default: *586 + default: *574 '401': description: Unauthorized x-github: @@ -88157,9 +88123,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *330 - - *331 - - *587 + - *318 + - *319 + - *575 requestBody: required: false content: @@ -88223,9 +88189,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *570 examples: - default: *586 + default: *574 '404': description: Not Found if the discussion category name is invalid content: @@ -88246,9 +88212,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *330 - - *331 - - *587 + - *318 + - *319 + - *575 responses: '204': description: Response @@ -88268,9 +88234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *330 - - *331 - - *587 + - *318 + - *319 + - *575 - *17 - *19 responses: @@ -88280,7 +88246,7 @@ paths: application/json: schema: type: array - items: *583 + items: *571 examples: default: value: @@ -88317,7 +88283,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88361,9 +88327,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *330 - - *331 - - *587 + - *318 + - *319 + - *575 - name: name in: query required: true @@ -88389,7 +88355,7 @@ paths: description: Response for successful upload content: application/json: - schema: *583 + schema: *571 examples: response-for-successful-upload: value: @@ -88444,9 +88410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *330 - - *331 - - *587 + - *318 + - *319 + - *575 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -88470,11 +88436,11 @@ paths: application/json: schema: type: array - items: *323 + items: *311 examples: - default: *325 + default: *313 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -88493,9 +88459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *330 - - *331 - - *587 + - *318 + - *319 + - *575 requestBody: required: true content: @@ -88525,16 +88491,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '201': description: Reaction created content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '422': *15 x-github: githubCloudOnly: false @@ -88556,10 +88522,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *330 - - *331 - - *587 - - *326 + - *318 + - *319 + - *575 + - *314 responses: '204': description: Response @@ -88583,9 +88549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 - *17 - *19 responses: @@ -88601,8 +88567,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *271 - - &588 + - *269 + - &576 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88621,69 +88587,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *270 + - *576 + - allOf: + - *271 + - *576 - allOf: - *272 - - *588 + - *576 + - allOf: + - *577 + - *576 - allOf: - *273 - - *588 + - *576 - allOf: - *274 - - *588 - - allOf: - - *589 - - *588 + - *576 - allOf: - *275 - - *588 + - *576 - allOf: - *276 - - *588 + - *576 - allOf: - *277 - - *588 + - *576 - allOf: - *278 - - *588 + - *576 - allOf: - *279 - - *588 + - *576 - allOf: - *280 - - *588 + - *576 - allOf: - *281 - - *588 + - *576 - allOf: - *282 - - *588 + - *576 - allOf: - *283 - - *588 + - *576 - allOf: - *284 - - *588 + - *576 - allOf: - *285 - - *588 + - *576 - allOf: - *286 - - *588 + - *576 - allOf: - *287 - - *588 + - *576 - allOf: - *288 - - *588 + - *576 - allOf: - - *289 - - *588 - - allOf: - - *290 - - *588 - - allOf: - - *590 - - *588 + - *578 + - *576 examples: default: value: @@ -88722,8 +88688,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 - name: includes_parents @@ -88734,7 +88700,7 @@ paths: schema: type: boolean default: true - - *591 + - *579 responses: '200': description: Response @@ -88742,7 +88708,7 @@ paths: application/json: schema: type: array - items: *291 + items: *289 examples: default: value: @@ -88773,7 +88739,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *106 + '500': *101 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -88789,8 +88755,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *318 + - *319 requestBody: description: Request body required: true @@ -88810,16 +88776,16 @@ paths: - tag - push default: branch - enforcement: *268 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *266 + items: *267 + conditions: *264 rules: type: array description: An array of rules within the ruleset. - items: *592 + items: *580 required: - name - enforcement @@ -88850,9 +88816,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: &602 + default: &590 value: id: 42 name: super cool ruleset @@ -88885,7 +88851,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *106 + '500': *101 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -88899,12 +88865,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *330 - - *331 - - *593 - - *594 - - *595 - - *596 + - *318 + - *319 + - *581 + - *582 + - *583 + - *584 - *17 - *19 responses: @@ -88912,11 +88878,11 @@ paths: description: Response content: application/json: - schema: *597 + schema: *585 examples: - default: *598 + default: *586 '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88935,19 +88901,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *330 - - *331 - - *599 + - *318 + - *319 + - *587 responses: '200': description: Response content: application/json: - schema: *600 + schema: *588 examples: - default: *601 + default: *589 '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88973,8 +88939,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *318 + - *319 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88994,11 +88960,11 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: *602 + default: *590 '404': *6 - '500': *106 + '500': *101 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -89014,8 +88980,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *318 + - *319 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89040,16 +89006,16 @@ paths: - branch - tag - push - enforcement: *268 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *266 + items: *267 + conditions: *264 rules: description: An array of rules within the ruleset. type: array - items: *592 + items: *580 examples: default: value: @@ -89077,11 +89043,11 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: *602 + default: *590 '404': *6 - '500': *106 + '500': *101 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -89097,8 +89063,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *318 + - *319 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89109,7 +89075,7 @@ paths: '204': description: Response '404': *6 - '500': *106 + '500': *101 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -89121,8 +89087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 - name: ruleset_id @@ -89138,11 +89104,11 @@ paths: application/json: schema: type: array - items: *294 + items: *292 examples: - default: *603 + default: *591 '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89159,8 +89125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *330 - - *331 + - *318 + - *319 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89178,7 +89144,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *592 examples: default: value: @@ -89211,7 +89177,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89233,21 +89199,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *330 - - *331 - - *295 - - *296 - - *297 - - *298 + - *318 + - *319 + - *593 + - *594 + - *595 + - *596 - *48 - *19 - *17 - - *605 - - *606 - - *299 - - *300 - - *301 - - *302 + - *597 + - *598 + - *599 + - *600 + - *601 + - *602 responses: '200': description: Response @@ -89255,11 +89221,11 @@ paths: application/json: schema: type: array - items: &610 + items: &606 type: object properties: - number: *54 - created_at: *55 + number: *149 + created_at: *150 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -89267,15 +89233,15 @@ paths: format: date-time readOnly: true nullable: true - url: *56 - html_url: *57 + url: *152 + html_url: *153 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *607 - resolution: *608 + state: *603 + resolution: *604 resolved_at: type: string format: date-time @@ -89371,7 +89337,7 @@ paths: pull request. ' - oneOf: *609 + oneOf: *605 nullable: true has_more_locations: type: boolean @@ -89498,7 +89464,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89520,16 +89486,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *330 - - *331 - - *431 - - *302 + - *318 + - *319 + - *419 + - *602 responses: '200': description: Response content: application/json: - schema: *610 + schema: *606 examples: default: value: @@ -89560,7 +89526,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89581,9 +89547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *330 - - *331 - - *431 + - *318 + - *319 + - *419 requestBody: required: true content: @@ -89591,8 +89557,8 @@ paths: schema: type: object properties: - state: *607 - resolution: *608 + state: *603 + resolution: *604 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89610,7 +89576,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *606 examples: default: value: @@ -89663,7 +89629,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *77 + '503': *102 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89685,9 +89651,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *330 - - *331 - - *431 + - *318 + - *319 + - *419 - *19 - *17 responses: @@ -89698,7 +89664,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &769 + items: &765 type: object properties: type: @@ -89724,6 +89690,10 @@ paths: example: commit details: oneOf: + - *607 + - *608 + - *609 + - *610 - *611 - *612 - *613 @@ -89733,10 +89703,6 @@ paths: - *617 - *618 - *619 - - *620 - - *621 - - *622 - - *623 examples: default: value: @@ -89796,11 +89762,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *58 + Link: *54 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89822,8 +89788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -89831,14 +89797,14 @@ paths: schema: type: object properties: - reason: &625 + reason: &621 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *624 + placeholder_id: *620 required: - reason - placeholder_id @@ -89855,7 +89821,7 @@ paths: schema: type: object properties: - reason: *625 + reason: *621 expire_at: type: string format: date-time @@ -89878,7 +89844,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *77 + '503': *102 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89890,6 +89856,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -89898,13 +89867,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *77 + '503': *102 '200': description: Response content: @@ -89914,7 +89883,7 @@ paths: properties: incremental_scans: type: array - items: &626 + items: &622 description: Information on a single scan performed by secret scanning on the repository type: object @@ -89940,15 +89909,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *626 + items: *622 backfill_scans: type: array - items: *626 + items: *622 custom_pattern_backfill_scans: type: array items: allOf: - - *626 + - *622 - type: object properties: pattern_name: @@ -90018,8 +89987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *330 - - *331 + - *318 + - *319 - *48 - name: sort description: The property to sort the results by. @@ -90063,9 +90032,9 @@ paths: application/json: schema: type: array - items: *627 + items: *623 examples: - default: *628 + default: *624 '400': *14 '404': *6 x-github: @@ -90088,8 +90057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -90162,7 +90131,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *295 required: - login - type @@ -90249,9 +90218,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *623 examples: - default: &630 + default: &626 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90484,8 +90453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -90589,7 +90558,7 @@ paths: description: Response content: application/json: - schema: *627 + schema: *623 examples: default: value: @@ -90736,17 +90705,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *330 - - *331 - - *629 + - *318 + - *319 + - *625 responses: '200': description: Response content: application/json: - schema: *627 + schema: *623 examples: - default: *630 + default: *626 '403': *29 '404': *6 x-github: @@ -90770,9 +90739,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *330 - - *331 - - *629 + - *318 + - *319 + - *625 requestBody: required: true content: @@ -90845,7 +90814,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *295 required: - login - type @@ -90931,17 +90900,17 @@ paths: description: Response content: application/json: - schema: *627 + schema: *623 examples: - default: *630 - add_credit: *630 + default: *626 + add_credit: *626 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *111 + schema: *107 examples: invalid_state_transition: value: @@ -90972,9 +90941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *330 - - *331 - - *629 + - *318 + - *319 + - *625 responses: '202': *39 '400': *14 @@ -91001,17 +90970,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *330 - - *331 - - *629 + - *318 + - *319 + - *625 responses: '202': description: Response content: application/json: - schema: *338 + schema: *326 examples: - default: *340 + default: *328 '400': *14 '422': *15 '403': *29 @@ -91037,8 +91006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -91115,7 +91084,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -91137,8 +91106,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91147,7 +91116,7 @@ paths: application/json: schema: type: array - items: &631 + items: &627 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91180,8 +91149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -91257,8 +91226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -91354,8 +91323,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91509,8 +91478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91520,7 +91489,7 @@ paths: application/json: schema: type: array - items: *631 + items: *627 examples: default: value: @@ -91553,8 +91522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *330 - - *331 + - *318 + - *319 - name: sha in: path required: true @@ -91608,7 +91577,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *628 examples: default: value: @@ -91662,8 +91631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -91675,9 +91644,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91695,14 +91664,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &633 + schema: &629 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91770,8 +91739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: false content: @@ -91797,7 +91766,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *629 examples: default: value: @@ -91824,8 +91793,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -91845,8 +91814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -91902,7 +91871,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91925,8 +91894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -91934,7 +91903,7 @@ paths: application/json: schema: type: array - items: &634 + items: &630 title: Tag protection description: Tag protection type: object @@ -91986,8 +91955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -92010,7 +91979,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *630 examples: default: value: @@ -92041,8 +92010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92079,8 +92048,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *330 - - *331 + - *318 + - *319 - name: ref in: path required: true @@ -92116,8 +92085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -92129,9 +92098,9 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -92149,8 +92118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *330 - - *331 + - *318 + - *319 - *19 - *17 responses: @@ -92158,7 +92127,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &631 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92170,7 +92139,7 @@ paths: required: - names examples: - default: &636 + default: &632 value: names: - octocat @@ -92193,8 +92162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -92225,9 +92194,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *631 examples: - default: *636 + default: *632 '404': *6 '422': *7 x-github: @@ -92248,9 +92217,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *330 - - *331 - - &637 + - *318 + - *319 + - &633 name: per description: The time frame to display results for. in: query @@ -92279,7 +92248,7 @@ paths: example: 128 clones: type: array - items: &638 + items: &634 title: Traffic type: object properties: @@ -92366,8 +92335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -92457,8 +92426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -92518,9 +92487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *330 - - *331 - - *637 + - *318 + - *319 + - *633 responses: '200': description: Response @@ -92539,7 +92508,7 @@ paths: example: 3782 views: type: array - items: *638 + items: *634 required: - uniques - count @@ -92616,8 +92585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -92653,7 +92622,7 @@ paths: description: Response content: application/json: - schema: *137 + schema: *133 examples: default: value: @@ -92891,8 +92860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92915,8 +92884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -92938,8 +92907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -92965,8 +92934,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *330 - - *331 + - *318 + - *319 - name: ref in: path required: true @@ -93058,9 +93027,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *326 examples: - default: *340 + default: *328 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93101,7 +93070,7 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: default: value: @@ -93290,7 +93259,7 @@ paths: html_url: type: string format: uri - repository: *137 + repository: *133 score: type: number file_size: @@ -93308,7 +93277,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &639 + text_matches: &635 title: Search Result Text Matches type: array items: @@ -93422,7 +93391,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *77 + '503': *102 '422': *15 '403': *29 x-github: @@ -93470,7 +93439,7 @@ paths: enum: - author-date - committer-date - - &640 + - &636 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -93541,7 +93510,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *386 nullable: true comment_count: type: integer @@ -93561,7 +93530,7 @@ paths: url: type: string format: uri - verification: *513 + verification: *501 required: - author - committer @@ -93580,7 +93549,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *386 nullable: true parents: type: array @@ -93593,12 +93562,12 @@ paths: type: string sha: type: string - repository: *137 + repository: *133 score: type: number node_id: type: string - text_matches: *639 + text_matches: *635 required: - sha - node_id @@ -93790,7 +93759,7 @@ paths: - interactions - created - updated - - *640 + - *636 - *17 - *19 - name: advanced_search @@ -93887,11 +93856,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: type: string state_reason: @@ -93908,8 +93877,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *248 + required: *249 nullable: true comments: type: integer @@ -93923,7 +93892,7 @@ paths: type: string format: date-time nullable: true - text_matches: *639 + text_matches: *635 pull_request: type: object properties: @@ -93956,10 +93925,10 @@ paths: type: string score: type: number - author_association: *72 + author_association: *68 draft: type: boolean - repository: *67 + repository: *63 body_html: type: string body_text: @@ -93967,7 +93936,7 @@ paths: timeline_url: type: string format: uri - type: *209 + type: *207 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -93977,9 +93946,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - reactions: *73 + properties: *64 + required: *65 + reactions: *69 required: - assignee - closed_at @@ -94095,7 +94064,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *77 + '503': *102 '422': *15 '304': *37 '403': *29 @@ -94148,7 +94117,7 @@ paths: enum: - created - updated - - *640 + - *636 - *17 - *19 responses: @@ -94192,7 +94161,7 @@ paths: nullable: true score: type: number - text_matches: *639 + text_matches: *635 required: - id - node_id @@ -94277,7 +94246,7 @@ paths: - forks - help-wanted-issues - updated - - *640 + - *636 - *17 - *19 responses: @@ -94496,8 +94465,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *70 + required: *71 nullable: true permissions: type: object @@ -94516,7 +94485,7 @@ paths: - admin - pull - push - text_matches: *639 + text_matches: *635 temp_clone_token: type: string allow_merge_commit: @@ -94718,7 +94687,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *77 + '503': *102 '422': *15 '304': *37 x-github: @@ -94816,7 +94785,7 @@ paths: type: string format: uri nullable: true - text_matches: *639 + text_matches: *635 related: type: array nullable: true @@ -95007,7 +94976,7 @@ paths: - followers - repositories - joined - - *640 + - *636 - *17 - *19 responses: @@ -95111,7 +95080,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *639 + text_matches: *635 blog: type: string nullable: true @@ -95170,7 +95139,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *77 + '503': *102 '422': *15 x-github: githubCloudOnly: false @@ -95190,7 +95159,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &644 + - &640 name: team_id description: The unique identifier of the team. in: path @@ -95202,9 +95171,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *303 examples: - default: *316 + default: *304 '404': *6 x-github: githubCloudOnly: false @@ -95231,7 +95200,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *644 + - *640 requestBody: required: true content: @@ -95294,16 +95263,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *315 + schema: *303 examples: - default: *316 + default: *304 '201': description: Response content: application/json: - schema: *315 + schema: *303 examples: - default: *316 + default: *304 '404': *6 '422': *15 '403': *29 @@ -95331,7 +95300,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *644 + - *640 responses: '204': description: Response @@ -95362,7 +95331,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *644 + - *640 - *48 - *17 - *19 @@ -95373,11 +95342,11 @@ paths: application/json: schema: type: array - items: *317 + items: *305 examples: - default: *645 + default: *641 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95404,7 +95373,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *644 + - *640 requestBody: required: true content: @@ -95438,9 +95407,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *305 examples: - default: *318 + default: *306 x-github: triggersNotification: true githubCloudOnly: false @@ -95467,16 +95436,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *644 - - *319 + - *640 + - *307 responses: '200': description: Response content: application/json: - schema: *317 + schema: *305 examples: - default: *318 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95501,8 +95470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *644 - - *319 + - *640 + - *307 requestBody: required: false content: @@ -95525,9 +95494,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *305 examples: - default: *646 + default: *642 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95552,8 +95521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *644 - - *319 + - *640 + - *307 responses: '204': description: Response @@ -95582,8 +95551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *644 - - *319 + - *640 + - *307 - *48 - *17 - *19 @@ -95594,11 +95563,11 @@ paths: application/json: schema: type: array - items: *320 + items: *308 examples: - default: *647 + default: *643 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95625,8 +95594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *644 - - *319 + - *640 + - *307 requestBody: required: true content: @@ -95648,9 +95617,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *308 examples: - default: *321 + default: *309 x-github: triggersNotification: true githubCloudOnly: false @@ -95677,17 +95646,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *640 + - *307 + - *310 responses: '200': description: Response content: application/json: - schema: *320 + schema: *308 examples: - default: *321 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95712,9 +95681,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *640 + - *307 + - *310 requestBody: required: true content: @@ -95736,9 +95705,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *308 examples: - default: *648 + default: *644 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95763,9 +95732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *640 + - *307 + - *310 responses: '204': description: Response @@ -95794,9 +95763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *640 + - *307 + - *310 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -95822,11 +95791,11 @@ paths: application/json: schema: type: array - items: *323 + items: *311 examples: - default: *325 + default: *313 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95853,9 +95822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *640 + - *307 + - *310 requestBody: required: true content: @@ -95887,9 +95856,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95915,8 +95884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *644 - - *319 + - *640 + - *307 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -95942,11 +95911,11 @@ paths: application/json: schema: type: array - items: *323 + items: *311 examples: - default: *325 + default: *313 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95973,8 +95942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *644 - - *319 + - *640 + - *307 requestBody: required: true content: @@ -96006,9 +95975,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96032,7 +96001,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *644 + - *640 - *17 - *19 responses: @@ -96042,11 +96011,11 @@ paths: application/json: schema: type: array - items: *206 + items: *204 examples: - default: *207 + default: *205 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96070,7 +96039,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *644 + - *640 - name: role description: Filters members returned by their role in the team. in: query @@ -96093,9 +96062,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -96121,8 +96090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *644 - - *63 + - *640 + - *59 responses: '204': description: if user is a member @@ -96158,8 +96127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *644 - - *63 + - *640 + - *59 responses: '204': description: Response @@ -96198,8 +96167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *644 - - *63 + - *640 + - *59 responses: '204': description: Response @@ -96235,16 +96204,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *644 - - *63 + - *640 + - *59 responses: '200': description: Response content: application/json: - schema: *327 + schema: *315 examples: - response-if-user-is-a-team-maintainer: *649 + response-if-user-is-a-team-maintainer: *645 '404': *6 x-github: githubCloudOnly: false @@ -96277,8 +96246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *644 - - *63 + - *640 + - *59 requestBody: required: false content: @@ -96303,9 +96272,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *315 examples: - response-if-users-membership-with-team-is-now-pending: *650 + response-if-users-membership-with-team-is-now-pending: *646 '403': description: Forbidden if team synchronization is set up '422': @@ -96339,8 +96308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *644 - - *63 + - *640 + - *59 responses: '204': description: Response @@ -96368,7 +96337,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *644 + - *640 - *17 - *19 responses: @@ -96378,11 +96347,11 @@ paths: application/json: schema: type: array - items: *328 + items: *316 examples: - default: *651 + default: *647 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -96406,16 +96375,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *644 - - *329 + - *640 + - *317 responses: '200': description: Response content: application/json: - schema: *328 + schema: *316 examples: - default: *652 + default: *648 '404': description: Not Found if project is not managed by this team x-github: @@ -96439,8 +96408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *644 - - *329 + - *640 + - *317 requestBody: required: false content: @@ -96507,8 +96476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *644 - - *329 + - *640 + - *317 responses: '204': description: Response @@ -96535,7 +96504,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *644 + - *640 - *17 - *19 responses: @@ -96545,11 +96514,11 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: - default: *234 + default: *232 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -96577,15 +96546,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *644 - - *330 - - *331 + - *640 + - *318 + - *319 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *653 + schema: *649 examples: alternative-response-with-extra-repository-information: value: @@ -96736,9 +96705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *644 - - *330 - - *331 + - *640 + - *318 + - *319 requestBody: required: false content: @@ -96788,9 +96757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *644 - - *330 - - *331 + - *640 + - *318 + - *319 responses: '204': description: Response @@ -96815,7 +96784,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *644 + - *640 - *17 - *19 responses: @@ -96827,9 +96796,9 @@ paths: type: array items: *169 examples: - response-if-child-teams-exist: *654 + response-if-child-teams-exist: *650 headers: - Link: *58 + Link: *54 '404': *6 '403': *29 '422': *15 @@ -96860,7 +96829,7 @@ paths: application/json: schema: oneOf: - - &656 + - &652 title: Private User description: Private User type: object @@ -97063,7 +97032,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *655 + - *651 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97216,7 +97185,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *652 examples: default: value: @@ -97295,7 +97264,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '304': *37 '404': *6 '403': *29 @@ -97318,7 +97287,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *63 + - *59 responses: '204': description: If the user is blocked @@ -97346,7 +97315,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *63 + - *59 responses: '204': description: Response @@ -97370,7 +97339,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *63 + - *59 responses: '204': description: Response @@ -97419,11 +97388,11 @@ paths: type: integer codespaces: type: array - items: *214 + items: *212 examples: - default: *215 + default: *213 '304': *37 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -97560,21 +97529,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *439 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *439 '401': *25 '403': *29 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97614,7 +97583,7 @@ paths: type: integer secrets: type: array - items: &657 + items: &653 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97654,9 +97623,9 @@ paths: - visibility - selected_repositories_url examples: - default: *454 + default: *442 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97724,13 +97693,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *145 + - *141 responses: '200': description: Response content: application/json: - schema: *657 + schema: *653 examples: default: value: @@ -97760,7 +97729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *145 + - *141 requestBody: required: true content: @@ -97805,7 +97774,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -97833,7 +97802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *145 + - *141 responses: '204': description: Response @@ -97858,7 +97827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *145 + - *141 responses: '200': description: Response @@ -97874,13 +97843,13 @@ paths: type: integer repositories: type: array - items: *137 + items: *133 examples: - default: *658 + default: *654 '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97901,7 +97870,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *145 + - *141 requestBody: required: true content: @@ -97933,7 +97902,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97955,7 +97924,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *145 + - *141 - name: repository_id in: path required: true @@ -97967,7 +97936,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97988,7 +97957,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *145 + - *141 - name: repository_id in: path required: true @@ -98000,7 +97969,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98020,17 +97989,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 responses: '200': description: Response content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *439 '304': *37 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -98054,7 +98023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 requestBody: required: false content: @@ -98084,9 +98053,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *439 '401': *25 '403': *29 '404': *6 @@ -98108,11 +98077,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 responses: '202': *39 '304': *37 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -98137,13 +98106,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 responses: '202': description: Response content: application/json: - schema: &659 + schema: &655 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98184,7 +98153,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &660 + default: &656 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98192,7 +98161,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -98216,7 +98185,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *216 + - *214 - name: export_id in: path required: true @@ -98229,9 +98198,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *655 examples: - default: *660 + default: *656 '404': *6 x-github: githubCloudOnly: false @@ -98252,7 +98221,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *216 + - *214 responses: '200': description: Response @@ -98268,11 +98237,11 @@ paths: type: integer machines: type: array - items: *661 + items: *657 examples: - default: *662 + default: *658 '304': *37 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -98299,7 +98268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *216 + - *214 requestBody: required: true content: @@ -98349,13 +98318,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *338 + repository: *326 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *440 + required: *441 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -99129,17 +99098,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 responses: '200': description: Response content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *439 '304': *37 - '500': *106 + '500': *101 '400': *14 '401': *25 '402': @@ -99169,16 +99138,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 responses: '200': description: Response content: application/json: - schema: *214 + schema: *212 examples: - default: *451 - '500': *106 + default: *439 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -99207,9 +99176,9 @@ paths: application/json: schema: type: array - items: *228 + items: *226 examples: - default: &674 + default: &670 value: - id: 197 name: hello_docker @@ -99310,7 +99279,7 @@ paths: application/json: schema: type: array - items: &663 + items: &659 title: Email description: Email type: object @@ -99375,16 +99344,16 @@ paths: application/json: schema: type: array - items: *663 + items: *659 examples: - default: &676 + default: &672 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -99452,7 +99421,7 @@ paths: application/json: schema: type: array - items: *663 + items: *659 examples: default: value: @@ -99562,9 +99531,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -99595,9 +99564,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -99617,7 +99586,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *63 + - *59 responses: '204': description: if the person is followed by the authenticated user @@ -99647,7 +99616,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *63 + - *59 responses: '204': description: Response @@ -99672,7 +99641,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *63 + - *59 responses: '204': description: Response @@ -99708,7 +99677,7 @@ paths: application/json: schema: type: array - items: &664 + items: &660 title: GPG Key description: A unique encryption key type: object @@ -99839,7 +99808,7 @@ paths: - subkeys - revoked examples: - default: &690 + default: &686 value: - id: 3 name: Octocat's GPG Key @@ -99871,7 +99840,7 @@ paths: revoked: false raw_key: string headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -99924,9 +99893,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *660 examples: - default: &665 + default: &661 value: id: 3 name: Octocat's GPG Key @@ -99983,7 +99952,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &666 + - &662 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99995,9 +99964,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *660 examples: - default: *665 + default: *661 '404': *6 '304': *37 '403': *29 @@ -100020,7 +99989,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *666 + - *662 responses: '204': description: Response @@ -100163,7 +100132,7 @@ paths: suspended_at: suspended_by: headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -100209,11 +100178,11 @@ paths: type: string repositories: type: array - items: *67 + items: *63 examples: - default: *129 + default: *125 headers: - Link: *58 + Link: *54 '404': *6 '403': *29 '304': *37 @@ -100236,7 +100205,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *126 + - *122 responses: '204': description: Response @@ -100262,7 +100231,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *126 + - *122 responses: '204': description: Response @@ -100296,12 +100265,12 @@ paths: application/json: schema: anyOf: - - *204 + - *202 - type: object properties: {} additionalProperties: false examples: - default: *205 + default: *203 '204': description: Response when there are no restrictions x-github: @@ -100325,7 +100294,7 @@ paths: required: true content: application/json: - schema: *524 + schema: *512 examples: default: value: @@ -100336,7 +100305,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *202 examples: default: value: @@ -100417,7 +100386,7 @@ paths: - closed - all default: open - - *212 + - *210 - name: sort description: What to sort results by. in: query @@ -100430,7 +100399,7 @@ paths: - comments default: created - *48 - - *79 + - *74 - *17 - *19 responses: @@ -100440,11 +100409,11 @@ paths: application/json: schema: type: array - items: *71 + items: *67 examples: - default: *213 + default: *211 headers: - Link: *58 + Link: *54 '404': *6 '304': *37 x-github: @@ -100475,7 +100444,7 @@ paths: application/json: schema: type: array - items: &667 + items: &663 title: Key description: Key type: object @@ -100526,7 +100495,7 @@ paths: verified: false read_only: false headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -100576,9 +100545,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *663 examples: - default: &668 + default: &664 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100611,15 +100580,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *552 + - *540 responses: '200': description: Response content: application/json: - schema: *667 + schema: *663 examples: - default: *668 + default: *664 '404': *6 '304': *37 '403': *29 @@ -100642,7 +100611,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *552 + - *540 responses: '204': description: Response @@ -100675,7 +100644,7 @@ paths: application/json: schema: type: array - items: &669 + items: &665 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100732,7 +100701,7 @@ paths: - id - type - login - plan: *90 + plan: *85 required: - billing_cycle - next_billing_date @@ -100743,7 +100712,7 @@ paths: - account - plan examples: - default: &670 + default: &666 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100776,7 +100745,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *54 '304': *37 '401': *25 '404': *6 @@ -100805,11 +100774,11 @@ paths: application/json: schema: type: array - items: *669 + items: *665 examples: - default: *670 + default: *666 headers: - Link: *58 + Link: *54 '304': *37 '401': *25 x-github: @@ -100847,7 +100816,7 @@ paths: application/json: schema: type: array - items: *219 + items: *217 examples: default: value: @@ -100924,7 +100893,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -100949,13 +100918,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: *219 + schema: *217 examples: default: value: @@ -101013,7 +100982,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *105 + - *100 requestBody: required: true content: @@ -101038,7 +101007,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *217 examples: default: value: @@ -101106,7 +101075,7 @@ paths: application/json: schema: type: array - items: *221 + items: *219 examples: default: value: @@ -101259,7 +101228,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -101359,7 +101328,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *219 examples: default: value: @@ -101539,7 +101508,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *222 + - *220 - name: exclude in: query required: false @@ -101552,7 +101521,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *219 examples: default: value: @@ -101746,7 +101715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *222 + - *220 responses: '302': description: Response @@ -101772,7 +101741,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *222 + - *220 responses: '204': description: Response @@ -101801,8 +101770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *222 - - *671 + - *220 + - *667 responses: '204': description: Response @@ -101826,7 +101795,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *222 + - *220 - *17 - *19 responses: @@ -101836,11 +101805,11 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: - default: *234 + default: *232 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -101873,11 +101842,11 @@ paths: application/json: schema: type: array - items: *218 + items: *216 examples: - default: *672 + default: *668 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -101917,7 +101886,7 @@ paths: - docker - nuget - container - - *673 + - *669 - *19 - *17 responses: @@ -101927,10 +101896,10 @@ paths: application/json: schema: type: array - items: *228 + items: *226 examples: - default: *674 - '400': *675 + default: *670 + '400': *671 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101950,16 +101919,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *230 - - *231 + - *228 + - *229 responses: '200': description: Response content: application/json: - schema: *228 + schema: *226 examples: - default: &691 + default: &687 value: id: 40201 name: octo-name @@ -102072,8 +102041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *230 - - *231 + - *228 + - *229 responses: '204': description: Response @@ -102103,8 +102072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *230 - - *231 + - *228 + - *229 - name: token description: package token schema: @@ -102136,8 +102105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *230 - - *231 + - *228 + - *229 - *19 - *17 - name: state @@ -102157,7 +102126,7 @@ paths: application/json: schema: type: array - items: *232 + items: *230 examples: default: value: @@ -102206,15 +102175,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *230 + - *228 + - *229 - *231 - - *233 responses: '200': description: Response content: application/json: - schema: *232 + schema: *230 examples: default: value: @@ -102250,9 +102219,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *230 + - *228 + - *229 - *231 - - *233 responses: '204': description: Response @@ -102282,9 +102251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *230 + - *228 + - *229 - *231 - - *233 responses: '204': description: Response @@ -102340,7 +102309,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *242 examples: default: value: @@ -102412,11 +102381,11 @@ paths: application/json: schema: type: array - items: *663 + items: *659 examples: - default: *676 + default: *672 headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -102525,9 +102494,9 @@ paths: application/json: schema: type: array - items: *67 + items: *63 examples: - default: &683 + default: &679 summary: Default response value: - id: 1296269 @@ -102648,7 +102617,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *54 '422': *15 '304': *37 '403': *29 @@ -102831,9 +102800,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *326 examples: - default: *340 + default: *328 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102871,11 +102840,11 @@ paths: application/json: schema: type: array - items: *526 + items: *514 examples: - default: *677 + default: *673 headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -102896,7 +102865,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *208 + - *206 responses: '204': description: Response @@ -102919,7 +102888,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *208 + - *206 responses: '204': description: Response @@ -102952,7 +102921,7 @@ paths: application/json: schema: type: array - items: &678 + items: &674 title: Social account description: Social media account type: object @@ -102967,12 +102936,12 @@ paths: - provider - url examples: - default: &679 + default: &675 value: - provider: twitter url: https://twitter.com/github headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -103029,9 +102998,9 @@ paths: application/json: schema: type: array - items: *678 + items: *674 examples: - default: *679 + default: *675 '422': *15 '304': *37 '404': *6 @@ -103118,7 +103087,7 @@ paths: application/json: schema: type: array - items: &680 + items: &676 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -103138,7 +103107,7 @@ paths: - title - created_at examples: - default: &705 + default: &701 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103151,7 +103120,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -103204,9 +103173,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *676 examples: - default: &681 + default: &677 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103237,7 +103206,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &682 + - &678 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103249,9 +103218,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *676 examples: - default: *681 + default: *677 '404': *6 '304': *37 '403': *29 @@ -103274,7 +103243,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *682 + - *678 responses: '204': description: Response @@ -103303,7 +103272,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &706 + - &702 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -103326,13 +103295,13 @@ paths: application/json: schema: type: array - items: *67 + items: *63 examples: - default-response: *683 + default-response: *679 application/vnd.github.v3.star+json: schema: type: array - items: &707 + items: &703 title: Starred Repository description: Starred Repository type: object @@ -103340,7 +103309,7 @@ paths: starred_at: type: string format: date-time - repo: *67 + repo: *63 required: - starred_at - repo @@ -103468,7 +103437,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -103488,8 +103457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response if this repository is starred by you @@ -103517,8 +103486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -103542,8 +103511,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -103576,11 +103545,11 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: - default: *234 + default: *232 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -103615,7 +103584,7 @@ paths: application/json: schema: type: array - items: *315 + items: *303 examples: default: value: @@ -103666,7 +103635,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -103693,7 +103662,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *92 + - *87 responses: '200': description: Response @@ -103701,10 +103670,10 @@ paths: application/json: schema: oneOf: - - *656 - - *655 + - *652 + - *651 examples: - default-response: &685 + default-response: &681 summary: Default response value: login: octocat @@ -103739,7 +103708,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &686 + response-with-git-hub-plan-information: &682 summary: Response with GitHub plan information value: login: octocat @@ -103799,7 +103768,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *684 + - *680 - *17 responses: '200': @@ -103810,7 +103779,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: Link: example: ; rel="next" @@ -103840,7 +103809,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *63 + - *59 responses: '200': description: Response @@ -103848,11 +103817,11 @@ paths: application/json: schema: oneOf: - - *656 - - *655 + - *652 + - *651 examples: - default-response: *685 - response-with-git-hub-plan-information: *686 + default-response: *681 + response-with-git-hub-plan-information: *682 '404': *6 x-github: githubCloudOnly: false @@ -103878,7 +103847,7 @@ paths: - *17 - *40 - *41 - - *63 + - *59 requestBody: required: true content: @@ -103901,8 +103870,8 @@ paths: required: - subject_digests examples: - default: *687 - withPredicateType: *688 + default: *683 + withPredicateType: *684 responses: '200': description: Response @@ -103955,7 +103924,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *689 + default: *685 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103973,7 +103942,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *63 + - *59 requestBody: required: true content: @@ -104038,7 +104007,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *63 + - *59 - name: subject_digest description: Subject Digest in: path @@ -104069,7 +104038,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *63 + - *59 - name: attestation_id description: Attestation ID in: path @@ -104107,7 +104076,7 @@ paths: - *17 - *40 - *41 - - *63 + - *59 - name: subject_digest description: Subject Digest in: path @@ -104159,12 +104128,12 @@ paths: initiator: type: string examples: - default: *394 + default: *382 '201': description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -104190,7 +104159,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *63 + - *59 responses: '200': description: Response @@ -104198,9 +104167,9 @@ paths: application/json: schema: type: array - items: *228 + items: *226 examples: - default: *674 + default: *670 '403': *29 '401': *25 x-github: @@ -104223,7 +104192,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104233,7 +104202,7 @@ paths: application/json: schema: type: array - items: *98 + items: *93 examples: default: value: @@ -104295,8 +104264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *63 - - *105 + - *59 + - *100 - *17 - *19 responses: @@ -104306,7 +104275,7 @@ paths: application/json: schema: type: array - items: *98 + items: *93 examples: default: value: @@ -104383,7 +104352,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104393,7 +104362,7 @@ paths: application/json: schema: type: array - items: *98 + items: *93 examples: default: value: @@ -104451,7 +104420,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104463,9 +104432,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104482,7 +104451,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104494,9 +104463,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104513,7 +104482,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *63 + - *59 - name: target_user in: path required: true @@ -104540,8 +104509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *63 - - *79 + - *59 + - *74 - *17 - *19 responses: @@ -104551,11 +104520,11 @@ paths: application/json: schema: type: array - items: *80 + items: *75 examples: - default: *81 + default: *76 headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -104574,7 +104543,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104584,11 +104553,11 @@ paths: application/json: schema: type: array - items: *664 + items: *660 examples: - default: *690 + default: *686 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104610,7 +104579,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *63 + - *59 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -104682,7 +104651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *63 + - *59 responses: '200': description: Response @@ -104690,7 +104659,7 @@ paths: application/json: schema: *22 examples: - default: *523 + default: *511 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104708,7 +104677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104743,7 +104712,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104763,7 +104732,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104773,11 +104742,11 @@ paths: application/json: schema: type: array - items: *218 + items: *216 examples: - default: *672 + default: *668 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104814,8 +104783,8 @@ paths: - docker - nuget - container - - *673 - - *63 + - *669 + - *59 - *19 - *17 responses: @@ -104825,12 +104794,12 @@ paths: application/json: schema: type: array - items: *228 + items: *226 examples: - default: *674 + default: *670 '403': *29 '401': *25 - '400': *675 + '400': *671 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104850,17 +104819,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *230 - - *231 - - *63 + - *228 + - *229 + - *59 responses: '200': description: Response content: application/json: - schema: *228 + schema: *226 examples: - default: *691 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104881,9 +104850,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *230 - - *231 - - *63 + - *228 + - *229 + - *59 responses: '204': description: Response @@ -104915,9 +104884,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *230 - - *231 - - *63 + - *228 + - *229 + - *59 - name: token description: package token schema: @@ -104949,9 +104918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *230 - - *231 - - *63 + - *228 + - *229 + - *59 responses: '200': description: Response @@ -104959,7 +104928,7 @@ paths: application/json: schema: type: array - items: *232 + items: *230 examples: default: value: @@ -105017,16 +104986,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *230 + - *228 + - *229 - *231 - - *233 - - *63 + - *59 responses: '200': description: Response content: application/json: - schema: *232 + schema: *230 examples: default: value: @@ -105061,10 +105030,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *230 + - *228 + - *229 + - *59 - *231 - - *63 - - *233 responses: '204': description: Response @@ -105096,10 +105065,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *230 + - *228 + - *229 + - *59 - *231 - - *63 - - *233 responses: '204': description: Response @@ -105125,7 +105094,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-user-projects parameters: - - *63 + - *59 - name: state description: Indicates the state of the projects to return. in: query @@ -105146,7 +105115,7 @@ paths: application/json: schema: type: array - items: *244 + items: *242 examples: default: value: @@ -105182,7 +105151,7 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -105204,7 +105173,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *63 + - *59 - name: q description: Limit results to projects of the specified type. in: query @@ -105221,11 +105190,11 @@ paths: application/json: schema: type: array - items: *245 + items: *243 examples: - default: *246 + default: *244 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105245,18 +105214,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *247 - - *63 + - *245 + - *59 responses: '200': description: Response content: application/json: - schema: *245 + schema: *243 examples: - default: *246 + default: *244 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105276,8 +105245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *247 - - *63 + - *245 + - *59 - *17 - *40 - *41 @@ -105288,11 +105257,11 @@ paths: application/json: schema: type: array - items: *248 + items: *246 examples: - default: *249 + default: *247 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105312,19 +105281,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *247 - - *692 - - *63 + - *245 + - *688 + - *59 responses: '200': description: Response content: application/json: - schema: *248 + schema: *246 examples: - default: *249 + default: *247 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105345,8 +105314,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *247 - - *63 + - *245 + - *59 - *40 - *41 - *17 @@ -105358,8 +105327,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: @@ -105367,7 +105338,6 @@ paths: maxItems: 50 items: type: string - example: fields[]=123,fields[]=456,fields[]=789 responses: '200': description: Response @@ -105375,11 +105345,11 @@ paths: application/json: schema: type: array - items: *255 + items: *253 examples: - default: *256 + default: *254 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105398,8 +105368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *63 - - *247 + - *59 + - *245 requestBody: required: true description: Details of the item to add to the project. @@ -105436,10 +105406,10 @@ paths: description: Response content: application/json: - schema: *693 + schema: *689 examples: - issue: *254 - pull_request: *254 + issue: *252 + pull_request: *252 '304': *37 '403': *29 '401': *25 @@ -105459,9 +105429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *247 - - *63 - - *257 + - *245 + - *59 + - *255 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -105478,11 +105448,11 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - default: *256 + default: *254 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105501,9 +105471,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *247 - - *63 - - *257 + - *245 + - *59 + - *255 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -105573,13 +105543,13 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - text_field: *256 - number_field: *256 - date_field: *256 - single_select_field: *256 - iteration_field: *256 + text_field: *254 + number_field: *254 + date_field: *254 + single_select_field: *254 + iteration_field: *254 '401': *25 '403': *29 '404': *6 @@ -105599,9 +105569,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *247 - - *63 - - *257 + - *245 + - *59 + - *255 responses: '204': description: Response @@ -105628,7 +105598,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -105638,7 +105608,7 @@ paths: application/json: schema: type: array - items: *98 + items: *93 examples: default: value: @@ -105703,7 +105673,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -105713,7 +105683,7 @@ paths: application/json: schema: type: array - items: *98 + items: *93 examples: default: value: @@ -105776,7 +105746,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *63 + - *59 - name: type description: Limit results to repositories of the specified type. in: query @@ -105819,11 +105789,11 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: - default: *234 + default: *232 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105845,15 +105815,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *63 + - *59 responses: '200': description: Response content: application/json: - schema: *694 + schema: *690 examples: - default: *695 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105875,15 +105845,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *63 + - *59 responses: '200': description: Response content: application/json: - schema: *696 + schema: *692 examples: - default: *697 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105892,7 +105862,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -105900,12 +105873,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user parameters: - - *63 - - *107 - - *698 - - *108 - - *699 - - *700 + - *59 + - *103 + - *694 + - *104 + - *695 + - *696 responses: '200': description: Response when getting a billing premium request usage report @@ -106012,8 +105985,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *106 - '503': *77 + '500': *101 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106035,15 +106008,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *63 + - *59 responses: '200': description: Response content: application/json: - schema: *701 + schema: *697 examples: - default: *702 + default: *698 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106063,11 +106036,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *63 - - *107 - - *703 - - *108 - - *704 + - *59 + - *103 + - *699 + - *104 + - *700 responses: '200': description: Response when getting a billing usage report @@ -106137,8 +106110,8 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *106 - '503': *77 + '500': *101 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106156,7 +106129,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -106166,11 +106139,11 @@ paths: application/json: schema: type: array - items: *678 + items: *674 examples: - default: *679 + default: *675 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106188,7 +106161,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -106198,11 +106171,11 @@ paths: application/json: schema: type: array - items: *680 + items: *676 examples: - default: *705 + default: *701 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106224,8 +106197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *63 - - *706 + - *59 + - *702 - *48 - *17 - *19 @@ -106237,13 +106210,13 @@ paths: schema: anyOf: - type: array - items: *707 + items: *703 - type: array - items: *67 + items: *63 examples: - default-response: *683 + default-response: *679 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106260,7 +106233,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -106270,11 +106243,11 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: - default: *234 + default: *232 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106400,7 +106373,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &708 + enterprise: &704 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106458,7 +106431,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &709 + installation: &705 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106477,7 +106450,7 @@ x-webhooks: required: - id - node_id - organization: &710 + organization: &706 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106537,13 +106510,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &711 + repository: &707 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &741 + properties: &737 id: description: Unique identifier of the repository example: 42 @@ -106563,8 +106536,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *70 + required: *71 nullable: true organization: title: Simple User @@ -107226,7 +107199,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &742 + required: &738 - archive_url - assignees_url - blobs_url @@ -107377,10 +107350,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -107456,11 +107429,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: &712 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + rule: &708 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -107683,11 +107656,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: *712 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + rule: *708 sender: *4 required: - action @@ -107870,11 +107843,11 @@ x-webhooks: - everyone required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: *712 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + rule: *708 sender: *4 required: - action @@ -107958,7 +107931,7 @@ x-webhooks: type: string enum: - completed - check_run: &714 + check_run: &710 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108011,8 +107984,8 @@ x-webhooks: type: string pull_requests: type: array - items: *76 - repository: *137 + items: *72 + repository: *133 status: example: completed type: string @@ -108049,7 +108022,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *713 + deployment: *709 details_url: example: https://example.com type: string @@ -108099,7 +108072,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *76 + items: *72 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -108134,10 +108107,10 @@ x-webhooks: - output - app - pull_requests - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + installation: *705 + enterprise: *704 + organization: *706 + repository: *707 sender: *4 required: - check_run @@ -108530,11 +108503,11 @@ x-webhooks: type: string enum: - created - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *710 + installation: *705 + enterprise: *704 + organization: *706 + repository: *707 sender: *4 required: - check_run @@ -108930,11 +108903,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *710 + installation: *705 + enterprise: *704 + organization: *706 + repository: *707 requested_action: description: The action requested by the user. type: object @@ -109339,11 +109312,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *710 + installation: *705 + enterprise: *704 + organization: *706 + repository: *707 sender: *4 required: - check_run @@ -110320,10 +110293,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -110993,10 +110966,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -111660,10 +111633,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -111829,7 +111802,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *414 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111974,20 +111947,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &715 + commit_oid: &711 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *708 - installation: *709 - organization: *710 - ref: &716 + enterprise: *704 + installation: *705 + organization: *706 + ref: &712 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *711 + repository: *707 sender: *4 required: - action @@ -112152,7 +112125,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *414 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112382,12 +112355,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *711 + enterprise: *704 + installation: *705 + organization: *706 + ref: *712 + repository: *707 sender: *4 required: - action @@ -112482,7 +112455,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *414 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112653,12 +112626,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *711 + enterprise: *704 + installation: *705 + organization: *706 + ref: *712 + repository: *707 sender: *4 required: - action @@ -112824,7 +112797,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *414 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112990,12 +112963,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *711 + enterprise: *704 + installation: *705 + organization: *706 + ref: *712 + repository: *707 sender: *4 required: - action @@ -113095,7 +113068,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *426 + dismissed_comment: *414 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113263,16 +113236,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *711 + repository: *707 sender: *4 required: - action @@ -113369,7 +113342,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *414 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113509,12 +113482,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *711 + enterprise: *704 + installation: *705 + organization: *706 + ref: *712 + repository: *707 sender: *4 required: - action @@ -113771,10 +113744,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -113854,18 +113827,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *710 - pusher_type: &717 + organization: *706 + pusher_type: &713 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &718 + ref: &714 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -113875,7 +113848,7 @@ x-webhooks: enum: - tag - branch - repository: *711 + repository: *707 sender: *4 required: - ref @@ -113957,10 +113930,10 @@ x-webhooks: type: string enum: - created - definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + definition: *256 + enterprise: *704 + installation: *705 + organization: *706 sender: *4 required: - action @@ -114045,9 +114018,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 sender: *4 required: - action @@ -114124,10 +114097,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + definition: *256 + enterprise: *704 + installation: *705 + organization: *706 sender: *4 required: - action @@ -114204,10 +114177,10 @@ x-webhooks: type: string enum: - updated - definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + definition: *256 + enterprise: *704 + installation: *705 + organization: *706 sender: *4 required: - action @@ -114284,19 +114257,19 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - repository: *711 - organization: *710 + enterprise: *704 + installation: *705 + repository: *707 + organization: *706 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *262 + items: *260 old_property_values: type: array description: The old custom property values for the repository. - items: *262 + items: *260 required: - action - repository @@ -114372,18 +114345,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - pusher_type: *717 - ref: *718 + enterprise: *704 + installation: *705 + organization: *706 + pusher_type: *713 + ref: *714 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *711 + repository: *707 sender: *4 required: - ref @@ -114467,11 +114440,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *470 + installation: *705 + organization: *706 + enterprise: *704 + repository: *707 sender: *4 required: - action @@ -114555,11 +114528,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *470 + installation: *705 + organization: *706 + enterprise: *704 + repository: *707 sender: *4 required: - action @@ -114643,11 +114616,11 @@ x-webhooks: type: string enum: - created - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *470 + installation: *705 + organization: *706 + enterprise: *704 + repository: *707 sender: *4 required: - action @@ -114729,11 +114702,11 @@ x-webhooks: type: string enum: - dismissed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *470 + installation: *705 + organization: *706 + enterprise: *704 + repository: *707 sender: *4 required: - action @@ -114815,11 +114788,11 @@ x-webhooks: type: string enum: - fixed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *470 + installation: *705 + organization: *706 + enterprise: *704 + repository: *707 sender: *4 required: - action @@ -114902,11 +114875,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *470 + installation: *705 + organization: *706 + enterprise: *704 + repository: *707 sender: *4 required: - action @@ -114988,11 +114961,11 @@ x-webhooks: type: string enum: - reopened - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *470 + installation: *705 + organization: *706 + enterprise: *704 + repository: *707 sender: *4 required: - action @@ -115069,9 +115042,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - key: &719 + enterprise: *704 + installation: *705 + key: &715 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115107,8 +115080,8 @@ x-webhooks: - verified - created_at - read_only - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -115185,11 +115158,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - key: *719 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + key: *715 + organization: *706 + repository: *707 sender: *4 required: - action @@ -115750,12 +115723,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - workflow: &723 + workflow: &719 title: Workflow type: object nullable: true @@ -116481,13 +116454,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *488 + deployment: *476 pull_requests: type: array - items: *571 - repository: *711 - organization: *710 - installation: *709 + items: *559 + repository: *707 + organization: *706 + installation: *705 sender: *4 responses: '200': @@ -116558,7 +116531,7 @@ x-webhooks: type: string enum: - approved - approver: &720 + approver: &716 type: object properties: avatar_url: @@ -116601,11 +116574,11 @@ x-webhooks: type: string comment: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - reviewers: &721 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + reviewers: &717 type: array items: type: object @@ -116684,7 +116657,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &722 + workflow_job_run: &718 type: object properties: conclusion: @@ -117415,18 +117388,18 @@ x-webhooks: type: string enum: - rejected - approver: *720 + approver: *716 comment: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - reviewers: *721 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + reviewers: *717 sender: *4 since: type: string - workflow_job_run: *722 + workflow_job_run: *718 workflow_job_runs: type: array items: @@ -118130,13 +118103,13 @@ x-webhooks: type: string enum: - requested - enterprise: *708 + enterprise: *704 environment: type: string - installation: *709 - organization: *710 - repository: *711 - requestor: &728 + installation: *705 + organization: *706 + repository: *707 + requestor: &724 title: User type: object nullable: true @@ -120035,12 +120008,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - workflow: *723 + workflow: *719 workflow_run: title: Deployment Workflow Run type: object @@ -120720,7 +120693,7 @@ x-webhooks: type: string enum: - answered - answer: &726 + answer: &722 type: object properties: author_association: @@ -120877,11 +120850,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -121008,11 +120981,11 @@ x-webhooks: - from required: - category - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -121095,11 +121068,11 @@ x-webhooks: type: string enum: - closed - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -121181,7 +121154,7 @@ x-webhooks: type: string enum: - created - comment: &725 + comment: &721 type: object properties: author_association: @@ -121338,11 +121311,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -121425,12 +121398,12 @@ x-webhooks: type: string enum: - deleted - comment: *725 - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + comment: *721 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -121525,12 +121498,12 @@ x-webhooks: - from required: - body - comment: *725 - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + comment: *721 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -121614,11 +121587,11 @@ x-webhooks: type: string enum: - created - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -121700,11 +121673,11 @@ x-webhooks: type: string enum: - deleted - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -121804,11 +121777,11 @@ x-webhooks: type: string required: - from - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -121890,10 +121863,10 @@ x-webhooks: type: string enum: - labeled - discussion: *724 - enterprise: *708 - installation: *709 - label: &727 + discussion: *720 + enterprise: *704 + installation: *705 + label: &723 title: Label type: object properties: @@ -121925,8 +121898,8 @@ x-webhooks: - color - default - description - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -122009,11 +121982,11 @@ x-webhooks: type: string enum: - locked - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -122095,11 +122068,11 @@ x-webhooks: type: string enum: - pinned - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -122181,11 +122154,11 @@ x-webhooks: type: string enum: - reopened - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -122270,16 +122243,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *724 - new_repository: *711 + new_discussion: *720 + new_repository: *707 required: - new_discussion - new_repository - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -122362,10 +122335,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *724 - old_answer: *726 - organization: *710 - repository: *711 + discussion: *720 + old_answer: *722 + organization: *706 + repository: *707 sender: *4 required: - action @@ -122447,12 +122420,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *724 - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + label: *723 + organization: *706 + repository: *707 sender: *4 required: - action @@ -122535,11 +122508,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -122621,11 +122594,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -122698,7 +122671,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *708 + enterprise: *704 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -123358,9 +123331,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *709 - organization: *710 - repository: *711 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - forkee @@ -123506,9 +123479,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 pages: description: The pages that were updated. type: array @@ -123545,7 +123518,7 @@ x-webhooks: - action - sha - html_url - repository: *711 + repository: *707 sender: *4 required: - pages @@ -123621,10 +123594,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 + enterprise: *704 installation: *22 - organization: *710 - repositories: &729 + organization: *706 + repositories: &725 description: An array of repository objects that the installation can access. type: array @@ -123650,8 +123623,8 @@ x-webhooks: - name - full_name - private - repository: *711 - requester: *728 + repository: *707 + requester: *724 sender: *4 required: - action @@ -123726,11 +123699,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 + enterprise: *704 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *706 + repositories: *725 + repository: *707 requester: nullable: true sender: *4 @@ -123806,11 +123779,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *708 + enterprise: *704 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *706 + repositories: *725 + repository: *707 requester: nullable: true sender: *4 @@ -123886,10 +123859,10 @@ x-webhooks: type: string enum: - added - enterprise: *708 + enterprise: *704 installation: *22 - organization: *710 - repositories_added: &730 + organization: *706 + repositories_added: &726 description: An array of repository objects, which were added to the installation. type: array @@ -123935,15 +123908,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *711 - repository_selection: &731 + repository: *707 + repository_selection: &727 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *728 + requester: *724 sender: *4 required: - action @@ -124022,10 +123995,10 @@ x-webhooks: type: string enum: - removed - enterprise: *708 + enterprise: *704 installation: *22 - organization: *710 - repositories_added: *730 + organization: *706 + repositories_added: *726 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -124052,9 +124025,9 @@ x-webhooks: - name - full_name - private - repository: *711 - repository_selection: *731 - requester: *728 + repository: *707 + repository_selection: *727 + requester: *724 sender: *4 required: - action @@ -124133,11 +124106,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *708 + enterprise: *704 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *706 + repositories: *725 + repository: *707 requester: nullable: true sender: *4 @@ -124315,10 +124288,10 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 target_type: type: string @@ -124397,11 +124370,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *708 + enterprise: *704 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *706 + repositories: *725 + repository: *707 requester: nullable: true sender: *4 @@ -124525,8 +124498,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 reactions: title: Reactions type: object @@ -124653,8 +124626,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125448,8 +125421,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125465,7 +125438,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -125798,8 +125771,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -125879,7 +125852,7 @@ x-webhooks: type: string enum: - deleted - comment: &732 + comment: &728 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -126044,8 +126017,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126835,8 +126808,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126852,7 +126825,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -127187,8 +127160,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -127268,7 +127241,7 @@ x-webhooks: type: string enum: - edited - changes: &761 + changes: &757 description: The changes to the comment. type: object properties: @@ -127280,9 +127253,9 @@ x-webhooks: type: string required: - from - comment: *732 - enterprise: *708 - installation: *709 + comment: *728 + enterprise: *704 + installation: *705 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128075,8 +128048,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128092,7 +128065,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -128425,8 +128398,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -128510,15 +128483,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 + blocked_issue: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - blocking_issue_repo: *67 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *67 + blocking_issue_repo: *63 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -128606,15 +128579,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 + blocked_issue: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - blocking_issue_repo: *67 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *67 + blocking_issue_repo: *63 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -128701,15 +128674,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 - blocked_issue_repo: *67 + blocked_issue: *67 + blocked_issue_repo: *63 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *67 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -128797,15 +128770,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 - blocked_issue_repo: *67 + blocked_issue: *67 + blocked_issue_repo: *63 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *67 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -128890,10 +128863,10 @@ x-webhooks: type: string enum: - assigned - assignee: *728 - enterprise: *708 - installation: *709 - issue: &735 + assignee: *724 + enterprise: *704 + installation: *705 + issue: &731 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129682,11 +129655,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129702,7 +129675,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -129803,8 +129776,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -129884,8 +129857,8 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130679,11 +130652,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130699,7 +130672,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -130935,8 +130908,8 @@ x-webhooks: required: - state - closed_at - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -131015,8 +130988,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131801,11 +131774,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131821,7 +131794,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -131921,8 +131894,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -132001,8 +131974,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132809,11 +132782,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132829,7 +132802,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -132908,7 +132881,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &733 + milestone: &729 title: Milestone description: A collection of related issues and pull requests. type: object @@ -133046,8 +133019,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -133146,8 +133119,8 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133936,11 +133909,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133953,7 +133926,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *207 title: description: Title of the issue type: string @@ -134057,9 +134030,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *727 - organization: *710 - repository: *711 + label: *723 + organization: *706 + repository: *707 sender: *4 required: - action @@ -134139,8 +134112,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134928,11 +134901,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134945,7 +134918,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *207 title: description: Title of the issue type: string @@ -135049,9 +135022,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *727 - organization: *710 - repository: *711 + label: *723 + organization: *706 + repository: *707 sender: *4 required: - action @@ -135131,8 +135104,8 @@ x-webhooks: type: string enum: - locked - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135944,11 +135917,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135961,7 +135934,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *207 title: description: Title of the issue type: string @@ -136042,8 +136015,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -136122,8 +136095,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136929,11 +136902,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136949,7 +136922,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -137027,9 +137000,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *733 - organization: *710 - repository: *711 + milestone: *729 + organization: *706 + repository: *707 sender: *4 required: - action @@ -137897,11 +137870,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137994,7 +137967,7 @@ x-webhooks: required: - login - id - type: *209 + type: *207 required: - id - number @@ -138463,8 +138436,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139253,11 +139226,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139273,7 +139246,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -139373,8 +139346,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -139454,9 +139427,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *708 - installation: *709 - issue: &734 + enterprise: *704 + installation: *705 + issue: &730 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -140239,11 +140212,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140259,7 +140232,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -140359,8 +140332,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -140439,8 +140412,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141250,11 +141223,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141348,9 +141321,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *209 - organization: *710 - repository: *711 + type: *207 + organization: *706 + repository: *707 sender: *4 required: - action @@ -142216,11 +142189,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142236,7 +142209,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -142804,11 +142777,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *708 - installation: *709 - issue: *734 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + issue: *730 + organization: *706 + repository: *707 sender: *4 required: - action @@ -142888,12 +142861,12 @@ x-webhooks: type: string enum: - typed - enterprise: *708 - installation: *709 - issue: *735 - type: *209 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + issue: *731 + type: *207 + organization: *706 + repository: *707 sender: *4 required: - action @@ -142974,7 +142947,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &764 + assignee: &760 title: User type: object nullable: true @@ -143044,11 +143017,11 @@ x-webhooks: required: - login - id - enterprise: *708 - installation: *709 - issue: *735 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + issue: *731 + organization: *706 + repository: *707 sender: *4 required: - action @@ -143127,12 +143100,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *708 - installation: *709 - issue: *735 - label: *727 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + issue: *731 + label: *723 + organization: *706 + repository: *707 sender: *4 required: - action @@ -143212,8 +143185,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144023,11 +143996,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144043,7 +144016,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -144121,8 +144094,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -144202,11 +144175,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *708 - installation: *709 - issue: *734 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + issue: *730 + organization: *706 + repository: *707 sender: *4 required: - action @@ -144285,12 +144258,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *708 - installation: *709 - issue: *735 - type: *209 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + issue: *731 + type: *207 + organization: *706 + repository: *707 sender: *4 required: - action @@ -144370,11 +144343,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + label: *723 + organization: *706 + repository: *707 sender: *4 required: - action @@ -144452,11 +144425,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + label: *723 + organization: *706 + repository: *707 sender: *4 required: - action @@ -144566,11 +144539,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + label: *723 + organization: *706 + repository: *707 sender: *4 required: - action @@ -144652,9 +144625,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: &736 + enterprise: *704 + installation: *705 + marketplace_purchase: &732 title: Marketplace Purchase type: object required: @@ -144737,8 +144710,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *710 - previous_marketplace_purchase: &737 + organization: *706 + previous_marketplace_purchase: &733 title: Marketplace Purchase type: object properties: @@ -144818,7 +144791,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *707 sender: *4 required: - action @@ -144898,10 +144871,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 + enterprise: *704 + installation: *705 + marketplace_purchase: *732 + organization: *706 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144984,7 +144957,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *707 sender: *4 required: - action @@ -145066,10 +145039,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 + enterprise: *704 + installation: *705 + marketplace_purchase: *732 + organization: *706 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145151,7 +145124,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *707 sender: *4 required: - action @@ -145232,8 +145205,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 marketplace_purchase: title: Marketplace Purchase type: object @@ -145315,9 +145288,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *710 - previous_marketplace_purchase: *737 - repository: *711 + organization: *706 + previous_marketplace_purchase: *733 + repository: *707 sender: *4 required: - action @@ -145397,12 +145370,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 - previous_marketplace_purchase: *737 - repository: *711 + enterprise: *704 + installation: *705 + marketplace_purchase: *732 + organization: *706 + previous_marketplace_purchase: *733 + repository: *707 sender: *4 required: - action @@ -145504,11 +145477,11 @@ x-webhooks: type: string required: - to - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + member: *724 + organization: *706 + repository: *707 sender: *4 required: - action @@ -145608,11 +145581,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + member: *724 + organization: *706 + repository: *707 sender: *4 required: - action @@ -145691,11 +145664,11 @@ x-webhooks: type: string enum: - removed - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + member: *724 + organization: *706 + repository: *707 sender: *4 required: - action @@ -145773,11 +145746,11 @@ x-webhooks: type: string enum: - added - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + member: *724 + organization: *706 + repository: *707 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145853,7 +145826,7 @@ x-webhooks: required: - login - id - team: &738 + team: &734 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -146076,11 +146049,11 @@ x-webhooks: type: string enum: - removed - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + member: *724 + organization: *706 + repository: *707 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146157,7 +146130,7 @@ x-webhooks: required: - login - id - team: *738 + team: *734 required: - action - scope @@ -146239,8 +146212,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *709 - merge_group: &740 + installation: *705 + merge_group: &736 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -146259,15 +146232,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *739 + head_commit: *735 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -146353,10 +146326,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *709 - merge_group: *740 - organization: *710 - repository: *711 + installation: *705 + merge_group: *736 + organization: *706 + repository: *707 sender: *4 required: - action @@ -146429,7 +146402,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 + enterprise: *704 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146538,16 +146511,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *709 - organization: *710 + installation: *705 + organization: *706 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *737 + required: *738 nullable: true sender: *4 required: @@ -146628,11 +146601,11 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + milestone: *729 + organization: *706 + repository: *707 sender: *4 required: - action @@ -146711,9 +146684,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - milestone: &743 + enterprise: *704 + installation: *705 + milestone: &739 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146850,8 +146823,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -146930,11 +146903,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + milestone: *729 + organization: *706 + repository: *707 sender: *4 required: - action @@ -147044,11 +147017,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + milestone: *729 + organization: *706 + repository: *707 sender: *4 required: - action @@ -147128,11 +147101,11 @@ x-webhooks: type: string enum: - opened - enterprise: *708 - installation: *709 - milestone: *743 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + milestone: *739 + organization: *706 + repository: *707 sender: *4 required: - action @@ -147211,11 +147184,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *728 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + blocked_user: *724 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -147294,11 +147267,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *728 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + blocked_user: *724 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -147377,9 +147350,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - membership: &744 + enterprise: *704 + installation: *705 + membership: &740 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147486,8 +147459,8 @@ x-webhooks: - role - organization_url - user - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -147565,11 +147538,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + membership: *740 + organization: *706 + repository: *707 sender: *4 required: - action @@ -147648,8 +147621,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147765,10 +147738,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 - user: *728 + user: *724 required: - action - invitation @@ -147846,11 +147819,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + membership: *740 + organization: *706 + repository: *707 sender: *4 required: - action @@ -147937,11 +147910,11 @@ x-webhooks: properties: from: type: string - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + membership: *740 + organization: *706 + repository: *707 sender: *4 required: - action @@ -148017,9 +147990,9 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 package: description: Information about the package. type: object @@ -148518,7 +148491,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &745 + items: &741 title: Ruby Gems metadata type: object properties: @@ -148613,7 +148586,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *707 sender: *4 required: - action @@ -148689,9 +148662,9 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 package: description: Information about the package. type: object @@ -149044,7 +149017,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *745 + items: *741 source_url: type: string format: uri @@ -149114,7 +149087,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *707 sender: *4 required: - action @@ -149291,12 +149264,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *708 + enterprise: *704 id: type: integer - installation: *709 - organization: *710 - repository: *711 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - id @@ -149373,7 +149346,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &746 + personal_access_token_request: &742 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149519,10 +149492,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *708 - organization: *710 + enterprise: *704 + organization: *706 sender: *4 - installation: *709 + installation: *705 required: - action - personal_access_token_request @@ -149599,11 +149572,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *746 - enterprise: *708 - organization: *710 + personal_access_token_request: *742 + enterprise: *704 + organization: *706 sender: *4 - installation: *709 + installation: *705 required: - action - personal_access_token_request @@ -149679,11 +149652,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *746 - enterprise: *708 - organization: *710 + personal_access_token_request: *742 + enterprise: *704 + organization: *706 sender: *4 - installation: *709 + installation: *705 required: - action - personal_access_token_request @@ -149758,11 +149731,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *746 - organization: *710 - enterprise: *708 + personal_access_token_request: *742 + organization: *706 + enterprise: *704 sender: *4 - installation: *709 + installation: *705 required: - action - personal_access_token_request @@ -149867,7 +149840,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *747 + last_response: *743 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149899,8 +149872,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 zen: description: Random string of GitHub zen. @@ -150145,10 +150118,10 @@ x-webhooks: - from required: - note - enterprise: *708 - installation: *709 - organization: *710 - project_card: &748 + enterprise: *704 + installation: *705 + organization: *706 + project_card: &744 title: Project Card type: object properties: @@ -150267,7 +150240,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *711 + repository: *707 sender: *4 required: - action @@ -150348,11 +150321,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project_card: *748 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + project_card: *744 + repository: *707 sender: *4 required: - action @@ -150432,9 +150405,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 project_card: title: Project Card type: object @@ -150562,8 +150535,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *737 + required: *738 nullable: true sender: *4 required: @@ -150657,11 +150630,11 @@ x-webhooks: - from required: - note - enterprise: *708 - installation: *709 - organization: *710 - project_card: *748 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + project_card: *744 + repository: *707 sender: *4 required: - action @@ -150755,9 +150728,9 @@ x-webhooks: - from required: - column_id - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 project_card: allOf: - title: Project Card @@ -150947,7 +150920,7 @@ x-webhooks: type: string required: - after_id - repository: *711 + repository: *707 sender: *4 required: - action @@ -151027,10 +151000,10 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - organization: *710 - project: &750 + enterprise: *704 + installation: *705 + organization: *706 + project: &746 title: Project type: object properties: @@ -151154,7 +151127,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *711 + repository: *707 sender: *4 required: - action @@ -151234,10 +151207,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project_column: &749 + enterprise: *704 + installation: *705 + organization: *706 + project_column: &745 title: Project Column type: object properties: @@ -151276,7 +151249,7 @@ x-webhooks: - name - created_at - updated_at - repository: *711 + repository: *707 sender: *4 required: - action @@ -151355,18 +151328,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 + enterprise: *704 + installation: *705 + organization: *706 + project_column: *745 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *737 + required: *738 nullable: true sender: *4 required: @@ -151456,11 +151429,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + project_column: *745 + repository: *707 sender: *4 required: - action @@ -151540,11 +151513,11 @@ x-webhooks: type: string enum: - moved - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + project_column: *745 + repository: *707 sender: *4 required: - action @@ -151624,11 +151597,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + project: *746 + repository: *707 sender: *4 required: - action @@ -151708,18 +151681,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - project: *750 + enterprise: *704 + installation: *705 + organization: *706 + project: *746 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *737 + required: *738 nullable: true sender: *4 required: @@ -151821,11 +151794,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + project: *746 + repository: *707 sender: *4 required: - action @@ -151904,11 +151877,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + project: *746 + repository: *707 sender: *4 required: - action @@ -151989,9 +151962,9 @@ x-webhooks: type: string enum: - closed - installation: *709 - organization: *710 - projects_v2: *245 + installation: *705 + organization: *706 + projects_v2: *243 sender: *4 required: - action @@ -152072,9 +152045,9 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2: *245 + installation: *705 + organization: *706 + projects_v2: *243 sender: *4 required: - action @@ -152155,9 +152128,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2: *245 + installation: *705 + organization: *706 + projects_v2: *243 sender: *4 required: - action @@ -152274,9 +152247,9 @@ x-webhooks: type: string to: type: string - installation: *709 - organization: *710 - projects_v2: *245 + installation: *705 + organization: *706 + projects_v2: *243 sender: *4 required: - action @@ -152359,7 +152332,7 @@ x-webhooks: type: string enum: - archived - changes: &754 + changes: &750 type: object properties: archived_at: @@ -152373,9 +152346,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *709 - organization: *710 - projects_v2_item: &751 + installation: *705 + organization: *706 + projects_v2_item: &747 title: Projects v2 Item description: An item belonging to a project type: object @@ -152393,7 +152366,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *253 + content_type: *251 creator: *4 created_at: type: string @@ -152510,9 +152483,9 @@ x-webhooks: nullable: true to: type: string - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *705 + organization: *706 + projects_v2_item: *747 sender: *4 required: - action @@ -152594,9 +152567,9 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *705 + organization: *706 + projects_v2_item: *747 sender: *4 required: - action @@ -152677,9 +152650,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *705 + organization: *706 + projects_v2_item: *747 sender: *4 required: - action @@ -152785,7 +152758,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &752 + - &748 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152807,7 +152780,7 @@ x-webhooks: required: - id - name - - &753 + - &749 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152841,8 +152814,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *752 - - *753 + - *748 + - *749 required: - field_value - type: object @@ -152858,9 +152831,9 @@ x-webhooks: nullable: true required: - body - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *705 + organization: *706 + projects_v2_item: *747 sender: *4 required: - action @@ -152955,9 +152928,9 @@ x-webhooks: to: type: string nullable: true - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *705 + organization: *706 + projects_v2_item: *747 sender: *4 required: - action @@ -153040,10 +153013,10 @@ x-webhooks: type: string enum: - restored - changes: *754 - installation: *709 - organization: *710 - projects_v2_item: *751 + changes: *750 + installation: *705 + organization: *706 + projects_v2_item: *747 sender: *4 required: - action @@ -153125,9 +153098,9 @@ x-webhooks: type: string enum: - reopened - installation: *709 - organization: *710 - projects_v2: *245 + installation: *705 + organization: *706 + projects_v2: *243 sender: *4 required: - action @@ -153208,14 +153181,14 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2_status_update: &757 + installation: *705 + organization: *706 + projects_v2_status_update: &753 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *755 - required: *756 + properties: *751 + required: *752 sender: *4 required: - action @@ -153296,9 +153269,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2_status_update: *757 + installation: *705 + organization: *706 + projects_v2_status_update: *753 sender: *4 required: - action @@ -153434,9 +153407,9 @@ x-webhooks: type: string format: date nullable: true - installation: *709 - organization: *710 - projects_v2_status_update: *757 + installation: *705 + organization: *706 + projects_v2_status_update: *753 sender: *4 required: - action @@ -153507,10 +153480,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - repository @@ -153587,13 +153560,13 @@ x-webhooks: type: string enum: - assigned - assignee: *728 - enterprise: *708 - installation: *709 - number: &758 + assignee: *724 + enterprise: *704 + installation: *705 + number: &754 description: The pull request number. type: integer - organization: *710 + organization: *706 pull_request: title: Pull Request type: object @@ -155876,7 +155849,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 sender: *4 required: - action @@ -155958,11 +155931,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 number: type: integer - organization: *710 + organization: *706 pull_request: title: Pull Request type: object @@ -158240,7 +158213,7 @@ x-webhooks: - draft reason: type: string - repository: *711 + repository: *707 sender: *4 required: - action @@ -158322,11 +158295,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 number: type: integer - organization: *710 + organization: *706 pull_request: title: Pull Request type: object @@ -160604,7 +160577,7 @@ x-webhooks: - draft reason: type: string - repository: *711 + repository: *707 sender: *4 required: - action @@ -160686,13 +160659,13 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: &759 + enterprise: *704 + installation: *705 + number: *754 + organization: *706 + pull_request: &755 allOf: - - *571 + - *559 - type: object properties: allow_auto_merge: @@ -160754,7 +160727,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *711 + repository: *707 sender: *4 required: - action @@ -160835,12 +160808,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *704 + installation: *705 + number: *754 + organization: *706 + pull_request: *755 + repository: *707 sender: *4 required: - action @@ -160920,11 +160893,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *708 - milestone: *555 - number: *758 - organization: *710 - pull_request: &760 + enterprise: *704 + milestone: *543 + number: *754 + organization: *706 + pull_request: &756 title: Pull Request type: object properties: @@ -163187,7 +163160,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 sender: *4 required: - action @@ -163266,11 +163239,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 number: type: integer - organization: *710 + organization: *706 pull_request: title: Pull Request type: object @@ -165552,7 +165525,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *711 + repository: *707 sender: *4 required: - action @@ -165676,12 +165649,12 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *704 + installation: *705 + number: *754 + organization: *706 + pull_request: *755 + repository: *707 sender: *4 required: - action @@ -165761,11 +165734,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 number: type: integer - organization: *710 + organization: *706 pull_request: title: Pull Request type: object @@ -168032,7 +168005,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 sender: *4 required: - action @@ -168112,11 +168085,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *708 - installation: *709 - label: *727 - number: *758 - organization: *710 + enterprise: *704 + installation: *705 + label: *723 + number: *754 + organization: *706 pull_request: title: Pull Request type: object @@ -170398,7 +170371,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 sender: *4 required: - action @@ -170479,10 +170452,10 @@ x-webhooks: type: string enum: - locked - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *704 + installation: *705 + number: *754 + organization: *706 pull_request: title: Pull Request type: object @@ -172762,7 +172735,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 sender: *4 required: - action @@ -172842,12 +172815,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *708 - milestone: *555 - number: *758 - organization: *710 - pull_request: *760 - repository: *711 + enterprise: *704 + milestone: *543 + number: *754 + organization: *706 + pull_request: *756 + repository: *707 sender: *4 required: - action @@ -172926,12 +172899,12 @@ x-webhooks: type: string enum: - opened - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *704 + installation: *705 + number: *754 + organization: *706 + pull_request: *755 + repository: *707 sender: *4 required: - action @@ -173012,12 +172985,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *704 + installation: *705 + number: *754 + organization: *706 + pull_request: *755 + repository: *707 sender: *4 required: - action @@ -173097,12 +173070,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *704 + installation: *705 + number: *754 + organization: *706 + pull_request: *755 + repository: *707 sender: *4 required: - action @@ -173468,9 +173441,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 pull_request: type: object properties: @@ -175640,7 +175613,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *707 sender: *4 required: - action @@ -175720,7 +175693,7 @@ x-webhooks: type: string enum: - deleted - comment: &762 + comment: &758 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -176005,9 +175978,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 pull_request: type: object properties: @@ -178165,7 +178138,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *707 sender: *4 required: - action @@ -178245,11 +178218,11 @@ x-webhooks: type: string enum: - edited - changes: *761 - comment: *762 - enterprise: *708 - installation: *709 - organization: *710 + changes: *757 + comment: *758 + enterprise: *704 + installation: *705 + organization: *706 pull_request: type: object properties: @@ -180410,7 +180383,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *707 sender: *4 required: - action @@ -180491,9 +180464,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 pull_request: title: Simple Pull Request type: object @@ -182666,7 +182639,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *707 review: description: The review that was affected. type: object @@ -182913,9 +182886,9 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 pull_request: title: Simple Pull Request type: object @@ -184969,8 +184942,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 - review: &763 + repository: *707 + review: &759 description: The review that was affected. type: object properties: @@ -185203,12 +185176,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 number: description: The pull request number. type: integer - organization: *710 + organization: *706 pull_request: title: Pull Request type: object @@ -187491,7 +187464,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 requested_reviewer: title: User type: object @@ -187575,12 +187548,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 number: description: The pull request number. type: integer - organization: *710 + organization: *706 pull_request: title: Pull Request type: object @@ -189870,7 +189843,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 requested_team: title: Team description: Groups of organization members that gives permissions @@ -190062,12 +190035,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 number: description: The pull request number. type: integer - organization: *710 + organization: *706 pull_request: title: Pull Request type: object @@ -192352,7 +192325,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 requested_reviewer: title: User type: object @@ -192437,12 +192410,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 number: description: The pull request number. type: integer - organization: *710 + organization: *706 pull_request: title: Pull Request type: object @@ -194718,7 +194691,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194899,9 +194872,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 pull_request: title: Simple Pull Request type: object @@ -197076,8 +197049,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 - review: *763 + repository: *707 + review: *759 sender: *4 required: - action @@ -197157,9 +197130,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 pull_request: title: Simple Pull Request type: object @@ -199229,7 +199202,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *707 sender: *4 thread: type: object @@ -199616,9 +199589,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 pull_request: title: Simple Pull Request type: object @@ -201674,7 +201647,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *707 sender: *4 thread: type: object @@ -202064,10 +202037,10 @@ x-webhooks: type: string before: type: string - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *704 + installation: *705 + number: *754 + organization: *706 pull_request: title: Pull Request type: object @@ -204338,7 +204311,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 sender: *4 required: - action @@ -204420,11 +204393,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *764 - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + assignee: *760 + enterprise: *704 + installation: *705 + number: *754 + organization: *706 pull_request: title: Pull Request type: object @@ -206707,7 +206680,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 sender: *4 required: - action @@ -206786,11 +206759,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *708 - installation: *709 - label: *727 - number: *758 - organization: *710 + enterprise: *704 + installation: *705 + label: *723 + number: *754 + organization: *706 pull_request: title: Pull Request type: object @@ -209063,7 +209036,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 sender: *4 required: - action @@ -209144,10 +209117,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *704 + installation: *705 + number: *754 + organization: *706 pull_request: title: Pull Request type: object @@ -211412,7 +211385,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 sender: *4 required: - action @@ -211612,7 +211585,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *708 + enterprise: *704 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -211704,8 +211677,8 @@ x-webhooks: - url - author - committer - installation: *709 - organization: *710 + installation: *705 + organization: *706 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -212280,9 +212253,9 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 registry_package: type: object properties: @@ -212728,7 +212701,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *745 + items: *741 summary: type: string tag_name: @@ -212782,7 +212755,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *707 sender: *4 required: - action @@ -212860,9 +212833,9 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 registry_package: type: object properties: @@ -213170,7 +213143,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *745 + items: *741 summary: type: string tag_name: @@ -213219,7 +213192,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *707 sender: *4 required: - action @@ -213296,10 +213269,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - release: &765 + enterprise: *704 + installation: *705 + organization: *706 + release: &761 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213617,7 +213590,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *711 + repository: *707 sender: *4 required: - action @@ -213694,11 +213667,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + release: *761 + repository: *707 sender: *4 required: - action @@ -213815,11 +213788,11 @@ x-webhooks: type: boolean required: - to - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + release: *761 + repository: *707 sender: *4 required: - action @@ -213897,9 +213870,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -214221,7 +214194,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *711 + repository: *707 sender: *4 required: - action @@ -214297,10 +214270,10 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - release: &766 + enterprise: *704 + installation: *705 + organization: *706 + release: &762 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214619,7 +214592,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *711 + repository: *707 sender: *4 required: - action @@ -214695,11 +214668,11 @@ x-webhooks: type: string enum: - released - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + release: *761 + repository: *707 sender: *4 required: - action @@ -214775,11 +214748,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *708 - installation: *709 - organization: *710 - release: *766 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + release: *762 + repository: *707 sender: *4 required: - action @@ -214855,11 +214828,11 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_advisory: *627 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + repository_advisory: *623 sender: *4 required: - action @@ -214935,11 +214908,11 @@ x-webhooks: type: string enum: - reported - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_advisory: *627 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + repository_advisory: *623 sender: *4 required: - action @@ -215015,10 +214988,10 @@ x-webhooks: type: string enum: - archived - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -215095,10 +215068,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -215176,10 +215149,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -215263,10 +215236,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -215378,10 +215351,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -215453,10 +215426,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 status: type: string @@ -215537,10 +215510,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -215617,10 +215590,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -215714,10 +215687,10 @@ x-webhooks: - name required: - repository - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -215797,11 +215770,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_ruleset: *291 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + repository_ruleset: *289 sender: *4 required: - action @@ -215879,11 +215852,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_ruleset: *291 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + repository_ruleset: *289 sender: *4 required: - action @@ -215961,11 +215934,11 @@ x-webhooks: type: string enum: - edited - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_ruleset: *291 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + repository_ruleset: *289 changes: type: object properties: @@ -215984,16 +215957,16 @@ x-webhooks: properties: added: type: array - items: *266 + items: *264 deleted: type: array - items: *266 + items: *264 updated: type: array items: type: object properties: - condition: *266 + condition: *264 changes: type: object properties: @@ -216026,16 +215999,16 @@ x-webhooks: properties: added: type: array - items: *592 + items: *580 deleted: type: array - items: *592 + items: *580 updated: type: array items: type: object properties: - rule: *592 + rule: *580 changes: type: object properties: @@ -216269,10 +216242,10 @@ x-webhooks: - from required: - owner - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -216350,10 +216323,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -216431,7 +216404,7 @@ x-webhooks: type: string enum: - create - alert: &767 + alert: &763 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -216552,10 +216525,10 @@ x-webhooks: type: string enum: - open - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -216761,10 +216734,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -216842,11 +216815,11 @@ x-webhooks: type: string enum: - reopen - alert: *767 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *763 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -217045,10 +217018,10 @@ x-webhooks: enum: - fixed - open - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -217126,11 +217099,11 @@ x-webhooks: type: string enum: - created - alert: &768 + alert: &764 type: object properties: - number: *54 - created_at: *55 + number: *149 + created_at: *150 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -217138,8 +217111,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *56 - html_url: *57 + url: *152 + html_url: *153 locations_url: type: string format: uri @@ -217244,10 +217217,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -217328,11 +217301,11 @@ x-webhooks: type: string enum: - created - alert: *768 - installation: *709 - location: *769 - organization: *710 - repository: *711 + alert: *764 + installation: *705 + location: *765 + organization: *706 + repository: *707 sender: *4 required: - location @@ -217570,11 +217543,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *764 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -217652,11 +217625,11 @@ x-webhooks: type: string enum: - reopened - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *764 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -217734,11 +217707,11 @@ x-webhooks: type: string enum: - resolved - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *764 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -217816,11 +217789,11 @@ x-webhooks: type: string enum: - validated - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *764 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -217946,10 +217919,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *711 - enterprise: *708 - installation: *709 - organization: *710 + repository: *707 + enterprise: *704 + installation: *705 + organization: *706 sender: *4 required: - action @@ -218027,11 +218000,11 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - security_advisory: &770 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + security_advisory: &766 description: The details of the security advisory, including summary, description, and severity. type: object @@ -218214,11 +218187,11 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - security_advisory: *770 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + security_advisory: *766 sender: *4 required: - action @@ -218291,10 +218264,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -218478,11 +218451,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *265 - enterprise: *708 - installation: *709 - organization: *710 - repository: *338 + security_and_analysis: *263 + enterprise: *704 + installation: *705 + organization: *706 + repository: *326 sender: *4 required: - changes @@ -218560,12 +218533,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - sponsorship: &771 + sponsorship: &767 type: object properties: created_at: @@ -218866,12 +218839,12 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - sponsorship: *771 + sponsorship: *767 required: - action - sponsorship @@ -218959,12 +218932,12 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - sponsorship: *771 + sponsorship: *767 required: - action - changes @@ -219041,17 +219014,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &772 + effective_date: &768 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - sponsorship: *771 + sponsorship: *767 required: - action - sponsorship @@ -219125,7 +219098,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &773 + changes: &769 type: object properties: tier: @@ -219169,13 +219142,13 @@ x-webhooks: - from required: - tier - effective_date: *772 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + effective_date: *768 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - sponsorship: *771 + sponsorship: *767 required: - action - changes @@ -219252,13 +219225,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *773 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + changes: *769 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - sponsorship: *771 + sponsorship: *767 required: - action - changes @@ -219332,10 +219305,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219418,10 +219391,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219841,15 +219814,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *708 + enterprise: *704 id: description: The unique identifier of the status. type: integer - installation: *709 + installation: *705 name: type: string - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 sha: description: The Commit SHA. @@ -219958,15 +219931,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - parent_issue_repo: *67 + parent_issue: *67 + parent_issue_repo: *63 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - installation: *709 - organization: *710 - repository: *711 + sub_issue: *67 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -220050,15 +220023,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - parent_issue_repo: *67 + parent_issue: *67 + parent_issue_repo: *63 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - installation: *709 - organization: *710 - repository: *711 + sub_issue: *67 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -220142,15 +220115,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - sub_issue_repo: *67 + sub_issue: *67 + sub_issue_repo: *63 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - installation: *709 - organization: *710 - repository: *711 + parent_issue: *67 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -220234,15 +220207,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - sub_issue_repo: *67 + sub_issue: *67 + sub_issue_repo: *63 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - installation: *709 - organization: *710 - repository: *711 + parent_issue: *67 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -220319,12 +220292,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - team: &774 + team: &770 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -220547,9 +220520,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 repository: title: Repository description: A git repository @@ -221007,7 +220980,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *770 required: - action - team @@ -221083,9 +221056,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 repository: title: Repository description: A git repository @@ -221543,7 +221516,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *770 required: - action - team @@ -221620,9 +221593,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 repository: title: Repository description: A git repository @@ -222080,7 +222053,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *770 required: - action - team @@ -222224,9 +222197,9 @@ x-webhooks: - from required: - permissions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 repository: title: Repository description: A git repository @@ -222684,7 +222657,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *770 required: - action - changes @@ -222762,9 +222735,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 repository: title: Repository description: A git repository @@ -223222,7 +223195,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *770 required: - action - team @@ -223298,10 +223271,10 @@ x-webhooks: type: string enum: - started - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -223374,16 +223347,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *708 + enterprise: *704 inputs: type: object nullable: true additionalProperties: true - installation: *709 - organization: *710 + installation: *705 + organization: *706 ref: type: string - repository: *711 + repository: *707 sender: *4 workflow: type: string @@ -223465,10 +223438,10 @@ x-webhooks: type: string enum: - completed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 workflow_job: allOf: @@ -223705,7 +223678,7 @@ x-webhooks: type: string required: - conclusion - deployment: *488 + deployment: *476 required: - action - repository @@ -223784,10 +223757,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 workflow_job: allOf: @@ -224047,7 +224020,7 @@ x-webhooks: required: - status - steps - deployment: *488 + deployment: *476 required: - action - repository @@ -224126,10 +224099,10 @@ x-webhooks: type: string enum: - queued - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 workflow_job: type: object @@ -224264,7 +224237,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *476 required: - action - repository @@ -224343,10 +224316,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 workflow_job: type: object @@ -224482,7 +224455,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *476 required: - action - repository @@ -224562,12 +224535,12 @@ x-webhooks: type: string enum: - completed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - workflow: *723 + workflow: *719 workflow_run: title: Workflow Run type: object @@ -225566,12 +225539,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - workflow: *723 + workflow: *719 workflow_run: title: Workflow Run type: object @@ -226555,12 +226528,12 @@ x-webhooks: type: string enum: - requested - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - workflow: *723 + workflow: *719 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 744d87ec2..08b54ebef 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -20480,29 +20480,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -22110,1758 +22087,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "in": "query", - "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "resolved" - ] - } - }, - { - "name": "secret_type", - "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "resolution", - "in": "query", - "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "sort", - "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated" - ], - "default": "created" - } - }, - { - "name": "direction", - "description": "The direction to sort the results by.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ], - "default": "desc" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "validity", - "in": "query", - "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "is_publicly_leaked", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "is_multi_repo", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "hide_secret", - "in": "query", - "description": "A boolean value representing whether or not to hide literal secrets in the results.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "number": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - }, - "created_at": { - "type": "string", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "updated_at": { - "type": "string", - "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "url": { - "type": "string", - "description": "The REST API URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "html_url": { - "type": "string", - "description": "The GitHub URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", - "type": "string", - "enum": [ - "open", - "resolved" - ] - }, - "resolution": { - "type": "string", - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "nullable": true, - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests" - ] - }, - "resolved_at": { - "type": "string", - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "resolved_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "example": 1296269, - "description": "A unique identifier of the repository." - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "description": "The GraphQL identifier of the repository." - }, - "name": { - "type": "string", - "example": "Hello-World", - "description": "The name of the repository." - }, - "full_name": { - "type": "string", - "example": "octocat/Hello-World", - "description": "The full, globally unique, name of the repository." - }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World", - "description": "The URL to view the repository on GitHub.com." - }, - "description": { - "type": "string", - "example": "This your first repo!", - "nullable": true, - "description": "The repository description." - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World", - "description": "The URL to get more information about the repository from the GitHub API." - }, - "archive_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "description": "A template for the API URL to download the repository as an archive." - }, - "assignees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "description": "A template for the API URL to list the available assignees for issues in the repository." - }, - "blobs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." - }, - "branches_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "description": "A template for the API URL to get information about branches in the repository." - }, - "collaborators_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "description": "A template for the API URL to get information about collaborators of the repository." - }, - "comments_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "description": "A template for the API URL to get information about comments on the repository." - }, - "commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "description": "A template for the API URL to get information about commits on the repository." - }, - "compare_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "description": "A template for the API URL to compare two commits or refs." - }, - "contents_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "description": "A template for the API URL to get the contents of the repository." - }, - "contributors_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/contributors", - "description": "A template for the API URL to list the contributors to the repository." - }, - "deployments_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/deployments", - "description": "The API URL to list the deployments of the repository." - }, - "downloads_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/downloads", - "description": "The API URL to list the downloads on the repository." - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/events", - "description": "The API URL to list the events of the repository." - }, - "forks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/forks", - "description": "The API URL to list the forks of the repository." - }, - "git_commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "description": "A template for the API URL to get information about Git commits of the repository." - }, - "git_refs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "description": "A template for the API URL to get information about Git refs of the repository." - }, - "git_tags_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "description": "A template for the API URL to get information about Git tags of the repository." - }, - "issue_comment_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "description": "A template for the API URL to get information about issue comments on the repository." - }, - "issue_events_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "description": "A template for the API URL to get information about issue events on the repository." - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "description": "A template for the API URL to get information about issues on the repository." - }, - "keys_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "description": "A template for the API URL to get information about deploy keys on the repository." - }, - "labels_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "description": "A template for the API URL to get information about labels of the repository." - }, - "languages_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/languages", - "description": "The API URL to get information about the languages of the repository." - }, - "merges_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/merges", - "description": "The API URL to merge branches in the repository." - }, - "milestones_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "description": "A template for the API URL to get information about milestones of the repository." - }, - "notifications_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "description": "A template for the API URL to get information about notifications on the repository." - }, - "pulls_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "description": "A template for the API URL to get information about pull requests on the repository." - }, - "releases_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "description": "A template for the API URL to get information about releases on the repository." - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "description": "The API URL to list the stargazers on the repository." - }, - "statuses_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "description": "A template for the API URL to get information about statuses of a commit." - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "description": "The API URL to list the subscribers on the repository." - }, - "subscription_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscription", - "description": "The API URL to subscribe to notifications for this repository." - }, - "tags_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/tags", - "description": "The API URL to get information about tags on the repository." - }, - "teams_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." - }, - "trees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." - }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the repository." - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ] - }, - "push_protection_bypassed": { - "type": "boolean", - "description": "Whether push protection was bypassed for the detected secret.", - "nullable": true - }, - "push_protection_bypassed_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "push_protection_bypassed_at": { - "type": "string", - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "push_protection_bypass_request_reviewer": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "push_protection_bypass_request_reviewer_comment": { - "type": "string", - "description": "An optional comment when reviewing a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_comment": { - "type": "string", - "description": "An optional comment when requesting a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_html_url": { - "type": "string", - "format": "uri", - "description": "The URL to a push protection bypass request.", - "nullable": true - }, - "resolution_comment": { - "type": "string", - "description": "The comment that was optionally added when this alert was closed", - "nullable": true - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": "boolean", - "description": "Whether the secret was publicly leaked.", - "nullable": true - }, - "multi_repo": { - "type": "boolean", - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", - "nullable": true - }, - "is_base64_encoded": { - "type": "boolean", - "description": "A boolean value representing whether or not alert is base64 encoded", - "nullable": true - }, - "first_location_detected": { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "example": "/example/secrets.txt" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "example": "/example/Home.md" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_title_url" - ] - }, - { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_body_url" - ] - }, - { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "issue_comment_url" - ] - }, - { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082" - } - }, - "required": [ - "discussion_title_url" - ] - }, - { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussion-4566270" - } - }, - "required": [ - "discussion_body_url" - ] - }, - { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - } - }, - "required": [ - "discussion_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_title_url" - ] - }, - { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_body_url" - ] - }, - { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - } - }, - "required": [ - "pull_request_review_url" - ] - }, - { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - } - ], - "nullable": true - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - } - } - } - }, - "examples": { - "default": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true, - "assigned_to": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -65205,7 +63430,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" ], @@ -83324,352 +81549,562 @@ "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": { + "nullable": true, + "type": "array", + "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": { - "nullable": true, - "type": "array", - "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 ] } } @@ -83677,117 +82112,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" } } }, @@ -100085,29 +98414,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -148274,7 +146580,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": { @@ -148282,8 +146588,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + } } }, { @@ -304039,16 +302344,6 @@ "default": "desc" } }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -304076,29 +302371,6 @@ "schema": { "type": "string" } - }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } } ], "responses": { @@ -488890,7 +487162,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -624057,7 +622329,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": { @@ -624065,8 +622337,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + } } } ], @@ -655215,7 +653486,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/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index f6e9af8bd..8bebe4f42 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &307 + type: &295 type: string description: The type of credit the user is receiving. enum: @@ -988,7 +988,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &112 + schema: &108 title: Validation Error Simple description: Validation Error Simple type: object @@ -1021,7 +1021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &629 + - &625 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1139,7 +1139,7 @@ paths: GitHub. type: object nullable: true - properties: &68 + properties: &64 id: description: Unique identifier of the GitHub app example: 37 @@ -1272,7 +1272,7 @@ paths: about itself. example: 5 type: integer - required: &69 + required: &65 - id - node_id - owner @@ -1577,7 +1577,7 @@ paths: schema: type: integer default: 30 - - &187 + - &185 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1593,7 +1593,7 @@ paths: application/json: schema: type: array - items: &188 + items: &186 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1673,7 +1673,7 @@ paths: - installation_id - repository_id examples: - default: &189 + default: &187 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1732,7 +1732,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &111 + schema: &107 title: Validation Error description: Validation Error type: object @@ -1801,7 +1801,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &188 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1915,7 +1915,7 @@ paths: - request - response examples: - default: &191 + default: &189 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2116,7 +2116,7 @@ paths: parameters: - *17 - *19 - - &79 + - &74 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2653,7 +2653,7 @@ paths: suspended_at: suspended_by: headers: - Link: &58 + Link: &54 example: ; rel="next", ; rel="last" schema: @@ -2842,11 +2842,11 @@ paths: - selected repositories: type: array - items: &67 + items: &63 title: Repository description: A repository on GitHub. type: object - properties: &263 + properties: &261 id: description: Unique identifier of the repository example: 42 @@ -2866,7 +2866,7 @@ paths: title: License Simple description: License Simple type: object - properties: &74 + properties: &70 key: type: string example: mit @@ -2888,7 +2888,7 @@ paths: html_url: type: string format: uri - required: &75 + required: &71 - key - name - url @@ -3284,7 +3284,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &264 + required: &262 - archive_url - assignees_url - blobs_url @@ -5071,7 +5071,7 @@ paths: responses: '202': *39 '422': *7 - '500': &106 + '500': &101 description: Internal Error content: application/json: @@ -8170,7 +8170,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &103 + properties: &98 id: type: integer format: int64 @@ -8397,7 +8397,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &104 + required: &99 - archive_url - assignees_url - blobs_url @@ -8589,7 +8589,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &479 + - &467 name: has in: query description: |- @@ -8631,31 +8631,6 @@ paths: - *48 - *40 - *41 - - &177 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &178 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - *17 responses: '200': @@ -8664,11 +8639,11 @@ paths: application/json: schema: type: array - items: &179 + items: &177 type: object description: A Dependabot alert. properties: - number: &54 + number: &149 type: integer description: The security alert number. readOnly: true @@ -8730,7 +8705,7 @@ paths: - unknown - direct - transitive - security_advisory: &480 + security_advisory: &468 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8933,23 +8908,23 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *52 - url: &56 + url: &152 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &57 + html_url: &153 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &55 + created_at: &150 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &153 + updated_at: &151 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8992,7 +8967,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &481 + auto_dismissed_at: &469 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9018,7 +8993,7 @@ paths: - repository additionalProperties: false examples: - default: &180 + default: &178 value: - number: 2 state: dismissed @@ -9346,718 +9321,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - *42 - - &295 - name: state - in: query - description: Set to `open` or `resolved` to only list secret scanning alerts - in a specific state. - required: false - schema: - type: string - enum: - - open - - resolved - - &296 - name: secret_type - in: query - description: A comma-separated list of secret types to return. All default - secret patterns are returned. To return generic patterns, pass the token - name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" - for a complete list of secret types. - required: false - schema: - type: string - - &297 - name: resolution - in: query - description: A comma-separated list of resolutions. Only secret scanning alerts - with one of these resolutions are listed. Valid resolutions are `false_positive`, - `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. - required: false - schema: - type: string - - &298 - name: sort - description: The property to sort the results by. `created` means when the - alert was created. `updated` means when the alert was updated or resolved. - in: query - required: false - schema: - type: string - enum: - - created - - updated - default: created - - *48 - - *17 - - *40 - - *41 - - &299 - name: validity - in: query - description: A comma-separated list of validities that, when present, will - return alerts that match the validities in this list. Valid options are - `active`, `inactive`, and `unknown`. - required: false - schema: - type: string - - &300 - name: is_publicly_leaked - in: query - description: A boolean value representing whether or not to filter alerts - by the publicly-leaked tag being present. - required: false - schema: - type: boolean - default: false - - &301 - name: is_multi_repo - in: query - description: A boolean value representing whether or not to filter alerts - by the multi-repo tag being present. - required: false - schema: - type: boolean - default: false - - &302 - name: hide_secret - in: query - description: A boolean value representing whether or not to hide literal secrets - in the results. - required: false - schema: - type: boolean - default: false - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &303 - type: object - properties: - number: *54 - created_at: *55 - updated_at: - type: string - description: 'The time that the alert was last updated in ISO - 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - format: date-time - readOnly: true - nullable: true - url: *56 - html_url: *57 - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this - alert. - state: &607 - description: Sets the state of the secret scanning alert. You - must provide `resolution` when you set the state to `resolved`. - type: string - enum: - - open - - resolved - resolution: &608 - type: string - description: "**Required when the `state` is `resolved`.** The - reason for resolving the alert." - nullable: true - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - resolved_at: - type: string - format: date-time - description: 'The time that the alert was resolved in ISO 8601 - format: `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - resolved_by: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: *53 - push_protection_bypassed: - type: boolean - description: Whether push protection was bypassed for the detected - secret. - nullable: true - push_protection_bypassed_by: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - push_protection_bypassed_at: - type: string - format: date-time - description: 'The time that push protection was bypassed in - ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - push_protection_bypass_request_reviewer: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - push_protection_bypass_request_reviewer_comment: - type: string - description: An optional comment when reviewing a push protection - bypass. - nullable: true - push_protection_bypass_request_comment: - type: string - description: An optional comment when requesting a push protection - bypass. - nullable: true - push_protection_bypass_request_html_url: - type: string - format: uri - description: The URL to a push protection bypass request. - nullable: true - resolution_comment: - type: string - description: The comment that was optionally added when this - alert was closed - nullable: true - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: boolean - description: Whether the secret was publicly leaked. - nullable: true - multi_repo: - type: boolean - description: Whether the detected secret was found in multiple - repositories in the same organization or enterprise. - nullable: true - is_base64_encoded: - type: boolean - description: A boolean value representing whether or not alert - is base64 encoded - nullable: true - first_location_detected: - description: 'Details on the location where the token was initially - detected. This can be a commit, wiki commit, issue, discussion, - pull request. - - ' - oneOf: &609 - - &611 - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - &612 - description: Represents a 'wiki_commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - &613 - description: Represents an 'issue_title' secret scanning location - type. This location type shows that a secret was detected - in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - &614 - description: Represents an 'issue_body' secret scanning location - type. This location type shows that a secret was detected - in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - &615 - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - &616 - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - &617 - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - &618 - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - &619 - description: Represents a 'pull_request_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a pull request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - &620 - description: Represents a 'pull_request_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a pull request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - &621 - description: Represents a 'pull_request_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a pull request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - &622 - description: Represents a 'pull_request_review' secret scanning - location type. This location type shows that a secret was - detected in a review on a pull request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - &623 - description: Represents a 'pull_request_review_comment' secret - scanning location type. This location type shows that a - secret was detected in a review comment on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - nullable: true - has_more_locations: - type: boolean - description: A boolean value representing whether or not the - token in the alert was detected in more than one location. - assigned_to: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - examples: - default: &304 - value: - - number: 2 - created_at: '2020-11-06T18:48:51Z' - url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 - html_url: https://github.com/owner/private-repo/security/secret-scanning/2 - locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations - state: resolved - resolution: false_positive - resolved_at: '2020-11-07T02:47:13Z' - resolved_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - secret_type: adafruit_io_key - secret_type_display_name: Adafruit IO Key - secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - push_protection_bypassed_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - push_protection_bypassed: true - push_protection_bypassed_at: '2020-11-06T21:48:51Z' - push_protection_bypass_request_reviewer: - login: octocat - id: 3 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/3? - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true - push_protection_bypass_request_reviewer_comment: Example response - push_protection_bypass_request_comment: Example comment - push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 - resolution_comment: Example comment - validity: active - publicly_leaked: false - multi_repo: false - is_base64_encoded: false - first_location_detected: - path: "/example/secrets.txt" - start_line: 1 - end_line: 1 - start_column: 1 - end_column: 64 - blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b - commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b - has_more_locations: true - assigned_to: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - headers: - Link: *58 - '404': *6 - '503': &77 - description: Service unavailable - content: - application/json: - schema: - type: object - properties: - code: - type: string - message: - type: string - documentation_url: - type: string - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -10079,7 +9342,7 @@ paths: application/json: schema: type: array - items: &59 + items: &55 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10137,7 +9400,7 @@ paths: - updated_at - group_id examples: - default: &60 + default: &56 value: - id: 1 name: Justice League @@ -10150,7 +9413,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -10211,9 +9474,9 @@ paths: description: Response content: application/json: - schema: *59 + schema: *55 examples: - default: *60 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10231,7 +9494,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *42 - - &61 + - &57 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10250,7 +9513,7 @@ paths: type: array items: *4 examples: - default: &62 + default: &58 value: - login: octocat id: 1 @@ -10271,7 +9534,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10289,7 +9552,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *42 - - *61 + - *57 requestBody: required: true content: @@ -10320,7 +9583,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10338,7 +9601,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *42 - - *61 + - *57 requestBody: required: true content: @@ -10369,7 +9632,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10387,8 +9650,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *42 - - *61 - - &63 + - *57 + - &59 name: username description: The handle for the GitHub user account. in: path @@ -10402,7 +9665,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &64 + exampleKey1: &60 value: login: octocat id: 1 @@ -10438,8 +9701,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *42 - - *61 - - *63 + - *57 + - *59 responses: '201': description: Successfully added team member @@ -10447,7 +9710,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *64 + exampleKey1: *60 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10465,8 +9728,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *42 - - *61 - - *63 + - *57 + - *59 responses: '204': description: Response @@ -10491,7 +9754,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *42 - - &65 + - &61 name: team_slug description: The slug of the team name. in: path @@ -10503,11 +9766,11 @@ paths: description: Response content: application/json: - schema: *59 + schema: *55 examples: - default: *60 + default: *56 headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -10525,7 +9788,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *42 - - *65 + - *61 requestBody: required: true content: @@ -10568,11 +9831,11 @@ paths: description: Response content: application/json: - schema: *59 + schema: *55 examples: - default: *60 + default: *56 headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -10593,7 +9856,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *42 - - *65 + - *61 responses: '204': description: Response @@ -10631,7 +9894,7 @@ paths: application/json: schema: type: array - items: &98 + items: &93 title: Event description: Event type: object @@ -10641,7 +9904,7 @@ paths: type: type: string nullable: true - actor: &66 + actor: &62 title: Actor description: Actor type: object @@ -10681,7 +9944,7 @@ paths: - id - name - url - org: *66 + org: *62 payload: oneOf: - title: CreateEvent @@ -10727,7 +9990,7 @@ paths: properties: action: type: string - discussion: &724 + discussion: &720 title: Discussion description: A Discussion in a repository. type: object @@ -11014,7 +10277,7 @@ paths: - id labels: type: array - items: &70 + items: &66 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11089,12 +10352,12 @@ paths: properties: action: type: string - issue: &71 + issue: &67 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &529 + properties: &517 id: type: integer format: int64 @@ -11208,7 +10471,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &250 + properties: &248 url: type: string format: uri @@ -11278,7 +10541,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &251 + required: &249 - closed_issues - creator - description @@ -11357,7 +10620,7 @@ paths: timeline_url: type: string format: uri - type: &209 + type: &207 title: Issue Type description: The type of issue. type: object @@ -11407,7 +10670,7 @@ paths: - node_id - name - description - repository: *67 + repository: *63 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11418,9 +10681,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - author_association: &72 + properties: *64 + required: *65 + author_association: &68 title: author_association type: string example: OWNER @@ -11435,7 +10698,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &73 + reactions: &69 title: Reaction Rollup type: object properties: @@ -11471,7 +10734,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &641 + sub_issues_summary: &637 title: Sub-issues Summary type: object properties: @@ -11491,7 +10754,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &642 + issue_dependencies_summary: &638 title: Issue Dependencies Summary type: object properties: @@ -11510,7 +10773,7 @@ paths: - total_blocking issue_field_values: type: array - items: &643 + items: &639 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11571,7 +10834,7 @@ paths: - node_id - data_type - value - required: &530 + required: &518 - assignee - closed_at - comments @@ -11596,10 +10859,10 @@ paths: assignees: type: array items: *4 - label: *70 + label: *66 labels: type: array - items: *70 + items: *66 required: - action - issue @@ -11608,8 +10871,8 @@ paths: properties: action: type: string - issue: *71 - comment: &527 + issue: *67 + comment: &515 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11657,7 +10920,7 @@ paths: issue_url: type: string format: uri - author_association: *72 + author_association: *68 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11668,9 +10931,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - reactions: *73 + properties: *64 + required: *65 + reactions: *69 required: - id - node_id @@ -11843,8 +11106,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *70 + required: *71 nullable: true allow_forking: type: boolean @@ -11933,7 +11196,7 @@ paths: type: string number: type: integer - pull_request: &76 + pull_request: &72 title: Pull Request Minimal type: object properties: @@ -12004,10 +11267,10 @@ paths: assignees: type: array items: *4 - label: *70 + label: *66 labels: type: array - items: *70 + items: *66 required: - action - number @@ -12017,7 +11280,7 @@ paths: properties: action: type: string - pull_request: *76 + pull_request: *72 comment: type: object properties: @@ -12268,7 +11531,7 @@ paths: - pull_request updated_at: type: string - pull_request: *76 + pull_request: *72 required: - action - review @@ -12317,7 +11580,7 @@ paths: updated_at: type: string format: date-time - reactions: *73 + reactions: *69 required: - action - comment @@ -12328,7 +11591,7 @@ paths: type: string release: allOf: - - &582 + - &570 title: Release description: A release. type: object @@ -12399,7 +11662,7 @@ paths: author: *4 assets: type: array - items: &583 + items: &571 title: Release Asset description: Data related to a release. type: object @@ -12474,7 +11737,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *73 + reactions: *69 required: - assets_url - upload_url @@ -12566,7 +11829,19 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *77 + '503': &102 + description: Service unavailable + content: + application/json: + schema: + type: object + properties: + code: + type: string + message: + type: string + documentation_url: + type: string x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -12647,7 +11922,7 @@ paths: _links: type: object properties: - timeline: &78 + timeline: &73 title: Link With Type description: Hypermedia Link with Type type: object @@ -12659,17 +11934,17 @@ paths: required: - href - type - user: *78 - security_advisories: *78 - current_user: *78 - current_user_public: *78 - current_user_actor: *78 - current_user_organization: *78 + user: *73 + security_advisories: *73 + current_user: *73 + current_user_public: *73 + current_user_actor: *73 + current_user_organization: *73 current_user_organizations: type: array - items: *78 - repository_discussions: *78 - repository_discussions_category: *78 + items: *73 + repository_discussions: *73 + repository_discussions_category: *73 required: - timeline - user @@ -12731,7 +12006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *79 + - *74 - *17 - *19 responses: @@ -12741,7 +12016,7 @@ paths: application/json: schema: type: array - items: &80 + items: &75 title: Base Gist description: Base Gist type: object @@ -12840,7 +12115,7 @@ paths: - created_at - updated_at examples: - default: &81 + default: &76 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -12885,7 +12160,7 @@ paths: site_admin: false truncated: false headers: - Link: *58 + Link: *54 '304': *37 '403': *29 x-github: @@ -12961,7 +12236,7 @@ paths: description: Response content: application/json: - schema: &82 + schema: &77 title: Gist Simple description: Gist Simple type: object @@ -12978,7 +12253,7 @@ paths: url: type: string format: uri - user: &655 + user: &651 title: Public User description: Public User type: object @@ -13340,7 +12615,7 @@ paths: truncated: type: boolean examples: - default: &83 + default: &78 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13444,7 +12719,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *79 + - *74 - *17 - *19 responses: @@ -13454,11 +12729,11 @@ paths: application/json: schema: type: array - items: *80 + items: *75 examples: - default: *81 + default: *76 headers: - Link: *58 + Link: *54 '422': *15 '304': *37 '403': *29 @@ -13478,7 +12753,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *79 + - *74 - *17 - *19 responses: @@ -13488,11 +12763,11 @@ paths: application/json: schema: type: array - items: *80 + items: *75 examples: - default: *81 + default: *76 headers: - Link: *58 + Link: *54 '401': *25 '304': *37 '403': *29 @@ -13518,7 +12793,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &84 + - &79 name: gist_id description: The unique identifier of the gist. in: path @@ -13530,10 +12805,10 @@ paths: description: Response content: application/json: - schema: *82 + schema: *77 examples: - default: *83 - '403': &87 + default: *78 + '403': &82 description: Forbidden Gist content: application/json: @@ -13581,7 +12856,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *84 + - *79 requestBody: required: true content: @@ -13641,9 +12916,9 @@ paths: description: Response content: application/json: - schema: *82 + schema: *77 examples: - updateGist: *83 + updateGist: *78 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -13801,7 +13076,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *84 + - *79 responses: '204': description: Response @@ -13830,7 +13105,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *84 + - *79 - *17 - *19 responses: @@ -13840,7 +13115,7 @@ paths: application/json: schema: type: array - items: &85 + items: &80 title: Gist Comment description: A comment made to a gist. type: object @@ -13875,7 +13150,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *72 + author_association: *68 required: - url - id @@ -13915,7 +13190,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -13940,7 +13215,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *84 + - *79 requestBody: required: true content: @@ -13965,9 +13240,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *80 examples: - default: &86 + default: &81 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14025,8 +13300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *84 - - &88 + - *79 + - &83 name: comment_id description: The unique identifier of the comment. in: path @@ -14039,12 +13314,12 @@ paths: description: Response content: application/json: - schema: *85 + schema: *80 examples: - default: *86 + default: *81 '304': *37 '404': *6 - '403': *87 + '403': *82 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14066,8 +13341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *84 - - *88 + - *79 + - *83 requestBody: required: true content: @@ -14092,9 +13367,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *80 examples: - default: *86 + default: *81 '404': *6 x-github: githubCloudOnly: false @@ -14111,8 +13386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *84 - - *88 + - *79 + - *83 responses: '204': description: Response @@ -14135,7 +13410,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *84 + - *79 - *17 - *19 responses: @@ -14236,7 +13511,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *84 + - *79 - *17 - *19 responses: @@ -14246,7 +13521,7 @@ paths: application/json: schema: type: array - items: *82 + items: *77 examples: default: value: @@ -14292,7 +13567,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '404': *6 '304': *37 '403': *29 @@ -14311,13 +13586,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *84 + - *79 responses: '201': description: Response content: application/json: - schema: *80 + schema: *75 examples: default: value: @@ -14388,7 +13663,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *84 + - *79 responses: '204': description: Response if gist is starred @@ -14418,7 +13693,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *84 + - *79 responses: '204': description: Response @@ -14440,7 +13715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *84 + - *79 responses: '204': description: Response @@ -14469,7 +13744,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *84 + - *79 - name: sha in: path required: true @@ -14480,9 +13755,9 @@ paths: description: Response content: application/json: - schema: *82 + schema: *77 examples: - default: *83 + default: *78 '422': *15 '404': *6 '403': *29 @@ -14641,7 +13916,7 @@ paths: type: integer repositories: type: array - items: *67 + items: *63 repository_selection: type: string example: selected @@ -14764,7 +14039,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *54 '403': *29 '304': *37 '401': *25 @@ -14848,7 +14123,7 @@ paths: - closed - all default: open - - &212 + - &210 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -14867,7 +14142,7 @@ paths: - comments default: created - *48 - - *79 + - *74 - name: collab in: query required: false @@ -14897,9 +14172,9 @@ paths: application/json: schema: type: array - items: *71 + items: *67 examples: - default: &213 + default: &211 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15144,7 +14419,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *58 + Link: *54 '422': *15 '304': *37 '404': *6 @@ -15183,8 +14458,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *70 + required: *71 examples: default: value: @@ -15469,7 +14744,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &89 + X-CommonMarker-Version: &84 example: 0.17.4 schema: type: string @@ -15524,7 +14799,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *89 + X-CommonMarker-Version: *84 content: text/html: schema: @@ -15553,7 +14828,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &92 + - &87 name: account_id description: account_id parameter in: path @@ -15565,7 +14840,7 @@ paths: description: Response content: application/json: - schema: &91 + schema: &86 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -15595,7 +14870,7 @@ paths: nullable: true id: type: integer - plan: &90 + plan: &85 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -15684,7 +14959,7 @@ paths: nullable: true updated_at: type: string - plan: *90 + plan: *85 required: - url - id @@ -15692,7 +14967,7 @@ paths: - login - marketplace_purchase examples: - default: &93 + default: &88 value: url: https://api.github.com/orgs/github type: Organization @@ -15777,9 +15052,9 @@ paths: application/json: schema: type: array - items: *90 + items: *85 examples: - default: &94 + default: &89 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -15797,7 +15072,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *54 '404': *6 '401': *25 x-github: @@ -15819,14 +15094,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &95 + - &90 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &96 + - &91 name: sort description: The property to sort the results by. in: query @@ -15856,9 +15131,9 @@ paths: application/json: schema: type: array - items: *91 + items: *86 examples: - default: &97 + default: &92 value: - url: https://api.github.com/orgs/github type: Organization @@ -15909,7 +15184,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *54 '404': *6 '422': *15 '401': *25 @@ -15932,15 +15207,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *92 + - *87 responses: '200': description: Response content: application/json: - schema: *91 + schema: *86 examples: - default: *93 + default: *88 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -15972,11 +15247,11 @@ paths: application/json: schema: type: array - items: *90 + items: *85 examples: - default: *94 + default: *89 headers: - Link: *58 + Link: *54 '401': *25 x-github: githubCloudOnly: false @@ -15997,8 +15272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *95 - - *96 + - *90 + - *91 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16018,11 +15293,11 @@ paths: application/json: schema: type: array - items: *91 + items: *86 examples: - default: *97 + default: *92 headers: - Link: *58 + Link: *54 '401': *25 x-github: githubCloudOnly: false @@ -16284,14 +15559,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &330 + - &318 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &331 + - &319 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16308,7 +15583,7 @@ paths: application/json: schema: type: array - items: *98 + items: *93 examples: default: value: @@ -16353,7 +15628,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &339 + '301': &327 description: Moved permanently content: application/json: @@ -16375,7 +15650,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &558 + - &546 name: all description: If `true`, show notifications marked as read. in: query @@ -16383,7 +15658,7 @@ paths: schema: type: boolean default: false - - &559 + - &547 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16392,8 +15667,8 @@ paths: schema: type: boolean default: false - - *79 - - &560 + - *74 + - &548 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -16418,18 +15693,18 @@ paths: application/json: schema: type: array - items: &99 + items: &94 title: Thread description: Thread type: object properties: id: type: string - repository: &137 + repository: &133 title: Minimal Repository description: Minimal Repository type: object - properties: &182 + properties: &180 id: type: integer format: int64 @@ -16705,7 +15980,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &265 + security_and_analysis: &263 nullable: true type: object properties: @@ -16779,7 +16054,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &183 + required: &181 - archive_url - assignees_url - blobs_url @@ -16867,7 +16142,7 @@ paths: - url - subscription_url examples: - default: &561 + default: &549 value: - id: '1' repository: @@ -16949,7 +16224,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -17033,7 +16308,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &100 + - &95 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -17047,7 +16322,7 @@ paths: description: Response content: application/json: - schema: *99 + schema: *94 examples: default: value: @@ -17149,7 +16424,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *100 + - *95 responses: '205': description: Reset Content @@ -17171,7 +16446,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *100 + - *95 responses: '204': description: No content @@ -17194,13 +16469,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *100 + - *95 responses: '200': description: Response content: application/json: - schema: &101 + schema: &96 title: Thread Subscription description: Thread Subscription type: object @@ -17237,7 +16512,7 @@ paths: - url - subscribed examples: - default: &102 + default: &97 value: subscribed: true ignored: false @@ -17268,7 +16543,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *100 + - *95 requestBody: required: false content: @@ -17289,9 +16564,9 @@ paths: description: Response content: application/json: - schema: *101 + schema: *96 examples: - default: *102 + default: *97 '304': *37 '403': *29 '401': *25 @@ -17314,7 +16589,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *100 + - *95 responses: '204': description: Response @@ -17409,7 +16684,7 @@ paths: application/json: schema: type: array - items: &218 + items: &216 title: Organization Simple description: A GitHub organization. type: object @@ -17468,7 +16743,7 @@ paths: - avatar_url - description examples: - default: &672 + default: &668 value: - login: github id: 1 @@ -17508,7 +16783,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - &105 + - &100 name: org description: The organization name. The name is not case sensitive. in: path @@ -17558,8 +16833,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *103 - required: *104 + properties: *98 + required: *99 nullable: true additionalProperties: false examples: @@ -17665,7 +16940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -17731,7 +17006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *105 + - *100 requestBody: required: true content: @@ -17767,9 +17042,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -17777,8 +17053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization parameters: - - *105 - - &107 + - *100 + - &103 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -17787,7 +17063,7 @@ paths: required: false schema: type: integer - - &698 + - &694 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -17796,7 +17072,7 @@ paths: required: false schema: type: integer - - &108 + - &104 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -17811,14 +17087,14 @@ paths: required: false schema: type: string - - &699 + - &695 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &700 + - &696 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -17934,8 +17210,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *106 - '503': *77 + '500': *101 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17955,9 +17231,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *105 - - *107 - - &703 + - *100 + - *103 + - &699 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -17966,8 +17242,8 @@ paths: required: false schema: type: integer - - *108 - - &704 + - *104 + - &700 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18050,8 +17326,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *106 - '503': *77 + '500': *101 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18077,13 +17353,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &109 + schema: &105 title: Organization Full description: Organization Full type: object @@ -18402,7 +17678,7 @@ paths: - updated_at - archived_at examples: - default-response: &110 + default-response: &106 value: login: github id: 1 @@ -18502,7 +17778,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *105 + - *100 requestBody: required: false content: @@ -18718,17 +17994,17 @@ paths: description: Response content: application/json: - schema: *109 + schema: *105 examples: - default: *110 + default: *106 '422': description: Validation failed content: application/json: schema: oneOf: - - *111 - - *112 + - *107 + - *108 '409': *47 x-github: githubCloudOnly: false @@ -18752,7 +18028,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *105 + - *100 responses: '202': *39 '404': *6 @@ -18777,7 +18053,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -18803,7 +18079,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18824,7 +18100,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *105 + - *100 - *17 - *19 responses: @@ -18842,7 +18118,7 @@ paths: type: integer repository_cache_usages: type: array - items: &344 + items: &332 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -18877,7 +18153,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18897,7 +18173,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *105 + - *100 - *17 - *19 responses: @@ -18915,7 +18191,7 @@ paths: type: integer runners: type: array - items: &113 + items: &109 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -18964,7 +18240,7 @@ paths: - display_name - source nullable: true - machine_size_details: &116 + machine_size_details: &112 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19056,7 +18332,7 @@ paths: - public_ip_enabled - platform examples: - default: &136 + default: &132 value: total_count: 2 runners: @@ -19098,7 +18374,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19116,7 +18392,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -19183,9 +18459,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *109 examples: - default: &117 + default: &113 value: id: 5 name: My hosted ubuntu runner @@ -19224,7 +18500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -19240,7 +18516,7 @@ paths: type: integer images: type: array - items: &114 + items: &110 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -19276,7 +18552,7 @@ paths: - display_name - source examples: - default: &115 + default: &111 value: id: ubuntu-20.04 platform: linux-x64 @@ -19300,7 +18576,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -19316,9 +18592,9 @@ paths: type: integer images: type: array - items: *114 + items: *110 examples: - default: *115 + default: *111 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19335,7 +18611,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -19388,7 +18664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -19404,7 +18680,7 @@ paths: type: integer machine_specs: type: array - items: *116 + items: *112 examples: default: value: @@ -19429,7 +18705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -19473,8 +18749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *105 - - &118 + - *100 + - &114 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -19486,11 +18762,11 @@ paths: description: Response content: application/json: - schema: *113 + schema: *109 examples: - default: *117 + default: *113 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19508,8 +18784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *105 - - *118 + - *100 + - *114 requestBody: required: true content: @@ -19547,9 +18823,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *109 examples: - default: *117 + default: *113 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19565,16 +18841,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *105 - - *118 + - *100 + - *114 responses: '202': description: Response content: application/json: - schema: *113 + schema: *109 examples: - default: *117 + default: *113 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -19594,13 +18870,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *105 + - *100 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &119 + schema: &115 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -19614,7 +18890,7 @@ paths: required: - include_claim_keys examples: - default: &120 + default: &116 value: include_claim_keys: - repo @@ -19636,20 +18912,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: application/json: - schema: *119 + schema: *115 examples: - default: *120 + default: *116 responses: '201': description: Empty response content: application/json: - schema: &146 + schema: &142 title: Empty Object description: An object without any properties. type: object @@ -19679,7 +18955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -19688,7 +18964,7 @@ paths: schema: type: object properties: - enabled_repositories: &121 + enabled_repositories: &117 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -19701,7 +18977,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &122 + allowed_actions: &118 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -19709,12 +18985,12 @@ paths: - all - local_only - selected - selected_actions_url: &350 + selected_actions_url: &338 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &123 + sha_pinning_required: &119 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -19745,7 +19021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *105 + - *100 responses: '204': description: Response @@ -19756,9 +19032,9 @@ paths: schema: type: object properties: - enabled_repositories: *121 - allowed_actions: *122 - sha_pinning_required: *123 + enabled_repositories: *117 + allowed_actions: *118 + sha_pinning_required: *119 required: - enabled_repositories examples: @@ -19786,13 +19062,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &354 + schema: &342 type: object properties: days: @@ -19829,12 +19105,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: application/json: - schema: &355 + schema: &343 type: object properties: days: @@ -19871,13 +19147,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &124 + schema: &120 type: object properties: approval_policy: @@ -19891,7 +19167,7 @@ paths: required: - approval_policy examples: - default: &356 + default: &344 value: approval_policy: first_time_contributors '404': *6 @@ -19912,7 +19188,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *105 + - *100 responses: '204': description: Response @@ -19922,7 +19198,7 @@ paths: required: true content: application/json: - schema: *124 + schema: *120 examples: default: summary: Set approval policy to first time contributors @@ -19944,13 +19220,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &357 + schema: &345 type: object required: - run_workflows_from_fork_pull_requests @@ -19976,7 +19252,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &125 + default: &121 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -19999,12 +19275,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: application/json: - schema: &358 + schema: &346 type: object required: - run_workflows_from_fork_pull_requests @@ -20027,7 +19303,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *125 + default: *121 responses: '204': description: Empty response for successful settings update @@ -20057,7 +19333,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *105 + - *100 - *17 - *19 responses: @@ -20075,9 +19351,9 @@ paths: type: number repositories: type: array - items: *67 + items: *63 examples: - default: &129 + default: &125 value: total_count: 1 repositories: @@ -20217,7 +19493,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *105 + - *100 responses: '204': description: Response @@ -20261,8 +19537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *105 - - &126 + - *100 + - &122 name: repository_id description: The unique identifier of the repository. in: path @@ -20290,8 +19566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *105 - - *126 + - *100 + - *122 responses: '204': description: Response @@ -20314,13 +19590,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &127 + schema: &123 type: object properties: github_owned_allowed: @@ -20342,7 +19618,7 @@ paths: items: type: string examples: - default: &128 + default: &124 value: github_owned_allowed: true verified_allowed: false @@ -20367,7 +19643,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *105 + - *100 responses: '204': description: Response @@ -20375,9 +19651,9 @@ paths: required: false content: application/json: - schema: *127 + schema: *123 examples: - selected_actions: *128 + selected_actions: *124 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20397,7 +19673,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -20445,7 +19721,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -20492,7 +19768,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *105 + - *100 - *17 - *19 responses: @@ -20507,9 +19783,9 @@ paths: type: integer repositories: type: array - items: *67 + items: *63 examples: - default: *129 + default: *125 '403': *29 '404': *6 x-github: @@ -20529,7 +19805,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -20577,8 +19853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *105 - - *126 + - *100 + - *122 responses: '204': description: No content @@ -20604,8 +19880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *105 - - *126 + - *100 + - *122 responses: '204': description: No content @@ -20633,23 +19909,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &359 + schema: &347 type: object properties: - default_workflow_permissions: &130 + default_workflow_permissions: &126 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &131 + can_approve_pull_request_reviews: &127 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -20657,7 +19933,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &132 + default: &128 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -20682,7 +19958,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *105 + - *100 responses: '204': description: Success response @@ -20690,13 +19966,13 @@ paths: required: false content: application/json: - schema: &360 + schema: &348 type: object properties: - default_workflow_permissions: *130 - can_approve_pull_request_reviews: *131 + default_workflow_permissions: *126 + can_approve_pull_request_reviews: *127 examples: - default: *132 + default: *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20716,7 +19992,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *105 + - *100 - *17 - *19 - name: visible_to_repository @@ -20741,7 +20017,7 @@ paths: type: number runner_groups: type: array - items: &133 + items: &129 type: object properties: id: @@ -20857,7 +20133,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -20929,9 +20205,9 @@ paths: description: Response content: application/json: - schema: *133 + schema: *129 examples: - default: &135 + default: &131 value: id: 2 name: octo-runner-group @@ -20966,8 +20242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *105 - - &134 + - *100 + - &130 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -20979,7 +20255,7 @@ paths: description: Response content: application/json: - schema: *133 + schema: *129 examples: default: value: @@ -21015,8 +20291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *105 - - *134 + - *100 + - *130 requestBody: required: true content: @@ -21070,9 +20346,9 @@ paths: description: Response content: application/json: - schema: *133 + schema: *129 examples: - default: *135 + default: *131 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21091,8 +20367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *105 - - *134 + - *100 + - *130 responses: '204': description: Response @@ -21115,8 +20391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *105 - - *134 + - *100 + - *130 - *17 - *19 responses: @@ -21134,11 +20410,11 @@ paths: type: number runners: type: array - items: *113 + items: *109 examples: - default: *136 + default: *132 headers: - Link: *58 + Link: *54 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21158,8 +20434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *105 - - *134 + - *100 + - *130 - *19 - *17 responses: @@ -21177,9 +20453,9 @@ paths: type: number repositories: type: array - items: *137 + items: *133 examples: - default: &658 + default: &654 value: total_count: 1 repositories: @@ -21431,8 +20707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *105 - - *134 + - *100 + - *130 requestBody: required: true content: @@ -21476,9 +20752,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *105 - - *134 - - *126 + - *100 + - *130 + - *122 responses: '204': description: Response @@ -21500,9 +20776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *105 - - *134 - - *126 + - *100 + - *130 + - *122 responses: '204': description: Response @@ -21525,8 +20801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *105 - - *134 + - *100 + - *130 - *17 - *19 responses: @@ -21544,7 +20820,7 @@ paths: type: number runners: type: array - items: &139 + items: &135 title: Self hosted runners description: A self hosted runner type: object @@ -21573,7 +20849,7 @@ paths: type: boolean labels: type: array - items: &142 + items: &138 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -21603,7 +20879,7 @@ paths: - busy - labels examples: - default: &140 + default: &136 value: total_count: 2 runners: @@ -21643,7 +20919,7 @@ paths: name: no-gpu type: custom headers: - Link: *58 + Link: *54 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21662,8 +20938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *105 - - *134 + - *100 + - *130 requestBody: required: true content: @@ -21707,9 +20983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *105 - - *134 - - &138 + - *100 + - *130 + - &134 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -21737,9 +21013,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *105 + - *100 + - *130 - *134 - - *138 responses: '204': description: Response @@ -21769,7 +21045,7 @@ paths: in: query schema: type: string - - *105 + - *100 - *17 - *19 responses: @@ -21787,11 +21063,11 @@ paths: type: integer runners: type: array - items: *139 + items: *135 examples: - default: *140 + default: *136 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21813,7 +21089,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -21821,7 +21097,7 @@ paths: application/json: schema: type: array - items: &361 + items: &349 title: Runner Application description: Runner Application type: object @@ -21846,7 +21122,7 @@ paths: - download_url - filename examples: - default: &362 + default: &350 value: - os: osx architecture: x64 @@ -21889,7 +21165,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -21932,7 +21208,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &363 + '201': &351 description: Response content: application/json: @@ -21942,7 +21218,7 @@ paths: - runner - encoded_jit_config properties: - runner: *139 + runner: *135 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -21999,13 +21275,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *105 + - *100 responses: '201': description: Response content: application/json: - schema: &141 + schema: &137 title: Authentication Token description: Authentication Token type: object @@ -22027,7 +21303,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *67 + items: *63 single_file: type: string example: config.yaml @@ -22043,7 +21319,7 @@ paths: - token - expires_at examples: - default: &364 + default: &352 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22074,15 +21350,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *105 + - *100 responses: '201': description: Response content: application/json: - schema: *141 + schema: *137 examples: - default: &365 + default: &353 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22107,16 +21383,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 + - *100 + - *134 responses: '200': description: Response content: application/json: - schema: *139 + schema: *135 examples: - default: &366 + default: &354 value: id: 23 name: MBP @@ -22157,8 +21433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *105 - - *138 + - *100 + - *134 responses: '204': description: Response @@ -22184,10 +21460,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 + - *100 + - *134 responses: - '200': &143 + '200': &139 description: Response content: application/json: @@ -22201,7 +21477,7 @@ paths: type: integer labels: type: array - items: *142 + items: *138 examples: default: value: @@ -22240,8 +21516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 + - *100 + - *134 requestBody: required: true content: @@ -22265,7 +21541,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *139 '404': *6 '422': *7 x-github: @@ -22289,8 +21565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 + - *100 + - *134 requestBody: required: true content: @@ -22315,7 +21591,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *139 '404': *6 '422': *7 x-github: @@ -22339,10 +21615,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 + - *100 + - *134 responses: - '200': &367 + '200': &355 description: Response content: application/json: @@ -22356,7 +21632,7 @@ paths: type: integer labels: type: array - items: *142 + items: *138 examples: default: value: @@ -22397,9 +21673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 - - &368 + - *100 + - *134 + - &356 name: name description: The name of a self-hosted runner's custom label. in: path @@ -22407,7 +21683,7 @@ paths: schema: type: string responses: - '200': *143 + '200': *139 '404': *6 '422': *7 x-github: @@ -22432,7 +21708,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *105 + - *100 - *17 - *19 responses: @@ -22450,7 +21726,7 @@ paths: type: integer secrets: type: array - items: &144 + items: &140 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -22500,7 +21776,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22523,13 +21799,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &380 + schema: &368 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22558,7 +21834,7 @@ paths: - key_id - key examples: - default: &381 + default: &369 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22583,8 +21859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *105 - - &145 + - *100 + - &141 name: secret_name description: The name of the secret. in: path @@ -22596,7 +21872,7 @@ paths: description: Response content: application/json: - schema: *144 + schema: *140 examples: default: value: @@ -22626,8 +21902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 requestBody: required: true content: @@ -22684,7 +21960,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -22710,8 +21986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 responses: '204': description: Response @@ -22737,8 +22013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 - *19 - *17 responses: @@ -22756,9 +22032,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *133 examples: - default: &149 + default: &145 value: total_count: 1 repositories: @@ -22850,8 +22126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 requestBody: required: true content: @@ -22903,8 +22179,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 - name: repository_id in: path required: true @@ -22937,8 +22213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 - name: repository_id in: path required: true @@ -22970,8 +22246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *105 - - &349 + - *100 + - &337 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -22995,7 +22271,7 @@ paths: type: integer variables: type: array - items: &147 + items: &143 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23059,7 +22335,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23080,7 +22356,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *105 + - *100 requestBody: required: true content: @@ -23128,7 +22404,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -23153,8 +22429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *105 - - &148 + - *100 + - &144 name: name description: The name of the variable. in: path @@ -23166,7 +22442,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *143 examples: default: value: @@ -23196,8 +22472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *105 - - *148 + - *100 + - *144 requestBody: required: true content: @@ -23259,8 +22535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *105 - - *148 + - *100 + - *144 responses: '204': description: Response @@ -23286,8 +22562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *105 - - *148 + - *100 + - *144 - *19 - *17 responses: @@ -23305,9 +22581,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *133 examples: - default: *149 + default: *145 '409': description: Response when the visibility of the variable is not set to `selected` @@ -23333,8 +22609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *105 - - *148 + - *100 + - *144 requestBody: required: true content: @@ -23383,8 +22659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *105 - - *148 + - *100 + - *144 - name: repository_id in: path required: true @@ -23418,8 +22694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *105 - - *148 + - *100 + - *144 - name: repository_id in: path required: true @@ -23450,7 +22726,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *105 + - *100 requestBody: required: true content: @@ -23582,7 +22858,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *105 + - *100 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -23667,7 +22943,7 @@ paths: - *17 - *40 - *41 - - *105 + - *100 requestBody: required: true content: @@ -23690,12 +22966,12 @@ paths: required: - subject_digests examples: - default: &687 + default: &683 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &688 + withPredicateType: &684 value: subject_digests: - sha256:abc123 @@ -23753,7 +23029,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &689 + default: &685 value: attestations_subject_digests: - sha256:abc: @@ -23862,7 +23138,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *105 + - *100 requestBody: required: true content: @@ -23927,7 +23203,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *105 + - *100 - name: subject_digest description: Subject Digest in: path @@ -23946,6 +23222,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 + - *40 + - *41 + - *100 + - 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 @@ -23958,7 +23285,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *105 + - *100 - name: attestation_id description: Attestation ID in: path @@ -23996,7 +23323,7 @@ paths: - *17 - *40 - *41 - - *105 + - *100 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24049,7 +23376,7 @@ paths: initiator: type: string examples: - default: &394 + default: &382 value: attestations: - bundle: @@ -24156,7 +23483,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *105 + - *100 - *17 - *19 responses: @@ -24168,7 +23495,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24187,8 +23514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: If the user is blocked @@ -24213,8 +23540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: Response @@ -24234,8 +23561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: Response @@ -24260,7 +23587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *105 + - *100 - *19 - *17 - *48 @@ -24268,7 +23595,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &150 + schema: &146 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -24294,7 +23621,7 @@ paths: application/json: schema: type: array - items: &151 + items: &147 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -24400,7 +23727,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &225 + properties: &223 id: description: Unique identifier of the team type: integer @@ -24472,7 +23799,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &226 + required: &224 - id - node_id - url @@ -24515,7 +23842,7 @@ paths: type: string format: date-time nullable: true - state: *150 + state: *146 contact_link: description: The contact link of the campaign. type: string @@ -24610,9 +23937,9 @@ paths: closed_at: state: open headers: - Link: *58 + Link: *54 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24636,7 +23963,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -24730,9 +24057,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *147 examples: - default: &152 + default: &148 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -24781,7 +24108,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24803,7 +24130,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *105 + - *100 - name: campaign_number description: The campaign number. in: path @@ -24815,16 +24142,16 @@ paths: description: Response content: application/json: - schema: *151 + schema: *147 examples: - default: *152 + default: *148 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24845,7 +24172,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *105 + - *100 - name: campaign_number description: The campaign number. in: path @@ -24894,7 +24221,7 @@ paths: type: string format: uri nullable: true - state: *150 + state: *146 examples: default: value: @@ -24904,9 +24231,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *147 examples: - default: *152 + default: *148 '400': description: Bad Request content: @@ -24918,7 +24245,7 @@ paths: content: application/json: schema: *3 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24939,7 +24266,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *105 + - *100 - name: campaign_number description: The campaign number. in: path @@ -24950,7 +24277,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24972,8 +24299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *105 - - &419 + - *100 + - &407 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`, @@ -24983,7 +24310,7 @@ paths: schema: &156 type: string description: The name of the tool used to generate the code scanning analysis. - - &420 + - &408 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 @@ -25006,7 +24333,7 @@ paths: be returned. in: query required: false - schema: &422 + schema: &410 type: string description: State of a code scanning alert. enum: @@ -25029,7 +24356,7 @@ paths: be returned. in: query required: false - schema: &423 + schema: &411 type: string description: Severity of a code scanning alert. enum: @@ -25050,12 +24377,12 @@ paths: items: type: object properties: - number: *54 - created_at: *55 - updated_at: *153 - url: *56 - html_url: *57 - instances_url: &424 + number: *149 + created_at: *150 + updated_at: *151 + url: *152 + html_url: *153 + instances_url: &412 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -25078,7 +24405,7 @@ paths: required: *21 nullable: true dismissed_at: *155 - dismissed_reason: &425 + dismissed_reason: &413 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -25087,13 +24414,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &426 + dismissed_comment: &414 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &427 + rule: &415 type: object properties: id: @@ -25146,7 +24473,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &428 + tool: &416 type: object properties: name: *156 @@ -25156,15 +24483,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *157 - most_recent_instance: &429 + most_recent_instance: &417 type: object properties: - ref: &421 + ref: &409 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &439 + analysis_key: &427 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25175,7 +24502,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &440 + category: &428 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -25475,9 +24802,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *58 + Link: *54 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25499,7 +24826,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *105 + - *100 - name: target_type in: query description: The target type of the code security configuration @@ -25610,7 +24937,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *105 + - *100 requestBody: required: true content: @@ -25853,7 +25180,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *105 + - *100 responses: '200': description: Response @@ -25887,7 +25214,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *105 + - *100 requestBody: required: true content: @@ -25939,7 +25266,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *105 + - *100 - *45 responses: '200': @@ -25972,7 +25299,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *105 + - *100 - *45 requestBody: required: true @@ -26229,7 +25556,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *105 + - *100 - *45 responses: '204': *163 @@ -26260,7 +25587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *105 + - *100 - *45 requestBody: required: true @@ -26324,7 +25651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *105 + - *100 - *45 requestBody: required: true @@ -26394,7 +25721,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *105 + - *100 - *45 - name: per_page description: The number of results per page (max 100). For more information, @@ -26453,7 +25780,7 @@ paths: parameters: - *17 - *19 - - *105 + - *100 responses: '200': description: Response @@ -26469,7 +25796,7 @@ paths: type: integer codespaces: type: array - items: &214 + items: &212 type: object title: Codespace description: A codespace. @@ -26494,12 +25821,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *137 + repository: *133 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &452 + properties: &440 name: type: string description: The name of the machine. @@ -26541,7 +25868,7 @@ paths: - ready - in_progress nullable: true - required: &453 + required: &441 - name - display_name - operating_system @@ -26746,7 +26073,7 @@ paths: - pulls_url - recent_folders examples: - default: &215 + default: &213 value: total_count: 3 codespaces: @@ -27156,7 +26483,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -27178,7 +26505,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *105 + - *100 deprecated: true requestBody: required: true @@ -27222,7 +26549,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27245,7 +26572,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *105 + - *100 deprecated: true requestBody: required: true @@ -27277,7 +26604,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27300,7 +26627,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *105 + - *100 requestBody: required: true content: @@ -27331,7 +26658,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27352,7 +26679,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *105 + - *100 - *17 - *19 responses: @@ -27409,7 +26736,7 @@ paths: - updated_at - visibility examples: - default: &454 + default: &442 value: total_count: 2 secrets: @@ -27422,7 +26749,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27441,13 +26768,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &455 + schema: &443 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27476,7 +26803,7 @@ paths: - key_id - key examples: - default: &456 + default: &444 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27499,8 +26826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 responses: '200': description: Response @@ -27508,14 +26835,14 @@ paths: application/json: schema: *166 examples: - default: &458 + default: &446 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27535,8 +26862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 requestBody: required: true content: @@ -27591,7 +26918,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -27617,8 +26944,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 responses: '204': description: Response @@ -27643,8 +26970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 - *19 - *17 responses: @@ -27662,9 +26989,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *133 examples: - default: *149 + default: *145 '404': *6 x-github: githubCloudOnly: false @@ -27686,8 +27013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 requestBody: required: true content: @@ -27737,8 +27064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 - name: repository_id in: path required: true @@ -27771,8 +27098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 - name: repository_id in: path required: true @@ -27811,7 +27138,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *105 + - *100 responses: '200': description: OK @@ -27920,7 +27247,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -27952,7 +27279,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *105 + - *100 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -27975,7 +27302,7 @@ paths: currently being billed. seats: type: array - items: &217 + items: &215 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -28000,7 +27327,7 @@ paths: access to GitHub Copilot, if applicable. oneOf: - *169 - - *59 + - *55 nullable: true pending_cancellation_date: type: string @@ -28124,8 +27451,8 @@ paths: type: User site_admin: false headers: - Link: *58 - '500': *106 + Link: *54 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -28158,7 +27485,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *105 + - *100 requestBody: content: application/json: @@ -28200,7 +27527,7 @@ paths: default: value: seats_created: 5 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -28236,7 +27563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *105 + - *100 requestBody: content: application/json: @@ -28278,7 +27605,7 @@ paths: default: value: seats_cancelled: 5 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -28316,7 +27643,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *105 + - *100 requestBody: content: application/json: @@ -28357,7 +27684,7 @@ paths: default: value: seats_created: 5 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -28393,7 +27720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *105 + - *100 requestBody: content: application/json: @@ -28435,7 +27762,7 @@ paths: default: value: seats_cancelled: 5 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -28474,7 +27801,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *105 + - *100 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -28506,7 +27833,7 @@ paths: application/json: schema: type: array - items: &312 + items: &300 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -28813,7 +28140,7 @@ paths: - date additionalProperties: true examples: - default: &313 + default: &301 value: - date: '2024-06-24' total_active_users: 24 @@ -28912,10 +28239,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *106 + '500': *101 '403': *29 '404': *6 - '422': &314 + '422': &302 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -28942,7 +28269,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *105 + - *100 - *170 - *171 - *172 @@ -28990,8 +28317,6 @@ paths: - *48 - *40 - *41 - - *177 - - *178 - *17 responses: '200': @@ -29000,9 +28325,9 @@ paths: application/json: schema: type: array - items: *179 + items: *177 examples: - default: *180 + default: *178 '304': *37 '400': *14 '403': *29 @@ -29028,7 +28353,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *105 + - *100 - *17 - *19 responses: @@ -29046,7 +28371,7 @@ paths: type: integer secrets: type: array - items: &181 + items: &179 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -29096,7 +28421,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29117,13 +28442,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &484 + schema: &472 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -29140,7 +28465,7 @@ paths: - key_id - key examples: - default: &485 + default: &473 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29163,14 +28488,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 responses: '200': description: Response content: application/json: - schema: *181 + schema: *179 examples: default: value: @@ -29198,8 +28523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 requestBody: required: true content: @@ -29258,7 +28583,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -29282,8 +28607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 responses: '204': description: Response @@ -29307,8 +28632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 - *19 - *17 responses: @@ -29326,9 +28651,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *133 examples: - default: *149 + default: *145 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29349,8 +28674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 requestBody: required: true content: @@ -29400,8 +28725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 - name: repository_id in: path required: true @@ -29432,8 +28757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *105 - - *145 + - *100 + - *141 - name: repository_id in: path required: true @@ -29463,7 +28788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -29471,7 +28796,7 @@ paths: application/json: schema: type: array - items: &228 + items: &226 title: Package description: A software package type: object @@ -29521,8 +28846,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *182 - required: *183 + properties: *180 + required: *181 nullable: true created_at: type: string @@ -29541,7 +28866,7 @@ paths: - created_at - updated_at examples: - default: &229 + default: &227 value: - id: 197 name: hello_docker @@ -29619,7 +28944,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *105 + - *100 - *17 - *19 responses: @@ -29629,7 +28954,7 @@ paths: application/json: schema: type: array - items: *98 + items: *93 examples: 200-response: value: @@ -29701,7 +29026,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *105 + - *100 - *17 - *19 responses: @@ -29711,7 +29036,7 @@ paths: application/json: schema: type: array - items: &206 + items: &204 title: Organization Invitation description: Organization Invitation type: object @@ -29758,7 +29083,7 @@ paths: - invitation_teams_url - node_id examples: - default: &207 + default: &205 value: - id: 1 login: monalisa @@ -29791,7 +29116,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -29815,7 +29140,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *105 + - *100 - *17 - *19 responses: @@ -29825,7 +29150,7 @@ paths: application/json: schema: type: array - items: &184 + items: &182 title: Org Hook description: Org Hook type: object @@ -29913,7 +29238,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -29936,7 +29261,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *105 + - *100 requestBody: required: true content: @@ -29996,9 +29321,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *182 examples: - default: &185 + default: &183 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -30045,8 +29370,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *105 - - &186 + - *100 + - &184 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -30059,9 +29384,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *182 examples: - default: *185 + default: *183 '404': *6 x-github: githubCloudOnly: false @@ -30088,8 +29413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *105 - - *186 + - *100 + - *184 requestBody: required: false content: @@ -30134,7 +29459,7 @@ paths: description: Response content: application/json: - schema: *184 + schema: *182 examples: default: value: @@ -30175,8 +29500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *105 - - *186 + - *100 + - *184 responses: '204': description: Response @@ -30203,8 +29528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *105 - - *186 + - *100 + - *184 responses: '200': description: Response @@ -30234,8 +29559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *105 - - *186 + - *100 + - *184 requestBody: required: false content: @@ -30285,10 +29610,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *105 - - *186 + - *100 + - *184 - *17 - - *187 + - *185 responses: '200': description: Response @@ -30296,9 +29621,9 @@ paths: application/json: schema: type: array - items: *188 + items: *186 examples: - default: *189 + default: *187 '400': *14 '422': *15 x-github: @@ -30323,17 +29648,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *105 - - *186 + - *100 + - *184 - *16 responses: '200': description: Response content: application/json: - schema: *190 + schema: *188 examples: - default: *191 + default: *189 '400': *14 '422': *15 x-github: @@ -30358,8 +29683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *105 - - *186 + - *100 + - *184 - *16 responses: '202': *39 @@ -30388,8 +29713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *105 - - *186 + - *100 + - *184 responses: '204': description: Response @@ -30411,8 +29736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *105 - - &196 + - *100 + - &194 name: actor_type in: path description: The type of the actor @@ -30425,14 +29750,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &197 + - &195 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &192 + - &190 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -30440,7 +29765,7 @@ paths: required: true schema: type: string - - &193 + - &191 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -30533,13 +29858,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *105 - - *192 - - *193 + - *100 + - *190 + - *191 - *19 - *17 - *48 - - &202 + - &200 name: sort description: The property to sort the results by. in: query @@ -30617,15 +29942,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *105 - - *192 - - *193 + - *100 + - *190 + - *191 responses: '200': description: Response content: application/json: - schema: &194 + schema: &192 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30641,7 +29966,7 @@ paths: type: integer format: int64 examples: - default: &195 + default: &193 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30661,24 +29986,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *105 - - &198 + - *100 + - &196 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *192 - - *193 + - *190 + - *191 responses: '200': description: Response content: application/json: - schema: *194 + schema: *192 examples: - default: *195 + default: *193 x-github: enabledForGitHubApps: true category: orgs @@ -30696,19 +30021,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *105 - - *192 - - *193 - - *196 - - *197 + - *100 + - *190 + - *191 + - *194 + - *195 responses: '200': description: Response content: application/json: - schema: *194 + schema: *192 examples: - default: *195 + default: *193 x-github: enabledForGitHubApps: true category: orgs @@ -30725,10 +30050,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *105 - - *192 - - *193 - - &199 + - *100 + - *190 + - *191 + - &197 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30741,7 +30066,7 @@ paths: description: Response content: application/json: - schema: &200 + schema: &198 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30757,7 +30082,7 @@ paths: type: integer format: int64 examples: - default: &201 + default: &199 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30793,19 +30118,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *105 - - *198 - - *192 - - *193 - - *199 + - *100 + - *196 + - *190 + - *191 + - *197 responses: '200': description: Response content: application/json: - schema: *200 + schema: *198 examples: - default: *201 + default: *199 x-github: enabledForGitHubApps: true category: orgs @@ -30822,20 +30147,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *105 - - *196 + - *100 + - *194 + - *195 + - *190 + - *191 - *197 - - *192 - - *193 - - *199 responses: '200': description: Response content: application/json: - schema: *200 + schema: *198 examples: - default: *201 + default: *199 x-github: enabledForGitHubApps: true category: orgs @@ -30852,14 +30177,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *105 - - *198 - - *192 - - *193 + - *100 + - *196 + - *190 + - *191 - *19 - *17 - *48 - - *202 + - *200 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -30932,7 +30257,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *105 + - *100 responses: '200': description: Response @@ -30940,7 +30265,7 @@ paths: application/json: schema: *22 examples: - default: &523 + default: &511 value: id: 1 account: @@ -31009,7 +30334,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *105 + - *100 - *17 - *19 responses: @@ -31079,7 +30404,7 @@ paths: suspended_at: suspended_by: headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31098,7 +30423,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -31106,12 +30431,12 @@ paths: application/json: schema: anyOf: - - &204 + - &202 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &203 + limit: &201 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -31136,7 +30461,7 @@ paths: properties: {} additionalProperties: false examples: - default: &205 + default: &203 value: limit: collaborators_only origin: organization @@ -31160,18 +30485,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: application/json: - schema: &524 + schema: &512 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *203 + limit: *201 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -31195,9 +30520,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *202 examples: - default: *205 + default: *203 '422': *15 x-github: githubCloudOnly: false @@ -31215,7 +30540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *105 + - *100 responses: '204': description: Response @@ -31239,7 +30564,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *105 + - *100 - *17 - *19 - name: role @@ -31273,11 +30598,11 @@ paths: application/json: schema: type: array - items: *206 + items: *204 examples: - default: *207 + default: *205 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -31298,7 +30623,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *105 + - *100 requestBody: required: false content: @@ -31352,7 +30677,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *204 examples: default: value: @@ -31406,8 +30731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *105 - - &208 + - *100 + - &206 name: invitation_id description: The unique identifier of the invitation. in: path @@ -31437,8 +30762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *105 - - *208 + - *100 + - *206 - *17 - *19 responses: @@ -31450,7 +30775,7 @@ paths: type: array items: *169 examples: - default: &227 + default: &225 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -31466,7 +30791,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -31485,7 +30810,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -31493,7 +30818,7 @@ paths: application/json: schema: type: array - items: *209 + items: *207 examples: default: value: @@ -31531,7 +30856,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -31578,9 +30903,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *207 examples: - default: &210 + default: &208 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -31612,8 +30937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *105 - - &211 + - *100 + - &209 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -31666,9 +30991,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *207 examples: - default: *210 + default: *208 '404': *6 '422': *7 x-github: @@ -31692,8 +31017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *105 - - *211 + - *100 + - *209 responses: '204': description: Response @@ -31726,7 +31051,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *105 + - *100 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -31756,7 +31081,7 @@ paths: - closed - all default: open - - *212 + - *210 - name: type description: Can be the name of an issue type. in: query @@ -31775,7 +31100,7 @@ paths: - comments default: created - *48 - - *79 + - *74 - *17 - *19 responses: @@ -31785,11 +31110,11 @@ paths: application/json: schema: type: array - items: *71 + items: *67 examples: - default: *213 + default: *211 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -31809,7 +31134,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *105 + - *100 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -31847,9 +31172,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -31867,8 +31192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: Response if requester is an organization member and user is @@ -31902,8 +31227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: Response @@ -31929,8 +31254,8 @@ paths: parameters: - *17 - *19 - - *105 - - *63 + - *100 + - *59 responses: '200': description: Response @@ -31946,11 +31271,11 @@ paths: type: integer codespaces: type: array - items: *214 + items: *212 examples: - default: *215 + default: *213 '304': *37 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -31973,9 +31298,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *105 - - *63 - - &216 + - *100 + - *59 + - &214 name: codespace_name in: path required: true @@ -31985,7 +31310,7 @@ paths: responses: '202': *39 '304': *37 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -32008,17 +31333,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *105 - - *63 - - *216 + - *100 + - *59 + - *214 responses: '200': description: Response content: application/json: - schema: *214 + schema: *212 examples: - default: &451 + default: &439 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -32160,7 +31485,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -32191,14 +31516,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *105 - - *63 + - *100 + - *59 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *217 + schema: *215 examples: default: value: @@ -32242,7 +31567,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -32267,14 +31592,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *105 - - *63 + - *100 + - *59 responses: '200': description: Response content: application/json: - schema: &219 + schema: &217 title: Org Membership description: Org Membership type: object @@ -32318,7 +31643,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *218 + organization: *216 user: title: Simple User description: A GitHub user. @@ -32341,7 +31666,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &220 + response-if-user-has-an-active-admin-membership-with-organization: &218 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -32409,8 +31734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *105 - - *63 + - *100 + - *59 requestBody: required: false content: @@ -32438,9 +31763,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *217 examples: - response-if-user-already-had-membership-with-organization: *220 + response-if-user-already-had-membership-with-organization: *218 '422': *15 '403': *29 x-github: @@ -32464,8 +31789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: Response @@ -32490,7 +31815,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *105 + - *100 - *17 - *19 - name: exclude @@ -32511,7 +31836,7 @@ paths: application/json: schema: type: array - items: &221 + items: &219 title: Migration description: A migration. type: object @@ -32552,7 +31877,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *67 + items: *63 url: type: string format: uri @@ -32748,7 +32073,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -32764,7 +32089,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *105 + - *100 requestBody: required: true content: @@ -32840,7 +32165,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *219 examples: default: value: @@ -33018,8 +32343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *105 - - &222 + - *100 + - &220 name: migration_id description: The unique identifier of the migration. in: path @@ -33046,7 +32371,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *221 + schema: *219 examples: default: value: @@ -33215,8 +32540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *105 - - *222 + - *100 + - *220 responses: '302': description: Response @@ -33237,8 +32562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *105 - - *222 + - *100 + - *220 responses: '204': description: Response @@ -33261,9 +32586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *105 - - *222 - - &671 + - *100 + - *220 + - &667 name: repo_name description: repo_name parameter in: path @@ -33290,8 +32615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *105 - - *222 + - *100 + - *220 - *17 - *19 responses: @@ -33301,9 +32626,9 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: - default: &234 + default: &232 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33414,7 +32739,7 @@ paths: secret_scanning_non_provider_patterns: status: disabled headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -33440,7 +32765,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response - list of organization roles @@ -33456,7 +32781,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &224 + items: &222 title: Organization Role description: Organization roles type: object @@ -33603,8 +32928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *105 - - *65 + - *100 + - *61 responses: '204': description: Response @@ -33629,9 +32954,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *105 - - *65 - - &223 + - *100 + - *61 + - &221 name: role_id description: The unique identifier of the role. in: path @@ -33666,9 +32991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *105 - - *65 - - *223 + - *100 + - *61 + - *221 responses: '204': description: Response @@ -33693,8 +33018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: Response @@ -33719,9 +33044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *105 - - *63 - - *223 + - *100 + - *59 + - *221 responses: '204': description: Response @@ -33751,9 +33076,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *105 - - *63 - - *223 + - *100 + - *59 + - *221 responses: '204': description: Response @@ -33781,14 +33106,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *105 - - *223 + - *100 + - *221 responses: '200': description: Response content: application/json: - schema: *224 + schema: *222 examples: default: value: @@ -33838,8 +33163,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *105 - - *223 + - *100 + - *221 - *17 - *19 responses: @@ -33917,8 +33242,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *225 - required: *226 + properties: *223 + required: *224 nullable: true type: description: The ownership type of the team @@ -33950,9 +33275,9 @@ paths: - type - parent examples: - default: *227 + default: *225 headers: - Link: *58 + Link: *54 '404': description: Response if the organization or role does not exist. '422': @@ -33979,8 +33304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *105 - - *223 + - *100 + - *221 - *17 - *19 responses: @@ -34008,13 +33333,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &308 + items: &296 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *225 - required: *226 + properties: *223 + required: *224 name: nullable: true type: string @@ -34109,9 +33434,9 @@ paths: - type - url examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': description: Response if the organization or role does not exist. '422': @@ -34133,7 +33458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *105 + - *100 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -34160,9 +33485,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34185,8 +33510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *105 - - *63 + - *100 + - *59 requestBody: required: false content: @@ -34243,8 +33568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: Response @@ -34301,8 +33626,8 @@ paths: - docker - nuget - container - - *105 - - &673 + - *100 + - &669 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34338,12 +33663,12 @@ paths: application/json: schema: type: array - items: *228 + items: *226 examples: - default: *229 + default: *227 '403': *29 '401': *25 - '400': &675 + '400': &671 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34365,7 +33690,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &230 + - &228 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -34383,20 +33708,20 @@ paths: - docker - nuget - container - - &231 + - &229 name: package_name description: The name of the package. in: path required: true schema: type: string - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: *228 + schema: *226 examples: default: value: @@ -34448,9 +33773,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *230 - - *231 - - *105 + - *228 + - *229 + - *100 responses: '204': description: Response @@ -34482,9 +33807,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *230 - - *231 - - *105 + - *228 + - *229 + - *100 - name: token description: package token schema: @@ -34516,9 +33841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *230 - - *231 - - *105 + - *228 + - *229 + - *100 - *19 - *17 - name: state @@ -34538,7 +33863,7 @@ paths: application/json: schema: type: array - items: &232 + items: &230 title: Package Version description: A version of a software package type: object @@ -34663,10 +33988,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *230 - - *231 - - *105 - - &233 + - *228 + - *229 + - *100 + - &231 name: package_version_id description: Unique identifier of the package version. in: path @@ -34678,7 +34003,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *230 examples: default: value: @@ -34714,10 +34039,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *230 + - *228 + - *229 + - *100 - *231 - - *105 - - *233 responses: '204': description: Response @@ -34749,10 +34074,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *230 + - *228 + - *229 + - *100 - *231 - - *105 - - *233 responses: '204': description: Response @@ -34779,10 +34104,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *105 + - *100 - *17 - *19 - - &235 + - &233 name: sort description: The property by which to sort the results. in: query @@ -34793,7 +34118,7 @@ paths: - created_at default: created_at - *48 - - &236 + - &234 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -34804,7 +34129,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &237 + - &235 name: repository description: The name of the repository to use to filter the results. in: query @@ -34812,7 +34137,7 @@ paths: schema: type: string example: Hello-World - - &238 + - &236 name: permission description: The permission to use to filter the results. in: query @@ -34820,7 +34145,7 @@ paths: schema: type: string example: issues_read - - &239 + - &237 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -34830,7 +34155,7 @@ paths: schema: type: string format: date-time - - &240 + - &238 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -34840,7 +34165,7 @@ paths: schema: type: string format: date-time - - &241 + - &239 name: token_id description: The ID of the token in: query @@ -34852,7 +34177,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *106 + '500': *101 '422': *15 '404': *6 '403': *29 @@ -34984,7 +34309,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35004,7 +34329,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *105 + - *100 requestBody: required: true content: @@ -35045,7 +34370,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *106 + '500': *101 '422': *15 '404': *6 '403': *29 @@ -35070,7 +34395,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *105 + - *100 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -35106,7 +34431,7 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *106 + '500': *101 '422': *15 '404': *6 '403': *29 @@ -35131,7 +34456,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *105 + - *100 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -35142,7 +34467,7 @@ paths: - *17 - *19 responses: - '500': *106 + '500': *101 '404': *6 '403': *29 '200': @@ -35151,11 +34476,11 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: - default: *234 + default: *232 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35176,19 +34501,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *105 + - *100 - *17 - *19 - - *235 + - *233 - *48 + - *234 + - *235 - *236 - *237 - *238 - *239 - - *240 - - *241 responses: - '500': *106 + '500': *101 '422': *15 '404': *6 '403': *29 @@ -35315,7 +34640,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35335,7 +34660,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *105 + - *100 requestBody: required: true content: @@ -35370,7 +34695,7 @@ paths: - 1296269 - 1296280 responses: - '500': *106 + '500': *101 '404': *6 '202': *39 '403': *29 @@ -35395,7 +34720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *105 + - *100 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -35423,7 +34748,7 @@ paths: value: action: revoke responses: - '500': *106 + '500': *101 '404': *6 '204': *163 '403': *29 @@ -35447,7 +34772,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *105 + - *100 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -35457,7 +34782,7 @@ paths: - *17 - *19 responses: - '500': *106 + '500': *101 '404': *6 '403': *29 '200': @@ -35466,11 +34791,11 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: - default: *234 + default: *232 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35492,7 +34817,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *105 + - *100 - *17 - *19 responses: @@ -35510,7 +34835,7 @@ paths: type: integer configurations: type: array - items: &242 + items: &240 title: Organization private registry description: Private registry configuration for an organization type: object @@ -35576,7 +34901,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *58 + Link: *54 '400': *14 '404': *6 x-github: @@ -35598,7 +34923,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -35763,7 +35088,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &243 + org-private-registry-with-selected-visibility: &241 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -35804,7 +35129,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -35830,7 +35155,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -35852,16 +35177,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *105 - - *145 + - *100 + - *141 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *242 + schema: *240 examples: - default: *243 + default: *241 '404': *6 x-github: githubCloudOnly: false @@ -35882,8 +35207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *105 - - *145 + - *100 + - *141 requestBody: required: true content: @@ -35978,8 +35303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *105 - - *145 + - *100 + - *141 responses: '204': description: Response @@ -36004,7 +35329,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects parameters: - - *105 + - *100 - name: state description: Indicates the state of the projects to return. in: query @@ -36025,7 +35350,7 @@ paths: application/json: schema: type: array - items: &244 + items: &242 title: Project description: Projects are a way to organize columns and cards of work. @@ -36149,7 +35474,7 @@ paths: organization_permission: write private: true headers: - Link: *58 + Link: *54 '422': *7 x-github: githubCloudOnly: false @@ -36172,7 +35497,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project parameters: - - *105 + - *100 requestBody: required: true content: @@ -36198,7 +35523,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *242 examples: default: value: @@ -36236,7 +35561,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &336 + '410': &324 description: Gone content: application/json: @@ -36262,7 +35587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *105 + - *100 - name: q description: Limit results to projects of the specified type. in: query @@ -36279,7 +35604,7 @@ paths: application/json: schema: type: array - items: &245 + items: &243 title: Projects v2 Project description: A projects v2 project type: object @@ -36349,7 +35674,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &755 + properties: &751 id: type: number description: The unique identifier of the status update. @@ -36397,7 +35722,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &756 + required: &752 - id - node_id - created_at @@ -36422,7 +35747,7 @@ paths: - deleted_at - deleted_by examples: - default: &246 + default: &244 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -36505,7 +35830,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36525,24 +35850,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &247 + - &245 name: project_number description: The project's number. in: path required: true schema: type: integer - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: *245 + schema: *243 examples: - default: *246 + default: *244 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36562,8 +35887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *247 - - *105 + - *245 + - *100 - *17 - *40 - *41 @@ -36574,7 +35899,7 @@ paths: application/json: schema: type: array - items: &248 + items: &246 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -36721,7 +36046,7 @@ paths: - updated_at - project_url examples: - default: &249 + default: &247 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -36744,7 +36069,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36764,25 +36089,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *247 - - &692 + - *245 + - &688 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: *248 + schema: *246 examples: - default: *249 + default: *247 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36803,8 +36128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *247 - - *105 + - *245 + - *100 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -36813,8 +36138,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: @@ -36822,7 +36149,6 @@ paths: maxItems: 50 items: type: string - example: fields[]=123,fields[]=456,fields[]=789 - *40 - *41 - *17 @@ -36833,7 +36159,7 @@ paths: application/json: schema: type: array - items: &255 + items: &253 title: Projects v2 Item description: An item belonging to a project type: object @@ -36849,7 +36175,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &253 + content_type: &251 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -36899,7 +36225,7 @@ paths: - updated_at - archived_at examples: - default: &256 + default: &254 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -37573,7 +36899,7 @@ paths: type: sub_issues_progress value: headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -37593,8 +36919,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *105 - - *247 + - *100 + - *245 requestBody: required: true description: Details of the item to add to the project. @@ -37631,7 +36957,7 @@ paths: description: Response content: application/json: - schema: &693 + schema: &689 title: Projects v2 Item description: An item belonging to a project type: object @@ -37644,8 +36970,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *71 - - &466 + - *67 + - &454 title: Pull Request Simple description: Pull Request Simple type: object @@ -37751,8 +37077,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *248 + required: *249 nullable: true active_lock_reason: type: string @@ -37806,7 +37132,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *63 sha: type: string user: @@ -37829,7 +37155,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *63 sha: type: string user: @@ -37848,7 +37174,7 @@ paths: _links: type: object properties: - comments: &252 + comments: &250 title: Link description: Hypermedia Link type: object @@ -37857,13 +37183,13 @@ paths: type: string required: - href - commits: *252 - statuses: *252 - html: *252 - issue: *252 - review_comments: *252 - review_comment: *252 - self: *252 + commits: *250 + statuses: *250 + html: *250 + issue: *250 + review_comments: *250 + review_comment: *250 + self: *250 required: - comments - commits @@ -37873,8 +37199,8 @@ paths: - review_comments - review_comment - self - author_association: *72 - auto_merge: &568 + author_association: *68 + auto_merge: &556 title: Auto merge description: The status of auto merging a pull request. type: object @@ -37976,7 +37302,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *253 + content_type: *251 creator: *4 created_at: type: string @@ -38009,7 +37335,7 @@ paths: - updated_at - archived_at examples: - issue: &254 + issue: &252 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -38064,7 +37390,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *254 + pull_request: *252 '304': *37 '403': *29 '401': *25 @@ -38084,9 +37410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *247 - - *105 - - &257 + - *245 + - *100 + - &255 name: item_id description: The unique identifier of the project item. in: path @@ -38109,11 +37435,11 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - default: *256 + default: *254 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -38132,9 +37458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *247 - - *105 - - *257 + - *245 + - *100 + - *255 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -38204,13 +37530,13 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - text_field: *256 - number_field: *256 - date_field: *256 - single_select_field: *256 - iteration_field: *256 + text_field: *254 + number_field: *254 + date_field: *254 + single_select_field: *254 + iteration_field: *254 '401': *25 '403': *29 '404': *6 @@ -38230,9 +37556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *247 - - *105 - - *257 + - *245 + - *100 + - *255 responses: '204': description: Response @@ -38256,7 +37582,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response @@ -38264,7 +37590,7 @@ paths: application/json: schema: type: array - items: &258 + items: &256 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -38330,7 +37656,7 @@ paths: - property_name - value_type examples: - default: &259 + default: &257 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38378,7 +37704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -38389,7 +37715,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *258 + items: *256 minItems: 1 maxItems: 100 required: @@ -38419,9 +37745,9 @@ paths: application/json: schema: type: array - items: *258 + items: *256 examples: - default: *259 + default: *257 '403': *29 '404': *6 x-github: @@ -38442,8 +37768,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *105 - - &260 + - *100 + - &258 name: custom_property_name description: The custom property name in: path @@ -38455,9 +37781,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: &261 + default: &259 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38491,8 +37817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *105 - - *260 + - *100 + - *258 requestBody: required: true content: @@ -38561,9 +37887,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *256 examples: - default: *261 + default: *259 '403': *29 '404': *6 x-github: @@ -38586,8 +37912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *105 - - *260 + - *100 + - *258 responses: '204': *163 '403': *29 @@ -38610,7 +37936,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *105 + - *100 - *17 - *19 - name: repository_query @@ -38648,7 +37974,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &262 + items: &260 title: Custom Property Value description: Custom property name and associated value type: object @@ -38687,7 +38013,7 @@ paths: - property_name: team value: octocat headers: - Link: *58 + Link: *54 '403': *29 '404': *6 x-github: @@ -38715,7 +38041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *105 + - *100 requestBody: required: true content: @@ -38735,7 +38061,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *262 + items: *260 required: - repository_names - properties @@ -38776,7 +38102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *105 + - *100 - *17 - *19 responses: @@ -38788,9 +38114,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38807,8 +38133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: Response if user is a public member @@ -38832,8 +38158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: Response @@ -38854,8 +38180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *105 - - *63 + - *100 + - *59 responses: '204': description: Response @@ -38879,7 +38205,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *105 + - *100 - name: type description: Specifies the types of repositories you want returned. in: query @@ -38925,11 +38251,11 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: - default: *234 + default: *232 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38948,7 +38274,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *105 + - *100 requestBody: required: true content: @@ -39129,7 +38455,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &326 title: Full Repository description: Full Repository type: object @@ -39406,8 +38732,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *263 - required: *264 + properties: *261 + required: *262 nullable: true temp_clone_token: type: string @@ -39494,8 +38820,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *70 + required: *71 nullable: true organization: title: Simple User @@ -39504,8 +38830,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *67 - source: *67 + parent: *63 + source: *63 forks: type: integer master_branch: @@ -39522,7 +38848,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &471 + properties: &459 url: type: string format: uri @@ -39538,12 +38864,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &472 + required: &460 - url - key - name - html_url - security_and_analysis: *265 + security_and_analysis: *263 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -39627,7 +38953,7 @@ paths: - network_count - subscribers_count examples: - default: &340 + default: &328 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40145,10 +39471,10 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *100 - *17 - *19 - - &591 + - &579 name: targets description: | A comma-separated list of rule targets to filter by. @@ -40166,7 +39492,7 @@ paths: application/json: schema: type: array - items: &291 + items: &289 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -40201,7 +39527,7 @@ paths: source: type: string description: The name of the source - enforcement: &268 + enforcement: &266 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -40214,7 +39540,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &269 + items: &267 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -40284,7 +39610,7 @@ paths: conditions: nullable: true anyOf: - - &266 + - &264 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -40308,7 +39634,7 @@ paths: match. items: type: string - - &270 + - &268 title: Organization ruleset conditions type: object description: |- @@ -40322,7 +39648,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *266 + - *264 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -40356,7 +39682,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *266 + - *264 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -40378,7 +39704,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *266 + - *264 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -40391,7 +39717,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &267 + items: &265 title: Repository ruleset property targeting definition type: object @@ -40424,17 +39750,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *267 + items: *265 required: - repository_property rules: type: array - items: &592 + items: &580 title: Repository Rule type: object description: A repository rule. oneOf: - - &271 + - &269 title: creation description: Only allow users with bypass permission to create matching refs. @@ -40446,7 +39772,7 @@ paths: type: string enum: - creation - - &272 + - &270 title: update description: Only allow users with bypass permission to update matching refs. @@ -40467,7 +39793,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &273 + - &271 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -40479,7 +39805,7 @@ paths: type: string enum: - deletion - - &274 + - &272 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -40491,7 +39817,7 @@ paths: type: string enum: - required_linear_history - - &589 + - &577 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -40569,7 +39895,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &275 + - &273 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -40593,7 +39919,7 @@ paths: type: string required: - required_deployment_environments - - &276 + - &274 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -40605,7 +39931,7 @@ paths: type: string enum: - required_signatures - - &277 + - &275 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -40667,7 +39993,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &278 + - &276 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -40715,7 +40041,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &279 + - &277 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -40727,7 +40053,7 @@ paths: type: string enum: - non_fast_forward - - &280 + - &278 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -40763,7 +40089,7 @@ paths: required: - operator - pattern - - &281 + - &279 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -40799,7 +40125,7 @@ paths: required: - operator - pattern - - &282 + - &280 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -40835,7 +40161,7 @@ paths: required: - operator - pattern - - &283 + - &281 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -40871,7 +40197,7 @@ paths: required: - operator - pattern - - &284 + - &282 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -40907,7 +40233,7 @@ paths: required: - operator - pattern - - &285 + - &283 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -40932,7 +40258,7 @@ paths: type: string required: - restricted_file_paths - - &286 + - &284 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -40956,7 +40282,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &287 + - &285 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -40979,7 +40305,7 @@ paths: type: string required: - restricted_file_extensions - - &288 + - &286 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -41004,7 +40330,7 @@ paths: maximum: 100 required: - max_file_size - - &289 + - &287 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -41054,7 +40380,7 @@ paths: - repository_id required: - workflows - - &290 + - &288 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -41115,7 +40441,7 @@ paths: - tool required: - code_scanning_tools - - &590 + - &578 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -41176,7 +40502,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *106 + '500': *101 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -41192,7 +40518,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *100 requestBody: description: Request body required: true @@ -41213,20 +40539,22 @@ paths: - push - repository default: branch - enforcement: *268 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *270 + items: *267 + conditions: *268 rules: type: array description: An array of rules within the ruleset. - items: &293 + items: &291 title: Repository Rule type: object description: A repository rule. oneOf: + - *269 + - *270 - *271 - *272 - *273 @@ -41245,8 +40573,6 @@ paths: - *286 - *287 - *288 - - *289 - - *290 required: - name - enforcement @@ -41284,9 +40610,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: &292 + default: &290 value: id: 21 name: super cool ruleset @@ -41326,7 +40652,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *106 + '500': *101 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -41340,8 +40666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *105 - - &593 + - *100 + - &581 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -41356,7 +40682,7 @@ paths: in: query schema: type: string - - &594 + - &582 name: time_period description: |- The time period to filter by. @@ -41372,14 +40698,14 @@ paths: - week - month default: day - - &595 + - &583 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &596 + - &584 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -41399,7 +40725,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &585 title: Rule Suites description: Response type: array @@ -41454,7 +40780,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &598 + default: &586 value: - id: 21 actor_id: 12 @@ -41478,7 +40804,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41497,8 +40823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *105 - - &599 + - *100 + - &587 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41514,7 +40840,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &588 title: Rule Suite description: Response type: object @@ -41613,7 +40939,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &601 + default: &589 value: id: 21 actor_id: 12 @@ -41648,7 +40974,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41674,7 +41000,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *100 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41686,11 +41012,11 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: *292 + default: *290 '404': *6 - '500': *106 + '500': *101 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -41706,7 +41032,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *100 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41732,16 +41058,16 @@ paths: - tag - push - repository - enforcement: *268 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *270 + items: *267 + conditions: *268 rules: description: An array of rules within the ruleset. type: array - items: *293 + items: *291 examples: default: value: @@ -41776,11 +41102,11 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: *292 + default: *290 '404': *6 - '500': *106 + '500': *101 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -41796,7 +41122,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *100 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41807,7 +41133,7 @@ paths: '204': description: Response '404': *6 - '500': *106 + '500': *101 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -41819,7 +41145,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *105 + - *100 - *17 - *19 - name: ruleset_id @@ -41835,7 +41161,7 @@ paths: application/json: schema: type: array - items: &294 + items: &292 title: Ruleset version type: object description: The historical version of a ruleset @@ -41859,7 +41185,7 @@ paths: type: string format: date-time examples: - default: &603 + default: &591 value: - version_id: 3 actor: @@ -41877,7 +41203,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41894,7 +41220,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *105 + - *100 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41912,9 +41238,9 @@ paths: description: Response content: application/json: - schema: &604 + schema: &592 allOf: - - *294 + - *292 - type: object required: - state @@ -41961,7 +41287,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41983,15 +41309,53 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *105 - - *295 - - *296 - - *297 - - *298 + - *100 + - &593 + 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 + - &594 + 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 + - &595 + 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 + - &596 + name: sort + description: The property to sort the results by. `created` means when the + alert was created. `updated` means when the alert was updated or resolved. + in: query + required: false + schema: + type: string + enum: + - created + - updated + default: created - *48 - *19 - *17 - - &605 + - &597 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -42001,7 +41365,7 @@ paths: required: false schema: type: string - - &606 + - &598 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -42011,10 +41375,42 @@ paths: required: false schema: type: string - - *299 - - *300 - - *301 - - *302 + - &599 + 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 + - &600 + 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 + - &601 + 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 + - &602 + name: hide_secret + in: query + description: A boolean value representing whether or not to hide literal secrets + in the results. + required: false + schema: + type: boolean + default: false responses: '200': description: Response @@ -42022,13 +41418,593 @@ paths: application/json: schema: type: array - items: *303 + items: + type: object + properties: + number: *149 + created_at: *150 + updated_at: + type: string + description: 'The time that the alert was last updated in ISO + 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + format: date-time + readOnly: true + nullable: true + url: *152 + html_url: *153 + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this + alert. + state: &603 + 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: &604 + type: string + description: "**Required when the `state` is `resolved`.** The + reason for resolving the alert." + nullable: true + enum: + - false_positive + - wont_fix + - revoked + - used_in_tests + resolved_at: + type: string + format: date-time + description: 'The time that the alert was resolved in ISO 8601 + format: `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + resolved_by: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + secret_type: + type: string + description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: *53 + push_protection_bypassed: + type: boolean + description: Whether push protection was bypassed for the detected + secret. + nullable: true + push_protection_bypassed_by: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + push_protection_bypassed_at: + type: string + format: date-time + description: 'The time that push protection was bypassed in + ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + push_protection_bypass_request_reviewer: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + push_protection_bypass_request_reviewer_comment: + type: string + description: An optional comment when reviewing a push protection + bypass. + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection + bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true + resolution_comment: + type: string + description: The comment that was optionally added when this + alert was closed + nullable: true + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: boolean + description: Whether the secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple + repositories in the same organization or enterprise. + nullable: true + is_base64_encoded: + type: boolean + description: A boolean value representing whether or not alert + is base64 encoded + nullable: true + first_location_detected: + description: 'Details on the location where the token was initially + detected. This can be a commit, wiki commit, issue, discussion, + pull request. + + ' + oneOf: &605 + - &607 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in + the file + end_line: + type: number + description: Line number at which the secret ends in the + file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &608 + description: Represents a 'wiki_commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in + the file + end_line: + type: number + description: Line number at which the secret ends in the + file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &609 + description: Represents an 'issue_title' secret scanning location + type. This location type shows that a secret was detected + in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &610 + description: Represents an 'issue_body' secret scanning location + type. This location type shows that a secret was detected + in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &611 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &612 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret was + detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &613 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret was + detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &614 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &615 + description: Represents a 'pull_request_title' secret scanning + location type. This location type shows that a secret was + detected in the title of a pull request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &616 + description: Represents a 'pull_request_body' secret scanning + location type. This location type shows that a secret was + detected in the body of a pull request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &617 + description: Represents a 'pull_request_comment' secret scanning + location type. This location type shows that a secret was + detected in a comment on a pull request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &618 + description: Represents a 'pull_request_review' secret scanning + location type. This location type shows that a secret was + detected in a review on a pull request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &619 + description: Represents a 'pull_request_review_comment' secret + scanning location type. This location type shows that a + secret was detected in a review comment on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable: true + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. + assigned_to: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true examples: - default: *304 + default: + value: + - number: 2 + created_at: '2020-11-06T18:48:51Z' + url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 + html_url: https://github.com/owner/private-repo/security/secret-scanning/2 + locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations + state: resolved + resolution: false_positive + resolved_at: '2020-11-07T02:47:13Z' + resolved_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + secret_type: adafruit_io_key + secret_type_display_name: Adafruit IO Key + secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + push_protection_bypassed_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + push_protection_bypassed: true + push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_reviewer_comment: Example response + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 + resolution_comment: Example comment + validity: active + publicly_leaked: false + multi_repo: false + is_base64_encoded: false + first_location_detected: + path: "/example/secrets.txt" + start_line: 1 + end_line: 1 + start_column: 1 + end_column: 64 + blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b + commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b + has_more_locations: true + assigned_to: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false headers: - Link: *58 + Link: *54 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42053,7 +42029,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *105 + - *100 responses: '200': description: Response @@ -42065,7 +42041,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &306 + pattern_config_version: &294 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -42074,7 +42050,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &305 + items: &293 type: object properties: token_type: @@ -42140,7 +42116,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *305 + items: *293 examples: default: value: @@ -42189,7 +42165,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *105 + - *100 requestBody: required: true content: @@ -42197,7 +42173,7 @@ paths: schema: type: object properties: - pattern_config_version: *306 + pattern_config_version: *294 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -42223,7 +42199,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *306 + custom_pattern_version: *294 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -42277,7 +42253,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *105 + - *100 - *48 - name: sort description: The property to sort the results by. @@ -42321,7 +42297,7 @@ paths: application/json: schema: type: array - items: &627 + items: &623 description: A repository security advisory. type: object properties: @@ -42541,7 +42517,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *295 credits_detailed: type: array nullable: true @@ -42551,7 +42527,7 @@ paths: type: object properties: user: *4 - type: *307 + type: *295 state: type: string description: The state of the user's acceptance of the @@ -42612,7 +42588,7 @@ paths: - private_fork additionalProperties: false examples: - default: &628 + default: &624 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42991,7 +42967,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *105 + - *100 responses: '200': description: Response @@ -42999,9 +42975,9 @@ paths: application/json: schema: type: array - items: *308 + items: *296 examples: - default: *227 + default: *225 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43024,8 +43000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *105 - - *65 + - *100 + - *61 responses: '204': description: Response @@ -43050,8 +43026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *105 - - *65 + - *100 + - *61 responses: '204': description: Response @@ -43080,13 +43056,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &694 + schema: &690 type: object properties: total_minutes_used: @@ -43156,7 +43132,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &695 + default: &691 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -43186,13 +43162,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &696 + schema: &692 type: object properties: total_gigabytes_bandwidth_used: @@ -43210,7 +43186,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &697 + default: &693 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -43236,13 +43212,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: &701 + schema: &697 type: object properties: days_left_in_billing_cycle: @@ -43260,7 +43236,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &702 + default: &698 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -43284,7 +43260,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *105 + - *100 responses: '200': description: Immutable releases settings response @@ -43333,7 +43309,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *105 + - *100 responses: '204': description: Response @@ -43390,7 +43366,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *105 + - *100 - *19 - *17 responses: @@ -43408,9 +43384,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *133 examples: - default: *149 + default: *145 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43429,7 +43405,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *105 + - *100 requestBody: required: true content: @@ -43478,8 +43454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *105 - - *126 + - *100 + - *122 responses: '204': description: Response @@ -43501,8 +43477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *105 - - *126 + - *100 + - *122 responses: '204': description: Response @@ -43525,7 +43501,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *105 + - *100 - *17 - *19 responses: @@ -43543,7 +43519,7 @@ paths: type: integer network_configurations: type: array - items: &309 + items: &297 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -43602,7 +43578,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43621,7 +43597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *105 + - *100 requestBody: required: true content: @@ -43663,9 +43639,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *297 examples: - default: &310 + default: &298 value: id: 123456789ABCDEF name: My network configuration @@ -43693,8 +43669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *105 - - &311 + - *100 + - &299 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -43706,11 +43682,11 @@ paths: description: Response content: application/json: - schema: *309 + schema: *297 examples: - default: *310 + default: *298 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43729,8 +43705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *105 - - *311 + - *100 + - *299 requestBody: required: true content: @@ -43769,9 +43745,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *297 examples: - default: *310 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43790,8 +43766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *105 - - *311 + - *100 + - *299 responses: '204': description: Response @@ -43814,7 +43790,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *105 + - *100 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -43868,7 +43844,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43898,8 +43874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *105 - - *65 + - *100 + - *61 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -43931,13 +43907,13 @@ paths: application/json: schema: type: array - items: *312 + items: *300 examples: - default: *313 - '500': *106 + default: *301 + '500': *101 '403': *29 '404': *6 - '422': *314 + '422': *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43955,7 +43931,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *105 + - *100 - *17 - *19 responses: @@ -43967,9 +43943,9 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -43989,7 +43965,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *105 + - *100 requestBody: required: true content: @@ -44061,7 +44037,7 @@ paths: description: Response content: application/json: - schema: &315 + schema: &303 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -44124,8 +44100,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *225 - required: *226 + properties: *223 + required: *224 nullable: true members_count: type: integer @@ -44388,7 +44364,7 @@ paths: - repos_count - organization examples: - default: &316 + default: &304 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44458,16 +44434,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *105 - - *65 + - *100 + - *61 responses: '200': description: Response content: application/json: - schema: *315 + schema: *303 examples: - default: *316 + default: *304 '404': *6 x-github: githubCloudOnly: false @@ -44488,8 +44464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *105 - - *65 + - *100 + - *61 requestBody: required: false content: @@ -44551,16 +44527,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *315 + schema: *303 examples: - default: *316 + default: *304 '201': description: Response content: application/json: - schema: *315 + schema: *303 examples: - default: *316 + default: *304 '404': *6 '422': *15 '403': *29 @@ -44585,8 +44561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *105 - - *65 + - *100 + - *61 responses: '204': description: Response @@ -44612,8 +44588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *105 - - *65 + - *100 + - *61 - *48 - *17 - *19 @@ -44630,7 +44606,7 @@ paths: application/json: schema: type: array - items: &317 + items: &305 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44709,7 +44685,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *73 + reactions: *69 required: - author - body @@ -44729,7 +44705,7 @@ paths: - updated_at - url examples: - default: &645 + default: &641 value: - author: login: octocat @@ -44779,7 +44755,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44803,8 +44779,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *105 - - *65 + - *100 + - *61 requestBody: required: true content: @@ -44838,9 +44814,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *305 examples: - default: &318 + default: &306 value: author: login: octocat @@ -44912,9 +44888,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *105 - - *65 - - &319 + - *100 + - *61 + - &307 name: discussion_number description: The number that identifies the discussion. in: path @@ -44926,9 +44902,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *305 examples: - default: *318 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44950,9 +44926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *105 - - *65 - - *319 + - *100 + - *61 + - *307 requestBody: required: false content: @@ -44975,9 +44951,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *305 examples: - default: &646 + default: &642 value: author: login: octocat @@ -45047,9 +45023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *105 - - *65 - - *319 + - *100 + - *61 + - *307 responses: '204': description: Response @@ -45075,9 +45051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *105 - - *65 - - *319 + - *100 + - *61 + - *307 - *48 - *17 - *19 @@ -45088,7 +45064,7 @@ paths: application/json: schema: type: array - items: &320 + items: &308 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -45145,7 +45121,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *73 + reactions: *69 required: - author - body @@ -45160,7 +45136,7 @@ paths: - updated_at - url examples: - default: &647 + default: &643 value: - author: login: octocat @@ -45204,7 +45180,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45228,9 +45204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *105 - - *65 - - *319 + - *100 + - *61 + - *307 requestBody: required: true content: @@ -45252,9 +45228,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *308 examples: - default: &321 + default: &309 value: author: login: octocat @@ -45320,10 +45296,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *105 - - *65 - - *319 - - &322 + - *100 + - *61 + - *307 + - &310 name: comment_number description: The number that identifies the comment. in: path @@ -45335,9 +45311,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *308 examples: - default: *321 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45359,10 +45335,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *100 + - *61 + - *307 + - *310 requestBody: required: true content: @@ -45384,9 +45360,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *308 examples: - default: &648 + default: &644 value: author: login: octocat @@ -45450,10 +45426,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *100 + - *61 + - *307 + - *310 responses: '204': description: Response @@ -45479,10 +45455,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *100 + - *61 + - *307 + - *310 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -45508,7 +45484,7 @@ paths: application/json: schema: type: array - items: &323 + items: &311 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -45551,7 +45527,7 @@ paths: - content - created_at examples: - default: &325 + default: &313 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45577,7 +45553,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45601,10 +45577,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *100 + - *61 + - *307 + - *310 requestBody: required: true content: @@ -45637,9 +45613,9 @@ paths: team discussion comment content: application/json: - schema: *323 + schema: *311 examples: - default: &324 + default: &312 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45668,9 +45644,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45693,11 +45669,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *105 - - *65 - - *319 - - *322 - - &326 + - *100 + - *61 + - *307 + - *310 + - &314 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45729,9 +45705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *105 - - *65 - - *319 + - *100 + - *61 + - *307 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -45757,11 +45733,11 @@ paths: application/json: schema: type: array - items: *323 + items: *311 examples: - default: *325 + default: *313 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45785,9 +45761,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *105 - - *65 - - *319 + - *100 + - *61 + - *307 requestBody: required: true content: @@ -45819,16 +45795,16 @@ paths: description: Response content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '201': description: Response content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45851,10 +45827,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *105 - - *65 - - *319 - - *326 + - *100 + - *61 + - *307 + - *314 responses: '204': description: Response @@ -45878,8 +45854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *105 - - *65 + - *100 + - *61 - *17 - *19 responses: @@ -45889,11 +45865,11 @@ paths: application/json: schema: type: array - items: *206 + items: *204 examples: - default: *207 + default: *205 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45913,8 +45889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *105 - - *65 + - *100 + - *61 - name: role description: Filters members returned by their role in the team. in: query @@ -45937,9 +45913,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45967,15 +45943,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *105 - - *65 - - *63 + - *100 + - *61 + - *59 responses: '200': description: Response content: application/json: - schema: &327 + schema: &315 title: Team Membership description: Team Membership type: object @@ -46002,7 +45978,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &649 + response-if-user-is-a-team-maintainer: &645 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -46038,9 +46014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *105 - - *65 - - *63 + - *100 + - *61 + - *59 requestBody: required: false content: @@ -46065,9 +46041,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *315 examples: - response-if-users-membership-with-team-is-now-pending: &650 + response-if-users-membership-with-team-is-now-pending: &646 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -46102,9 +46078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *105 - - *65 - - *63 + - *100 + - *61 + - *59 responses: '204': description: Response @@ -46129,8 +46105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *105 - - *65 + - *100 + - *61 - *17 - *19 responses: @@ -46140,7 +46116,7 @@ paths: application/json: schema: type: array - items: &328 + items: &316 title: Team Project description: A team's access to a project. type: object @@ -46208,7 +46184,7 @@ paths: - updated_at - permissions examples: - default: &651 + default: &647 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46248,7 +46224,7 @@ paths: write: true admin: false headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46271,9 +46247,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *105 - - *65 - - &329 + - *100 + - *61 + - &317 name: project_id description: The unique identifier of the project. in: path @@ -46285,9 +46261,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *316 examples: - default: &652 + default: &648 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46349,9 +46325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *105 - - *65 - - *329 + - *100 + - *61 + - *317 requestBody: required: false content: @@ -46417,9 +46393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *105 - - *65 - - *329 + - *100 + - *61 + - *317 responses: '204': description: Response @@ -46446,8 +46422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *105 - - *65 + - *100 + - *61 - *17 - *19 responses: @@ -46457,11 +46433,11 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: - default: *234 + default: *232 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46488,16 +46464,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *105 - - *65 - - *330 - - *331 + - *100 + - *61 + - *318 + - *319 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &653 + schema: &649 title: Team Repository description: A team's access to a repository. type: object @@ -46520,8 +46496,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *70 + required: *71 nullable: true forks: type: integer @@ -47066,10 +47042,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *105 - - *65 - - *330 - - *331 + - *100 + - *61 + - *318 + - *319 requestBody: required: false content: @@ -47114,10 +47090,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *105 - - *65 - - *330 - - *331 + - *100 + - *61 + - *318 + - *319 responses: '204': description: Response @@ -47141,8 +47117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *105 - - *65 + - *100 + - *61 - *17 - *19 responses: @@ -47154,7 +47130,7 @@ paths: type: array items: *169 examples: - response-if-child-teams-exist: &654 + response-if-child-teams-exist: &650 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -47182,7 +47158,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47207,7 +47183,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *105 + - *100 - name: security_product in: path description: The security feature to enable or disable. @@ -47281,7 +47257,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &332 + - &320 name: column_id description: The unique identifier of the column. in: path @@ -47293,7 +47269,7 @@ paths: description: Response content: application/json: - schema: &333 + schema: &321 title: Project Column description: Project columns contain cards of work. type: object @@ -47339,7 +47315,7 @@ paths: - created_at - updated_at examples: - default: &334 + default: &322 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -47374,7 +47350,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *332 + - *320 requestBody: required: true content: @@ -47398,9 +47374,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *321 examples: - default: *334 + default: *322 '304': *37 '403': *29 '401': *25 @@ -47425,7 +47401,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *332 + - *320 responses: '204': description: Response @@ -47454,7 +47430,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *332 + - *320 requestBody: required: true content: @@ -47514,15 +47490,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *329 + - *317 responses: '200': description: Response content: application/json: - schema: *244 + schema: *242 examples: - default: &335 + default: &323 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -47579,7 +47555,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *329 + - *317 requestBody: required: false content: @@ -47625,9 +47601,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *242 examples: - default: *335 + default: *323 '404': description: Not Found if the authenticated user does not have access to the project @@ -47648,7 +47624,7 @@ paths: items: type: string '401': *25 - '410': *336 + '410': *324 '422': *7 x-github: githubCloudOnly: false @@ -47671,7 +47647,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *329 + - *317 responses: '204': description: Delete Success @@ -47692,7 +47668,7 @@ paths: items: type: string '401': *25 - '410': *336 + '410': *324 '404': *6 x-github: githubCloudOnly: false @@ -47716,7 +47692,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *329 + - *317 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -47743,9 +47719,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': *6 '422': *15 '304': *37 @@ -47773,8 +47749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *329 - - *63 + - *317 + - *59 requestBody: required: false content: @@ -47826,8 +47802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *329 - - *63 + - *317 + - *59 responses: '204': description: Response @@ -47858,8 +47834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *329 - - *63 + - *317 + - *59 responses: '200': description: Response @@ -47932,7 +47908,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *329 + - *317 - *17 - *19 responses: @@ -47942,7 +47918,7 @@ paths: application/json: schema: type: array - items: *333 + items: *321 examples: default: value: @@ -47955,7 +47931,7 @@ paths: created_at: '2016-09-05T14:18:44Z' updated_at: '2016-09-05T14:22:28Z' headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -47980,7 +47956,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *329 + - *317 requestBody: required: true content: @@ -48003,7 +47979,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *321 examples: default: value: @@ -48068,7 +48044,7 @@ paths: resources: type: object properties: - core: &337 + core: &325 title: Rate Limit type: object properties: @@ -48085,21 +48061,21 @@ paths: - remaining - reset - used - graphql: *337 - search: *337 - code_search: *337 - source_import: *337 - integration_manifest: *337 - code_scanning_upload: *337 - actions_runner_registration: *337 - scim: *337 - dependency_snapshots: *337 - dependency_sbom: *337 - code_scanning_autofix: *337 + graphql: *325 + search: *325 + code_search: *325 + source_import: *325 + integration_manifest: *325 + code_scanning_upload: *325 + actions_runner_registration: *325 + scim: *325 + dependency_snapshots: *325 + dependency_sbom: *325 + code_scanning_autofix: *325 required: - core - search - rate: *337 + rate: *325 required: - rate - resources @@ -48204,14 +48180,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *338 + schema: *326 examples: default-response: summary: Default response @@ -48712,7 +48688,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *339 + '301': *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48730,8 +48706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: false content: @@ -48978,10 +48954,10 @@ paths: description: Response content: application/json: - schema: *338 + schema: *326 examples: - default: *340 - '307': &341 + default: *328 + '307': &329 description: Temporary Redirect content: application/json: @@ -49010,8 +48986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -49033,7 +49009,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *341 + '307': *329 '404': *6 '409': *47 x-github: @@ -49057,11 +49033,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 - - &372 + - &360 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -49084,7 +49060,7 @@ paths: type: integer artifacts: type: array - items: &342 + items: &330 title: Artifact description: An artifact type: object @@ -49162,7 +49138,7 @@ paths: - expires_at - updated_at examples: - default: &373 + default: &361 value: total_count: 2 artifacts: @@ -49201,7 +49177,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49223,9 +49199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *330 - - *331 - - &343 + - *318 + - *319 + - &331 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49237,7 +49213,7 @@ paths: description: Response content: application/json: - schema: *342 + schema: *330 examples: default: value: @@ -49275,9 +49251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *330 + - *318 + - *319 - *331 - - *343 responses: '204': description: Response @@ -49301,9 +49277,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *330 + - *318 + - *319 - *331 - - *343 - name: archive_format in: path required: true @@ -49317,7 +49293,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49340,14 +49316,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *344 + schema: *332 examples: default: value: @@ -49373,11 +49349,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 - - &345 + - &333 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -49411,7 +49387,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &334 title: Repository actions caches description: Repository actions caches type: object @@ -49453,7 +49429,7 @@ paths: - total_count - actions_caches examples: - default: &347 + default: &335 value: total_count: 1 actions_caches: @@ -49465,7 +49441,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49485,23 +49461,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *330 - - *331 + - *318 + - *319 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *345 + - *333 responses: '200': description: Response content: application/json: - schema: *346 + schema: *334 examples: - default: *347 + default: *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49521,8 +49497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *330 - - *331 + - *318 + - *319 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49553,9 +49529,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *330 - - *331 - - &348 + - *318 + - *319 + - &336 name: job_id description: The unique identifier of the job. in: path @@ -49567,7 +49543,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &364 title: Job description: Information of a job execution in a workflow run type: object @@ -49874,9 +49850,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *330 - - *331 - - *348 + - *318 + - *319 + - *336 responses: '302': description: Response @@ -49904,9 +49880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *330 - - *331 - - *348 + - *318 + - *319 + - *336 requestBody: required: false content: @@ -49927,7 +49903,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -49951,8 +49927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Status response @@ -50002,8 +49978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -50037,7 +50013,7 @@ paths: description: Empty response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -50066,8 +50042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -50085,7 +50061,7 @@ paths: type: integer secrets: type: array - items: &378 + items: &366 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -50105,7 +50081,7 @@ paths: - created_at - updated_at examples: - default: &379 + default: &367 value: total_count: 2 secrets: @@ -50116,7 +50092,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50138,9 +50114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *330 - - *331 - - *349 + - *318 + - *319 + - *337 - *19 responses: '200': @@ -50157,7 +50133,7 @@ paths: type: integer variables: type: array - items: &382 + items: &370 title: Actions Variable type: object properties: @@ -50187,7 +50163,7 @@ paths: - created_at - updated_at examples: - default: &383 + default: &371 value: total_count: 2 variables: @@ -50200,7 +50176,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50220,8 +50196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -50230,12 +50206,12 @@ paths: schema: type: object properties: - enabled: &351 + enabled: &339 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *122 - selected_actions_url: *350 - sha_pinning_required: *123 + allowed_actions: *118 + selected_actions_url: *338 + sha_pinning_required: *119 required: - enabled examples: @@ -50263,8 +50239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -50275,9 +50251,9 @@ paths: schema: type: object properties: - enabled: *351 - allowed_actions: *122 - sha_pinning_required: *123 + enabled: *339 + allowed_actions: *118 + sha_pinning_required: *119 required: - enabled examples: @@ -50307,14 +50283,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: &352 + schema: &340 type: object properties: access_level: @@ -50331,7 +50307,7 @@ paths: required: - access_level examples: - default: &353 + default: &341 value: access_level: organization x-github: @@ -50355,15 +50331,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: application/json: - schema: *352 + schema: *340 examples: - default: *353 + default: *341 responses: '204': description: Response @@ -50387,14 +50363,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *354 + schema: *342 examples: default: value: @@ -50418,8 +50394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Empty response for successful settings update @@ -50429,7 +50405,7 @@ paths: required: true content: application/json: - schema: *355 + schema: *343 examples: default: summary: Set retention days @@ -50453,16 +50429,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *124 + schema: *120 examples: - default: *356 + default: *344 '404': *6 x-github: enabledForGitHubApps: true @@ -50481,8 +50457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -50492,7 +50468,7 @@ paths: required: true content: application/json: - schema: *124 + schema: *120 examples: default: summary: Set approval policy to first time contributors @@ -50516,16 +50492,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *357 + schema: *345 examples: - default: *125 + default: *121 '403': *29 '404': *6 x-github: @@ -50545,15 +50521,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: application/json: - schema: *358 + schema: *346 examples: - default: *125 + default: *121 responses: '204': description: Empty response for successful settings update @@ -50577,16 +50553,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *127 + schema: *123 examples: - default: *128 + default: *124 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -50605,8 +50581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -50614,9 +50590,9 @@ paths: required: false content: application/json: - schema: *127 + schema: *123 examples: - selected_actions: *128 + selected_actions: *124 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -50638,16 +50614,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *359 + schema: *347 examples: - default: *132 + default: *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50668,8 +50644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Success response @@ -50680,9 +50656,9 @@ paths: required: true content: application/json: - schema: *360 + schema: *348 examples: - default: *132 + default: *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50709,8 +50685,8 @@ paths: in: query schema: type: string - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -50728,11 +50704,11 @@ paths: type: integer runners: type: array - items: *139 + items: *135 examples: - default: *140 + default: *136 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50754,8 +50730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -50763,9 +50739,9 @@ paths: application/json: schema: type: array - items: *361 + items: *349 examples: - default: *362 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50787,8 +50763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -50831,7 +50807,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *363 + '201': *351 '404': *6 '422': *7 '409': *47 @@ -50862,16 +50838,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '201': description: Response content: application/json: - schema: *141 + schema: *137 examples: - default: *364 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50899,16 +50875,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '201': description: Response content: application/json: - schema: *141 + schema: *137 examples: - default: *365 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50930,17 +50906,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *330 - - *331 - - *138 + - *318 + - *319 + - *134 responses: '200': description: Response content: application/json: - schema: *139 + schema: *135 examples: - default: *366 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50961,9 +50937,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *330 - - *331 - - *138 + - *318 + - *319 + - *134 responses: '204': description: Response @@ -50989,11 +50965,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *330 - - *331 - - *138 + - *318 + - *319 + - *134 responses: - '200': *143 + '200': *139 '404': *6 x-github: githubCloudOnly: false @@ -51015,9 +50991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *330 - - *331 - - *138 + - *318 + - *319 + - *134 requestBody: required: true content: @@ -51041,7 +51017,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *139 '404': *6 '422': *7 x-github: @@ -51065,9 +51041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *330 - - *331 - - *138 + - *318 + - *319 + - *134 requestBody: required: true content: @@ -51092,7 +51068,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *139 '404': *6 '422': *7 x-github: @@ -51116,11 +51092,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *330 - - *331 - - *138 + - *318 + - *319 + - *134 responses: - '200': *367 + '200': *355 '404': *6 x-github: githubCloudOnly: false @@ -51147,12 +51123,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *330 - - *331 - - *138 - - *368 + - *318 + - *319 + - *134 + - *356 responses: - '200': *143 + '200': *139 '404': *6 '422': *7 x-github: @@ -51178,9 +51154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *330 - - *331 - - &386 + - *318 + - *319 + - &374 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -51188,7 +51164,7 @@ paths: required: false schema: type: string - - &387 + - &375 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -51196,7 +51172,7 @@ paths: required: false schema: type: string - - &388 + - &376 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -51205,7 +51181,7 @@ paths: required: false schema: type: string - - &389 + - &377 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -51232,7 +51208,7 @@ paths: - pending - *17 - *19 - - &390 + - &378 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -51241,7 +51217,7 @@ paths: schema: type: string format: date-time - - &369 + - &357 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -51250,13 +51226,13 @@ paths: schema: type: boolean default: false - - &391 + - &379 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &392 + - &380 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -51279,7 +51255,7 @@ paths: type: integer workflow_runs: type: array - items: &370 + items: &358 title: Workflow Run description: An invocation of a workflow type: object @@ -51374,7 +51350,7 @@ paths: that triggered the run. type: array nullable: true - items: *76 + items: *72 created_at: type: string format: date-time @@ -51427,7 +51403,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &414 + properties: &402 id: type: string description: SHA for the commit @@ -51478,7 +51454,7 @@ paths: - name - email nullable: true - required: &415 + required: &403 - id - tree_id - message @@ -51486,8 +51462,8 @@ paths: - author - committer nullable: true - repository: *137 - head_repository: *137 + repository: *133 + head_repository: *133 head_repository_id: type: integer example: 5 @@ -51525,7 +51501,7 @@ paths: - workflow_url - pull_requests examples: - default: &393 + default: &381 value: total_count: 1 workflow_runs: @@ -51739,7 +51715,7 @@ paths: releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51761,24 +51737,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *330 - - *331 - - &371 + - *318 + - *319 + - &359 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *369 + - *357 responses: '200': description: Response content: application/json: - schema: *370 + schema: *358 examples: - default: &374 + default: &362 value: id: 30433642 name: Build @@ -52019,9 +51995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 responses: '204': description: Response @@ -52044,9 +52020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 responses: '200': description: Response @@ -52165,15 +52141,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 responses: '201': description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -52200,12 +52176,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 - *17 - *19 - - *372 + - *360 responses: '200': description: Response @@ -52221,11 +52197,11 @@ paths: type: integer artifacts: type: array - items: *342 + items: *330 examples: - default: *373 + default: *361 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52247,25 +52223,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *330 - - *331 - - *371 - - &375 + - *318 + - *319 + - *359 + - &363 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *369 + - *357 responses: '200': description: Response content: application/json: - schema: *370 + schema: *358 examples: - default: *374 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52288,10 +52264,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *330 - - *331 - - *371 - - *375 + - *318 + - *319 + - *359 + - *363 - *17 - *19 responses: @@ -52309,9 +52285,9 @@ paths: type: integer jobs: type: array - items: *376 + items: *364 examples: - default: &377 + default: &365 value: total_count: 1 jobs: @@ -52400,7 +52376,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -52424,10 +52400,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *330 - - *331 - - *371 - - *375 + - *318 + - *319 + - *359 + - *363 responses: '302': description: Response @@ -52455,15 +52431,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 responses: '202': description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -52490,9 +52466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 requestBody: required: true content: @@ -52559,15 +52535,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 responses: '202': description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -52594,9 +52570,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -52626,11 +52602,11 @@ paths: type: integer jobs: type: array - items: *376 + items: *364 examples: - default: *377 + default: *365 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52653,9 +52629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 responses: '302': description: Response @@ -52682,14 +52658,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 responses: '204': description: Response '403': *29 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52711,9 +52687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 responses: '200': description: Response @@ -52773,7 +52749,7 @@ paths: items: type: object properties: - type: &493 + type: &481 type: string description: The type of reviewer. enum: @@ -52858,9 +52834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 requestBody: required: true content: @@ -52907,7 +52883,7 @@ paths: application/json: schema: type: array - items: &488 + items: &476 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52995,8 +52971,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 required: - id - node_id @@ -53013,7 +52989,7 @@ paths: - created_at - updated_at examples: - default: &489 + default: &477 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -53069,9 +53045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 requestBody: required: false content: @@ -53092,7 +53068,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -53115,9 +53091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 requestBody: required: false content: @@ -53138,7 +53114,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -53170,9 +53146,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *330 - - *331 - - *371 + - *318 + - *319 + - *359 responses: '200': description: Response @@ -53309,8 +53285,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -53328,11 +53304,11 @@ paths: type: integer secrets: type: array - items: *378 + items: *366 examples: - default: *379 + default: *367 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53355,16 +53331,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *380 + schema: *368 examples: - default: *381 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53386,17 +53362,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *318 + - *319 + - *141 responses: '200': description: Response content: application/json: - schema: *378 + schema: *366 examples: - default: &506 + default: &494 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53422,9 +53398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *318 + - *319 + - *141 requestBody: required: true content: @@ -53455,7 +53431,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -53481,9 +53457,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *318 + - *319 + - *141 responses: '204': description: Response @@ -53508,9 +53484,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *330 - - *331 - - *349 + - *318 + - *319 + - *337 - *19 responses: '200': @@ -53527,11 +53503,11 @@ paths: type: integer variables: type: array - items: *382 + items: *370 examples: - default: *383 + default: *371 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53552,8 +53528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -53580,7 +53556,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -53605,17 +53581,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *330 - - *331 - - *148 + - *318 + - *319 + - *144 responses: '200': description: Response content: application/json: - schema: *382 + schema: *370 examples: - default: &507 + default: &495 value: name: USERNAME value: octocat @@ -53641,9 +53617,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *330 - - *331 - - *148 + - *318 + - *319 + - *144 requestBody: required: true content: @@ -53685,9 +53661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *330 - - *331 - - *148 + - *318 + - *319 + - *144 responses: '204': description: Response @@ -53712,8 +53688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -53731,7 +53707,7 @@ paths: type: integer workflows: type: array - items: &384 + items: &372 title: Workflow description: A GitHub Actions workflow type: object @@ -53815,7 +53791,7 @@ paths: html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289 badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53838,9 +53814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *330 - - *331 - - &385 + - *318 + - *319 + - &373 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53855,7 +53831,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *372 examples: default: value: @@ -53888,9 +53864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *330 - - *331 - - *385 + - *318 + - *319 + - *373 responses: '204': description: Response @@ -53915,9 +53891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *330 - - *331 - - *385 + - *318 + - *319 + - *373 responses: '204': description: Response @@ -53968,9 +53944,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *330 - - *331 - - *385 + - *318 + - *319 + - *373 responses: '204': description: Response @@ -53997,19 +53973,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *330 - - *331 - - *385 - - *386 - - *387 - - *388 - - *389 + - *318 + - *319 + - *373 + - *374 + - *375 + - *376 + - *377 - *17 - *19 - - *390 - - *369 - - *391 - - *392 + - *378 + - *357 + - *379 + - *380 responses: '200': description: Response @@ -54025,11 +54001,11 @@ paths: type: integer workflow_runs: type: array - items: *370 + items: *358 examples: - default: *393 + default: *381 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54059,9 +54035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *330 - - *331 - - *385 + - *318 + - *319 + - *373 responses: '200': description: Response @@ -54122,8 +54098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *330 - - *331 + - *318 + - *319 - *48 - *17 - *40 @@ -54268,7 +54244,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '422': *7 x-github: githubCloudOnly: false @@ -54287,8 +54263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -54300,9 +54276,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -54325,8 +54301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *330 - - *331 + - *318 + - *319 - name: assignee in: path required: true @@ -54362,8 +54338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -54475,8 +54451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *40 - *41 @@ -54532,7 +54508,7 @@ paths: initiator: type: string examples: - default: *394 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54552,8 +54528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -54561,7 +54537,7 @@ paths: application/json: schema: type: array - items: &395 + items: &383 title: Autolink reference description: An autolink reference. type: object @@ -54615,8 +54591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -54655,9 +54631,9 @@ paths: description: response content: application/json: - schema: *395 + schema: *383 examples: - default: &396 + default: &384 value: id: 1 key_prefix: TICKET- @@ -54688,9 +54664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *330 - - *331 - - &397 + - *318 + - *319 + - &385 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54702,9 +54678,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *383 examples: - default: *396 + default: *384 '404': *6 x-github: githubCloudOnly: false @@ -54724,9 +54700,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *330 - - *331 - - *397 + - *318 + - *319 + - *385 responses: '204': description: Response @@ -54750,8 +54726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response if Dependabot is enabled @@ -54799,8 +54775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -54821,8 +54797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -54842,8 +54818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *330 - - *331 + - *318 + - *319 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54881,7 +54857,7 @@ paths: - url protected: type: boolean - protection: &399 + protection: &387 title: Branch Protection description: Branch Protection type: object @@ -54923,7 +54899,7 @@ paths: required: - contexts - checks - enforce_admins: &402 + enforce_admins: &390 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54938,7 +54914,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &404 + required_pull_request_reviews: &392 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -55014,7 +54990,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &401 + restrictions: &389 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55273,7 +55249,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -55291,9 +55267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *330 - - *331 - - &400 + - *318 + - *319 + - &388 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -55307,14 +55283,14 @@ paths: description: Response content: application/json: - schema: &410 + schema: &398 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &462 + commit: &450 title: Commit description: Commit type: object @@ -55348,7 +55324,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &398 + properties: &386 name: type: string example: '"Chris Wanstrath"' @@ -55363,7 +55339,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *386 nullable: true message: type: string @@ -55384,7 +55360,7 @@ paths: required: - sha - url - verification: &513 + verification: &501 title: Verification type: object properties: @@ -55418,12 +55394,12 @@ paths: nullable: true oneOf: - *4 - - *146 + - *142 committer: nullable: true oneOf: - *4 - - *146 + - *142 parents: type: array items: @@ -55454,7 +55430,7 @@ paths: type: integer files: type: array - items: &475 + items: &463 title: Diff Entry description: Diff Entry type: object @@ -55538,7 +55514,7 @@ paths: - self protected: type: boolean - protection: *399 + protection: *387 protection_url: type: string format: uri @@ -55645,7 +55621,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *339 + '301': *327 '404': *6 x-github: githubCloudOnly: false @@ -55667,15 +55643,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response content: application/json: - schema: *399 + schema: *387 examples: default: value: @@ -55869,9 +55845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: true content: @@ -56126,7 +56102,7 @@ paths: url: type: string format: uri - required_status_checks: &407 + required_status_checks: &395 title: Status Check Policy description: Status Check Policy type: object @@ -56278,7 +56254,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *401 + restrictions: *389 required_conversation_resolution: type: object properties: @@ -56390,9 +56366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '204': description: Response @@ -56417,17 +56393,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response content: application/json: - schema: *402 + schema: *390 examples: - default: &403 + default: &391 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56449,17 +56425,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response content: application/json: - schema: *402 + schema: *390 examples: - default: *403 + default: *391 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56478,9 +56454,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '204': description: Response @@ -56505,17 +56481,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response content: application/json: - schema: *404 + schema: *392 examples: - default: &405 + default: &393 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56611,9 +56587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: false content: @@ -56711,9 +56687,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *392 examples: - default: *405 + default: *393 '422': *15 x-github: githubCloudOnly: false @@ -56734,9 +56710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '204': description: Response @@ -56763,17 +56739,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response content: application/json: - schema: *402 + schema: *390 examples: - default: &406 + default: &394 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56796,17 +56772,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response content: application/json: - schema: *402 + schema: *390 examples: - default: *406 + default: *394 '404': *6 x-github: githubCloudOnly: false @@ -56826,9 +56802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '204': description: Response @@ -56853,17 +56829,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response content: application/json: - schema: *407 + schema: *395 examples: - default: &408 + default: &396 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56889,9 +56865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: false content: @@ -56943,9 +56919,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *395 examples: - default: *408 + default: *396 '404': *6 '422': *15 x-github: @@ -56967,9 +56943,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '204': description: Response @@ -56993,9 +56969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response @@ -57029,9 +57005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: false content: @@ -57098,9 +57074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: false content: @@ -57164,9 +57140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: content: application/json: @@ -57232,15 +57208,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response content: application/json: - schema: *401 + schema: *389 examples: default: value: @@ -57331,9 +57307,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '204': description: Response @@ -57356,9 +57332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response @@ -57368,7 +57344,7 @@ paths: type: array items: *5 examples: - default: &409 + default: &397 value: - id: 1 slug: octoapp @@ -57425,9 +57401,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: true content: @@ -57461,7 +57437,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *397 '422': *15 x-github: githubCloudOnly: false @@ -57482,9 +57458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: true content: @@ -57518,7 +57494,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *397 '422': *15 x-github: githubCloudOnly: false @@ -57539,9 +57515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: true content: @@ -57575,7 +57551,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *397 '422': *15 x-github: githubCloudOnly: false @@ -57597,9 +57573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response @@ -57609,7 +57585,7 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 '404': *6 x-github: githubCloudOnly: false @@ -57629,9 +57605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: false content: @@ -57669,7 +57645,7 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -57690,9 +57666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: false content: @@ -57730,7 +57706,7 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -57751,9 +57727,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: content: application/json: @@ -57790,7 +57766,7 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -57812,9 +57788,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 responses: '200': description: Response @@ -57824,7 +57800,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '404': *6 x-github: githubCloudOnly: false @@ -57848,9 +57824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: true content: @@ -57883,7 +57859,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '422': *15 x-github: githubCloudOnly: false @@ -57908,9 +57884,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: true content: @@ -57943,7 +57919,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '422': *15 x-github: githubCloudOnly: false @@ -57968,9 +57944,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: true content: @@ -58003,7 +57979,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '422': *15 x-github: githubCloudOnly: false @@ -58030,9 +58006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 requestBody: required: true content: @@ -58054,7 +58030,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *398 examples: default: value: @@ -58170,8 +58146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -58450,7 +58426,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &399 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58561,16 +58537,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *76 - deployment: &713 + items: *72 + deployment: &709 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58637,8 +58613,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 required: - id - node_id @@ -58850,9 +58826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *330 - - *331 - - &412 + - *318 + - *319 + - &400 name: check_run_id description: The unique identifier of the check run. in: path @@ -58864,9 +58840,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *399 examples: - default: &413 + default: &401 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58966,9 +58942,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *330 - - *331 - - *412 + - *318 + - *319 + - *400 requestBody: required: true content: @@ -59208,9 +59184,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *399 examples: - default: *413 + default: *401 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59230,9 +59206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *330 - - *331 - - *412 + - *318 + - *319 + - *400 - *17 - *19 responses: @@ -59307,7 +59283,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59327,15 +59303,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *330 - - *331 - - *412 + - *318 + - *319 + - *400 responses: '201': description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -59373,8 +59349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -59396,7 +59372,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &416 + schema: &404 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59460,7 +59436,7 @@ paths: nullable: true pull_requests: type: array - items: *76 + items: *72 nullable: true app: title: GitHub app @@ -59471,9 +59447,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - repository: *137 + properties: *64 + required: *65 + repository: *133 created_at: type: string format: date-time @@ -59482,12 +59458,12 @@ paths: type: string format: date-time nullable: true - head_commit: &739 + head_commit: &735 title: Simple Commit description: A commit. type: object - properties: *414 - required: *415 + properties: *402 + required: *403 latest_check_runs_count: type: integer check_runs_url: @@ -59515,7 +59491,7 @@ paths: - check_runs_url - pull_requests examples: - default: &417 + default: &405 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59806,9 +59782,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *416 + schema: *404 examples: - default: *417 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59827,8 +59803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -59889,7 +59865,7 @@ paths: required: - app_id - setting - repository: *137 + repository: *133 examples: default: value: @@ -60137,9 +60113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *330 - - *331 - - &418 + - *318 + - *319 + - &406 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60151,9 +60127,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *404 examples: - default: *417 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60176,17 +60152,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *330 - - *331 - - *418 - - &468 + - *318 + - *319 + - *406 + - &456 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &469 + - &457 name: status description: Returns check runs with the specified `status`. in: query @@ -60225,9 +60201,9 @@ paths: type: integer check_runs: type: array - items: *411 + items: *399 examples: - default: &470 + default: &458 value: total_count: 1 check_runs: @@ -60309,7 +60285,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60329,15 +60305,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *330 - - *331 - - *418 + - *318 + - *319 + - *406 responses: '201': description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -60364,21 +60340,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *330 - - *331 - - *419 - - *420 + - *318 + - *319 + - *407 + - *408 - *19 - *17 - - &437 + - &425 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *421 - - &438 + schema: *409 + - &426 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60403,13 +60379,13 @@ paths: be returned. in: query required: false - schema: *422 + schema: *410 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *423 + schema: *411 responses: '200': description: Response @@ -60420,12 +60396,12 @@ paths: items: type: object properties: - number: *54 - created_at: *55 - updated_at: *153 - url: *56 - html_url: *57 - instances_url: *424 + number: *149 + created_at: *150 + updated_at: *151 + url: *152 + html_url: *153 + instances_url: *412 state: *158 fixed_at: *154 dismissed_by: @@ -60436,11 +60412,11 @@ paths: required: *21 nullable: true dismissed_at: *155 - dismissed_reason: *425 - dismissed_comment: *426 - rule: *427 - tool: *428 - most_recent_instance: *429 + dismissed_reason: *413 + dismissed_comment: *414 + rule: *415 + tool: *416 + most_recent_instance: *417 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60566,14 +60542,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &430 + '403': &418 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60593,9 +60569,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *330 - - *331 - - &431 + - *318 + - *319 + - &419 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60603,21 +60579,21 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *54 + schema: *149 responses: '200': description: Response content: application/json: - schema: &432 + schema: &420 type: object properties: - number: *54 - created_at: *55 - updated_at: *153 - url: *56 - html_url: *57 - instances_url: *424 + number: *149 + created_at: *150 + updated_at: *151 + url: *152 + html_url: *153 + instances_url: *412 state: *158 fixed_at: *154 dismissed_by: @@ -60628,8 +60604,8 @@ paths: required: *21 nullable: true dismissed_at: *155 - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_reason: *413 + dismissed_comment: *414 rule: type: object properties: @@ -60683,8 +60659,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *428 - most_recent_instance: *429 + tool: *416 + most_recent_instance: *417 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60783,9 +60759,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *430 + '403': *418 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60803,9 +60779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *330 - - *331 - - *431 + - *318 + - *319 + - *419 requestBody: required: true content: @@ -60820,8 +60796,8 @@ paths: enum: - open - dismissed - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_reason: *413 + dismissed_comment: *414 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60840,7 +60816,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *420 examples: default: value: @@ -60916,14 +60892,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &436 + '403': &424 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *77 + '503': *102 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60943,15 +60919,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *330 - - *331 - - *431 + - *318 + - *319 + - *419 responses: '200': description: Response content: application/json: - schema: &433 + schema: &421 type: object properties: status: @@ -60977,13 +60953,13 @@ paths: - description - started_at examples: - default: &434 + default: &422 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &435 + '400': &423 description: Bad Request content: application/json: @@ -60994,9 +60970,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *430 + '403': *418 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61019,29 +60995,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *330 - - *331 - - *431 + - *318 + - *319 + - *419 responses: '200': description: OK content: application/json: - schema: *433 + schema: *421 examples: - default: *434 + default: *422 '202': description: Accepted content: application/json: - schema: *433 + schema: *421 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *435 + '400': *423 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -61051,7 +61027,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61073,9 +61049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *330 - - *331 - - *431 + - *318 + - *319 + - *419 requestBody: required: false content: @@ -61120,12 +61096,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *435 - '403': *436 + '400': *423 + '403': *424 '404': *6 '422': description: Unprocessable Entity - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61145,13 +61121,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *330 - - *331 - - *431 + - *318 + - *319 + - *419 - *19 - *17 - - *437 - - *438 + - *425 + - *426 responses: '200': description: Response @@ -61159,7 +61135,7 @@ paths: application/json: schema: type: array - items: *429 + items: *417 examples: default: value: @@ -61198,9 +61174,9 @@ paths: end_column: 50 classifications: - source - '403': *430 + '403': *418 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61232,25 +61208,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *330 - - *331 - - *419 - - *420 + - *318 + - *319 + - *407 + - *408 - *19 - *17 - - *438 + - *426 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *421 + schema: *409 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &441 + schema: &429 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -61271,23 +61247,23 @@ paths: application/json: schema: type: array - items: &442 + items: &430 type: object properties: - ref: *421 - commit_sha: &450 + ref: *409 + commit_sha: &438 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *439 + analysis_key: *427 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *440 + category: *428 error: type: string example: error reading field xyz @@ -61311,8 +61287,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *441 - tool: *428 + sarif_id: *429 + tool: *416 deletable: type: boolean warning: @@ -61373,9 +61349,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *430 + '403': *418 '404': *6 - '503': *77 + '503': *102 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61409,8 +61385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61423,7 +61399,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *430 examples: response: summary: application/json response @@ -61477,14 +61453,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *430 + '403': *418 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *77 + '503': *102 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61564,8 +61540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61618,9 +61594,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *436 + '403': *424 '404': *6 - '503': *77 + '503': *102 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61640,8 +61616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -61649,7 +61625,7 @@ paths: application/json: schema: type: array - items: &443 + items: &431 title: CodeQL Database description: A CodeQL database. type: object @@ -61760,9 +61736,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *430 + '403': *418 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61789,8 +61765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - name: language in: path description: The language of the CodeQL database. @@ -61802,7 +61778,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *431 examples: default: value: @@ -61834,11 +61810,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &477 + '302': &465 description: Found - '403': *430 + '403': *418 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61858,8 +61834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *330 - - *331 + - *318 + - *319 - name: language in: path description: The language of the CodeQL database. @@ -61869,9 +61845,9 @@ paths: responses: '204': description: Response - '403': *436 + '403': *424 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61897,8 +61873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -61907,7 +61883,7 @@ paths: type: object additionalProperties: false properties: - language: &444 + language: &432 type: string description: The language targeted by the CodeQL query enum: @@ -61986,7 +61962,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &448 + schema: &436 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61996,7 +61972,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *444 + query_language: *432 query_pack_url: type: string description: The download url for the query pack. @@ -62043,7 +62019,7 @@ paths: items: type: object properties: - repository: &445 + repository: &433 title: Repository Identifier description: Repository Identifier type: object @@ -62079,7 +62055,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &449 + analysis_status: &437 type: string description: The new status of the CodeQL variant analysis repository task. @@ -62111,7 +62087,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &446 + access_mismatch_repos: &434 type: object properties: repository_count: @@ -62125,7 +62101,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *445 + items: *433 required: - repository_count - repositories @@ -62147,8 +62123,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *446 - over_limit_repos: *446 + no_codeql_db_repos: *434 + over_limit_repos: *434 required: - access_mismatch_repos - not_found_repos @@ -62164,7 +62140,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &447 + value: &435 summary: Default response value: id: 1 @@ -62316,17 +62292,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *447 + value: *435 repository_lists: summary: Response for a successful variant analysis submission - value: *447 + value: *435 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62347,8 +62323,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *330 - - *331 + - *318 + - *319 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62360,11 +62336,11 @@ paths: description: Response content: application/json: - schema: *448 + schema: *436 examples: - default: *447 + default: *435 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62385,7 +62361,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *330 + - *318 - name: repo in: path description: The name of the controller repository. @@ -62420,7 +62396,7 @@ paths: type: object properties: repository: *53 - analysis_status: *449 + analysis_status: *437 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62524,7 +62500,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62545,8 +62521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -62631,9 +62607,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *430 + '403': *418 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62652,8 +62628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -62720,7 +62696,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -62745,7 +62721,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *436 + '403': *424 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62759,7 +62735,7 @@ paths: content: application/json: schema: *3 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62816,8 +62792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -62825,7 +62801,7 @@ paths: schema: type: object properties: - commit_sha: *450 + commit_sha: *438 ref: type: string description: |- @@ -62883,7 +62859,7 @@ paths: schema: type: object properties: - id: *441 + id: *429 url: type: string description: The REST API URL for checking the status of the upload. @@ -62897,11 +62873,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *436 + '403': *424 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *77 + '503': *102 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62920,8 +62896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *330 - - *331 + - *318 + - *319 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62967,10 +62943,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *430 + '403': *418 '404': description: Not Found if the sarif id does not match any upload - '503': *77 + '503': *102 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62992,8 +62968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -63074,8 +63050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *330 - - *331 + - *318 + - *319 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -63195,8 +63171,8 @@ paths: parameters: - *17 - *19 - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -63212,7 +63188,7 @@ paths: type: integer codespaces: type: array - items: *214 + items: *212 examples: default: value: @@ -63488,7 +63464,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -63510,8 +63486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -63574,22 +63550,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *439 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *439 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63613,8 +63589,8 @@ paths: parameters: - *17 - *19 - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -63654,7 +63630,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *106 + '500': *101 '400': *14 '401': *25 '403': *29 @@ -63678,8 +63654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63714,14 +63690,14 @@ paths: type: integer machines: type: array - items: &661 + items: &657 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *440 + required: *441 examples: - default: &662 + default: &658 value: total_count: 2 machines: @@ -63738,7 +63714,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -63761,8 +63737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *330 - - *331 + - *318 + - *319 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63846,8 +63822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *330 - - *331 + - *318 + - *319 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -63892,7 +63868,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63913,8 +63889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -63932,7 +63908,7 @@ paths: type: integer secrets: type: array - items: &457 + items: &445 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63952,9 +63928,9 @@ paths: - created_at - updated_at examples: - default: *454 + default: *442 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63975,16 +63951,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *455 + schema: *443 examples: - default: *456 + default: *444 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64004,17 +63980,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *318 + - *319 + - *141 responses: '200': description: Response content: application/json: - schema: *457 + schema: *445 examples: - default: *458 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64034,9 +64010,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *318 + - *319 + - *141 requestBody: required: true content: @@ -64064,7 +64040,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -64088,9 +64064,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *318 + - *319 + - *141 responses: '204': description: Response @@ -64118,8 +64094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *330 - - *331 + - *318 + - *319 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -64161,7 +64137,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &459 + properties: &447 login: type: string example: octocat @@ -64254,7 +64230,7 @@ paths: user_view_type: type: string example: public - required: &460 + required: &448 - avatar_url - events_url - followers_url @@ -64303,7 +64279,7 @@ paths: admin: false role_name: write headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -64328,9 +64304,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *330 - - *331 - - *63 + - *318 + - *319 + - *59 responses: '204': description: Response if user is a collaborator @@ -64376,9 +64352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *330 - - *331 - - *63 + - *318 + - *319 + - *59 requestBody: required: false content: @@ -64404,7 +64380,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &526 + schema: &514 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64415,7 +64391,7 @@ paths: example: 42 type: integer format: int64 - repository: *137 + repository: *133 invitee: title: Simple User description: A GitHub user. @@ -64593,7 +64569,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *111 + schema: *107 '403': *29 x-github: triggersNotification: true @@ -64633,9 +64609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *330 - - *331 - - *63 + - *318 + - *319 + - *59 responses: '204': description: No Content when collaborator was removed from the repository. @@ -64666,9 +64642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *330 - - *331 - - *63 + - *318 + - *319 + - *59 responses: '200': description: if user has admin permissions @@ -64688,8 +64664,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *459 - required: *460 + properties: *447 + required: *448 nullable: true required: - permission @@ -64744,8 +64720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -64755,7 +64731,7 @@ paths: application/json: schema: type: array - items: &461 + items: &449 title: Commit Comment description: Commit Comment type: object @@ -64796,8 +64772,8 @@ paths: updated_at: type: string format: date-time - author_association: *72 - reactions: *73 + author_association: *68 + reactions: *69 required: - url - html_url @@ -64813,7 +64789,7 @@ paths: - created_at - updated_at examples: - default: &464 + default: &452 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64847,7 +64823,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64872,17 +64848,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 responses: '200': description: Response content: application/json: - schema: *461 + schema: *449 examples: - default: &465 + default: &453 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64939,9 +64915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 requestBody: required: true content: @@ -64963,7 +64939,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *449 examples: default: value: @@ -65014,9 +64990,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 responses: '204': description: Response @@ -65037,9 +65013,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -65065,11 +65041,11 @@ paths: application/json: schema: type: array - items: *323 + items: *311 examples: - default: *325 + default: *313 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -65088,9 +65064,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 requestBody: required: true content: @@ -65122,16 +65098,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '201': description: Reaction created content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '422': *15 x-github: githubCloudOnly: false @@ -65153,10 +65129,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *330 - - *331 - - *88 - - *326 + - *318 + - *319 + - *83 + - *314 responses: '204': description: Response @@ -65205,8 +65181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *330 - - *331 + - *318 + - *319 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65262,9 +65238,9 @@ paths: application/json: schema: type: array - items: *462 + items: *450 examples: - default: &575 + default: &563 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65334,8 +65310,8 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *58 - '500': *106 + Link: *54 + '500': *101 '400': *14 '404': *6 '409': *47 @@ -65358,9 +65334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *330 - - *331 - - &463 + - *318 + - *319 + - &451 name: commit_sha description: The SHA of the commit. in: path @@ -65432,9 +65408,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *330 - - *331 - - *463 + - *318 + - *319 + - *451 - *17 - *19 responses: @@ -65444,11 +65420,11 @@ paths: application/json: schema: type: array - items: *461 + items: *449 examples: - default: *464 + default: *452 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65474,9 +65450,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *330 - - *331 - - *463 + - *318 + - *319 + - *451 requestBody: required: true content: @@ -65511,9 +65487,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *449 examples: - default: *465 + default: *453 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65541,9 +65517,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *330 - - *331 - - *463 + - *318 + - *319 + - *451 - *17 - *19 responses: @@ -65553,9 +65529,9 @@ paths: application/json: schema: type: array - items: *466 + items: *454 examples: - default: &567 + default: &555 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66034,7 +66010,7 @@ paths: auto_merge: draft: false headers: - Link: *58 + Link: *54 '409': *47 x-github: githubCloudOnly: false @@ -66092,11 +66068,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *330 - - *331 + - *318 + - *319 - *19 - *17 - - &467 + - &455 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -66111,9 +66087,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *450 examples: - default: &554 + default: &542 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66199,8 +66175,8 @@ paths: ..... '422': *15 '404': *6 - '500': *106 - '503': *77 + '500': *101 + '503': *102 '409': *47 x-github: githubCloudOnly: false @@ -66226,11 +66202,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *330 - - *331 - - *467 - - *468 - - *469 + - *318 + - *319 + - *455 + - *456 + - *457 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66264,11 +66240,11 @@ paths: type: integer check_runs: type: array - items: *411 + items: *399 examples: - default: *470 + default: *458 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66291,9 +66267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *330 - - *331 - - *467 + - *318 + - *319 + - *455 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -66301,7 +66277,7 @@ paths: schema: type: integer example: 1 - - *468 + - *456 - *17 - *19 responses: @@ -66319,7 +66295,7 @@ paths: type: integer check_suites: type: array - items: *416 + items: *404 examples: default: value: @@ -66494,7 +66470,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66519,9 +66495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *330 - - *331 - - *467 + - *318 + - *319 + - *455 - *17 - *19 responses: @@ -66588,7 +66564,7 @@ paths: type: string total_count: type: integer - repository: *137 + repository: *133 commit_url: type: string format: uri @@ -66719,9 +66695,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *330 - - *331 - - *467 + - *318 + - *319 + - *455 - *17 - *19 responses: @@ -66731,7 +66707,7 @@ paths: application/json: schema: type: array - items: &632 + items: &628 title: Status description: The status of a commit. type: object @@ -66811,8 +66787,8 @@ paths: type: User site_admin: false headers: - Link: *58 - '301': *339 + Link: *54 + '301': *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66840,8 +66816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -66870,20 +66846,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *471 - required: *472 + properties: *459 + required: *460 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &473 + properties: &461 url: type: string format: uri html_url: type: string format: uri - required: &474 + required: &462 - url - html_url nullable: true @@ -66891,32 +66867,32 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *70 + required: *71 nullable: true contributing: title: Community Health File type: object - properties: *473 - required: *474 + properties: *461 + required: *462 nullable: true readme: title: Community Health File type: object - properties: *473 - required: *474 + properties: *461 + required: *462 nullable: true issue_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *461 + required: *462 nullable: true pull_request_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *461 + required: *462 nullable: true required: - code_of_conduct @@ -67043,8 +67019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *330 - - *331 + - *318 + - *319 - *19 - *17 - name: basehead @@ -67087,8 +67063,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *462 - merge_base_commit: *462 + base_commit: *450 + merge_base_commit: *450 status: type: string enum: @@ -67108,10 +67084,10 @@ paths: example: 6 commits: type: array - items: *462 + items: *450 files: type: array - items: *475 + items: *463 required: - url - html_url @@ -67354,8 +67330,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *106 - '503': *77 + '500': *101 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67397,8 +67373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *330 - - *331 + - *318 + - *319 - name: path description: path parameter in: path @@ -67541,7 +67517,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &476 + response-if-content-is-a-file: &464 summary: Response if content is a file value: type: file @@ -67673,7 +67649,7 @@ paths: - size - type - url - - &580 + - &568 title: Content File description: Content File type: object @@ -67874,7 +67850,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *476 + response-if-content-is-a-file: *464 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -67943,7 +67919,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *477 + '302': *465 '304': *37 x-github: githubCloudOnly: false @@ -67966,8 +67942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *330 - - *331 + - *318 + - *319 - name: path description: path parameter in: path @@ -68060,7 +68036,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &466 title: File Commit description: File Commit type: object @@ -68212,7 +68188,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *466 examples: example-for-creating-a-file: value: @@ -68266,7 +68242,7 @@ paths: schema: oneOf: - *3 - - &508 + - &496 description: Repository rule violation was detected type: object properties: @@ -68287,7 +68263,7 @@ paths: items: type: object properties: - placeholder_id: &624 + placeholder_id: &620 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68319,8 +68295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *330 - - *331 + - *318 + - *319 - name: path description: path parameter in: path @@ -68381,7 +68357,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *466 examples: default: value: @@ -68416,7 +68392,7 @@ paths: '422': *15 '404': *6 '409': *47 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68436,8 +68412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *330 - - *331 + - *318 + - *319 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68537,7 +68513,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *58 + Link: *54 '204': description: Response if repository is empty '403': *29 @@ -68560,8 +68536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - *170 - *171 - *172 @@ -68573,18 +68549,10 @@ paths: schema: type: string - *174 - - *479 + - *467 - *175 - *176 - *48 - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -68595,8 +68563,6 @@ paths: default: 30 - *40 - *41 - - *177 - - *178 responses: '200': description: Response @@ -68604,11 +68570,11 @@ paths: application/json: schema: type: array - items: &482 + items: &470 type: object description: A Dependabot alert. properties: - number: *54 + number: *149 state: type: string description: The state of the Dependabot alert. @@ -68650,12 +68616,12 @@ paths: - unknown - direct - transitive - security_advisory: *480 + security_advisory: *468 security_vulnerability: *52 - url: *56 - html_url: *57 - created_at: *55 - updated_at: *153 + url: *152 + html_url: *153 + created_at: *150 + updated_at: *151 dismissed_at: *155 dismissed_by: title: Simple User @@ -68681,7 +68647,7 @@ paths: nullable: true maxLength: 280 fixed_at: *154 - auto_dismissed_at: *481 + auto_dismissed_at: *469 required: - number - state @@ -68911,9 +68877,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *330 - - *331 - - &483 + - *318 + - *319 + - &471 name: alert_number in: path description: |- @@ -68922,13 +68888,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *54 + schema: *149 responses: '200': description: Response content: application/json: - schema: *482 + schema: *470 examples: default: value: @@ -69041,9 +69007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *330 - - *331 - - *483 + - *318 + - *319 + - *471 requestBody: required: true content: @@ -69088,7 +69054,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *470 examples: default: value: @@ -69217,8 +69183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -69236,7 +69202,7 @@ paths: type: integer secrets: type: array - items: &486 + items: &474 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -69267,7 +69233,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69289,16 +69255,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *484 + schema: *472 examples: - default: *485 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69318,15 +69284,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *318 + - *319 + - *141 responses: '200': description: Response content: application/json: - schema: *486 + schema: *474 examples: default: value: @@ -69352,9 +69318,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *318 + - *319 + - *141 requestBody: required: true content: @@ -69382,7 +69348,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -69406,9 +69372,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *318 + - *319 + - *141 responses: '204': description: Response @@ -69430,8 +69396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *330 - - *331 + - *318 + - *319 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -69567,7 +69533,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *58 + Link: *54 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -69591,8 +69557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -69808,7 +69774,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *58 + Link: *54 '404': *6 '403': *29 x-github: @@ -69831,8 +69797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -69907,7 +69873,7 @@ paths: - version - url additionalProperties: false - metadata: &487 + metadata: &475 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -69940,7 +69906,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *487 + metadata: *475 resolved: type: object description: A collection of resolved package dependencies. @@ -69953,7 +69919,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *487 + metadata: *475 relationship: type: string description: A notation of whether a dependency is requested @@ -70082,8 +70048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *330 - - *331 + - *318 + - *319 - name: sha description: The SHA recorded at creation time. in: query @@ -70123,11 +70089,11 @@ paths: application/json: schema: type: array - items: *488 + items: *476 examples: - default: *489 + default: *477 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70191,8 +70157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -70273,7 +70239,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *476 examples: simple-example: summary: Simple example @@ -70346,9 +70312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *330 - - *331 - - &490 + - *318 + - *319 + - &478 name: deployment_id description: deployment_id parameter in: path @@ -70360,7 +70326,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *476 examples: default: value: @@ -70425,9 +70391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *330 - - *331 - - *490 + - *318 + - *319 + - *478 responses: '204': description: Response @@ -70449,9 +70415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *330 - - *331 - - *490 + - *318 + - *319 + - *478 - *17 - *19 responses: @@ -70461,7 +70427,7 @@ paths: application/json: schema: type: array - items: &491 + items: &479 title: Deployment Status description: The status of a deployment. type: object @@ -70552,8 +70518,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 required: - id - node_id @@ -70602,7 +70568,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -70622,9 +70588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *330 - - *331 - - *490 + - *318 + - *319 + - *478 requestBody: required: true content: @@ -70699,9 +70665,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *479 examples: - default: &492 + default: &480 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70757,9 +70723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *330 - - *331 - - *490 + - *318 + - *319 + - *478 - name: status_id in: path required: true @@ -70770,9 +70736,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *479 examples: - default: *492 + default: *480 '404': *6 x-github: githubCloudOnly: false @@ -70797,8 +70763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -70855,8 +70821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -70873,7 +70839,7 @@ paths: type: integer environments: type: array - items: &494 + items: &482 title: Environment description: Details of a deployment environment type: object @@ -70925,7 +70891,7 @@ paths: type: type: string example: wait_timer - wait_timer: &496 + wait_timer: &484 type: integer example: 30 description: The amount of time to delay a job after @@ -70962,7 +70928,7 @@ paths: items: type: object properties: - type: *493 + type: *481 reviewer: anyOf: - *4 @@ -70986,7 +70952,7 @@ paths: - id - node_id - type - deployment_branch_policy: &497 + deployment_branch_policy: &485 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -71102,9 +71068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *330 - - *331 - - &495 + - *318 + - *319 + - &483 name: environment_name in: path required: true @@ -71117,9 +71083,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *482 examples: - default: &498 + default: &486 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -71203,9 +71169,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *330 - - *331 - - *495 + - *318 + - *319 + - *483 requestBody: required: false content: @@ -71214,7 +71180,7 @@ paths: type: object nullable: true properties: - wait_timer: *496 + wait_timer: *484 prevent_self_review: type: boolean example: false @@ -71231,13 +71197,13 @@ paths: items: type: object properties: - type: *493 + type: *481 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *497 + deployment_branch_policy: *485 additionalProperties: false examples: default: @@ -71257,9 +71223,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *482 examples: - default: *498 + default: *486 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -71283,9 +71249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *330 - - *331 - - *495 + - *318 + - *319 + - *483 responses: '204': description: Default response @@ -71310,9 +71276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *330 - - *331 - - *495 + - *318 + - *319 + - *483 - *17 - *19 responses: @@ -71330,7 +71296,7 @@ paths: example: 2 branch_policies: type: array - items: &499 + items: &487 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71387,9 +71353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 + - *318 + - *319 + - *483 requestBody: required: true content: @@ -71435,9 +71401,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *487 examples: - example-wildcard: &500 + example-wildcard: &488 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71479,10 +71445,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 - - &501 + - *318 + - *319 + - *483 + - &489 name: branch_policy_id in: path required: true @@ -71494,9 +71460,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *487 examples: - default: *500 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71515,10 +71481,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 - - *501 + - *318 + - *319 + - *483 + - *489 requestBody: required: true content: @@ -71546,9 +71512,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *487 examples: - default: *500 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71567,10 +71533,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 - - *501 + - *318 + - *319 + - *483 + - *489 responses: '204': description: Response @@ -71595,9 +71561,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *495 - - *331 - - *330 + - *483 + - *319 + - *318 responses: '200': description: List of deployment protection rules @@ -71613,7 +71579,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &502 + items: &490 title: Deployment protection rule description: Deployment protection rule type: object @@ -71632,7 +71598,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &503 + app: &491 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71731,9 +71697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *495 - - *331 - - *330 + - *483 + - *319 + - *318 requestBody: content: application/json: @@ -71754,9 +71720,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *502 + schema: *490 examples: - default: &504 + default: &492 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71791,9 +71757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *495 - - *331 - - *330 + - *483 + - *319 + - *318 - *19 - *17 responses: @@ -71812,7 +71778,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *503 + items: *491 examples: default: value: @@ -71847,10 +71813,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *330 - - *331 - - *495 - - &505 + - *318 + - *319 + - *483 + - &493 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71862,9 +71828,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *490 examples: - default: *504 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71885,10 +71851,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *495 - - *331 - - *330 - - *505 + - *483 + - *319 + - *318 + - *493 responses: '204': description: Response @@ -71914,9 +71880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *330 - - *331 - - *495 + - *318 + - *319 + - *483 - *17 - *19 responses: @@ -71934,11 +71900,11 @@ paths: type: integer secrets: type: array - items: *378 + items: *366 examples: - default: *379 + default: *367 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71961,17 +71927,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *330 - - *331 - - *495 + - *318 + - *319 + - *483 responses: '200': description: Response content: application/json: - schema: *380 + schema: *368 examples: - default: *381 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71993,18 +71959,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *330 - - *331 - - *495 - - *145 + - *318 + - *319 + - *483 + - *141 responses: '200': description: Response content: application/json: - schema: *378 + schema: *366 examples: - default: *506 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72026,10 +71992,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *330 - - *331 - - *495 - - *145 + - *318 + - *319 + - *483 + - *141 requestBody: required: true content: @@ -72060,7 +72026,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -72086,10 +72052,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *330 - - *331 - - *495 - - *145 + - *318 + - *319 + - *483 + - *141 responses: '204': description: Default response @@ -72114,10 +72080,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *330 - - *331 - - *495 - - *349 + - *318 + - *319 + - *483 + - *337 - *19 responses: '200': @@ -72134,11 +72100,11 @@ paths: type: integer variables: type: array - items: *382 + items: *370 examples: - default: *383 + default: *371 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72159,9 +72125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *330 - - *331 - - *495 + - *318 + - *319 + - *483 requestBody: required: true content: @@ -72188,7 +72154,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -72213,18 +72179,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *330 - - *331 - - *495 - - *148 + - *318 + - *319 + - *483 + - *144 responses: '200': description: Response content: application/json: - schema: *382 + schema: *370 examples: - default: *507 + default: *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72245,10 +72211,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *330 - - *331 - - *148 - - *495 + - *318 + - *319 + - *144 + - *483 requestBody: required: true content: @@ -72290,10 +72256,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *330 - - *331 - - *148 - - *495 + - *318 + - *319 + - *144 + - *483 responses: '204': description: Response @@ -72315,8 +72281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -72326,7 +72292,7 @@ paths: application/json: schema: type: array - items: *98 + items: *93 examples: 200-response: value: @@ -72384,8 +72350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *330 - - *331 + - *318 + - *319 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72407,7 +72373,7 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: default: value: @@ -72520,7 +72486,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *58 + Link: *54 '400': *14 x-github: githubCloudOnly: false @@ -72544,8 +72510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: false content: @@ -72577,9 +72543,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *326 examples: - default: *340 + default: *328 '400': *14 '422': *15 '403': *29 @@ -72600,8 +72566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -72660,8 +72626,8 @@ paths: application/json: schema: oneOf: - - *111 - - *508 + - *107 + - *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72686,8 +72652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *330 - - *331 + - *318 + - *319 - name: file_sha in: path required: true @@ -72786,8 +72752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -72896,7 +72862,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &497 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73110,15 +73076,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *330 - - *331 - - *463 + - *318 + - *319 + - *451 responses: '200': description: Response content: application/json: - schema: *509 + schema: *497 examples: default: value: @@ -73174,9 +73140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *330 - - *331 - - &510 + - *318 + - *319 + - &498 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -73193,7 +73159,7 @@ paths: application/json: schema: type: array - items: &511 + items: &499 title: Git Reference description: Git references within a repository type: object @@ -73246,7 +73212,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *58 + Link: *54 '409': *47 x-github: githubCloudOnly: false @@ -73268,17 +73234,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *330 - - *331 - - *510 + - *318 + - *319 + - *498 responses: '200': description: Response content: application/json: - schema: *511 + schema: *499 examples: - default: &512 + default: &500 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -73307,8 +73273,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -73337,9 +73303,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *499 examples: - default: *512 + default: *500 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73365,9 +73331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *330 - - *331 - - *510 + - *318 + - *319 + - *498 requestBody: required: true content: @@ -73396,9 +73362,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *499 examples: - default: *512 + default: *500 '422': *15 '409': *47 x-github: @@ -73416,9 +73382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *330 - - *331 - - *510 + - *318 + - *319 + - *498 responses: '204': description: Response @@ -73473,8 +73439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -73541,7 +73507,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &502 title: Git Tag description: Metadata for a Git tag type: object @@ -73592,7 +73558,7 @@ paths: - sha - type - url - verification: *513 + verification: *501 required: - sha - url @@ -73602,7 +73568,7 @@ paths: - tag - message examples: - default: &515 + default: &503 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73675,8 +73641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *330 - - *331 + - *318 + - *319 - name: tag_sha in: path required: true @@ -73687,9 +73653,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *502 examples: - default: *515 + default: *503 '404': *6 '409': *47 x-github: @@ -73713,8 +73679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -73787,7 +73753,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &504 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -73883,8 +73849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *330 - - *331 + - *318 + - *319 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -73907,7 +73873,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *504 examples: default-response: summary: Default response @@ -73966,8 +73932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -73977,7 +73943,7 @@ paths: application/json: schema: type: array - items: &517 + items: &505 title: Webhook description: Webhooks for repositories. type: object @@ -74031,7 +73997,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &747 + last_response: &743 title: Hook Response type: object properties: @@ -74086,7 +74052,7 @@ paths: status: unused message: headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -74105,8 +74071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: false content: @@ -74158,9 +74124,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *505 examples: - default: &518 + default: &506 value: type: Repository id: 12345678 @@ -74208,17 +74174,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *318 + - *319 + - *184 responses: '200': description: Response content: application/json: - schema: *517 + schema: *505 examples: - default: *518 + default: *506 '404': *6 x-github: githubCloudOnly: false @@ -74238,9 +74204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *318 + - *319 + - *184 requestBody: required: true content: @@ -74285,9 +74251,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *505 examples: - default: *518 + default: *506 '422': *15 '404': *6 x-github: @@ -74308,9 +74274,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *318 + - *319 + - *184 responses: '204': description: Response @@ -74334,9 +74300,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *330 - - *331 - - *186 + - *318 + - *319 + - *184 responses: '200': description: Response @@ -74363,9 +74329,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *330 - - *331 - - *186 + - *318 + - *319 + - *184 requestBody: required: false content: @@ -74409,11 +74375,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *318 + - *319 + - *184 - *17 - - *187 + - *185 responses: '200': description: Response @@ -74421,9 +74387,9 @@ paths: application/json: schema: type: array - items: *188 + items: *186 examples: - default: *189 + default: *187 '400': *14 '422': *15 x-github: @@ -74442,18 +74408,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *318 + - *319 + - *184 - *16 responses: '200': description: Response content: application/json: - schema: *190 + schema: *188 examples: - default: *191 + default: *189 '400': *14 '422': *15 x-github: @@ -74472,9 +74438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *318 + - *319 + - *184 - *16 responses: '202': *39 @@ -74497,9 +74463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *318 + - *319 + - *184 responses: '204': description: Response @@ -74524,9 +74490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *330 - - *331 - - *186 + - *318 + - *319 + - *184 responses: '204': description: Response @@ -74549,8 +74515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response if immutable releases are enabled @@ -74596,8 +74562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': *163 '409': *47 @@ -74617,8 +74583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': *163 '409': *47 @@ -74675,14 +74641,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: &519 + schema: &507 title: Import description: A repository import from an external source. type: object @@ -74781,7 +74747,7 @@ paths: - html_url - authors_url examples: - default: &522 + default: &510 value: vcs: subversion use_lfs: true @@ -74797,7 +74763,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &520 + '503': &508 description: Unavailable due to service under maintenance. content: application/json: @@ -74826,8 +74792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -74875,7 +74841,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *507 examples: default: value: @@ -74900,7 +74866,7 @@ paths: type: string '422': *15 '404': *6 - '503': *520 + '503': *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74928,8 +74894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: false content: @@ -74978,7 +74944,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *507 examples: example-1: summary: Example 1 @@ -75026,7 +74992,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *520 + '503': *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75049,12 +75015,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response - '503': *520 + '503': *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75080,9 +75046,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *330 - - *331 - - &684 + - *318 + - *319 + - &680 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75096,7 +75062,7 @@ paths: application/json: schema: type: array - items: &521 + items: &509 title: Porter Author description: Porter Author type: object @@ -75150,7 +75116,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *520 + '503': *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75175,8 +75141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *330 - - *331 + - *318 + - *319 - name: author_id in: path required: true @@ -75206,7 +75172,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *509 examples: default: value: @@ -75219,7 +75185,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *520 + '503': *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75243,8 +75209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -75285,7 +75251,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *520 + '503': *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75313,8 +75279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -75341,11 +75307,11 @@ paths: description: Response content: application/json: - schema: *519 + schema: *507 examples: - default: *522 + default: *510 '422': *15 - '503': *520 + '503': *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75368,8 +75334,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -75377,8 +75343,8 @@ paths: application/json: schema: *22 examples: - default: *523 - '301': *339 + default: *511 + '301': *327 '404': *6 x-github: githubCloudOnly: false @@ -75398,8 +75364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -75407,12 +75373,12 @@ paths: application/json: schema: anyOf: - - *204 + - *202 - type: object properties: {} additionalProperties: false examples: - default: &525 + default: &513 value: limit: collaborators_only origin: repository @@ -75437,13 +75403,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: application/json: - schema: *524 + schema: *512 examples: default: summary: Example request body @@ -75455,9 +75421,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *202 examples: - default: *525 + default: *513 '409': description: Response x-github: @@ -75479,8 +75445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -75503,8 +75469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -75514,9 +75480,9 @@ paths: application/json: schema: type: array - items: *526 + items: *514 examples: - default: &677 + default: &673 value: - id: 1 repository: @@ -75630,7 +75596,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75647,9 +75613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *330 - - *331 - - *208 + - *318 + - *319 + - *206 requestBody: required: false content: @@ -75678,7 +75644,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *514 examples: default: value: @@ -75809,9 +75775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *330 - - *331 - - *208 + - *318 + - *319 + - *206 responses: '204': description: Response @@ -75842,8 +75808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *330 - - *331 + - *318 + - *319 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -75891,7 +75857,7 @@ paths: required: false schema: type: string - - *212 + - *210 - name: sort description: What to sort results by. in: query @@ -75904,7 +75870,7 @@ paths: - comments default: created - *48 - - *79 + - *74 - *17 - *19 responses: @@ -75914,9 +75880,9 @@ paths: application/json: schema: type: array - items: *71 + items: *67 examples: - default: &535 + default: &523 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76063,8 +76029,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *58 - '301': *339 + Link: *54 + '301': *327 '422': *15 '404': *6 x-github: @@ -76093,8 +76059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -76176,9 +76142,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: &532 + default: &520 value: id: 1 node_id: MDU6SXNzdWUx @@ -76332,9 +76298,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *77 + '503': *102 '404': *6 - '410': *336 + '410': *324 x-github: triggersNotification: true githubCloudOnly: false @@ -76362,9 +76328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *330 - - *331 - - *96 + - *318 + - *319 + - *91 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -76374,7 +76340,7 @@ paths: enum: - asc - desc - - *79 + - *74 - *17 - *19 responses: @@ -76384,9 +76350,9 @@ paths: application/json: schema: type: array - items: *527 + items: *515 examples: - default: &534 + default: &522 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76417,7 +76383,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *58 + Link: *54 '422': *15 '404': *6 x-github: @@ -76444,17 +76410,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 responses: '200': description: Response content: application/json: - schema: *527 + schema: *515 examples: - default: &528 + default: &516 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76508,9 +76474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 requestBody: required: true content: @@ -76532,9 +76498,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *515 examples: - default: *528 + default: *516 '422': *15 x-github: githubCloudOnly: false @@ -76552,9 +76518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 responses: '204': description: Response @@ -76574,9 +76540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -76602,11 +76568,11 @@ paths: application/json: schema: type: array - items: *323 + items: *311 examples: - default: *325 + default: *313 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -76625,9 +76591,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 requestBody: required: true content: @@ -76659,16 +76625,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '201': description: Reaction created content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '422': *15 x-github: githubCloudOnly: false @@ -76690,10 +76656,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *330 - - *331 - - *88 - - *326 + - *318 + - *319 + - *83 + - *314 responses: '204': description: Response @@ -76713,8 +76679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -76724,7 +76690,7 @@ paths: application/json: schema: type: array - items: &531 + items: &519 title: Issue Event description: Issue Event type: object @@ -76767,8 +76733,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *529 - required: *530 + properties: *517 + required: *518 nullable: true label: title: Issue Event Label @@ -76877,7 +76843,7 @@ paths: required: - from - to - author_association: *72 + author_association: *68 lock_reason: type: string nullable: true @@ -76890,8 +76856,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 required: - id - node_id @@ -77057,7 +77023,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -77075,8 +77041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *330 - - *331 + - *318 + - *319 - name: event_id in: path required: true @@ -77087,7 +77053,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *519 examples: default: value: @@ -77280,7 +77246,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *336 + '410': *324 '403': *29 x-github: githubCloudOnly: false @@ -77314,9 +77280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *330 - - *331 - - &533 + - *318 + - *319 + - &521 name: issue_number description: The number that identifies the issue. in: path @@ -77328,12 +77294,12 @@ paths: description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: *532 - '301': *339 + default: *520 + '301': *327 '404': *6 - '410': *336 + '410': *324 '304': *37 x-github: githubCloudOnly: false @@ -77358,9 +77324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: false content: @@ -77464,15 +77430,15 @@ paths: description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: *532 + default: *520 '422': *15 - '503': *77 + '503': *102 '403': *29 - '301': *339 + '301': *327 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77490,9 +77456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: false content: @@ -77518,9 +77484,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: *532 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77536,9 +77502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: content: application/json: @@ -77563,9 +77529,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: *532 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77587,9 +77553,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 - name: assignee in: path required: true @@ -77629,10 +77595,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *330 - - *331 - - *533 - - *79 + - *318 + - *319 + - *521 + - *74 - *17 - *19 responses: @@ -77642,13 +77608,13 @@ paths: application/json: schema: type: array - items: *527 + items: *515 examples: - default: *534 + default: *522 headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77677,9 +77643,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: true content: @@ -77701,16 +77667,16 @@ paths: description: Response content: application/json: - schema: *527 + schema: *515 examples: - default: *528 + default: *516 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *336 + '410': *324 '422': *15 '404': *6 x-github: @@ -77738,9 +77704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 - *17 - *19 responses: @@ -77750,14 +77716,14 @@ paths: application/json: schema: type: array - items: *71 + items: *67 examples: - default: *535 + default: *523 headers: - Link: *58 - '301': *339 + Link: *54 + '301': *327 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77785,9 +77751,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: true content: @@ -77809,17 +77775,17 @@ paths: description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: *532 + default: *520 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *339 + '301': *327 '403': *29 - '410': *336 + '410': *324 '422': *15 '404': *6 x-github: @@ -77850,9 +77816,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -77864,15 +77830,15 @@ paths: description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: *532 - '301': *339 + default: *520 + '301': *327 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *324 x-github: triggersNotification: true githubCloudOnly: false @@ -77898,9 +77864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 - *17 - *19 responses: @@ -77910,14 +77876,14 @@ paths: application/json: schema: type: array - items: *71 + items: *67 examples: - default: *535 + default: *523 headers: - Link: *58 - '301': *339 + Link: *54 + '301': *327 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77934,9 +77900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 - *17 - *19 responses: @@ -77950,7 +77916,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &537 + - &525 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -77981,8 +77947,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 label: type: object properties: @@ -78004,7 +77970,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &526 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -78035,8 +78001,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 label: type: object properties: @@ -78124,8 +78090,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 assignee: *4 assigner: *4 required: @@ -78140,7 +78106,7 @@ paths: - performed_via_github_app - assignee - assigner - - &539 + - &527 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -78171,8 +78137,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 milestone: type: object properties: @@ -78191,7 +78157,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &528 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -78222,8 +78188,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 milestone: type: object properties: @@ -78242,7 +78208,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &529 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -78273,8 +78239,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 rename: type: object properties: @@ -78296,7 +78262,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &530 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78327,8 +78293,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 review_requester: *4 requested_team: *169 requested_reviewer: *4 @@ -78343,7 +78309,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &531 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78374,8 +78340,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 review_requester: *4 requested_team: *169 requested_reviewer: *4 @@ -78390,7 +78356,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &532 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78421,8 +78387,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 dismissed_review: type: object properties: @@ -78450,7 +78416,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &533 title: Locked Issue Event description: Locked Issue Event type: object @@ -78481,8 +78447,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 lock_reason: type: string example: '"off-topic"' @@ -78498,7 +78464,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &534 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78529,8 +78495,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 project_card: type: object properties: @@ -78564,7 +78530,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &535 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78595,8 +78561,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 project_card: type: object properties: @@ -78630,7 +78596,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &536 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78661,8 +78627,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 project_card: type: object properties: @@ -78696,7 +78662,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &537 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78786,8 +78752,8 @@ paths: name: label color: red headers: - Link: *58 - '410': *336 + Link: *54 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78804,9 +78770,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 - *17 - *19 responses: @@ -78816,9 +78782,9 @@ paths: application/json: schema: type: array - items: *70 + items: *66 examples: - default: &536 + default: &524 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78835,10 +78801,10 @@ paths: color: a2eeef default: false headers: - Link: *58 - '301': *339 + Link: *54 + '301': *327 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78855,9 +78821,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: false content: @@ -78916,12 +78882,12 @@ paths: application/json: schema: type: array - items: *70 + items: *66 examples: - default: *536 - '301': *339 + default: *524 + '301': *327 '404': *6 - '410': *336 + '410': *324 '422': *15 x-github: githubCloudOnly: false @@ -78938,9 +78904,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: false content: @@ -79000,12 +78966,12 @@ paths: application/json: schema: type: array - items: *70 + items: *66 examples: - default: *536 - '301': *339 + default: *524 + '301': *327 '404': *6 - '410': *336 + '410': *324 '422': *15 x-github: githubCloudOnly: false @@ -79022,15 +78988,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 responses: '204': description: Response - '301': *339 + '301': *327 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79049,9 +79015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 - name: name in: path required: true @@ -79064,7 +79030,7 @@ paths: application/json: schema: type: array - items: *70 + items: *66 examples: default: value: @@ -79075,9 +79041,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *339 + '301': *327 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79097,9 +79063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: false content: @@ -79127,7 +79093,7 @@ paths: '204': description: Response '403': *29 - '410': *336 + '410': *324 '404': *6 '422': *15 x-github: @@ -79145,9 +79111,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 responses: '204': description: Response @@ -79177,20 +79143,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 responses: '200': description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: *532 - '301': *339 + default: *520 + '301': *327 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79207,9 +79173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -79235,13 +79201,13 @@ paths: application/json: schema: type: array - items: *323 + items: *311 examples: - default: *325 + default: *313 headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79259,9 +79225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: true content: @@ -79293,16 +79259,16 @@ paths: description: Response content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '201': description: Response content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '422': *15 x-github: githubCloudOnly: false @@ -79324,10 +79290,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *330 - - *331 - - *533 - - *326 + - *318 + - *319 + - *521 + - *314 responses: '204': description: Response @@ -79356,9 +79322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: true content: @@ -79380,9 +79346,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: *532 + default: *520 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79415,9 +79381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 - *17 - *19 responses: @@ -79427,13 +79393,13 @@ paths: application/json: schema: type: array - items: *71 + items: *67 examples: - default: *535 + default: *523 headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79461,9 +79427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: true content: @@ -79490,16 +79456,16 @@ paths: description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: *532 + default: *520 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *336 + '410': *324 '422': *15 '404': *6 x-github: @@ -79519,9 +79485,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 requestBody: required: true content: @@ -79552,13 +79518,13 @@ paths: description: Response content: application/json: - schema: *71 + schema: *67 examples: - default: *532 + default: *520 '403': *29 '404': *6 '422': *7 - '503': *77 + '503': *102 x-github: triggersNotification: true githubCloudOnly: false @@ -79576,9 +79542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *330 - - *331 - - *533 + - *318 + - *319 + - *521 - *17 - *19 responses: @@ -79593,19 +79559,19 @@ paths: description: Timeline Event type: object anyOf: + - *525 + - *526 + - *527 + - *528 + - *529 + - *530 + - *531 + - *532 + - *533 + - *534 + - *535 + - *536 - *537 - - *538 - - *539 - - *540 - - *541 - - *542 - - *543 - - *544 - - *545 - - *546 - - *547 - - *548 - - *549 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -79648,7 +79614,7 @@ paths: issue_url: type: string format: uri - author_association: *72 + author_association: *68 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -79658,9 +79624,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - reactions: *73 + properties: *64 + required: *65 + reactions: *69 required: - event - actor @@ -79691,7 +79657,7 @@ paths: properties: type: type: string - issue: *71 + issue: *67 required: - event - created_at @@ -79891,7 +79857,7 @@ paths: type: string body_text: type: string - author_association: *72 + author_association: *68 required: - event - id @@ -79914,7 +79880,7 @@ paths: type: string comments: type: array - items: &569 + items: &557 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -80003,7 +79969,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *72 + author_association: *68 _links: type: object properties: @@ -80087,7 +80053,7 @@ paths: enum: - line - file - reactions: *73 + reactions: *69 body_html: type: string example: '"

comment body

"' @@ -80123,7 +80089,7 @@ paths: type: string comments: type: array - items: *461 + items: *449 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80154,8 +80120,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 assignee: *4 required: - id @@ -80198,8 +80164,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 assignee: *4 required: - id @@ -80242,8 +80208,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 state_reason: type: string nullable: true @@ -80410,9 +80376,9 @@ paths: type: User site_admin: true headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80429,8 +80395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -80440,7 +80406,7 @@ paths: application/json: schema: type: array - items: &550 + items: &538 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80490,7 +80456,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80506,8 +80472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -80543,9 +80509,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *538 examples: - default: &551 + default: &539 value: id: 1 key: ssh-rsa AAA... @@ -80579,9 +80545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *330 - - *331 - - &552 + - *318 + - *319 + - &540 name: key_id description: The unique identifier of the key. in: path @@ -80593,9 +80559,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *538 examples: - default: *551 + default: *539 '404': *6 x-github: githubCloudOnly: false @@ -80613,9 +80579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *330 - - *331 - - *552 + - *318 + - *319 + - *540 responses: '204': description: Response @@ -80635,8 +80601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -80646,11 +80612,11 @@ paths: application/json: schema: type: array - items: *70 + items: *66 examples: - default: *536 + default: *524 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -80669,8 +80635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -80706,9 +80672,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *66 examples: - default: &553 + default: &541 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80740,8 +80706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *330 - - *331 + - *318 + - *319 - name: name in: path required: true @@ -80752,9 +80718,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *66 examples: - default: *553 + default: *541 '404': *6 x-github: githubCloudOnly: false @@ -80771,8 +80737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *330 - - *331 + - *318 + - *319 - name: name in: path required: true @@ -80811,7 +80777,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *66 examples: default: value: @@ -80837,8 +80803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *330 - - *331 + - *318 + - *319 - name: name in: path required: true @@ -80864,8 +80830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -80904,9 +80870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *330 - - *331 - - *437 + - *318 + - *319 + - *425 responses: '200': description: Response @@ -80968,8 +80934,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *70 + required: *71 nullable: true required: - _links @@ -81051,8 +81017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -81117,8 +81083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -81152,9 +81118,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *462 + schema: *450 examples: - default: *554 + default: *542 '204': description: Response when already merged '404': @@ -81179,8 +81145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *330 - - *331 + - *318 + - *319 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81221,12 +81187,12 @@ paths: application/json: schema: type: array - items: &555 + items: &543 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *248 + required: *249 examples: default: value: @@ -81265,7 +81231,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -81282,8 +81248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -81323,9 +81289,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *543 examples: - default: &556 + default: &544 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81384,9 +81350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *330 - - *331 - - &557 + - *318 + - *319 + - &545 name: milestone_number description: The number that identifies the milestone. in: path @@ -81398,9 +81364,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *543 examples: - default: *556 + default: *544 '404': *6 x-github: githubCloudOnly: false @@ -81417,9 +81383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *330 - - *331 - - *557 + - *318 + - *319 + - *545 requestBody: required: false content: @@ -81457,9 +81423,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *543 examples: - default: *556 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81475,9 +81441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *330 - - *331 - - *557 + - *318 + - *319 + - *545 responses: '204': description: Response @@ -81498,9 +81464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *330 - - *331 - - *557 + - *318 + - *319 + - *545 - *17 - *19 responses: @@ -81510,11 +81476,11 @@ paths: application/json: schema: type: array - items: *70 + items: *66 examples: - default: *536 + default: *524 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81531,12 +81497,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *330 - - *331 - - *558 - - *559 - - *79 - - *560 + - *318 + - *319 + - *546 + - *547 + - *74 + - *548 - *17 - *19 responses: @@ -81546,11 +81512,11 @@ paths: application/json: schema: type: array - items: *99 + items: *94 examples: - default: *561 + default: *549 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -81572,8 +81538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: false content: @@ -81631,14 +81597,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: &562 + schema: &550 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81763,7 +81729,7 @@ paths: - custom_404 - public examples: - default: &563 + default: &551 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81804,8 +81770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -81859,9 +81825,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *550 examples: - default: *563 + default: *551 '422': *15 '409': *47 x-github: @@ -81884,8 +81850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -81984,8 +81950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -82011,8 +81977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -82022,7 +81988,7 @@ paths: application/json: schema: type: array - items: &564 + items: &552 title: Page Build description: Page Build type: object @@ -82097,7 +82063,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82116,8 +82082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *330 - - *331 + - *318 + - *319 responses: '201': description: Response @@ -82162,16 +82128,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *564 + schema: *552 examples: - default: &565 + default: &553 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -82219,8 +82185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *330 - - *331 + - *318 + - *319 - name: build_id in: path required: true @@ -82231,9 +82197,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *552 examples: - default: *565 + default: *553 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82253,8 +82219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -82359,9 +82325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *330 - - *331 - - &566 + - *318 + - *319 + - &554 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82419,9 +82385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *330 - - *331 - - *566 + - *318 + - *319 + - *554 responses: '204': *163 '404': *6 @@ -82448,8 +82414,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -82680,7 +82646,7 @@ paths: description: Empty response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -82707,8 +82673,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Private vulnerability reporting status @@ -82745,8 +82711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': *163 '422': *14 @@ -82767,8 +82733,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': *163 '422': *14 @@ -82791,8 +82757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *330 - - *331 + - *318 + - *319 - name: state description: Indicates the state of the projects to return. in: query @@ -82813,7 +82779,7 @@ paths: application/json: schema: type: array - items: *244 + items: *242 examples: default: value: @@ -82849,11 +82815,11 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *58 + Link: *54 '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *324 '422': *7 x-github: githubCloudOnly: false @@ -82876,8 +82842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -82903,13 +82869,13 @@ paths: description: Response content: application/json: - schema: *244 + schema: *242 examples: - default: *335 + default: *323 '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *324 '422': *7 x-github: githubCloudOnly: false @@ -82932,8 +82898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -82941,7 +82907,7 @@ paths: application/json: schema: type: array - items: *262 + items: *260 examples: default: value: @@ -82972,8 +82938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -82985,7 +82951,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *262 + items: *260 required: - properties examples: @@ -83035,8 +83001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *330 - - *331 + - *318 + - *319 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83096,11 +83062,11 @@ paths: application/json: schema: type: array - items: *466 + items: *454 examples: - default: *567 + default: *555 headers: - Link: *58 + Link: *54 '304': *37 '422': *15 x-github: @@ -83130,8 +83096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -83196,7 +83162,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &559 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83307,8 +83273,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *248 + required: *249 nullable: true active_lock_reason: type: string @@ -83353,7 +83319,7 @@ paths: nullable: true requested_teams: type: array - items: *308 + items: *296 nullable: true head: type: object @@ -83362,7 +83328,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *63 sha: type: string user: *4 @@ -83379,7 +83345,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *63 sha: type: string user: *4 @@ -83392,14 +83358,14 @@ paths: _links: type: object properties: - comments: *252 - commits: *252 - statuses: *252 - html: *252 - issue: *252 - review_comments: *252 - review_comment: *252 - self: *252 + comments: *250 + commits: *250 + statuses: *250 + html: *250 + issue: *250 + review_comments: *250 + review_comment: *250 + self: *250 required: - comments - commits @@ -83409,8 +83375,8 @@ paths: - review_comments - review_comment - self - author_association: *72 - auto_merge: *568 + author_association: *68 + auto_merge: *556 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -83502,7 +83468,7 @@ paths: - merged_by - review_comments examples: - default: &572 + default: &560 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -84029,8 +83995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - name: sort in: query required: false @@ -84049,7 +84015,7 @@ paths: enum: - asc - desc - - *79 + - *74 - *17 - *19 responses: @@ -84059,9 +84025,9 @@ paths: application/json: schema: type: array - items: *569 + items: *557 examples: - default: &574 + default: &562 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84113,7 +84079,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84138,17 +84104,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 responses: '200': description: Response content: application/json: - schema: *569 + schema: *557 examples: - default: &570 + default: &558 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84223,9 +84189,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 requestBody: required: true content: @@ -84247,9 +84213,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *557 examples: - default: *570 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84265,9 +84231,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 responses: '204': description: Response @@ -84288,9 +84254,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -84316,11 +84282,11 @@ paths: application/json: schema: type: array - items: *323 + items: *311 examples: - default: *325 + default: *313 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -84339,9 +84305,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *330 - - *331 - - *88 + - *318 + - *319 + - *83 requestBody: required: true content: @@ -84373,16 +84339,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '201': description: Reaction created content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '422': *15 x-github: githubCloudOnly: false @@ -84404,10 +84370,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *330 - - *331 - - *88 - - *326 + - *318 + - *319 + - *83 + - *314 responses: '204': description: Response @@ -84450,9 +84416,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *330 - - *331 - - &573 + - *318 + - *319 + - &561 name: pull_number description: The number that identifies the pull request. in: path @@ -84465,9 +84431,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *571 + schema: *559 examples: - default: *572 + default: *560 '304': *37 '404': *6 '406': @@ -84475,8 +84441,8 @@ paths: content: application/json: schema: *3 - '500': *106 - '503': *77 + '500': *101 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84502,9 +84468,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 requestBody: required: false content: @@ -84546,9 +84512,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *559 examples: - default: *572 + default: *560 '422': *15 '403': *29 x-github: @@ -84570,9 +84536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 requestBody: required: true content: @@ -84632,21 +84598,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *439 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *439 '401': *25 '403': *29 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -84672,10 +84638,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *330 - - *331 - - *573 - - *96 + - *318 + - *319 + - *561 + - *91 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -84685,7 +84651,7 @@ paths: enum: - asc - desc - - *79 + - *74 - *17 - *19 responses: @@ -84695,11 +84661,11 @@ paths: application/json: schema: type: array - items: *569 + items: *557 examples: - default: *574 + default: *562 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84730,9 +84696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 requestBody: required: true content: @@ -84837,7 +84803,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *557 examples: example-for-a-multi-line-comment: value: @@ -84925,10 +84891,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *330 - - *331 - - *573 - - *88 + - *318 + - *319 + - *561 + - *83 requestBody: required: true content: @@ -84950,7 +84916,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *557 examples: default: value: @@ -85036,9 +85002,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 - *17 - *19 responses: @@ -85048,11 +85014,11 @@ paths: application/json: schema: type: array - items: *462 + items: *450 examples: - default: *575 + default: *563 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85080,9 +85046,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 - *17 - *19 responses: @@ -85092,7 +85058,7 @@ paths: application/json: schema: type: array - items: *475 + items: *463 examples: default: value: @@ -85108,10 +85074,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *58 + Link: *54 '422': *15 - '500': *106 - '503': *77 + '500': *101 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85130,9 +85096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 responses: '204': description: Response if pull request has been merged @@ -85155,9 +85121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 requestBody: required: false content: @@ -85268,9 +85234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 responses: '200': description: Response @@ -85327,7 +85293,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85345,9 +85311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 requestBody: required: false content: @@ -85384,7 +85350,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *454 examples: default: value: @@ -85920,9 +85886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 requestBody: required: true content: @@ -85956,7 +85922,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *454 examples: default: value: @@ -86461,9 +86427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 - *17 - *19 responses: @@ -86473,7 +86439,7 @@ paths: application/json: schema: type: array - items: &576 + items: &564 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86542,7 +86508,7 @@ paths: type: string body_text: type: string - author_association: *72 + author_association: *68 required: - id - node_id @@ -86591,7 +86557,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86624,9 +86590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 requestBody: required: false content: @@ -86712,9 +86678,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *564 examples: - default: &578 + default: &566 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86777,10 +86743,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - &577 + - *318 + - *319 + - *561 + - &565 name: review_id description: The unique identifier of the review. in: path @@ -86792,9 +86758,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *564 examples: - default: &579 + default: &567 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86853,10 +86819,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *318 + - *319 + - *561 + - *565 requestBody: required: true content: @@ -86879,7 +86845,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *564 examples: default: value: @@ -86941,18 +86907,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *318 + - *319 + - *561 + - *565 responses: '200': description: Response content: application/json: - schema: *576 + schema: *564 examples: - default: *578 + default: *566 '422': *7 '404': *6 x-github: @@ -86979,10 +86945,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *330 - - *331 - - *573 - - *577 + - *318 + - *319 + - *561 + - *565 - *17 - *19 responses: @@ -87061,13 +87027,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *72 + author_association: *68 _links: type: object properties: - self: *252 - html: *252 - pull_request: *252 + self: *250 + html: *250 + pull_request: *250 required: - self - html @@ -87076,7 +87042,7 @@ paths: type: string body_html: type: string - reactions: *73 + reactions: *69 side: description: The side of the first line of the range for a multi-line comment. @@ -87188,7 +87154,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -87217,10 +87183,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *318 + - *319 + - *561 + - *565 requestBody: required: true content: @@ -87248,7 +87214,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *564 examples: default: value: @@ -87311,10 +87277,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *318 + - *319 + - *561 + - *565 requestBody: required: true content: @@ -87349,9 +87315,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *564 examples: - default: *579 + default: *567 '404': *6 '422': *7 '403': *29 @@ -87373,9 +87339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *330 - - *331 - - *573 + - *318 + - *319 + - *561 requestBody: required: false content: @@ -87438,8 +87404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *330 - - *331 + - *318 + - *319 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87452,9 +87418,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *568 examples: - default: &581 + default: &569 value: type: file encoding: base64 @@ -87496,8 +87462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *330 - - *331 + - *318 + - *319 - name: dir description: The alternate path to look for a README file in: path @@ -87517,9 +87483,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *568 examples: - default: *581 + default: *569 '404': *6 '422': *15 x-github: @@ -87541,8 +87507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -87552,7 +87518,7 @@ paths: application/json: schema: type: array - items: *582 + items: *570 examples: default: value: @@ -87626,7 +87592,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -87646,8 +87612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -87723,9 +87689,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *570 examples: - default: &586 + default: &574 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -87830,9 +87796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *330 - - *331 - - &584 + - *318 + - *319 + - &572 name: asset_id description: The unique identifier of the asset. in: path @@ -87844,9 +87810,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *571 examples: - default: &585 + default: &573 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -87881,7 +87847,7 @@ paths: type: User site_admin: false '404': *6 - '302': *477 + '302': *465 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87897,9 +87863,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *330 - - *331 - - *584 + - *318 + - *319 + - *572 requestBody: required: false content: @@ -87927,9 +87893,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *571 examples: - default: *585 + default: *573 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87945,9 +87911,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *330 - - *331 - - *584 + - *318 + - *319 + - *572 responses: '204': description: Response @@ -87971,8 +87937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -88057,16 +88023,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response content: application/json: - schema: *582 + schema: *570 examples: - default: *586 + default: *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88083,8 +88049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *330 - - *331 + - *318 + - *319 - name: tag description: tag parameter in: path @@ -88097,9 +88063,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *570 examples: - default: *586 + default: *574 '404': *6 x-github: githubCloudOnly: false @@ -88121,9 +88087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *330 - - *331 - - &587 + - *318 + - *319 + - &575 name: release_id description: The unique identifier of the release. in: path @@ -88137,9 +88103,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *582 + schema: *570 examples: - default: *586 + default: *574 '401': description: Unauthorized x-github: @@ -88157,9 +88123,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *330 - - *331 - - *587 + - *318 + - *319 + - *575 requestBody: required: false content: @@ -88223,9 +88189,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *570 examples: - default: *586 + default: *574 '404': description: Not Found if the discussion category name is invalid content: @@ -88246,9 +88212,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *330 - - *331 - - *587 + - *318 + - *319 + - *575 responses: '204': description: Response @@ -88268,9 +88234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *330 - - *331 - - *587 + - *318 + - *319 + - *575 - *17 - *19 responses: @@ -88280,7 +88246,7 @@ paths: application/json: schema: type: array - items: *583 + items: *571 examples: default: value: @@ -88317,7 +88283,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88361,9 +88327,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *330 - - *331 - - *587 + - *318 + - *319 + - *575 - name: name in: query required: true @@ -88389,7 +88355,7 @@ paths: description: Response for successful upload content: application/json: - schema: *583 + schema: *571 examples: response-for-successful-upload: value: @@ -88444,9 +88410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *330 - - *331 - - *587 + - *318 + - *319 + - *575 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -88470,11 +88436,11 @@ paths: application/json: schema: type: array - items: *323 + items: *311 examples: - default: *325 + default: *313 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -88493,9 +88459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *330 - - *331 - - *587 + - *318 + - *319 + - *575 requestBody: required: true content: @@ -88525,16 +88491,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '201': description: Reaction created content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 '422': *15 x-github: githubCloudOnly: false @@ -88556,10 +88522,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *330 - - *331 - - *587 - - *326 + - *318 + - *319 + - *575 + - *314 responses: '204': description: Response @@ -88583,9 +88549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *330 - - *331 - - *400 + - *318 + - *319 + - *388 - *17 - *19 responses: @@ -88601,8 +88567,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *271 - - &588 + - *269 + - &576 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88621,69 +88587,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *270 + - *576 + - allOf: + - *271 + - *576 - allOf: - *272 - - *588 + - *576 + - allOf: + - *577 + - *576 - allOf: - *273 - - *588 + - *576 - allOf: - *274 - - *588 - - allOf: - - *589 - - *588 + - *576 - allOf: - *275 - - *588 + - *576 - allOf: - *276 - - *588 + - *576 - allOf: - *277 - - *588 + - *576 - allOf: - *278 - - *588 + - *576 - allOf: - *279 - - *588 + - *576 - allOf: - *280 - - *588 + - *576 - allOf: - *281 - - *588 + - *576 - allOf: - *282 - - *588 + - *576 - allOf: - *283 - - *588 + - *576 - allOf: - *284 - - *588 + - *576 - allOf: - *285 - - *588 + - *576 - allOf: - *286 - - *588 + - *576 - allOf: - *287 - - *588 + - *576 - allOf: - *288 - - *588 + - *576 - allOf: - - *289 - - *588 - - allOf: - - *290 - - *588 - - allOf: - - *590 - - *588 + - *578 + - *576 examples: default: value: @@ -88722,8 +88688,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 - name: includes_parents @@ -88734,7 +88700,7 @@ paths: schema: type: boolean default: true - - *591 + - *579 responses: '200': description: Response @@ -88742,7 +88708,7 @@ paths: application/json: schema: type: array - items: *291 + items: *289 examples: default: value: @@ -88773,7 +88739,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *106 + '500': *101 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -88789,8 +88755,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *318 + - *319 requestBody: description: Request body required: true @@ -88810,16 +88776,16 @@ paths: - tag - push default: branch - enforcement: *268 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *266 + items: *267 + conditions: *264 rules: type: array description: An array of rules within the ruleset. - items: *592 + items: *580 required: - name - enforcement @@ -88850,9 +88816,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: &602 + default: &590 value: id: 42 name: super cool ruleset @@ -88885,7 +88851,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *106 + '500': *101 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -88899,12 +88865,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *330 - - *331 - - *593 - - *594 - - *595 - - *596 + - *318 + - *319 + - *581 + - *582 + - *583 + - *584 - *17 - *19 responses: @@ -88912,11 +88878,11 @@ paths: description: Response content: application/json: - schema: *597 + schema: *585 examples: - default: *598 + default: *586 '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88935,19 +88901,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *330 - - *331 - - *599 + - *318 + - *319 + - *587 responses: '200': description: Response content: application/json: - schema: *600 + schema: *588 examples: - default: *601 + default: *589 '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88973,8 +88939,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *318 + - *319 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88994,11 +88960,11 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: *602 + default: *590 '404': *6 - '500': *106 + '500': *101 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -89014,8 +88980,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *318 + - *319 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89040,16 +89006,16 @@ paths: - branch - tag - push - enforcement: *268 + enforcement: *266 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *266 + items: *267 + conditions: *264 rules: description: An array of rules within the ruleset. type: array - items: *592 + items: *580 examples: default: value: @@ -89077,11 +89043,11 @@ paths: description: Response content: application/json: - schema: *291 + schema: *289 examples: - default: *602 + default: *590 '404': *6 - '500': *106 + '500': *101 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -89097,8 +89063,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *318 + - *319 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89109,7 +89075,7 @@ paths: '204': description: Response '404': *6 - '500': *106 + '500': *101 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -89121,8 +89087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 - name: ruleset_id @@ -89138,11 +89104,11 @@ paths: application/json: schema: type: array - items: *294 + items: *292 examples: - default: *603 + default: *591 '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89159,8 +89125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *330 - - *331 + - *318 + - *319 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89178,7 +89144,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *592 examples: default: value: @@ -89211,7 +89177,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89233,21 +89199,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *330 - - *331 - - *295 - - *296 - - *297 - - *298 + - *318 + - *319 + - *593 + - *594 + - *595 + - *596 - *48 - *19 - *17 - - *605 - - *606 - - *299 - - *300 - - *301 - - *302 + - *597 + - *598 + - *599 + - *600 + - *601 + - *602 responses: '200': description: Response @@ -89255,11 +89221,11 @@ paths: application/json: schema: type: array - items: &610 + items: &606 type: object properties: - number: *54 - created_at: *55 + number: *149 + created_at: *150 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -89267,15 +89233,15 @@ paths: format: date-time readOnly: true nullable: true - url: *56 - html_url: *57 + url: *152 + html_url: *153 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *607 - resolution: *608 + state: *603 + resolution: *604 resolved_at: type: string format: date-time @@ -89371,7 +89337,7 @@ paths: pull request. ' - oneOf: *609 + oneOf: *605 nullable: true has_more_locations: type: boolean @@ -89498,7 +89464,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89520,16 +89486,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *330 - - *331 - - *431 - - *302 + - *318 + - *319 + - *419 + - *602 responses: '200': description: Response content: application/json: - schema: *610 + schema: *606 examples: default: value: @@ -89560,7 +89526,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89581,9 +89547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *330 - - *331 - - *431 + - *318 + - *319 + - *419 requestBody: required: true content: @@ -89591,8 +89557,8 @@ paths: schema: type: object properties: - state: *607 - resolution: *608 + state: *603 + resolution: *604 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89610,7 +89576,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *606 examples: default: value: @@ -89663,7 +89629,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *77 + '503': *102 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89685,9 +89651,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *330 - - *331 - - *431 + - *318 + - *319 + - *419 - *19 - *17 responses: @@ -89698,7 +89664,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &769 + items: &765 type: object properties: type: @@ -89724,6 +89690,10 @@ paths: example: commit details: oneOf: + - *607 + - *608 + - *609 + - *610 - *611 - *612 - *613 @@ -89733,10 +89703,6 @@ paths: - *617 - *618 - *619 - - *620 - - *621 - - *622 - - *623 examples: default: value: @@ -89796,11 +89762,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *58 + Link: *54 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89822,8 +89788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -89831,14 +89797,14 @@ paths: schema: type: object properties: - reason: &625 + reason: &621 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *624 + placeholder_id: *620 required: - reason - placeholder_id @@ -89855,7 +89821,7 @@ paths: schema: type: object properties: - reason: *625 + reason: *621 expire_at: type: string format: date-time @@ -89878,7 +89844,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *77 + '503': *102 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89890,6 +89856,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -89898,13 +89867,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *77 + '503': *102 '200': description: Response content: @@ -89914,7 +89883,7 @@ paths: properties: incremental_scans: type: array - items: &626 + items: &622 description: Information on a single scan performed by secret scanning on the repository type: object @@ -89940,15 +89909,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *626 + items: *622 backfill_scans: type: array - items: *626 + items: *622 custom_pattern_backfill_scans: type: array items: allOf: - - *626 + - *622 - type: object properties: pattern_name: @@ -90018,8 +89987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *330 - - *331 + - *318 + - *319 - *48 - name: sort description: The property to sort the results by. @@ -90063,9 +90032,9 @@ paths: application/json: schema: type: array - items: *627 + items: *623 examples: - default: *628 + default: *624 '400': *14 '404': *6 x-github: @@ -90088,8 +90057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -90162,7 +90131,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *295 required: - login - type @@ -90249,9 +90218,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *623 examples: - default: &630 + default: &626 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90484,8 +90453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -90589,7 +90558,7 @@ paths: description: Response content: application/json: - schema: *627 + schema: *623 examples: default: value: @@ -90736,17 +90705,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *330 - - *331 - - *629 + - *318 + - *319 + - *625 responses: '200': description: Response content: application/json: - schema: *627 + schema: *623 examples: - default: *630 + default: *626 '403': *29 '404': *6 x-github: @@ -90770,9 +90739,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *330 - - *331 - - *629 + - *318 + - *319 + - *625 requestBody: required: true content: @@ -90845,7 +90814,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *295 required: - login - type @@ -90931,17 +90900,17 @@ paths: description: Response content: application/json: - schema: *627 + schema: *623 examples: - default: *630 - add_credit: *630 + default: *626 + add_credit: *626 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *111 + schema: *107 examples: invalid_state_transition: value: @@ -90972,9 +90941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *330 - - *331 - - *629 + - *318 + - *319 + - *625 responses: '202': *39 '400': *14 @@ -91001,17 +90970,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *330 - - *331 - - *629 + - *318 + - *319 + - *625 responses: '202': description: Response content: application/json: - schema: *338 + schema: *326 examples: - default: *340 + default: *328 '400': *14 '422': *15 '403': *29 @@ -91037,8 +91006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -91115,7 +91084,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -91137,8 +91106,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91147,7 +91116,7 @@ paths: application/json: schema: type: array - items: &631 + items: &627 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91180,8 +91149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -91257,8 +91226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -91354,8 +91323,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91509,8 +91478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91520,7 +91489,7 @@ paths: application/json: schema: type: array - items: *631 + items: *627 examples: default: value: @@ -91553,8 +91522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *330 - - *331 + - *318 + - *319 - name: sha in: path required: true @@ -91608,7 +91577,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *628 examples: default: value: @@ -91662,8 +91631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -91675,9 +91644,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91695,14 +91664,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &633 + schema: &629 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91770,8 +91739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: false content: @@ -91797,7 +91766,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *629 examples: default: value: @@ -91824,8 +91793,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -91845,8 +91814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -91902,7 +91871,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91925,8 +91894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -91934,7 +91903,7 @@ paths: application/json: schema: type: array - items: &634 + items: &630 title: Tag protection description: Tag protection type: object @@ -91986,8 +91955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -92010,7 +91979,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *630 examples: default: value: @@ -92041,8 +92010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92079,8 +92048,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *330 - - *331 + - *318 + - *319 - name: ref in: path required: true @@ -92116,8 +92085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *330 - - *331 + - *318 + - *319 - *17 - *19 responses: @@ -92129,9 +92098,9 @@ paths: type: array items: *169 examples: - default: *227 + default: *225 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -92149,8 +92118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *330 - - *331 + - *318 + - *319 - *19 - *17 responses: @@ -92158,7 +92127,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &631 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92170,7 +92139,7 @@ paths: required: - names examples: - default: &636 + default: &632 value: names: - octocat @@ -92193,8 +92162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -92225,9 +92194,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *631 examples: - default: *636 + default: *632 '404': *6 '422': *7 x-github: @@ -92248,9 +92217,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *330 - - *331 - - &637 + - *318 + - *319 + - &633 name: per description: The time frame to display results for. in: query @@ -92279,7 +92248,7 @@ paths: example: 128 clones: type: array - items: &638 + items: &634 title: Traffic type: object properties: @@ -92366,8 +92335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -92457,8 +92426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *330 - - *331 + - *318 + - *319 responses: '200': description: Response @@ -92518,9 +92487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *330 - - *331 - - *637 + - *318 + - *319 + - *633 responses: '200': description: Response @@ -92539,7 +92508,7 @@ paths: example: 3782 views: type: array - items: *638 + items: *634 required: - uniques - count @@ -92616,8 +92585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *330 - - *331 + - *318 + - *319 requestBody: required: true content: @@ -92653,7 +92622,7 @@ paths: description: Response content: application/json: - schema: *137 + schema: *133 examples: default: value: @@ -92891,8 +92860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92915,8 +92884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -92938,8 +92907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -92965,8 +92934,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *330 - - *331 + - *318 + - *319 - name: ref in: path required: true @@ -93058,9 +93027,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *326 examples: - default: *340 + default: *328 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93101,7 +93070,7 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: default: value: @@ -93290,7 +93259,7 @@ paths: html_url: type: string format: uri - repository: *137 + repository: *133 score: type: number file_size: @@ -93308,7 +93277,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &639 + text_matches: &635 title: Search Result Text Matches type: array items: @@ -93422,7 +93391,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *77 + '503': *102 '422': *15 '403': *29 x-github: @@ -93470,7 +93439,7 @@ paths: enum: - author-date - committer-date - - &640 + - &636 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -93541,7 +93510,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *386 nullable: true comment_count: type: integer @@ -93561,7 +93530,7 @@ paths: url: type: string format: uri - verification: *513 + verification: *501 required: - author - committer @@ -93580,7 +93549,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *386 nullable: true parents: type: array @@ -93593,12 +93562,12 @@ paths: type: string sha: type: string - repository: *137 + repository: *133 score: type: number node_id: type: string - text_matches: *639 + text_matches: *635 required: - sha - node_id @@ -93790,7 +93759,7 @@ paths: - interactions - created - updated - - *640 + - *636 - *17 - *19 - name: advanced_search @@ -93887,11 +93856,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: type: string state_reason: @@ -93908,8 +93877,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *248 + required: *249 nullable: true comments: type: integer @@ -93923,7 +93892,7 @@ paths: type: string format: date-time nullable: true - text_matches: *639 + text_matches: *635 pull_request: type: object properties: @@ -93956,10 +93925,10 @@ paths: type: string score: type: number - author_association: *72 + author_association: *68 draft: type: boolean - repository: *67 + repository: *63 body_html: type: string body_text: @@ -93967,7 +93936,7 @@ paths: timeline_url: type: string format: uri - type: *209 + type: *207 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -93977,9 +93946,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - reactions: *73 + properties: *64 + required: *65 + reactions: *69 required: - assignee - closed_at @@ -94095,7 +94064,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *77 + '503': *102 '422': *15 '304': *37 '403': *29 @@ -94148,7 +94117,7 @@ paths: enum: - created - updated - - *640 + - *636 - *17 - *19 responses: @@ -94192,7 +94161,7 @@ paths: nullable: true score: type: number - text_matches: *639 + text_matches: *635 required: - id - node_id @@ -94277,7 +94246,7 @@ paths: - forks - help-wanted-issues - updated - - *640 + - *636 - *17 - *19 responses: @@ -94496,8 +94465,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *70 + required: *71 nullable: true permissions: type: object @@ -94516,7 +94485,7 @@ paths: - admin - pull - push - text_matches: *639 + text_matches: *635 temp_clone_token: type: string allow_merge_commit: @@ -94718,7 +94687,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *77 + '503': *102 '422': *15 '304': *37 x-github: @@ -94816,7 +94785,7 @@ paths: type: string format: uri nullable: true - text_matches: *639 + text_matches: *635 related: type: array nullable: true @@ -95007,7 +94976,7 @@ paths: - followers - repositories - joined - - *640 + - *636 - *17 - *19 responses: @@ -95111,7 +95080,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *639 + text_matches: *635 blog: type: string nullable: true @@ -95170,7 +95139,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *77 + '503': *102 '422': *15 x-github: githubCloudOnly: false @@ -95190,7 +95159,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &644 + - &640 name: team_id description: The unique identifier of the team. in: path @@ -95202,9 +95171,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *303 examples: - default: *316 + default: *304 '404': *6 x-github: githubCloudOnly: false @@ -95231,7 +95200,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *644 + - *640 requestBody: required: true content: @@ -95294,16 +95263,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *315 + schema: *303 examples: - default: *316 + default: *304 '201': description: Response content: application/json: - schema: *315 + schema: *303 examples: - default: *316 + default: *304 '404': *6 '422': *15 '403': *29 @@ -95331,7 +95300,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *644 + - *640 responses: '204': description: Response @@ -95362,7 +95331,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *644 + - *640 - *48 - *17 - *19 @@ -95373,11 +95342,11 @@ paths: application/json: schema: type: array - items: *317 + items: *305 examples: - default: *645 + default: *641 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95404,7 +95373,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *644 + - *640 requestBody: required: true content: @@ -95438,9 +95407,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *305 examples: - default: *318 + default: *306 x-github: triggersNotification: true githubCloudOnly: false @@ -95467,16 +95436,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *644 - - *319 + - *640 + - *307 responses: '200': description: Response content: application/json: - schema: *317 + schema: *305 examples: - default: *318 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95501,8 +95470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *644 - - *319 + - *640 + - *307 requestBody: required: false content: @@ -95525,9 +95494,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *305 examples: - default: *646 + default: *642 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95552,8 +95521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *644 - - *319 + - *640 + - *307 responses: '204': description: Response @@ -95582,8 +95551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *644 - - *319 + - *640 + - *307 - *48 - *17 - *19 @@ -95594,11 +95563,11 @@ paths: application/json: schema: type: array - items: *320 + items: *308 examples: - default: *647 + default: *643 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95625,8 +95594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *644 - - *319 + - *640 + - *307 requestBody: required: true content: @@ -95648,9 +95617,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *308 examples: - default: *321 + default: *309 x-github: triggersNotification: true githubCloudOnly: false @@ -95677,17 +95646,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *640 + - *307 + - *310 responses: '200': description: Response content: application/json: - schema: *320 + schema: *308 examples: - default: *321 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95712,9 +95681,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *640 + - *307 + - *310 requestBody: required: true content: @@ -95736,9 +95705,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *308 examples: - default: *648 + default: *644 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95763,9 +95732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *640 + - *307 + - *310 responses: '204': description: Response @@ -95794,9 +95763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *640 + - *307 + - *310 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -95822,11 +95791,11 @@ paths: application/json: schema: type: array - items: *323 + items: *311 examples: - default: *325 + default: *313 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95853,9 +95822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *640 + - *307 + - *310 requestBody: required: true content: @@ -95887,9 +95856,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95915,8 +95884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *644 - - *319 + - *640 + - *307 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -95942,11 +95911,11 @@ paths: application/json: schema: type: array - items: *323 + items: *311 examples: - default: *325 + default: *313 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95973,8 +95942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *644 - - *319 + - *640 + - *307 requestBody: required: true content: @@ -96006,9 +95975,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *311 examples: - default: *324 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96032,7 +96001,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *644 + - *640 - *17 - *19 responses: @@ -96042,11 +96011,11 @@ paths: application/json: schema: type: array - items: *206 + items: *204 examples: - default: *207 + default: *205 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96070,7 +96039,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *644 + - *640 - name: role description: Filters members returned by their role in the team. in: query @@ -96093,9 +96062,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -96121,8 +96090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *644 - - *63 + - *640 + - *59 responses: '204': description: if user is a member @@ -96158,8 +96127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *644 - - *63 + - *640 + - *59 responses: '204': description: Response @@ -96198,8 +96167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *644 - - *63 + - *640 + - *59 responses: '204': description: Response @@ -96235,16 +96204,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *644 - - *63 + - *640 + - *59 responses: '200': description: Response content: application/json: - schema: *327 + schema: *315 examples: - response-if-user-is-a-team-maintainer: *649 + response-if-user-is-a-team-maintainer: *645 '404': *6 x-github: githubCloudOnly: false @@ -96277,8 +96246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *644 - - *63 + - *640 + - *59 requestBody: required: false content: @@ -96303,9 +96272,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *315 examples: - response-if-users-membership-with-team-is-now-pending: *650 + response-if-users-membership-with-team-is-now-pending: *646 '403': description: Forbidden if team synchronization is set up '422': @@ -96339,8 +96308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *644 - - *63 + - *640 + - *59 responses: '204': description: Response @@ -96368,7 +96337,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *644 + - *640 - *17 - *19 responses: @@ -96378,11 +96347,11 @@ paths: application/json: schema: type: array - items: *328 + items: *316 examples: - default: *651 + default: *647 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -96406,16 +96375,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *644 - - *329 + - *640 + - *317 responses: '200': description: Response content: application/json: - schema: *328 + schema: *316 examples: - default: *652 + default: *648 '404': description: Not Found if project is not managed by this team x-github: @@ -96439,8 +96408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *644 - - *329 + - *640 + - *317 requestBody: required: false content: @@ -96507,8 +96476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *644 - - *329 + - *640 + - *317 responses: '204': description: Response @@ -96535,7 +96504,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *644 + - *640 - *17 - *19 responses: @@ -96545,11 +96514,11 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: - default: *234 + default: *232 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -96577,15 +96546,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *644 - - *330 - - *331 + - *640 + - *318 + - *319 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *653 + schema: *649 examples: alternative-response-with-extra-repository-information: value: @@ -96736,9 +96705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *644 - - *330 - - *331 + - *640 + - *318 + - *319 requestBody: required: false content: @@ -96788,9 +96757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *644 - - *330 - - *331 + - *640 + - *318 + - *319 responses: '204': description: Response @@ -96815,7 +96784,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *644 + - *640 - *17 - *19 responses: @@ -96827,9 +96796,9 @@ paths: type: array items: *169 examples: - response-if-child-teams-exist: *654 + response-if-child-teams-exist: *650 headers: - Link: *58 + Link: *54 '404': *6 '403': *29 '422': *15 @@ -96860,7 +96829,7 @@ paths: application/json: schema: oneOf: - - &656 + - &652 title: Private User description: Private User type: object @@ -97063,7 +97032,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *655 + - *651 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97216,7 +97185,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *652 examples: default: value: @@ -97295,7 +97264,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '304': *37 '404': *6 '403': *29 @@ -97318,7 +97287,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *63 + - *59 responses: '204': description: If the user is blocked @@ -97346,7 +97315,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *63 + - *59 responses: '204': description: Response @@ -97370,7 +97339,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *63 + - *59 responses: '204': description: Response @@ -97419,11 +97388,11 @@ paths: type: integer codespaces: type: array - items: *214 + items: *212 examples: - default: *215 + default: *213 '304': *37 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -97560,21 +97529,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *439 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *439 '401': *25 '403': *29 '404': *6 - '503': *77 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97614,7 +97583,7 @@ paths: type: integer secrets: type: array - items: &657 + items: &653 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97654,9 +97623,9 @@ paths: - visibility - selected_repositories_url examples: - default: *454 + default: *442 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97724,13 +97693,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *145 + - *141 responses: '200': description: Response content: application/json: - schema: *657 + schema: *653 examples: default: value: @@ -97760,7 +97729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *145 + - *141 requestBody: required: true content: @@ -97805,7 +97774,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -97833,7 +97802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *145 + - *141 responses: '204': description: Response @@ -97858,7 +97827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *145 + - *141 responses: '200': description: Response @@ -97874,13 +97843,13 @@ paths: type: integer repositories: type: array - items: *137 + items: *133 examples: - default: *658 + default: *654 '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97901,7 +97870,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *145 + - *141 requestBody: required: true content: @@ -97933,7 +97902,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97955,7 +97924,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *145 + - *141 - name: repository_id in: path required: true @@ -97967,7 +97936,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97988,7 +97957,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *145 + - *141 - name: repository_id in: path required: true @@ -98000,7 +97969,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *101 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98020,17 +97989,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 responses: '200': description: Response content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *439 '304': *37 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -98054,7 +98023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 requestBody: required: false content: @@ -98084,9 +98053,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *439 '401': *25 '403': *29 '404': *6 @@ -98108,11 +98077,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 responses: '202': *39 '304': *37 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -98137,13 +98106,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 responses: '202': description: Response content: application/json: - schema: &659 + schema: &655 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98184,7 +98153,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &660 + default: &656 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98192,7 +98161,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -98216,7 +98185,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *216 + - *214 - name: export_id in: path required: true @@ -98229,9 +98198,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *655 examples: - default: *660 + default: *656 '404': *6 x-github: githubCloudOnly: false @@ -98252,7 +98221,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *216 + - *214 responses: '200': description: Response @@ -98268,11 +98237,11 @@ paths: type: integer machines: type: array - items: *661 + items: *657 examples: - default: *662 + default: *658 '304': *37 - '500': *106 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -98299,7 +98268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *216 + - *214 requestBody: required: true content: @@ -98349,13 +98318,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *338 + repository: *326 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *440 + required: *441 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -99129,17 +99098,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 responses: '200': description: Response content: application/json: - schema: *214 + schema: *212 examples: - default: *451 + default: *439 '304': *37 - '500': *106 + '500': *101 '400': *14 '401': *25 '402': @@ -99169,16 +99138,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *216 + - *214 responses: '200': description: Response content: application/json: - schema: *214 + schema: *212 examples: - default: *451 - '500': *106 + default: *439 + '500': *101 '401': *25 '403': *29 '404': *6 @@ -99207,9 +99176,9 @@ paths: application/json: schema: type: array - items: *228 + items: *226 examples: - default: &674 + default: &670 value: - id: 197 name: hello_docker @@ -99310,7 +99279,7 @@ paths: application/json: schema: type: array - items: &663 + items: &659 title: Email description: Email type: object @@ -99375,16 +99344,16 @@ paths: application/json: schema: type: array - items: *663 + items: *659 examples: - default: &676 + default: &672 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -99452,7 +99421,7 @@ paths: application/json: schema: type: array - items: *663 + items: *659 examples: default: value: @@ -99562,9 +99531,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -99595,9 +99564,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -99617,7 +99586,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *63 + - *59 responses: '204': description: if the person is followed by the authenticated user @@ -99647,7 +99616,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *63 + - *59 responses: '204': description: Response @@ -99672,7 +99641,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *63 + - *59 responses: '204': description: Response @@ -99708,7 +99677,7 @@ paths: application/json: schema: type: array - items: &664 + items: &660 title: GPG Key description: A unique encryption key type: object @@ -99839,7 +99808,7 @@ paths: - subkeys - revoked examples: - default: &690 + default: &686 value: - id: 3 name: Octocat's GPG Key @@ -99871,7 +99840,7 @@ paths: revoked: false raw_key: string headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -99924,9 +99893,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *660 examples: - default: &665 + default: &661 value: id: 3 name: Octocat's GPG Key @@ -99983,7 +99952,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &666 + - &662 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99995,9 +99964,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *660 examples: - default: *665 + default: *661 '404': *6 '304': *37 '403': *29 @@ -100020,7 +99989,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *666 + - *662 responses: '204': description: Response @@ -100163,7 +100132,7 @@ paths: suspended_at: suspended_by: headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -100209,11 +100178,11 @@ paths: type: string repositories: type: array - items: *67 + items: *63 examples: - default: *129 + default: *125 headers: - Link: *58 + Link: *54 '404': *6 '403': *29 '304': *37 @@ -100236,7 +100205,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *126 + - *122 responses: '204': description: Response @@ -100262,7 +100231,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *126 + - *122 responses: '204': description: Response @@ -100296,12 +100265,12 @@ paths: application/json: schema: anyOf: - - *204 + - *202 - type: object properties: {} additionalProperties: false examples: - default: *205 + default: *203 '204': description: Response when there are no restrictions x-github: @@ -100325,7 +100294,7 @@ paths: required: true content: application/json: - schema: *524 + schema: *512 examples: default: value: @@ -100336,7 +100305,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *202 examples: default: value: @@ -100417,7 +100386,7 @@ paths: - closed - all default: open - - *212 + - *210 - name: sort description: What to sort results by. in: query @@ -100430,7 +100399,7 @@ paths: - comments default: created - *48 - - *79 + - *74 - *17 - *19 responses: @@ -100440,11 +100409,11 @@ paths: application/json: schema: type: array - items: *71 + items: *67 examples: - default: *213 + default: *211 headers: - Link: *58 + Link: *54 '404': *6 '304': *37 x-github: @@ -100475,7 +100444,7 @@ paths: application/json: schema: type: array - items: &667 + items: &663 title: Key description: Key type: object @@ -100526,7 +100495,7 @@ paths: verified: false read_only: false headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -100576,9 +100545,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *663 examples: - default: &668 + default: &664 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100611,15 +100580,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *552 + - *540 responses: '200': description: Response content: application/json: - schema: *667 + schema: *663 examples: - default: *668 + default: *664 '404': *6 '304': *37 '403': *29 @@ -100642,7 +100611,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *552 + - *540 responses: '204': description: Response @@ -100675,7 +100644,7 @@ paths: application/json: schema: type: array - items: &669 + items: &665 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100732,7 +100701,7 @@ paths: - id - type - login - plan: *90 + plan: *85 required: - billing_cycle - next_billing_date @@ -100743,7 +100712,7 @@ paths: - account - plan examples: - default: &670 + default: &666 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100776,7 +100745,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *54 '304': *37 '401': *25 '404': *6 @@ -100805,11 +100774,11 @@ paths: application/json: schema: type: array - items: *669 + items: *665 examples: - default: *670 + default: *666 headers: - Link: *58 + Link: *54 '304': *37 '401': *25 x-github: @@ -100847,7 +100816,7 @@ paths: application/json: schema: type: array - items: *219 + items: *217 examples: default: value: @@ -100924,7 +100893,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -100949,13 +100918,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *105 + - *100 responses: '200': description: Response content: application/json: - schema: *219 + schema: *217 examples: default: value: @@ -101013,7 +100982,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *105 + - *100 requestBody: required: true content: @@ -101038,7 +101007,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *217 examples: default: value: @@ -101106,7 +101075,7 @@ paths: application/json: schema: type: array - items: *221 + items: *219 examples: default: value: @@ -101259,7 +101228,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -101359,7 +101328,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *219 examples: default: value: @@ -101539,7 +101508,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *222 + - *220 - name: exclude in: query required: false @@ -101552,7 +101521,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *219 examples: default: value: @@ -101746,7 +101715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *222 + - *220 responses: '302': description: Response @@ -101772,7 +101741,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *222 + - *220 responses: '204': description: Response @@ -101801,8 +101770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *222 - - *671 + - *220 + - *667 responses: '204': description: Response @@ -101826,7 +101795,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *222 + - *220 - *17 - *19 responses: @@ -101836,11 +101805,11 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: - default: *234 + default: *232 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -101873,11 +101842,11 @@ paths: application/json: schema: type: array - items: *218 + items: *216 examples: - default: *672 + default: *668 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -101917,7 +101886,7 @@ paths: - docker - nuget - container - - *673 + - *669 - *19 - *17 responses: @@ -101927,10 +101896,10 @@ paths: application/json: schema: type: array - items: *228 + items: *226 examples: - default: *674 - '400': *675 + default: *670 + '400': *671 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101950,16 +101919,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *230 - - *231 + - *228 + - *229 responses: '200': description: Response content: application/json: - schema: *228 + schema: *226 examples: - default: &691 + default: &687 value: id: 40201 name: octo-name @@ -102072,8 +102041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *230 - - *231 + - *228 + - *229 responses: '204': description: Response @@ -102103,8 +102072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *230 - - *231 + - *228 + - *229 - name: token description: package token schema: @@ -102136,8 +102105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *230 - - *231 + - *228 + - *229 - *19 - *17 - name: state @@ -102157,7 +102126,7 @@ paths: application/json: schema: type: array - items: *232 + items: *230 examples: default: value: @@ -102206,15 +102175,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *230 + - *228 + - *229 - *231 - - *233 responses: '200': description: Response content: application/json: - schema: *232 + schema: *230 examples: default: value: @@ -102250,9 +102219,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *230 + - *228 + - *229 - *231 - - *233 responses: '204': description: Response @@ -102282,9 +102251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *230 + - *228 + - *229 - *231 - - *233 responses: '204': description: Response @@ -102340,7 +102309,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *242 examples: default: value: @@ -102412,11 +102381,11 @@ paths: application/json: schema: type: array - items: *663 + items: *659 examples: - default: *676 + default: *672 headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -102525,9 +102494,9 @@ paths: application/json: schema: type: array - items: *67 + items: *63 examples: - default: &683 + default: &679 summary: Default response value: - id: 1296269 @@ -102648,7 +102617,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *54 '422': *15 '304': *37 '403': *29 @@ -102831,9 +102800,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *326 examples: - default: *340 + default: *328 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102871,11 +102840,11 @@ paths: application/json: schema: type: array - items: *526 + items: *514 examples: - default: *677 + default: *673 headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -102896,7 +102865,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *208 + - *206 responses: '204': description: Response @@ -102919,7 +102888,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *208 + - *206 responses: '204': description: Response @@ -102952,7 +102921,7 @@ paths: application/json: schema: type: array - items: &678 + items: &674 title: Social account description: Social media account type: object @@ -102967,12 +102936,12 @@ paths: - provider - url examples: - default: &679 + default: &675 value: - provider: twitter url: https://twitter.com/github headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -103029,9 +102998,9 @@ paths: application/json: schema: type: array - items: *678 + items: *674 examples: - default: *679 + default: *675 '422': *15 '304': *37 '404': *6 @@ -103118,7 +103087,7 @@ paths: application/json: schema: type: array - items: &680 + items: &676 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -103138,7 +103107,7 @@ paths: - title - created_at examples: - default: &705 + default: &701 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103151,7 +103120,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -103204,9 +103173,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *676 examples: - default: &681 + default: &677 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103237,7 +103206,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &682 + - &678 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103249,9 +103218,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *676 examples: - default: *681 + default: *677 '404': *6 '304': *37 '403': *29 @@ -103274,7 +103243,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *682 + - *678 responses: '204': description: Response @@ -103303,7 +103272,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &706 + - &702 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -103326,13 +103295,13 @@ paths: application/json: schema: type: array - items: *67 + items: *63 examples: - default-response: *683 + default-response: *679 application/vnd.github.v3.star+json: schema: type: array - items: &707 + items: &703 title: Starred Repository description: Starred Repository type: object @@ -103340,7 +103309,7 @@ paths: starred_at: type: string format: date-time - repo: *67 + repo: *63 required: - starred_at - repo @@ -103468,7 +103437,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -103488,8 +103457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response if this repository is starred by you @@ -103517,8 +103486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -103542,8 +103511,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *330 - - *331 + - *318 + - *319 responses: '204': description: Response @@ -103576,11 +103545,11 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: - default: *234 + default: *232 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -103615,7 +103584,7 @@ paths: application/json: schema: type: array - items: *315 + items: *303 examples: default: value: @@ -103666,7 +103635,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -103693,7 +103662,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *92 + - *87 responses: '200': description: Response @@ -103701,10 +103670,10 @@ paths: application/json: schema: oneOf: - - *656 - - *655 + - *652 + - *651 examples: - default-response: &685 + default-response: &681 summary: Default response value: login: octocat @@ -103739,7 +103708,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &686 + response-with-git-hub-plan-information: &682 summary: Response with GitHub plan information value: login: octocat @@ -103799,7 +103768,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *684 + - *680 - *17 responses: '200': @@ -103810,7 +103779,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: Link: example: ; rel="next" @@ -103840,7 +103809,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *63 + - *59 responses: '200': description: Response @@ -103848,11 +103817,11 @@ paths: application/json: schema: oneOf: - - *656 - - *655 + - *652 + - *651 examples: - default-response: *685 - response-with-git-hub-plan-information: *686 + default-response: *681 + response-with-git-hub-plan-information: *682 '404': *6 x-github: githubCloudOnly: false @@ -103878,7 +103847,7 @@ paths: - *17 - *40 - *41 - - *63 + - *59 requestBody: required: true content: @@ -103901,8 +103870,8 @@ paths: required: - subject_digests examples: - default: *687 - withPredicateType: *688 + default: *683 + withPredicateType: *684 responses: '200': description: Response @@ -103955,7 +103924,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *689 + default: *685 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103973,7 +103942,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *63 + - *59 requestBody: required: true content: @@ -104038,7 +104007,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *63 + - *59 - name: subject_digest description: Subject Digest in: path @@ -104069,7 +104038,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *63 + - *59 - name: attestation_id description: Attestation ID in: path @@ -104107,7 +104076,7 @@ paths: - *17 - *40 - *41 - - *63 + - *59 - name: subject_digest description: Subject Digest in: path @@ -104159,12 +104128,12 @@ paths: initiator: type: string examples: - default: *394 + default: *382 '201': description: Response content: application/json: - schema: *146 + schema: *142 examples: default: value: @@ -104190,7 +104159,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *63 + - *59 responses: '200': description: Response @@ -104198,9 +104167,9 @@ paths: application/json: schema: type: array - items: *228 + items: *226 examples: - default: *674 + default: *670 '403': *29 '401': *25 x-github: @@ -104223,7 +104192,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104233,7 +104202,7 @@ paths: application/json: schema: type: array - items: *98 + items: *93 examples: default: value: @@ -104295,8 +104264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *63 - - *105 + - *59 + - *100 - *17 - *19 responses: @@ -104306,7 +104275,7 @@ paths: application/json: schema: type: array - items: *98 + items: *93 examples: default: value: @@ -104383,7 +104352,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104393,7 +104362,7 @@ paths: application/json: schema: type: array - items: *98 + items: *93 examples: default: value: @@ -104451,7 +104420,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104463,9 +104432,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104482,7 +104451,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104494,9 +104463,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104513,7 +104482,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *63 + - *59 - name: target_user in: path required: true @@ -104540,8 +104509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *63 - - *79 + - *59 + - *74 - *17 - *19 responses: @@ -104551,11 +104520,11 @@ paths: application/json: schema: type: array - items: *80 + items: *75 examples: - default: *81 + default: *76 headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -104574,7 +104543,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104584,11 +104553,11 @@ paths: application/json: schema: type: array - items: *664 + items: *660 examples: - default: *690 + default: *686 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104610,7 +104579,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *63 + - *59 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -104682,7 +104651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *63 + - *59 responses: '200': description: Response @@ -104690,7 +104659,7 @@ paths: application/json: schema: *22 examples: - default: *523 + default: *511 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104708,7 +104677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104743,7 +104712,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104763,7 +104732,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104773,11 +104742,11 @@ paths: application/json: schema: type: array - items: *218 + items: *216 examples: - default: *672 + default: *668 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104814,8 +104783,8 @@ paths: - docker - nuget - container - - *673 - - *63 + - *669 + - *59 - *19 - *17 responses: @@ -104825,12 +104794,12 @@ paths: application/json: schema: type: array - items: *228 + items: *226 examples: - default: *674 + default: *670 '403': *29 '401': *25 - '400': *675 + '400': *671 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104850,17 +104819,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *230 - - *231 - - *63 + - *228 + - *229 + - *59 responses: '200': description: Response content: application/json: - schema: *228 + schema: *226 examples: - default: *691 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104881,9 +104850,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *230 - - *231 - - *63 + - *228 + - *229 + - *59 responses: '204': description: Response @@ -104915,9 +104884,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *230 - - *231 - - *63 + - *228 + - *229 + - *59 - name: token description: package token schema: @@ -104949,9 +104918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *230 - - *231 - - *63 + - *228 + - *229 + - *59 responses: '200': description: Response @@ -104959,7 +104928,7 @@ paths: application/json: schema: type: array - items: *232 + items: *230 examples: default: value: @@ -105017,16 +104986,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *230 + - *228 + - *229 - *231 - - *233 - - *63 + - *59 responses: '200': description: Response content: application/json: - schema: *232 + schema: *230 examples: default: value: @@ -105061,10 +105030,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *230 + - *228 + - *229 + - *59 - *231 - - *63 - - *233 responses: '204': description: Response @@ -105096,10 +105065,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *230 + - *228 + - *229 + - *59 - *231 - - *63 - - *233 responses: '204': description: Response @@ -105125,7 +105094,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-user-projects parameters: - - *63 + - *59 - name: state description: Indicates the state of the projects to return. in: query @@ -105146,7 +105115,7 @@ paths: application/json: schema: type: array - items: *244 + items: *242 examples: default: value: @@ -105182,7 +105151,7 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -105204,7 +105173,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *63 + - *59 - name: q description: Limit results to projects of the specified type. in: query @@ -105221,11 +105190,11 @@ paths: application/json: schema: type: array - items: *245 + items: *243 examples: - default: *246 + default: *244 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105245,18 +105214,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *247 - - *63 + - *245 + - *59 responses: '200': description: Response content: application/json: - schema: *245 + schema: *243 examples: - default: *246 + default: *244 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105276,8 +105245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *247 - - *63 + - *245 + - *59 - *17 - *40 - *41 @@ -105288,11 +105257,11 @@ paths: application/json: schema: type: array - items: *248 + items: *246 examples: - default: *249 + default: *247 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105312,19 +105281,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *247 - - *692 - - *63 + - *245 + - *688 + - *59 responses: '200': description: Response content: application/json: - schema: *248 + schema: *246 examples: - default: *249 + default: *247 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105345,8 +105314,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *247 - - *63 + - *245 + - *59 - *40 - *41 - *17 @@ -105358,8 +105327,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: @@ -105367,7 +105338,6 @@ paths: maxItems: 50 items: type: string - example: fields[]=123,fields[]=456,fields[]=789 responses: '200': description: Response @@ -105375,11 +105345,11 @@ paths: application/json: schema: type: array - items: *255 + items: *253 examples: - default: *256 + default: *254 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105398,8 +105368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *63 - - *247 + - *59 + - *245 requestBody: required: true description: Details of the item to add to the project. @@ -105436,10 +105406,10 @@ paths: description: Response content: application/json: - schema: *693 + schema: *689 examples: - issue: *254 - pull_request: *254 + issue: *252 + pull_request: *252 '304': *37 '403': *29 '401': *25 @@ -105459,9 +105429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *247 - - *63 - - *257 + - *245 + - *59 + - *255 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -105478,11 +105448,11 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - default: *256 + default: *254 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105501,9 +105471,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *247 - - *63 - - *257 + - *245 + - *59 + - *255 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -105573,13 +105543,13 @@ paths: description: Response content: application/json: - schema: *255 + schema: *253 examples: - text_field: *256 - number_field: *256 - date_field: *256 - single_select_field: *256 - iteration_field: *256 + text_field: *254 + number_field: *254 + date_field: *254 + single_select_field: *254 + iteration_field: *254 '401': *25 '403': *29 '404': *6 @@ -105599,9 +105569,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *247 - - *63 - - *257 + - *245 + - *59 + - *255 responses: '204': description: Response @@ -105628,7 +105598,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -105638,7 +105608,7 @@ paths: application/json: schema: type: array - items: *98 + items: *93 examples: default: value: @@ -105703,7 +105673,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -105713,7 +105683,7 @@ paths: application/json: schema: type: array - items: *98 + items: *93 examples: default: value: @@ -105776,7 +105746,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *63 + - *59 - name: type description: Limit results to repositories of the specified type. in: query @@ -105819,11 +105789,11 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: - default: *234 + default: *232 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105845,15 +105815,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *63 + - *59 responses: '200': description: Response content: application/json: - schema: *694 + schema: *690 examples: - default: *695 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105875,15 +105845,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *63 + - *59 responses: '200': description: Response content: application/json: - schema: *696 + schema: *692 examples: - default: *697 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105892,7 +105862,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -105900,12 +105873,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user parameters: - - *63 - - *107 - - *698 - - *108 - - *699 - - *700 + - *59 + - *103 + - *694 + - *104 + - *695 + - *696 responses: '200': description: Response when getting a billing premium request usage report @@ -106012,8 +105985,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *106 - '503': *77 + '500': *101 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106035,15 +106008,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *63 + - *59 responses: '200': description: Response content: application/json: - schema: *701 + schema: *697 examples: - default: *702 + default: *698 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106063,11 +106036,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *63 - - *107 - - *703 - - *108 - - *704 + - *59 + - *103 + - *699 + - *104 + - *700 responses: '200': description: Response when getting a billing usage report @@ -106137,8 +106110,8 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *106 - '503': *77 + '500': *101 + '503': *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106156,7 +106129,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -106166,11 +106139,11 @@ paths: application/json: schema: type: array - items: *678 + items: *674 examples: - default: *679 + default: *675 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106188,7 +106161,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -106198,11 +106171,11 @@ paths: application/json: schema: type: array - items: *680 + items: *676 examples: - default: *705 + default: *701 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106224,8 +106197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *63 - - *706 + - *59 + - *702 - *48 - *17 - *19 @@ -106237,13 +106210,13 @@ paths: schema: anyOf: - type: array - items: *707 + items: *703 - type: array - items: *67 + items: *63 examples: - default-response: *683 + default-response: *679 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106260,7 +106233,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -106270,11 +106243,11 @@ paths: application/json: schema: type: array - items: *137 + items: *133 examples: - default: *234 + default: *232 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106400,7 +106373,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &708 + enterprise: &704 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106458,7 +106431,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &709 + installation: &705 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106477,7 +106450,7 @@ x-webhooks: required: - id - node_id - organization: &710 + organization: &706 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106537,13 +106510,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &711 + repository: &707 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &741 + properties: &737 id: description: Unique identifier of the repository example: 42 @@ -106563,8 +106536,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *70 + required: *71 nullable: true organization: title: Simple User @@ -107226,7 +107199,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &742 + required: &738 - archive_url - assignees_url - blobs_url @@ -107377,10 +107350,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -107456,11 +107429,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: &712 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + rule: &708 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -107683,11 +107656,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: *712 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + rule: *708 sender: *4 required: - action @@ -107870,11 +107843,11 @@ x-webhooks: - everyone required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: *712 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + rule: *708 sender: *4 required: - action @@ -107958,7 +107931,7 @@ x-webhooks: type: string enum: - completed - check_run: &714 + check_run: &710 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108011,8 +107984,8 @@ x-webhooks: type: string pull_requests: type: array - items: *76 - repository: *137 + items: *72 + repository: *133 status: example: completed type: string @@ -108049,7 +108022,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *713 + deployment: *709 details_url: example: https://example.com type: string @@ -108099,7 +108072,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *76 + items: *72 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -108134,10 +108107,10 @@ x-webhooks: - output - app - pull_requests - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + installation: *705 + enterprise: *704 + organization: *706 + repository: *707 sender: *4 required: - check_run @@ -108530,11 +108503,11 @@ x-webhooks: type: string enum: - created - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *710 + installation: *705 + enterprise: *704 + organization: *706 + repository: *707 sender: *4 required: - check_run @@ -108930,11 +108903,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *710 + installation: *705 + enterprise: *704 + organization: *706 + repository: *707 requested_action: description: The action requested by the user. type: object @@ -109339,11 +109312,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *710 + installation: *705 + enterprise: *704 + organization: *706 + repository: *707 sender: *4 required: - check_run @@ -110320,10 +110293,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -110993,10 +110966,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -111660,10 +111633,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -111829,7 +111802,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *414 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111974,20 +111947,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &715 + commit_oid: &711 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *708 - installation: *709 - organization: *710 - ref: &716 + enterprise: *704 + installation: *705 + organization: *706 + ref: &712 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *711 + repository: *707 sender: *4 required: - action @@ -112152,7 +112125,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *414 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112382,12 +112355,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *711 + enterprise: *704 + installation: *705 + organization: *706 + ref: *712 + repository: *707 sender: *4 required: - action @@ -112482,7 +112455,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *414 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112653,12 +112626,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *711 + enterprise: *704 + installation: *705 + organization: *706 + ref: *712 + repository: *707 sender: *4 required: - action @@ -112824,7 +112797,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *414 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112990,12 +112963,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *711 + enterprise: *704 + installation: *705 + organization: *706 + ref: *712 + repository: *707 sender: *4 required: - action @@ -113095,7 +113068,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *426 + dismissed_comment: *414 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113263,16 +113236,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *711 + repository: *707 sender: *4 required: - action @@ -113369,7 +113342,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *414 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113509,12 +113482,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *711 + enterprise: *704 + installation: *705 + organization: *706 + ref: *712 + repository: *707 sender: *4 required: - action @@ -113771,10 +113744,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -113854,18 +113827,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *710 - pusher_type: &717 + organization: *706 + pusher_type: &713 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &718 + ref: &714 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -113875,7 +113848,7 @@ x-webhooks: enum: - tag - branch - repository: *711 + repository: *707 sender: *4 required: - ref @@ -113957,10 +113930,10 @@ x-webhooks: type: string enum: - created - definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + definition: *256 + enterprise: *704 + installation: *705 + organization: *706 sender: *4 required: - action @@ -114045,9 +114018,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 sender: *4 required: - action @@ -114124,10 +114097,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + definition: *256 + enterprise: *704 + installation: *705 + organization: *706 sender: *4 required: - action @@ -114204,10 +114177,10 @@ x-webhooks: type: string enum: - updated - definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + definition: *256 + enterprise: *704 + installation: *705 + organization: *706 sender: *4 required: - action @@ -114284,19 +114257,19 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - repository: *711 - organization: *710 + enterprise: *704 + installation: *705 + repository: *707 + organization: *706 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *262 + items: *260 old_property_values: type: array description: The old custom property values for the repository. - items: *262 + items: *260 required: - action - repository @@ -114372,18 +114345,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - pusher_type: *717 - ref: *718 + enterprise: *704 + installation: *705 + organization: *706 + pusher_type: *713 + ref: *714 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *711 + repository: *707 sender: *4 required: - ref @@ -114467,11 +114440,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *470 + installation: *705 + organization: *706 + enterprise: *704 + repository: *707 sender: *4 required: - action @@ -114555,11 +114528,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *470 + installation: *705 + organization: *706 + enterprise: *704 + repository: *707 sender: *4 required: - action @@ -114643,11 +114616,11 @@ x-webhooks: type: string enum: - created - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *470 + installation: *705 + organization: *706 + enterprise: *704 + repository: *707 sender: *4 required: - action @@ -114729,11 +114702,11 @@ x-webhooks: type: string enum: - dismissed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *470 + installation: *705 + organization: *706 + enterprise: *704 + repository: *707 sender: *4 required: - action @@ -114815,11 +114788,11 @@ x-webhooks: type: string enum: - fixed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *470 + installation: *705 + organization: *706 + enterprise: *704 + repository: *707 sender: *4 required: - action @@ -114902,11 +114875,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *470 + installation: *705 + organization: *706 + enterprise: *704 + repository: *707 sender: *4 required: - action @@ -114988,11 +114961,11 @@ x-webhooks: type: string enum: - reopened - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *470 + installation: *705 + organization: *706 + enterprise: *704 + repository: *707 sender: *4 required: - action @@ -115069,9 +115042,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - key: &719 + enterprise: *704 + installation: *705 + key: &715 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115107,8 +115080,8 @@ x-webhooks: - verified - created_at - read_only - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -115185,11 +115158,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - key: *719 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + key: *715 + organization: *706 + repository: *707 sender: *4 required: - action @@ -115750,12 +115723,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - workflow: &723 + workflow: &719 title: Workflow type: object nullable: true @@ -116481,13 +116454,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *488 + deployment: *476 pull_requests: type: array - items: *571 - repository: *711 - organization: *710 - installation: *709 + items: *559 + repository: *707 + organization: *706 + installation: *705 sender: *4 responses: '200': @@ -116558,7 +116531,7 @@ x-webhooks: type: string enum: - approved - approver: &720 + approver: &716 type: object properties: avatar_url: @@ -116601,11 +116574,11 @@ x-webhooks: type: string comment: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - reviewers: &721 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + reviewers: &717 type: array items: type: object @@ -116684,7 +116657,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &722 + workflow_job_run: &718 type: object properties: conclusion: @@ -117415,18 +117388,18 @@ x-webhooks: type: string enum: - rejected - approver: *720 + approver: *716 comment: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - reviewers: *721 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + reviewers: *717 sender: *4 since: type: string - workflow_job_run: *722 + workflow_job_run: *718 workflow_job_runs: type: array items: @@ -118130,13 +118103,13 @@ x-webhooks: type: string enum: - requested - enterprise: *708 + enterprise: *704 environment: type: string - installation: *709 - organization: *710 - repository: *711 - requestor: &728 + installation: *705 + organization: *706 + repository: *707 + requestor: &724 title: User type: object nullable: true @@ -120035,12 +120008,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - workflow: *723 + workflow: *719 workflow_run: title: Deployment Workflow Run type: object @@ -120720,7 +120693,7 @@ x-webhooks: type: string enum: - answered - answer: &726 + answer: &722 type: object properties: author_association: @@ -120877,11 +120850,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -121008,11 +120981,11 @@ x-webhooks: - from required: - category - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -121095,11 +121068,11 @@ x-webhooks: type: string enum: - closed - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -121181,7 +121154,7 @@ x-webhooks: type: string enum: - created - comment: &725 + comment: &721 type: object properties: author_association: @@ -121338,11 +121311,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -121425,12 +121398,12 @@ x-webhooks: type: string enum: - deleted - comment: *725 - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + comment: *721 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -121525,12 +121498,12 @@ x-webhooks: - from required: - body - comment: *725 - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + comment: *721 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -121614,11 +121587,11 @@ x-webhooks: type: string enum: - created - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -121700,11 +121673,11 @@ x-webhooks: type: string enum: - deleted - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -121804,11 +121777,11 @@ x-webhooks: type: string required: - from - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -121890,10 +121863,10 @@ x-webhooks: type: string enum: - labeled - discussion: *724 - enterprise: *708 - installation: *709 - label: &727 + discussion: *720 + enterprise: *704 + installation: *705 + label: &723 title: Label type: object properties: @@ -121925,8 +121898,8 @@ x-webhooks: - color - default - description - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -122009,11 +121982,11 @@ x-webhooks: type: string enum: - locked - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -122095,11 +122068,11 @@ x-webhooks: type: string enum: - pinned - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -122181,11 +122154,11 @@ x-webhooks: type: string enum: - reopened - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -122270,16 +122243,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *724 - new_repository: *711 + new_discussion: *720 + new_repository: *707 required: - new_discussion - new_repository - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -122362,10 +122335,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *724 - old_answer: *726 - organization: *710 - repository: *711 + discussion: *720 + old_answer: *722 + organization: *706 + repository: *707 sender: *4 required: - action @@ -122447,12 +122420,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *724 - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + label: *723 + organization: *706 + repository: *707 sender: *4 required: - action @@ -122535,11 +122508,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -122621,11 +122594,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *720 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -122698,7 +122671,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *708 + enterprise: *704 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -123358,9 +123331,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *709 - organization: *710 - repository: *711 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - forkee @@ -123506,9 +123479,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 pages: description: The pages that were updated. type: array @@ -123545,7 +123518,7 @@ x-webhooks: - action - sha - html_url - repository: *711 + repository: *707 sender: *4 required: - pages @@ -123621,10 +123594,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 + enterprise: *704 installation: *22 - organization: *710 - repositories: &729 + organization: *706 + repositories: &725 description: An array of repository objects that the installation can access. type: array @@ -123650,8 +123623,8 @@ x-webhooks: - name - full_name - private - repository: *711 - requester: *728 + repository: *707 + requester: *724 sender: *4 required: - action @@ -123726,11 +123699,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 + enterprise: *704 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *706 + repositories: *725 + repository: *707 requester: nullable: true sender: *4 @@ -123806,11 +123779,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *708 + enterprise: *704 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *706 + repositories: *725 + repository: *707 requester: nullable: true sender: *4 @@ -123886,10 +123859,10 @@ x-webhooks: type: string enum: - added - enterprise: *708 + enterprise: *704 installation: *22 - organization: *710 - repositories_added: &730 + organization: *706 + repositories_added: &726 description: An array of repository objects, which were added to the installation. type: array @@ -123935,15 +123908,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *711 - repository_selection: &731 + repository: *707 + repository_selection: &727 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *728 + requester: *724 sender: *4 required: - action @@ -124022,10 +123995,10 @@ x-webhooks: type: string enum: - removed - enterprise: *708 + enterprise: *704 installation: *22 - organization: *710 - repositories_added: *730 + organization: *706 + repositories_added: *726 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -124052,9 +124025,9 @@ x-webhooks: - name - full_name - private - repository: *711 - repository_selection: *731 - requester: *728 + repository: *707 + repository_selection: *727 + requester: *724 sender: *4 required: - action @@ -124133,11 +124106,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *708 + enterprise: *704 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *706 + repositories: *725 + repository: *707 requester: nullable: true sender: *4 @@ -124315,10 +124288,10 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 target_type: type: string @@ -124397,11 +124370,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *708 + enterprise: *704 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *706 + repositories: *725 + repository: *707 requester: nullable: true sender: *4 @@ -124525,8 +124498,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *64 + required: *65 reactions: title: Reactions type: object @@ -124653,8 +124626,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125448,8 +125421,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125465,7 +125438,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -125798,8 +125771,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -125879,7 +125852,7 @@ x-webhooks: type: string enum: - deleted - comment: &732 + comment: &728 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -126044,8 +126017,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126835,8 +126808,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126852,7 +126825,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -127187,8 +127160,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -127268,7 +127241,7 @@ x-webhooks: type: string enum: - edited - changes: &761 + changes: &757 description: The changes to the comment. type: object properties: @@ -127280,9 +127253,9 @@ x-webhooks: type: string required: - from - comment: *732 - enterprise: *708 - installation: *709 + comment: *728 + enterprise: *704 + installation: *705 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128075,8 +128048,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128092,7 +128065,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -128425,8 +128398,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -128510,15 +128483,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 + blocked_issue: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - blocking_issue_repo: *67 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *67 + blocking_issue_repo: *63 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -128606,15 +128579,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 + blocked_issue: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - blocking_issue_repo: *67 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *67 + blocking_issue_repo: *63 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -128701,15 +128674,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 - blocked_issue_repo: *67 + blocked_issue: *67 + blocked_issue_repo: *63 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *67 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -128797,15 +128770,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 - blocked_issue_repo: *67 + blocked_issue: *67 + blocked_issue_repo: *63 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *67 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -128890,10 +128863,10 @@ x-webhooks: type: string enum: - assigned - assignee: *728 - enterprise: *708 - installation: *709 - issue: &735 + assignee: *724 + enterprise: *704 + installation: *705 + issue: &731 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129682,11 +129655,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129702,7 +129675,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -129803,8 +129776,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -129884,8 +129857,8 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130679,11 +130652,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130699,7 +130672,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -130935,8 +130908,8 @@ x-webhooks: required: - state - closed_at - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -131015,8 +130988,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131801,11 +131774,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131821,7 +131794,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -131921,8 +131894,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -132001,8 +131974,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132809,11 +132782,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132829,7 +132802,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -132908,7 +132881,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &733 + milestone: &729 title: Milestone description: A collection of related issues and pull requests. type: object @@ -133046,8 +133019,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -133146,8 +133119,8 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133936,11 +133909,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133953,7 +133926,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *207 title: description: Title of the issue type: string @@ -134057,9 +134030,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *727 - organization: *710 - repository: *711 + label: *723 + organization: *706 + repository: *707 sender: *4 required: - action @@ -134139,8 +134112,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134928,11 +134901,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134945,7 +134918,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *207 title: description: Title of the issue type: string @@ -135049,9 +135022,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *727 - organization: *710 - repository: *711 + label: *723 + organization: *706 + repository: *707 sender: *4 required: - action @@ -135131,8 +135104,8 @@ x-webhooks: type: string enum: - locked - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135944,11 +135917,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135961,7 +135934,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *207 title: description: Title of the issue type: string @@ -136042,8 +136015,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -136122,8 +136095,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136929,11 +136902,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136949,7 +136922,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -137027,9 +137000,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *733 - organization: *710 - repository: *711 + milestone: *729 + organization: *706 + repository: *707 sender: *4 required: - action @@ -137897,11 +137870,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137994,7 +137967,7 @@ x-webhooks: required: - login - id - type: *209 + type: *207 required: - id - number @@ -138463,8 +138436,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139253,11 +139226,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139273,7 +139246,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -139373,8 +139346,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -139454,9 +139427,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *708 - installation: *709 - issue: &734 + enterprise: *704 + installation: *705 + issue: &730 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -140239,11 +140212,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140259,7 +140232,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -140359,8 +140332,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -140439,8 +140412,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141250,11 +141223,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141348,9 +141321,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *209 - organization: *710 - repository: *711 + type: *207 + organization: *706 + repository: *707 sender: *4 required: - action @@ -142216,11 +142189,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142236,7 +142209,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -142804,11 +142777,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *708 - installation: *709 - issue: *734 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + issue: *730 + organization: *706 + repository: *707 sender: *4 required: - action @@ -142888,12 +142861,12 @@ x-webhooks: type: string enum: - typed - enterprise: *708 - installation: *709 - issue: *735 - type: *209 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + issue: *731 + type: *207 + organization: *706 + repository: *707 sender: *4 required: - action @@ -142974,7 +142947,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &764 + assignee: &760 title: User type: object nullable: true @@ -143044,11 +143017,11 @@ x-webhooks: required: - login - id - enterprise: *708 - installation: *709 - issue: *735 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + issue: *731 + organization: *706 + repository: *707 sender: *4 required: - action @@ -143127,12 +143100,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *708 - installation: *709 - issue: *735 - label: *727 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + issue: *731 + label: *723 + organization: *706 + repository: *707 sender: *4 required: - action @@ -143212,8 +143185,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144023,11 +143996,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *637 + issue_dependencies_summary: *638 issue_field_values: type: array - items: *643 + items: *639 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144043,7 +144016,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *207 updated_at: type: string format: date-time @@ -144121,8 +144094,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -144202,11 +144175,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *708 - installation: *709 - issue: *734 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + issue: *730 + organization: *706 + repository: *707 sender: *4 required: - action @@ -144285,12 +144258,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *708 - installation: *709 - issue: *735 - type: *209 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + issue: *731 + type: *207 + organization: *706 + repository: *707 sender: *4 required: - action @@ -144370,11 +144343,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + label: *723 + organization: *706 + repository: *707 sender: *4 required: - action @@ -144452,11 +144425,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + label: *723 + organization: *706 + repository: *707 sender: *4 required: - action @@ -144566,11 +144539,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + label: *723 + organization: *706 + repository: *707 sender: *4 required: - action @@ -144652,9 +144625,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: &736 + enterprise: *704 + installation: *705 + marketplace_purchase: &732 title: Marketplace Purchase type: object required: @@ -144737,8 +144710,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *710 - previous_marketplace_purchase: &737 + organization: *706 + previous_marketplace_purchase: &733 title: Marketplace Purchase type: object properties: @@ -144818,7 +144791,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *707 sender: *4 required: - action @@ -144898,10 +144871,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 + enterprise: *704 + installation: *705 + marketplace_purchase: *732 + organization: *706 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144984,7 +144957,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *707 sender: *4 required: - action @@ -145066,10 +145039,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 + enterprise: *704 + installation: *705 + marketplace_purchase: *732 + organization: *706 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145151,7 +145124,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *707 sender: *4 required: - action @@ -145232,8 +145205,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 marketplace_purchase: title: Marketplace Purchase type: object @@ -145315,9 +145288,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *710 - previous_marketplace_purchase: *737 - repository: *711 + organization: *706 + previous_marketplace_purchase: *733 + repository: *707 sender: *4 required: - action @@ -145397,12 +145370,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 - previous_marketplace_purchase: *737 - repository: *711 + enterprise: *704 + installation: *705 + marketplace_purchase: *732 + organization: *706 + previous_marketplace_purchase: *733 + repository: *707 sender: *4 required: - action @@ -145504,11 +145477,11 @@ x-webhooks: type: string required: - to - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + member: *724 + organization: *706 + repository: *707 sender: *4 required: - action @@ -145608,11 +145581,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + member: *724 + organization: *706 + repository: *707 sender: *4 required: - action @@ -145691,11 +145664,11 @@ x-webhooks: type: string enum: - removed - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + member: *724 + organization: *706 + repository: *707 sender: *4 required: - action @@ -145773,11 +145746,11 @@ x-webhooks: type: string enum: - added - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + member: *724 + organization: *706 + repository: *707 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145853,7 +145826,7 @@ x-webhooks: required: - login - id - team: &738 + team: &734 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -146076,11 +146049,11 @@ x-webhooks: type: string enum: - removed - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + member: *724 + organization: *706 + repository: *707 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146157,7 +146130,7 @@ x-webhooks: required: - login - id - team: *738 + team: *734 required: - action - scope @@ -146239,8 +146212,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *709 - merge_group: &740 + installation: *705 + merge_group: &736 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -146259,15 +146232,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *739 + head_commit: *735 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -146353,10 +146326,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *709 - merge_group: *740 - organization: *710 - repository: *711 + installation: *705 + merge_group: *736 + organization: *706 + repository: *707 sender: *4 required: - action @@ -146429,7 +146402,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 + enterprise: *704 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146538,16 +146511,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *709 - organization: *710 + installation: *705 + organization: *706 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *737 + required: *738 nullable: true sender: *4 required: @@ -146628,11 +146601,11 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + milestone: *729 + organization: *706 + repository: *707 sender: *4 required: - action @@ -146711,9 +146684,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - milestone: &743 + enterprise: *704 + installation: *705 + milestone: &739 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146850,8 +146823,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -146930,11 +146903,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + milestone: *729 + organization: *706 + repository: *707 sender: *4 required: - action @@ -147044,11 +147017,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + milestone: *729 + organization: *706 + repository: *707 sender: *4 required: - action @@ -147128,11 +147101,11 @@ x-webhooks: type: string enum: - opened - enterprise: *708 - installation: *709 - milestone: *743 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + milestone: *739 + organization: *706 + repository: *707 sender: *4 required: - action @@ -147211,11 +147184,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *728 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + blocked_user: *724 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -147294,11 +147267,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *728 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + blocked_user: *724 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -147377,9 +147350,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - membership: &744 + enterprise: *704 + installation: *705 + membership: &740 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147486,8 +147459,8 @@ x-webhooks: - role - organization_url - user - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 required: - action @@ -147565,11 +147538,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + membership: *740 + organization: *706 + repository: *707 sender: *4 required: - action @@ -147648,8 +147621,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147765,10 +147738,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 - user: *728 + user: *724 required: - action - invitation @@ -147846,11 +147819,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + membership: *740 + organization: *706 + repository: *707 sender: *4 required: - action @@ -147937,11 +147910,11 @@ x-webhooks: properties: from: type: string - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + membership: *740 + organization: *706 + repository: *707 sender: *4 required: - action @@ -148017,9 +147990,9 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 package: description: Information about the package. type: object @@ -148518,7 +148491,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &745 + items: &741 title: Ruby Gems metadata type: object properties: @@ -148613,7 +148586,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *707 sender: *4 required: - action @@ -148689,9 +148662,9 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 package: description: Information about the package. type: object @@ -149044,7 +149017,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *745 + items: *741 source_url: type: string format: uri @@ -149114,7 +149087,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *707 sender: *4 required: - action @@ -149291,12 +149264,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *708 + enterprise: *704 id: type: integer - installation: *709 - organization: *710 - repository: *711 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - id @@ -149373,7 +149346,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &746 + personal_access_token_request: &742 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149519,10 +149492,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *708 - organization: *710 + enterprise: *704 + organization: *706 sender: *4 - installation: *709 + installation: *705 required: - action - personal_access_token_request @@ -149599,11 +149572,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *746 - enterprise: *708 - organization: *710 + personal_access_token_request: *742 + enterprise: *704 + organization: *706 sender: *4 - installation: *709 + installation: *705 required: - action - personal_access_token_request @@ -149679,11 +149652,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *746 - enterprise: *708 - organization: *710 + personal_access_token_request: *742 + enterprise: *704 + organization: *706 sender: *4 - installation: *709 + installation: *705 required: - action - personal_access_token_request @@ -149758,11 +149731,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *746 - organization: *710 - enterprise: *708 + personal_access_token_request: *742 + organization: *706 + enterprise: *704 sender: *4 - installation: *709 + installation: *705 required: - action - personal_access_token_request @@ -149867,7 +149840,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *747 + last_response: *743 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149899,8 +149872,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 zen: description: Random string of GitHub zen. @@ -150145,10 +150118,10 @@ x-webhooks: - from required: - note - enterprise: *708 - installation: *709 - organization: *710 - project_card: &748 + enterprise: *704 + installation: *705 + organization: *706 + project_card: &744 title: Project Card type: object properties: @@ -150267,7 +150240,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *711 + repository: *707 sender: *4 required: - action @@ -150348,11 +150321,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project_card: *748 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + project_card: *744 + repository: *707 sender: *4 required: - action @@ -150432,9 +150405,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 project_card: title: Project Card type: object @@ -150562,8 +150535,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *737 + required: *738 nullable: true sender: *4 required: @@ -150657,11 +150630,11 @@ x-webhooks: - from required: - note - enterprise: *708 - installation: *709 - organization: *710 - project_card: *748 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + project_card: *744 + repository: *707 sender: *4 required: - action @@ -150755,9 +150728,9 @@ x-webhooks: - from required: - column_id - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 project_card: allOf: - title: Project Card @@ -150947,7 +150920,7 @@ x-webhooks: type: string required: - after_id - repository: *711 + repository: *707 sender: *4 required: - action @@ -151027,10 +151000,10 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - organization: *710 - project: &750 + enterprise: *704 + installation: *705 + organization: *706 + project: &746 title: Project type: object properties: @@ -151154,7 +151127,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *711 + repository: *707 sender: *4 required: - action @@ -151234,10 +151207,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project_column: &749 + enterprise: *704 + installation: *705 + organization: *706 + project_column: &745 title: Project Column type: object properties: @@ -151276,7 +151249,7 @@ x-webhooks: - name - created_at - updated_at - repository: *711 + repository: *707 sender: *4 required: - action @@ -151355,18 +151328,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 + enterprise: *704 + installation: *705 + organization: *706 + project_column: *745 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *737 + required: *738 nullable: true sender: *4 required: @@ -151456,11 +151429,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + project_column: *745 + repository: *707 sender: *4 required: - action @@ -151540,11 +151513,11 @@ x-webhooks: type: string enum: - moved - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + project_column: *745 + repository: *707 sender: *4 required: - action @@ -151624,11 +151597,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + project: *746 + repository: *707 sender: *4 required: - action @@ -151708,18 +151681,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - project: *750 + enterprise: *704 + installation: *705 + organization: *706 + project: *746 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *737 + required: *738 nullable: true sender: *4 required: @@ -151821,11 +151794,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + project: *746 + repository: *707 sender: *4 required: - action @@ -151904,11 +151877,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + project: *746 + repository: *707 sender: *4 required: - action @@ -151989,9 +151962,9 @@ x-webhooks: type: string enum: - closed - installation: *709 - organization: *710 - projects_v2: *245 + installation: *705 + organization: *706 + projects_v2: *243 sender: *4 required: - action @@ -152072,9 +152045,9 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2: *245 + installation: *705 + organization: *706 + projects_v2: *243 sender: *4 required: - action @@ -152155,9 +152128,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2: *245 + installation: *705 + organization: *706 + projects_v2: *243 sender: *4 required: - action @@ -152274,9 +152247,9 @@ x-webhooks: type: string to: type: string - installation: *709 - organization: *710 - projects_v2: *245 + installation: *705 + organization: *706 + projects_v2: *243 sender: *4 required: - action @@ -152359,7 +152332,7 @@ x-webhooks: type: string enum: - archived - changes: &754 + changes: &750 type: object properties: archived_at: @@ -152373,9 +152346,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *709 - organization: *710 - projects_v2_item: &751 + installation: *705 + organization: *706 + projects_v2_item: &747 title: Projects v2 Item description: An item belonging to a project type: object @@ -152393,7 +152366,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *253 + content_type: *251 creator: *4 created_at: type: string @@ -152510,9 +152483,9 @@ x-webhooks: nullable: true to: type: string - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *705 + organization: *706 + projects_v2_item: *747 sender: *4 required: - action @@ -152594,9 +152567,9 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *705 + organization: *706 + projects_v2_item: *747 sender: *4 required: - action @@ -152677,9 +152650,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *705 + organization: *706 + projects_v2_item: *747 sender: *4 required: - action @@ -152785,7 +152758,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &752 + - &748 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152807,7 +152780,7 @@ x-webhooks: required: - id - name - - &753 + - &749 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152841,8 +152814,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *752 - - *753 + - *748 + - *749 required: - field_value - type: object @@ -152858,9 +152831,9 @@ x-webhooks: nullable: true required: - body - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *705 + organization: *706 + projects_v2_item: *747 sender: *4 required: - action @@ -152955,9 +152928,9 @@ x-webhooks: to: type: string nullable: true - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *705 + organization: *706 + projects_v2_item: *747 sender: *4 required: - action @@ -153040,10 +153013,10 @@ x-webhooks: type: string enum: - restored - changes: *754 - installation: *709 - organization: *710 - projects_v2_item: *751 + changes: *750 + installation: *705 + organization: *706 + projects_v2_item: *747 sender: *4 required: - action @@ -153125,9 +153098,9 @@ x-webhooks: type: string enum: - reopened - installation: *709 - organization: *710 - projects_v2: *245 + installation: *705 + organization: *706 + projects_v2: *243 sender: *4 required: - action @@ -153208,14 +153181,14 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2_status_update: &757 + installation: *705 + organization: *706 + projects_v2_status_update: &753 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *755 - required: *756 + properties: *751 + required: *752 sender: *4 required: - action @@ -153296,9 +153269,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2_status_update: *757 + installation: *705 + organization: *706 + projects_v2_status_update: *753 sender: *4 required: - action @@ -153434,9 +153407,9 @@ x-webhooks: type: string format: date nullable: true - installation: *709 - organization: *710 - projects_v2_status_update: *757 + installation: *705 + organization: *706 + projects_v2_status_update: *753 sender: *4 required: - action @@ -153507,10 +153480,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - repository @@ -153587,13 +153560,13 @@ x-webhooks: type: string enum: - assigned - assignee: *728 - enterprise: *708 - installation: *709 - number: &758 + assignee: *724 + enterprise: *704 + installation: *705 + number: &754 description: The pull request number. type: integer - organization: *710 + organization: *706 pull_request: title: Pull Request type: object @@ -155876,7 +155849,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 sender: *4 required: - action @@ -155958,11 +155931,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 number: type: integer - organization: *710 + organization: *706 pull_request: title: Pull Request type: object @@ -158240,7 +158213,7 @@ x-webhooks: - draft reason: type: string - repository: *711 + repository: *707 sender: *4 required: - action @@ -158322,11 +158295,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 number: type: integer - organization: *710 + organization: *706 pull_request: title: Pull Request type: object @@ -160604,7 +160577,7 @@ x-webhooks: - draft reason: type: string - repository: *711 + repository: *707 sender: *4 required: - action @@ -160686,13 +160659,13 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: &759 + enterprise: *704 + installation: *705 + number: *754 + organization: *706 + pull_request: &755 allOf: - - *571 + - *559 - type: object properties: allow_auto_merge: @@ -160754,7 +160727,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *711 + repository: *707 sender: *4 required: - action @@ -160835,12 +160808,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *704 + installation: *705 + number: *754 + organization: *706 + pull_request: *755 + repository: *707 sender: *4 required: - action @@ -160920,11 +160893,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *708 - milestone: *555 - number: *758 - organization: *710 - pull_request: &760 + enterprise: *704 + milestone: *543 + number: *754 + organization: *706 + pull_request: &756 title: Pull Request type: object properties: @@ -163187,7 +163160,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 sender: *4 required: - action @@ -163266,11 +163239,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 number: type: integer - organization: *710 + organization: *706 pull_request: title: Pull Request type: object @@ -165552,7 +165525,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *711 + repository: *707 sender: *4 required: - action @@ -165676,12 +165649,12 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *704 + installation: *705 + number: *754 + organization: *706 + pull_request: *755 + repository: *707 sender: *4 required: - action @@ -165761,11 +165734,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 number: type: integer - organization: *710 + organization: *706 pull_request: title: Pull Request type: object @@ -168032,7 +168005,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 sender: *4 required: - action @@ -168112,11 +168085,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *708 - installation: *709 - label: *727 - number: *758 - organization: *710 + enterprise: *704 + installation: *705 + label: *723 + number: *754 + organization: *706 pull_request: title: Pull Request type: object @@ -170398,7 +170371,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 sender: *4 required: - action @@ -170479,10 +170452,10 @@ x-webhooks: type: string enum: - locked - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *704 + installation: *705 + number: *754 + organization: *706 pull_request: title: Pull Request type: object @@ -172762,7 +172735,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 sender: *4 required: - action @@ -172842,12 +172815,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *708 - milestone: *555 - number: *758 - organization: *710 - pull_request: *760 - repository: *711 + enterprise: *704 + milestone: *543 + number: *754 + organization: *706 + pull_request: *756 + repository: *707 sender: *4 required: - action @@ -172926,12 +172899,12 @@ x-webhooks: type: string enum: - opened - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *704 + installation: *705 + number: *754 + organization: *706 + pull_request: *755 + repository: *707 sender: *4 required: - action @@ -173012,12 +172985,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *704 + installation: *705 + number: *754 + organization: *706 + pull_request: *755 + repository: *707 sender: *4 required: - action @@ -173097,12 +173070,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *704 + installation: *705 + number: *754 + organization: *706 + pull_request: *755 + repository: *707 sender: *4 required: - action @@ -173468,9 +173441,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 pull_request: type: object properties: @@ -175640,7 +175613,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *707 sender: *4 required: - action @@ -175720,7 +175693,7 @@ x-webhooks: type: string enum: - deleted - comment: &762 + comment: &758 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -176005,9 +175978,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 pull_request: type: object properties: @@ -178165,7 +178138,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *707 sender: *4 required: - action @@ -178245,11 +178218,11 @@ x-webhooks: type: string enum: - edited - changes: *761 - comment: *762 - enterprise: *708 - installation: *709 - organization: *710 + changes: *757 + comment: *758 + enterprise: *704 + installation: *705 + organization: *706 pull_request: type: object properties: @@ -180410,7 +180383,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *707 sender: *4 required: - action @@ -180491,9 +180464,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 pull_request: title: Simple Pull Request type: object @@ -182666,7 +182639,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *707 review: description: The review that was affected. type: object @@ -182913,9 +182886,9 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 pull_request: title: Simple Pull Request type: object @@ -184969,8 +184942,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 - review: &763 + repository: *707 + review: &759 description: The review that was affected. type: object properties: @@ -185203,12 +185176,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 number: description: The pull request number. type: integer - organization: *710 + organization: *706 pull_request: title: Pull Request type: object @@ -187491,7 +187464,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 requested_reviewer: title: User type: object @@ -187575,12 +187548,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 number: description: The pull request number. type: integer - organization: *710 + organization: *706 pull_request: title: Pull Request type: object @@ -189870,7 +189843,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 requested_team: title: Team description: Groups of organization members that gives permissions @@ -190062,12 +190035,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 number: description: The pull request number. type: integer - organization: *710 + organization: *706 pull_request: title: Pull Request type: object @@ -192352,7 +192325,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 requested_reviewer: title: User type: object @@ -192437,12 +192410,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *708 - installation: *709 + enterprise: *704 + installation: *705 number: description: The pull request number. type: integer - organization: *710 + organization: *706 pull_request: title: Pull Request type: object @@ -194718,7 +194691,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194899,9 +194872,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 pull_request: title: Simple Pull Request type: object @@ -197076,8 +197049,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 - review: *763 + repository: *707 + review: *759 sender: *4 required: - action @@ -197157,9 +197130,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 pull_request: title: Simple Pull Request type: object @@ -199229,7 +199202,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *707 sender: *4 thread: type: object @@ -199616,9 +199589,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 pull_request: title: Simple Pull Request type: object @@ -201674,7 +201647,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *707 sender: *4 thread: type: object @@ -202064,10 +202037,10 @@ x-webhooks: type: string before: type: string - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *704 + installation: *705 + number: *754 + organization: *706 pull_request: title: Pull Request type: object @@ -204338,7 +204311,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 sender: *4 required: - action @@ -204420,11 +204393,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *764 - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + assignee: *760 + enterprise: *704 + installation: *705 + number: *754 + organization: *706 pull_request: title: Pull Request type: object @@ -206707,7 +206680,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 sender: *4 required: - action @@ -206786,11 +206759,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *708 - installation: *709 - label: *727 - number: *758 - organization: *710 + enterprise: *704 + installation: *705 + label: *723 + number: *754 + organization: *706 pull_request: title: Pull Request type: object @@ -209063,7 +209036,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 sender: *4 required: - action @@ -209144,10 +209117,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *704 + installation: *705 + number: *754 + organization: *706 pull_request: title: Pull Request type: object @@ -211412,7 +211385,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *707 sender: *4 required: - action @@ -211612,7 +211585,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *708 + enterprise: *704 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -211704,8 +211677,8 @@ x-webhooks: - url - author - committer - installation: *709 - organization: *710 + installation: *705 + organization: *706 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -212280,9 +212253,9 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 registry_package: type: object properties: @@ -212728,7 +212701,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *745 + items: *741 summary: type: string tag_name: @@ -212782,7 +212755,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *707 sender: *4 required: - action @@ -212860,9 +212833,9 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 registry_package: type: object properties: @@ -213170,7 +213143,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *745 + items: *741 summary: type: string tag_name: @@ -213219,7 +213192,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *707 sender: *4 required: - action @@ -213296,10 +213269,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - release: &765 + enterprise: *704 + installation: *705 + organization: *706 + release: &761 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213617,7 +213590,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *711 + repository: *707 sender: *4 required: - action @@ -213694,11 +213667,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + release: *761 + repository: *707 sender: *4 required: - action @@ -213815,11 +213788,11 @@ x-webhooks: type: boolean required: - to - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + release: *761 + repository: *707 sender: *4 required: - action @@ -213897,9 +213870,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -214221,7 +214194,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *711 + repository: *707 sender: *4 required: - action @@ -214297,10 +214270,10 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - release: &766 + enterprise: *704 + installation: *705 + organization: *706 + release: &762 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214619,7 +214592,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *711 + repository: *707 sender: *4 required: - action @@ -214695,11 +214668,11 @@ x-webhooks: type: string enum: - released - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + release: *761 + repository: *707 sender: *4 required: - action @@ -214775,11 +214748,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *708 - installation: *709 - organization: *710 - release: *766 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + release: *762 + repository: *707 sender: *4 required: - action @@ -214855,11 +214828,11 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_advisory: *627 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + repository_advisory: *623 sender: *4 required: - action @@ -214935,11 +214908,11 @@ x-webhooks: type: string enum: - reported - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_advisory: *627 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + repository_advisory: *623 sender: *4 required: - action @@ -215015,10 +214988,10 @@ x-webhooks: type: string enum: - archived - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -215095,10 +215068,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -215176,10 +215149,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -215263,10 +215236,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -215378,10 +215351,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -215453,10 +215426,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 status: type: string @@ -215537,10 +215510,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -215617,10 +215590,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -215714,10 +215687,10 @@ x-webhooks: - name required: - repository - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -215797,11 +215770,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_ruleset: *291 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + repository_ruleset: *289 sender: *4 required: - action @@ -215879,11 +215852,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_ruleset: *291 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + repository_ruleset: *289 sender: *4 required: - action @@ -215961,11 +215934,11 @@ x-webhooks: type: string enum: - edited - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_ruleset: *291 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + repository_ruleset: *289 changes: type: object properties: @@ -215984,16 +215957,16 @@ x-webhooks: properties: added: type: array - items: *266 + items: *264 deleted: type: array - items: *266 + items: *264 updated: type: array items: type: object properties: - condition: *266 + condition: *264 changes: type: object properties: @@ -216026,16 +215999,16 @@ x-webhooks: properties: added: type: array - items: *592 + items: *580 deleted: type: array - items: *592 + items: *580 updated: type: array items: type: object properties: - rule: *592 + rule: *580 changes: type: object properties: @@ -216269,10 +216242,10 @@ x-webhooks: - from required: - owner - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -216350,10 +216323,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -216431,7 +216404,7 @@ x-webhooks: type: string enum: - create - alert: &767 + alert: &763 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -216552,10 +216525,10 @@ x-webhooks: type: string enum: - open - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -216761,10 +216734,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -216842,11 +216815,11 @@ x-webhooks: type: string enum: - reopen - alert: *767 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *763 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -217045,10 +217018,10 @@ x-webhooks: enum: - fixed - open - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -217126,11 +217099,11 @@ x-webhooks: type: string enum: - created - alert: &768 + alert: &764 type: object properties: - number: *54 - created_at: *55 + number: *149 + created_at: *150 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -217138,8 +217111,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *56 - html_url: *57 + url: *152 + html_url: *153 locations_url: type: string format: uri @@ -217244,10 +217217,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -217328,11 +217301,11 @@ x-webhooks: type: string enum: - created - alert: *768 - installation: *709 - location: *769 - organization: *710 - repository: *711 + alert: *764 + installation: *705 + location: *765 + organization: *706 + repository: *707 sender: *4 required: - location @@ -217570,11 +217543,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *764 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -217652,11 +217625,11 @@ x-webhooks: type: string enum: - reopened - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *764 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -217734,11 +217707,11 @@ x-webhooks: type: string enum: - resolved - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *764 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -217816,11 +217789,11 @@ x-webhooks: type: string enum: - validated - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *764 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -217946,10 +217919,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *711 - enterprise: *708 - installation: *709 - organization: *710 + repository: *707 + enterprise: *704 + installation: *705 + organization: *706 sender: *4 required: - action @@ -218027,11 +218000,11 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - security_advisory: &770 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + security_advisory: &766 description: The details of the security advisory, including summary, description, and severity. type: object @@ -218214,11 +218187,11 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - security_advisory: *770 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 + security_advisory: *766 sender: *4 required: - action @@ -218291,10 +218264,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -218478,11 +218451,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *265 - enterprise: *708 - installation: *709 - organization: *710 - repository: *338 + security_and_analysis: *263 + enterprise: *704 + installation: *705 + organization: *706 + repository: *326 sender: *4 required: - changes @@ -218560,12 +218533,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - sponsorship: &771 + sponsorship: &767 type: object properties: created_at: @@ -218866,12 +218839,12 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - sponsorship: *771 + sponsorship: *767 required: - action - sponsorship @@ -218959,12 +218932,12 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - sponsorship: *771 + sponsorship: *767 required: - action - changes @@ -219041,17 +219014,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &772 + effective_date: &768 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - sponsorship: *771 + sponsorship: *767 required: - action - sponsorship @@ -219125,7 +219098,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &773 + changes: &769 type: object properties: tier: @@ -219169,13 +219142,13 @@ x-webhooks: - from required: - tier - effective_date: *772 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + effective_date: *768 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - sponsorship: *771 + sponsorship: *767 required: - action - changes @@ -219252,13 +219225,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *773 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + changes: *769 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - sponsorship: *771 + sponsorship: *767 required: - action - changes @@ -219332,10 +219305,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219418,10 +219391,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219841,15 +219814,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *708 + enterprise: *704 id: description: The unique identifier of the status. type: integer - installation: *709 + installation: *705 name: type: string - organization: *710 - repository: *711 + organization: *706 + repository: *707 sender: *4 sha: description: The Commit SHA. @@ -219958,15 +219931,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - parent_issue_repo: *67 + parent_issue: *67 + parent_issue_repo: *63 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - installation: *709 - organization: *710 - repository: *711 + sub_issue: *67 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -220050,15 +220023,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - parent_issue_repo: *67 + parent_issue: *67 + parent_issue_repo: *63 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - installation: *709 - organization: *710 - repository: *711 + sub_issue: *67 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -220142,15 +220115,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - sub_issue_repo: *67 + sub_issue: *67 + sub_issue_repo: *63 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - installation: *709 - organization: *710 - repository: *711 + parent_issue: *67 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -220234,15 +220207,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - sub_issue_repo: *67 + sub_issue: *67 + sub_issue_repo: *63 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - installation: *709 - organization: *710 - repository: *711 + parent_issue: *67 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -220319,12 +220292,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - team: &774 + team: &770 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -220547,9 +220520,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 repository: title: Repository description: A git repository @@ -221007,7 +220980,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *770 required: - action - team @@ -221083,9 +221056,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 repository: title: Repository description: A git repository @@ -221543,7 +221516,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *770 required: - action - team @@ -221620,9 +221593,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 repository: title: Repository description: A git repository @@ -222080,7 +222053,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *770 required: - action - team @@ -222224,9 +222197,9 @@ x-webhooks: - from required: - permissions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 repository: title: Repository description: A git repository @@ -222684,7 +222657,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *770 required: - action - changes @@ -222762,9 +222735,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *704 + installation: *705 + organization: *706 repository: title: Repository description: A git repository @@ -223222,7 +223195,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *770 required: - action - team @@ -223298,10 +223271,10 @@ x-webhooks: type: string enum: - started - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 required: - action @@ -223374,16 +223347,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *708 + enterprise: *704 inputs: type: object nullable: true additionalProperties: true - installation: *709 - organization: *710 + installation: *705 + organization: *706 ref: type: string - repository: *711 + repository: *707 sender: *4 workflow: type: string @@ -223465,10 +223438,10 @@ x-webhooks: type: string enum: - completed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 workflow_job: allOf: @@ -223705,7 +223678,7 @@ x-webhooks: type: string required: - conclusion - deployment: *488 + deployment: *476 required: - action - repository @@ -223784,10 +223757,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 workflow_job: allOf: @@ -224047,7 +224020,7 @@ x-webhooks: required: - status - steps - deployment: *488 + deployment: *476 required: - action - repository @@ -224126,10 +224099,10 @@ x-webhooks: type: string enum: - queued - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 workflow_job: type: object @@ -224264,7 +224237,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *476 required: - action - repository @@ -224343,10 +224316,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 workflow_job: type: object @@ -224482,7 +224455,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *476 required: - action - repository @@ -224562,12 +224535,12 @@ x-webhooks: type: string enum: - completed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - workflow: *723 + workflow: *719 workflow_run: title: Workflow Run type: object @@ -225566,12 +225539,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - workflow: *723 + workflow: *719 workflow_run: title: Workflow Run type: object @@ -226555,12 +226528,12 @@ x-webhooks: type: string enum: - requested - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *704 + installation: *705 + organization: *706 + repository: *707 sender: *4 - workflow: *723 + workflow: *719 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index c2fc1bc49..f9f01eb88 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -41195,29 +41195,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -54907,7 +54884,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "secret-scanning", "subcategory": "secret-scanning" @@ -55891,6 +55868,19 @@ "schema": { "type": "string" } + }, + { + "name": "state", + "in": "query", + "description": "Set to `active` or `deleted` to only list cost centers in a specific state.", + "required": false, + "schema": { + "type": "string", + "enum": [ + "active", + "deleted" + ] + } } ], "responses": { @@ -57751,7 +57741,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" ], @@ -100932,7 +100922,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" ], @@ -119821,6 +119811,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", @@ -140169,29 +140263,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -191028,7 +191099,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": { @@ -191036,8 +191107,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + } } }, { @@ -352339,16 +352409,6 @@ "default": "desc" } }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -352376,29 +352436,6 @@ "schema": { "type": "string" } - }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } } ], "responses": { @@ -539565,7 +539602,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/enterprise-cloud@latest//get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -685532,7 +685569,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": { @@ -685540,8 +685577,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + } } } ], @@ -716702,7 +716738,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/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index b2f4ab095..d4218c1df 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -863,7 +863,7 @@ paths: - subscriptions_url - type - url - type: &412 + type: &410 type: string description: The type of credit the user is receiving. enum: @@ -1029,7 +1029,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &737 + - &735 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1585,7 +1585,7 @@ paths: schema: type: integer default: 30 - - &320 + - &318 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1601,7 +1601,7 @@ paths: application/json: schema: type: array - items: &321 + items: &319 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1681,7 +1681,7 @@ paths: - installation_id - repository_id examples: - default: &322 + default: &320 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1713,7 +1713,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &747 + schema: &745 title: Scim Error description: Scim Error type: object @@ -1809,7 +1809,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &321 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1923,7 +1923,7 @@ paths: - request - response examples: - default: &324 + default: &322 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2873,7 +2873,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &390 + properties: &388 id: description: Unique identifier of the repository example: 42 @@ -3311,7 +3311,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &391 + required: &389 - archive_url - assignees_url - blobs_url @@ -8373,7 +8373,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &748 + '401': &746 description: Authorization failure '404': *6 x-github: @@ -12576,7 +12576,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &526 + instances_url: &524 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -12611,7 +12611,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &527 + dismissed_reason: &525 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12620,13 +12620,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &528 + dismissed_comment: &526 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &529 + rule: &527 type: object properties: id: @@ -12679,7 +12679,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &530 + tool: &528 type: object properties: name: *102 @@ -12689,15 +12689,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *103 - most_recent_instance: &531 + most_recent_instance: &529 type: object properties: - ref: &524 + ref: &522 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &541 + analysis_key: &539 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -12708,7 +12708,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &542 + category: &540 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -15046,7 +15046,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &355 + properties: &353 id: description: Unique identifier of the team type: integer @@ -15118,7 +15118,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &356 + required: &354 - id - node_id - url @@ -16191,7 +16191,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &581 + - &579 name: has in: query description: |- @@ -16233,31 +16233,6 @@ paths: - *101 - *99 - *100 - - &310 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &311 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - *17 responses: '200': @@ -16266,7 +16241,7 @@ paths: application/json: schema: type: array - items: &312 + items: &310 type: object description: A Dependabot alert. properties: @@ -16329,7 +16304,7 @@ paths: - unknown - direct - transitive - security_advisory: &582 + security_advisory: &580 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -16561,7 +16536,7 @@ paths: nullable: true maxLength: 280 fixed_at: *123 - auto_dismissed_at: &583 + auto_dismissed_at: &581 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -16587,7 +16562,7 @@ paths: - repository additionalProperties: false examples: - default: &313 + default: &311 value: - number: 2 state: dismissed @@ -17111,7 +17086,7 @@ paths: - name - created_on examples: - default: &423 + default: &421 value: total_count: 2 network_configurations: @@ -17334,7 +17309,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &424 + - &422 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17346,7 +17321,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &423 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17380,7 +17355,7 @@ paths: - subnet_id - region examples: - default: &426 + default: &424 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -17676,7 +17651,7 @@ paths: required: true content: application/json: - schema: &388 + schema: &386 title: Custom Property Set Payload description: Custom property set payload type: object @@ -18740,7 +18715,7 @@ paths: nullable: true anyOf: - *136 - - &395 + - &393 title: Organization ruleset conditions type: object description: |- @@ -18787,7 +18762,7 @@ paths: - *139 rules: type: array - items: &703 + items: &701 title: Repository Rule type: object description: A repository rule. @@ -18796,7 +18771,7 @@ paths: - *143 - *144 - *145 - - &700 + - &698 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -18890,7 +18865,7 @@ paths: - *159 - *160 - *161 - - &701 + - &699 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -19146,7 +19121,7 @@ paths: type: string format: date-time examples: - default: &398 + default: &396 value: - version_id: 3 actor: @@ -19199,7 +19174,7 @@ paths: description: Response content: application/json: - schema: &399 + schema: &397 allOf: - *166 - type: object @@ -19254,7 +19229,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &400 + - &398 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19265,7 +19240,7 @@ paths: enum: - open - resolved - - &401 + - &399 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19275,7 +19250,7 @@ paths: required: false schema: type: string - - &402 + - &400 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19284,7 +19259,7 @@ paths: required: false schema: type: string - - &403 + - &401 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. @@ -19300,7 +19275,7 @@ paths: - *17 - *99 - *100 - - &404 + - &402 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19309,7 +19284,7 @@ paths: required: false schema: type: string - - &405 + - &403 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19318,7 +19293,7 @@ paths: schema: type: boolean default: false - - &406 + - &404 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19327,7 +19302,7 @@ paths: schema: type: boolean default: false - - &407 + - &405 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19343,7 +19318,7 @@ paths: application/json: schema: type: array - items: &408 + items: &406 type: object properties: number: *113 @@ -19362,14 +19337,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &715 + state: &713 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &716 + resolution: &714 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -19476,8 +19451,8 @@ paths: pull request. ' - oneOf: &717 - - &719 + oneOf: &715 + - &717 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -19529,7 +19504,7 @@ paths: - blob_url - commit_sha - commit_url - - &720 + - &718 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -19584,7 +19559,7 @@ paths: - page_url - commit_sha - commit_url - - &721 + - &719 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -19598,7 +19573,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &722 + - &720 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -19612,7 +19587,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &723 + - &721 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -19626,7 +19601,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &724 + - &722 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -19640,7 +19615,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &725 + - &723 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -19654,7 +19629,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &726 + - &724 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -19668,7 +19643,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &727 + - &725 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -19682,7 +19657,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &728 + - &726 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -19696,7 +19671,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &729 + - &727 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -19710,7 +19685,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &730 + - &728 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -19724,7 +19699,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &731 + - &729 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -19751,7 +19726,7 @@ paths: required: *21 nullable: true examples: - default: &409 + default: &407 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -19931,7 +19906,7 @@ paths: '404': *6 '503': *167 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: false category: secret-scanning subcategory: secret-scanning @@ -19960,7 +19935,7 @@ paths: description: Response content: application/json: - schema: &410 + schema: &408 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -20043,7 +20018,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *168 examples: - default: &411 + default: &409 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -20187,7 +20162,7 @@ paths: description: Response content: application/json: - schema: &414 + schema: &412 type: object properties: total_minutes_used: @@ -20257,7 +20232,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &415 + default: &413 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20288,7 +20263,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &416 + - &414 name: advanced_security_product in: query description: | @@ -20308,7 +20283,7 @@ paths: description: Success content: application/json: - schema: &417 + schema: &415 type: object properties: total_advanced_security_committers: @@ -20363,7 +20338,7 @@ paths: required: - repositories examples: - default: &418 + default: &416 value: total_advanced_security_committers: 2 total_count: 2 @@ -20402,6 +20377,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-all-cost-centers-for-an-enterprise parameters: - *41 + - name: state + in: query + description: Set to `active` or `deleted` to only list cost centers in a specific + state. + required: false + schema: + type: string + enum: + - active + - deleted responses: '200': description: Response when getting cost centers @@ -20973,7 +20958,7 @@ paths: description: Response content: application/json: - schema: &419 + schema: &417 type: object properties: total_gigabytes_bandwidth_used: @@ -20991,7 +20976,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &420 + default: &418 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -21004,8 +20989,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 @@ -21232,7 +21219,7 @@ paths: description: Response content: application/json: - schema: &421 + schema: &419 type: object properties: days_left_in_billing_cycle: @@ -21250,7 +21237,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &422 + default: &420 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -22128,7 +22115,7 @@ paths: properties: action: type: string - discussion: &854 + discussion: &852 title: Discussion description: A Discussion in a repository. type: object @@ -22495,7 +22482,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &640 + properties: &638 id: type: integer format: int64 @@ -22609,7 +22596,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &380 + properties: &378 url: type: string format: uri @@ -22679,7 +22666,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &381 + required: &379 - closed_issues - creator - description @@ -22758,7 +22745,7 @@ paths: timeline_url: type: string format: uri - type: &342 + type: &340 title: Issue Type description: The type of issue. type: object @@ -22872,7 +22859,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &775 + sub_issues_summary: &773 title: Sub-issues Summary type: object properties: @@ -22892,7 +22879,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &776 + issue_dependencies_summary: &774 title: Issue Dependencies Summary type: object properties: @@ -22911,7 +22898,7 @@ paths: - total_blocking issue_field_values: type: array - items: &777 + items: &775 title: Issue Field Value description: A value assigned to an issue field type: object @@ -22972,7 +22959,7 @@ paths: - node_id - data_type - value - required: &641 + required: &639 - assignee - closed_at - comments @@ -23010,7 +22997,7 @@ paths: action: type: string issue: *189 - comment: &638 + comment: &636 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -23729,7 +23716,7 @@ paths: type: string release: allOf: - - &693 + - &691 title: Release description: A release. type: object @@ -23800,7 +23787,7 @@ paths: author: *4 assets: type: array - items: &694 + items: &692 title: Release Asset description: Data related to a release. type: object @@ -24379,7 +24366,7 @@ paths: url: type: string format: uri - user: &789 + user: &787 title: Public User description: Public User type: object @@ -26249,7 +26236,7 @@ paths: - closed - all default: open - - &345 + - &343 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -26300,7 +26287,7 @@ paths: type: array items: *189 examples: - default: &346 + default: &344 value: - id: 1 node_id: MDU6SXNzdWUx @@ -27685,14 +27672,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &446 + - &444 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &447 + - &445 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -27754,7 +27741,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &460 + '301': &458 description: Moved permanently content: application/json: @@ -27776,7 +27763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &669 + - &667 name: all description: If `true`, show notifications marked as read. in: query @@ -27784,7 +27771,7 @@ paths: schema: type: boolean default: false - - &670 + - &668 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -27794,7 +27781,7 @@ paths: type: boolean default: false - *196 - - &671 + - &669 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: @@ -27830,7 +27817,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &315 + properties: &313 id: type: integer format: int64 @@ -28106,7 +28093,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &392 + security_and_analysis: &390 nullable: true type: object properties: @@ -28188,7 +28175,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &316 + required: &314 - archive_url - assignees_url - blobs_url @@ -28276,7 +28263,7 @@ paths: - url - subscription_url examples: - default: &672 + default: &670 value: - id: '1' repository: @@ -28822,7 +28809,7 @@ paths: type: array items: *64 examples: - default: &806 + default: &804 value: - login: github id: 1 @@ -29234,9 +29221,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 @@ -30195,7 +30183,7 @@ paths: type: integer repository_cache_usages: type: array - items: &465 + items: &463 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -32111,7 +32099,7 @@ paths: type: array items: *255 examples: - default: &792 + default: &790 value: total_count: 1 repositories: @@ -33153,7 +33141,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &483 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -33182,7 +33170,7 @@ paths: - key_id - key examples: - default: &486 + default: &484 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33595,7 +33583,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *78 - - &470 + - &468 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)." @@ -34392,12 +34380,12 @@ paths: required: - subject_digests examples: - default: &821 + default: &819 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &822 + withPredicateType: &820 value: subject_digests: - sha256:abc123 @@ -34455,7 +34443,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &823 + default: &821 value: attestations_subject_digests: - sha256:abc: @@ -34648,6 +34636,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 + - *99 + - *100 + - *78 + - 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 @@ -34751,7 +34790,7 @@ paths: initiator: type: string examples: - default: &499 + default: &497 value: attestations: - bundle: @@ -35663,7 +35702,7 @@ paths: be returned. in: query required: false - schema: &525 + schema: &523 type: string description: Severity of a code scanning alert. enum: @@ -36679,7 +36718,7 @@ paths: type: integer codespaces: type: array - items: &347 + items: &345 type: object title: Codespace description: A codespace. @@ -36709,7 +36748,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &554 + properties: &552 name: type: string description: The name of the machine. @@ -36751,7 +36790,7 @@ paths: - ready - in_progress nullable: true - required: &555 + required: &553 - name - display_name - operating_system @@ -36956,7 +36995,7 @@ paths: - pulls_url - recent_folders examples: - default: &348 + default: &346 value: total_count: 3 codespaces: @@ -37619,7 +37658,7 @@ paths: - updated_at - visibility examples: - default: &556 + default: &554 value: total_count: 2 secrets: @@ -37657,7 +37696,7 @@ paths: description: Response content: application/json: - schema: &557 + schema: &555 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -37686,7 +37725,7 @@ paths: - key_id - key examples: - default: &558 + default: &556 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37718,7 +37757,7 @@ paths: application/json: schema: *297 examples: - default: &560 + default: &558 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -39302,8 +39341,6 @@ paths: - *101 - *99 - *100 - - *310 - - *311 - *17 responses: '200': @@ -39312,9 +39349,9 @@ paths: application/json: schema: type: array - items: *312 + items: *310 examples: - default: *313 + default: *311 '304': *37 '400': *14 '403': *29 @@ -39358,7 +39395,7 @@ paths: type: integer secrets: type: array - items: &314 + items: &312 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -39435,7 +39472,7 @@ paths: description: Response content: application/json: - schema: &586 + schema: &584 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -39452,7 +39489,7 @@ paths: - key_id - key examples: - default: &587 + default: &585 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -39482,7 +39519,7 @@ paths: description: Response content: application/json: - schema: *314 + schema: *312 examples: default: value: @@ -39782,7 +39819,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *78 - - &595 + - &593 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -39790,7 +39827,7 @@ paths: required: false schema: type: string - - &596 + - &594 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -39798,7 +39835,7 @@ paths: required: false schema: type: string - - &597 + - &595 name: time_period description: |- The time period to filter by. @@ -39814,7 +39851,7 @@ paths: - week - month default: month - - &598 + - &596 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -39839,7 +39876,7 @@ paths: application/json: schema: type: array - items: &599 + items: &597 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -39995,7 +40032,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &600 + default: &598 value: - id: 21 number: 42 @@ -40086,7 +40123,7 @@ paths: - *94 - *95 - *96 - - &601 + - &599 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -40112,7 +40149,7 @@ paths: application/json: schema: type: array - items: &602 + items: &600 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -40233,7 +40270,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &603 + default: &601 value: - id: 21 number: 42 @@ -40321,7 +40358,7 @@ paths: application/json: schema: type: array - items: &358 + items: &356 title: Package description: A software package type: object @@ -40371,8 +40408,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *315 - required: *316 + properties: *313 + required: *314 nullable: true created_at: type: string @@ -40391,7 +40428,7 @@ paths: - created_at - updated_at examples: - default: &359 + default: &357 value: - id: 197 name: hello_docker @@ -40578,7 +40615,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &439 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -40659,7 +40696,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &442 + default: &440 value: group_id: '123' group_name: Octocat admins @@ -40714,7 +40751,7 @@ paths: description: Response content: application/json: - schema: &439 + schema: &437 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -40751,7 +40788,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &440 + default: &438 value: groups: - group_id: '123' @@ -40795,7 +40832,7 @@ paths: application/json: schema: type: array - items: &339 + items: &337 title: Organization Invitation description: Organization Invitation type: object @@ -40842,7 +40879,7 @@ paths: - invitation_teams_url - node_id examples: - default: &340 + default: &338 value: - id: 1 login: monalisa @@ -40909,7 +40946,7 @@ paths: application/json: schema: type: array - items: &393 + items: &391 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -40923,7 +40960,7 @@ paths: - name - description examples: - default: &394 + default: &392 value: - name: add_assignee description: Assign or remove a user @@ -40964,7 +41001,7 @@ paths: application/json: schema: type: array - items: &317 + items: &315 title: Org Hook description: Org Hook type: object @@ -41133,9 +41170,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *315 examples: - default: &318 + default: &316 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -41180,7 +41217,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *78 - - &319 + - &317 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -41193,9 +41230,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *315 examples: - default: *318 + default: *316 '404': *6 x-github: githubCloudOnly: false @@ -41217,7 +41254,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *78 - - *319 + - *317 requestBody: required: false content: @@ -41262,7 +41299,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *315 examples: default: value: @@ -41302,7 +41339,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *78 - - *319 + - *317 responses: '204': description: Response @@ -41328,7 +41365,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *78 - - *319 + - *317 responses: '200': description: Response @@ -41357,7 +41394,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *78 - - *319 + - *317 requestBody: required: false content: @@ -41406,9 +41443,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *78 - - *319 + - *317 - *17 - - *320 + - *318 responses: '200': description: Response @@ -41416,9 +41453,9 @@ paths: application/json: schema: type: array - items: *321 + items: *319 examples: - default: *322 + default: *320 '400': *14 '422': *15 x-github: @@ -41442,16 +41479,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *78 - - *319 + - *317 - *16 responses: '200': description: Response content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '400': *14 '422': *15 x-github: @@ -41475,7 +41512,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *78 - - *319 + - *317 - *16 responses: '202': *39 @@ -41502,7 +41539,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *78 - - *319 + - *317 responses: '204': description: Response @@ -41525,7 +41562,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *78 - - &329 + - &327 name: actor_type in: path description: The type of the actor @@ -41538,14 +41575,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &330 + - &328 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &325 + - &323 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -41553,7 +41590,7 @@ paths: required: true schema: type: string - - &326 + - &324 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) @@ -41647,12 +41684,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *78 - - *325 - - *326 + - *323 + - *324 - *19 - *17 - *101 - - &335 + - &333 name: sort description: The property to sort the results by. in: query @@ -41731,14 +41768,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *78 - - *325 - - *326 + - *323 + - *324 responses: '200': description: Response content: application/json: - schema: &327 + schema: &325 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -41754,7 +41791,7 @@ paths: type: integer format: int64 examples: - default: &328 + default: &326 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -41775,23 +41812,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *78 - - &331 + - &329 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *325 - - *326 + - *323 + - *324 responses: '200': description: Response content: application/json: - schema: *327 + schema: *325 examples: - default: *328 + default: *326 x-github: enabledForGitHubApps: true category: orgs @@ -41810,18 +41847,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *78 - - *325 - - *326 - - *329 - - *330 + - *323 + - *324 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *327 + schema: *325 examples: - default: *328 + default: *326 x-github: enabledForGitHubApps: true category: orgs @@ -41839,9 +41876,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *78 - - *325 - - *326 - - &332 + - *323 + - *324 + - &330 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -41854,7 +41891,7 @@ paths: description: Response content: application/json: - schema: &333 + schema: &331 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -41870,7 +41907,7 @@ paths: type: integer format: int64 examples: - default: &334 + default: &332 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -41907,18 +41944,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *78 - - *331 - - *325 - - *326 - - *332 + - *329 + - *323 + - *324 + - *330 responses: '200': description: Response content: application/json: - schema: *333 + schema: *331 examples: - default: *334 + default: *332 x-github: enabledForGitHubApps: true category: orgs @@ -41936,19 +41973,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *78 - - *329 + - *327 + - *328 + - *323 + - *324 - *330 - - *325 - - *326 - - *332 responses: '200': description: Response content: application/json: - schema: *333 + schema: *331 examples: - default: *334 + default: *332 x-github: enabledForGitHubApps: true category: orgs @@ -41966,13 +42003,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *78 - - *331 - - *325 - - *326 + - *329 + - *323 + - *324 - *19 - *17 - *101 - - *335 + - *333 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -42053,7 +42090,7 @@ paths: application/json: schema: *22 examples: - default: &634 + default: &632 value: id: 1 account: @@ -42219,12 +42256,12 @@ paths: application/json: schema: anyOf: - - &337 + - &335 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &336 + limit: &334 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -42249,7 +42286,7 @@ paths: properties: {} additionalProperties: false examples: - default: &338 + default: &336 value: limit: collaborators_only origin: organization @@ -42278,13 +42315,13 @@ paths: required: true content: application/json: - schema: &635 + schema: &633 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *336 + limit: *334 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -42308,9 +42345,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *335 examples: - default: *338 + default: *336 '422': *15 x-github: githubCloudOnly: false @@ -42388,9 +42425,9 @@ paths: application/json: schema: type: array - items: *339 + items: *337 examples: - default: *340 + default: *338 headers: Link: *43 '404': *6 @@ -42468,7 +42505,7 @@ paths: description: Response content: application/json: - schema: *339 + schema: *337 examples: default: value: @@ -42525,7 +42562,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *78 - - &341 + - &339 name: invitation_id description: The unique identifier of the invitation. in: path @@ -42559,7 +42596,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *78 - - *341 + - *339 - *17 - *19 responses: @@ -42571,7 +42608,7 @@ paths: type: array items: *282 examples: - default: &357 + default: &355 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -42614,7 +42651,7 @@ paths: application/json: schema: type: array - items: *342 + items: *340 examples: default: value: @@ -42699,9 +42736,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *340 examples: - default: &343 + default: &341 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -42734,7 +42771,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *78 - - &344 + - &342 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -42787,9 +42824,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *340 examples: - default: *343 + default: *341 '404': *6 '422': *7 x-github: @@ -42814,7 +42851,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *78 - - *344 + - *342 responses: '204': description: Response @@ -42877,7 +42914,7 @@ paths: - closed - all default: open - - *345 + - *343 - name: type description: Can be the name of an issue type. in: query @@ -42908,7 +42945,7 @@ paths: type: array items: *189 examples: - default: *346 + default: *344 headers: Link: *43 '404': *6 @@ -43067,9 +43104,9 @@ paths: type: integer codespaces: type: array - items: *347 + items: *345 examples: - default: *348 + default: *346 '304': *37 '500': *40 '401': *25 @@ -43096,7 +43133,7 @@ paths: parameters: - *78 - *182 - - &349 + - &347 name: codespace_name in: path required: true @@ -43131,15 +43168,15 @@ paths: parameters: - *78 - *182 - - *349 + - *347 responses: '200': description: Response content: application/json: - schema: *347 + schema: *345 examples: - default: &553 + default: &551 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -43395,7 +43432,7 @@ paths: description: Response content: application/json: - schema: &350 + schema: &348 title: Org Membership description: Org Membership type: object @@ -43462,7 +43499,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &351 + response-if-user-has-an-active-admin-membership-with-organization: &349 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -43559,9 +43596,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *348 examples: - response-if-user-already-had-membership-with-organization: *351 + response-if-user-already-had-membership-with-organization: *349 '422': *15 '403': *29 x-github: @@ -43632,7 +43669,7 @@ paths: application/json: schema: type: array - items: &352 + items: &350 title: Migration description: A migration. type: object @@ -43961,7 +43998,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *350 examples: default: value: @@ -44140,7 +44177,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *78 - - &353 + - &351 name: migration_id description: The unique identifier of the migration. in: path @@ -44167,7 +44204,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *352 + schema: *350 examples: default: value: @@ -44337,7 +44374,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *78 - - *353 + - *351 responses: '302': description: Response @@ -44359,7 +44396,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *78 - - *353 + - *351 responses: '204': description: Response @@ -44383,8 +44420,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *78 - - *353 - - &805 + - *351 + - &803 name: repo_name description: repo_name parameter in: path @@ -44412,7 +44449,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *78 - - *353 + - *351 - *17 - *19 responses: @@ -44424,7 +44461,7 @@ paths: type: array items: *255 examples: - default: &364 + default: &362 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44633,7 +44670,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &354 + items: &352 title: Organization Role description: Organization roles type: object @@ -44840,7 +44877,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *352 examples: default: value: @@ -45070,7 +45107,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *352 examples: default: value: @@ -45167,7 +45204,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *352 examples: default: value: @@ -45325,8 +45362,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *355 - required: *356 + properties: *353 + required: *354 nullable: true type: description: The ownership type of the team @@ -45358,7 +45395,7 @@ paths: - type - parent examples: - default: *357 + default: *355 headers: Link: *43 '404': @@ -45416,13 +45453,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &413 + items: &411 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *355 - required: *356 + properties: *353 + required: *354 name: nullable: true type: string @@ -45710,7 +45747,7 @@ paths: - nuget - container - *78 - - &807 + - &805 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -45746,12 +45783,12 @@ paths: application/json: schema: type: array - items: *358 + items: *356 examples: - default: *359 + default: *357 '403': *29 '401': *25 - '400': &809 + '400': &807 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -45773,7 +45810,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &360 + - &358 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -45791,7 +45828,7 @@ paths: - docker - nuget - container - - &361 + - &359 name: package_name description: The name of the package. in: path @@ -45804,7 +45841,7 @@ paths: description: Response content: application/json: - schema: *358 + schema: *356 examples: default: value: @@ -45856,8 +45893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *360 - - *361 + - *358 + - *359 - *78 responses: '204': @@ -45890,8 +45927,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *360 - - *361 + - *358 + - *359 - *78 - name: token description: package token @@ -45924,8 +45961,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: - - *360 - - *361 + - *358 + - *359 - *78 - *19 - *17 @@ -45946,7 +45983,7 @@ paths: application/json: schema: type: array - items: &362 + items: &360 title: Package Version description: A version of a software package type: object @@ -46071,10 +46108,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *360 - - *361 + - *358 + - *359 - *78 - - &363 + - &361 name: package_version_id description: Unique identifier of the package version. in: path @@ -46086,7 +46123,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *360 examples: default: value: @@ -46122,10 +46159,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *360 - - *361 + - *358 + - *359 - *78 - - *363 + - *361 responses: '204': description: Response @@ -46157,10 +46194,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *360 - - *361 + - *358 + - *359 - *78 - - *363 + - *361 responses: '204': description: Response @@ -46190,7 +46227,7 @@ paths: - *78 - *17 - *19 - - &365 + - &363 name: sort description: The property by which to sort the results. in: query @@ -46201,7 +46238,7 @@ paths: - created_at default: created_at - *101 - - &366 + - &364 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -46212,7 +46249,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &367 + - &365 name: repository description: The name of the repository to use to filter the results. in: query @@ -46220,7 +46257,7 @@ paths: schema: type: string example: Hello-World - - &368 + - &366 name: permission description: The permission to use to filter the results. in: query @@ -46228,7 +46265,7 @@ paths: schema: type: string example: issues_read - - &369 + - &367 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -46238,7 +46275,7 @@ paths: schema: type: string format: date-time - - &370 + - &368 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -46248,7 +46285,7 @@ paths: schema: type: string format: date-time - - &371 + - &369 name: token_id description: The ID of the token in: query @@ -46561,7 +46598,7 @@ paths: type: array items: *255 examples: - default: *364 + default: *362 headers: Link: *43 x-github: @@ -46587,14 +46624,14 @@ paths: - *78 - *17 - *19 - - *365 + - *363 - *101 + - *364 + - *365 - *366 - *367 - *368 - *369 - - *370 - - *371 responses: '500': *40 '422': *15 @@ -46876,7 +46913,7 @@ paths: type: array items: *255 examples: - default: *364 + default: *362 headers: Link: *43 x-github: @@ -46918,7 +46955,7 @@ paths: type: integer configurations: type: array - items: &372 + items: &370 title: Organization private registry description: Private registry configuration for an organization type: object @@ -47171,7 +47208,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &373 + org-private-registry-with-selected-visibility: &371 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -47267,9 +47304,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *372 + schema: *370 examples: - default: *373 + default: *371 '404': *6 x-github: githubCloudOnly: false @@ -47433,7 +47470,7 @@ paths: application/json: schema: type: array - items: &374 + items: &372 title: Project description: Projects are a way to organize columns and cards of work. @@ -47606,7 +47643,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *372 examples: default: value: @@ -47644,7 +47681,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &457 + '410': &455 description: Gone content: application/json: @@ -47687,7 +47724,7 @@ paths: application/json: schema: type: array - items: &375 + items: &373 title: Projects v2 Project description: A projects v2 project type: object @@ -47757,7 +47794,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &885 + properties: &883 id: type: number description: The unique identifier of the status update. @@ -47805,7 +47842,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &886 + required: &884 - id - node_id - created_at @@ -47830,7 +47867,7 @@ paths: - deleted_at - deleted_by examples: - default: &376 + default: &374 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -47933,7 +47970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &377 + - &375 name: project_number description: The project's number. in: path @@ -47946,9 +47983,9 @@ paths: description: Response content: application/json: - schema: *375 + schema: *373 examples: - default: *376 + default: *374 headers: Link: *43 '304': *37 @@ -47970,7 +48007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *377 + - *375 - *78 - *17 - *99 @@ -47982,7 +48019,7 @@ paths: application/json: schema: type: array - items: &378 + items: &376 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -48129,7 +48166,7 @@ paths: - updated_at - project_url examples: - default: &379 + default: &377 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48172,8 +48209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *377 - - &826 + - *375 + - &824 name: field_id description: The unique identifier of the field. in: path @@ -48186,9 +48223,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *376 examples: - default: *379 + default: *377 headers: Link: *43 '304': *37 @@ -48211,7 +48248,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: - - *377 + - *375 - *78 - 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) @@ -48221,8 +48258,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: @@ -48230,7 +48269,6 @@ paths: maxItems: 50 items: type: string - example: fields[]=123,fields[]=456,fields[]=789 - *99 - *100 - *17 @@ -48241,7 +48279,7 @@ paths: application/json: schema: type: array - items: &385 + items: &383 title: Projects v2 Item description: An item belonging to a project type: object @@ -48257,7 +48295,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &383 + content_type: &381 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -48307,7 +48345,7 @@ paths: - updated_at - archived_at examples: - default: &386 + default: &384 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -49002,7 +49040,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *78 - - *377 + - *375 requestBody: required: true description: Details of the item to add to the project. @@ -49039,7 +49077,7 @@ paths: description: Response content: application/json: - schema: &827 + schema: &825 title: Projects v2 Item description: An item belonging to a project type: object @@ -49053,7 +49091,7 @@ paths: content: oneOf: - *189 - - &568 + - &566 title: Pull Request Simple description: Pull Request Simple type: object @@ -49159,8 +49197,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *380 - required: *381 + properties: *378 + required: *379 nullable: true active_lock_reason: type: string @@ -49256,7 +49294,7 @@ paths: _links: type: object properties: - comments: &382 + comments: &380 title: Link description: Hypermedia Link type: object @@ -49265,13 +49303,13 @@ paths: type: string required: - href - commits: *382 - statuses: *382 - html: *382 - issue: *382 - review_comments: *382 - review_comment: *382 - self: *382 + commits: *380 + statuses: *380 + html: *380 + issue: *380 + review_comments: *380 + review_comment: *380 + self: *380 required: - comments - commits @@ -49282,7 +49320,7 @@ paths: - review_comment - self author_association: *190 - auto_merge: &679 + auto_merge: &677 title: Auto merge description: The status of auto merging a pull request. type: object @@ -49384,7 +49422,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *383 + content_type: *381 creator: *4 created_at: type: string @@ -49417,7 +49455,7 @@ paths: - updated_at - archived_at examples: - issue: &384 + issue: &382 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -49472,7 +49510,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *384 + pull_request: *382 '304': *37 '403': *29 '401': *25 @@ -49492,9 +49530,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *377 + - *375 - *78 - - &387 + - &385 name: item_id description: The unique identifier of the project item. in: path @@ -49517,9 +49555,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *383 examples: - default: *386 + default: *384 headers: Link: *43 '304': *37 @@ -49540,9 +49578,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *377 + - *375 - *78 - - *387 + - *385 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -49612,13 +49650,13 @@ paths: description: Response content: application/json: - schema: *385 + schema: *383 examples: - text_field: *386 - number_field: *386 - date_field: *386 - single_select_field: *386 - iteration_field: *386 + text_field: *384 + number_field: *384 + date_field: *384 + single_select_field: *384 + iteration_field: *384 '401': *25 '403': *29 '404': *6 @@ -49638,9 +49676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *377 + - *375 - *78 - - *387 + - *385 responses: '204': description: Response @@ -49803,7 +49841,7 @@ paths: required: true content: application/json: - schema: *388 + schema: *386 examples: default: value: @@ -49906,7 +49944,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &389 + items: &387 title: Custom Property Value description: Custom property name and associated value type: object @@ -49993,7 +50031,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *389 + items: *387 required: - repository_names - properties @@ -50186,7 +50224,7 @@ paths: type: array items: *255 examples: - default: *364 + default: *362 headers: Link: *43 x-github: @@ -50389,7 +50427,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &457 title: Full Repository description: Full Repository type: object @@ -50666,8 +50704,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *390 - required: *391 + properties: *388 + required: *389 nullable: true temp_clone_token: type: string @@ -50782,7 +50820,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &573 + properties: &571 url: type: string format: uri @@ -50798,12 +50836,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &574 + required: &572 - url - key - name - html_url - security_and_analysis: *392 + security_and_analysis: *390 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -50887,7 +50925,7 @@ paths: - network_count - subscribers_count examples: - default: &461 + default: &459 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -51413,9 +51451,9 @@ paths: application/json: schema: type: array - items: *393 + items: *391 examples: - default: *394 + default: *392 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -51440,7 +51478,7 @@ paths: - *78 - *17 - *19 - - &702 + - &700 name: targets description: | A comma-separated list of rule targets to filter by. @@ -51531,11 +51569,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *141 - conditions: *395 + conditions: *393 rules: type: array description: An array of rules within the ruleset. - items: &397 + items: &395 title: Repository Rule type: object description: A repository rule. @@ -51599,7 +51637,7 @@ paths: application/json: schema: *162 examples: - default: &396 + default: &394 value: id: 21 name: super cool ruleset @@ -51654,7 +51692,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *78 - - &704 + - &702 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 @@ -51666,14 +51704,14 @@ paths: x-multi-segment: true - *279 - *96 - - &705 + - &703 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &706 + - &704 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -51693,7 +51731,7 @@ paths: description: Response content: application/json: - schema: &707 + schema: &705 title: Rule Suites description: Response type: array @@ -51748,7 +51786,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &708 + default: &706 value: - id: 21 actor_id: 12 @@ -51792,7 +51830,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *78 - - &709 + - &707 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -51808,7 +51846,7 @@ paths: description: Response content: application/json: - schema: &710 + schema: &708 title: Rule Suite description: Response type: object @@ -51907,7 +51945,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &711 + default: &709 value: id: 21 actor_id: 12 @@ -51982,7 +52020,7 @@ paths: application/json: schema: *162 examples: - default: *396 + default: *394 '404': *6 '500': *40 put: @@ -52031,11 +52069,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *141 - conditions: *395 + conditions: *393 rules: description: An array of rules within the ruleset. type: array - items: *397 + items: *395 examples: default: value: @@ -52072,7 +52110,7 @@ paths: application/json: schema: *162 examples: - default: *396 + default: *394 '404': *6 '500': *40 delete: @@ -52131,7 +52169,7 @@ paths: type: array items: *166 examples: - default: *398 + default: *396 '404': *6 '500': *40 x-github: @@ -52168,7 +52206,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *397 examples: default: value: @@ -52231,14 +52269,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *78 + - *398 + - *399 - *400 - *401 - - *402 - - *403 - *101 - *19 - *17 - - &713 + - &711 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -52248,7 +52286,7 @@ paths: required: false schema: type: string - - &714 + - &712 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -52258,10 +52296,10 @@ paths: required: false schema: type: string + - *402 + - *403 - *404 - *405 - - *406 - - *407 responses: '200': description: Response @@ -52269,9 +52307,9 @@ paths: application/json: schema: type: array - items: *408 + items: *406 examples: - default: *409 + default: *407 headers: Link: *43 '404': *6 @@ -52306,9 +52344,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *408 examples: - default: *411 + default: *409 '403': *29 '404': *6 patch: @@ -52461,7 +52499,7 @@ paths: application/json: schema: type: array - items: &735 + items: &733 description: A repository security advisory. type: object properties: @@ -52681,7 +52719,7 @@ paths: login: type: string description: The username of the user credited. - type: *412 + type: *410 credits_detailed: type: array nullable: true @@ -52691,7 +52729,7 @@ paths: type: object properties: user: *4 - type: *412 + type: *410 state: type: string description: The state of the user's acceptance of the @@ -52752,7 +52790,7 @@ paths: - private_fork additionalProperties: false examples: - default: &736 + default: &734 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -53139,9 +53177,9 @@ paths: application/json: schema: type: array - items: *413 + items: *411 examples: - default: *357 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53226,9 +53264,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *412 examples: - default: *415 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53253,7 +53291,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *78 - - *416 + - *414 - *17 - *19 responses: @@ -53261,9 +53299,9 @@ paths: description: Success content: application/json: - schema: *417 + schema: *415 examples: - default: *418 + default: *416 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -53291,9 +53329,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *417 examples: - default: *420 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53321,9 +53359,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *419 examples: - default: *422 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53604,7 +53642,7 @@ paths: type: array items: *126 examples: - default: *423 + default: *421 headers: Link: *43 x-github: @@ -53805,15 +53843,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: - *78 - - *424 + - *422 responses: '200': description: Response content: application/json: - schema: *425 + schema: *423 examples: - default: *426 + default: *424 headers: Link: *43 x-github: @@ -53851,7 +53889,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &446 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -53897,7 +53935,7 @@ paths: type: string nullable: true examples: - default: &449 + default: &447 value: groups: - group_id: '123' @@ -54011,7 +54049,7 @@ paths: type: array items: *282 examples: - default: *357 + default: *355 headers: Link: *43 '403': *29 @@ -54105,7 +54143,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &425 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -54168,8 +54206,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *355 - required: *356 + properties: *353 + required: *354 nullable: true members_count: type: integer @@ -54432,7 +54470,7 @@ paths: - repos_count - organization examples: - default: &428 + default: &426 value: id: 1 node_id: MDQ6VGVhbTE= @@ -54509,9 +54547,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *425 examples: - default: *428 + default: *426 '404': *6 x-github: githubCloudOnly: false @@ -54595,16 +54633,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *427 + schema: *425 examples: - default: *428 + default: *426 '201': description: Response content: application/json: - schema: *427 + schema: *425 examples: - default: *428 + default: *426 '404': *6 '422': *15 '403': *29 @@ -54674,7 +54712,7 @@ paths: application/json: schema: type: array - items: &429 + items: &427 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -54773,7 +54811,7 @@ paths: - updated_at - url examples: - default: &779 + default: &777 value: - author: login: octocat @@ -54882,9 +54920,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *427 examples: - default: &430 + default: &428 value: author: login: octocat @@ -54958,7 +54996,7 @@ paths: parameters: - *78 - *184 - - &431 + - &429 name: discussion_number description: The number that identifies the discussion. in: path @@ -54970,9 +55008,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *427 examples: - default: *430 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54996,7 +55034,7 @@ paths: parameters: - *78 - *184 - - *431 + - *429 requestBody: required: false content: @@ -55019,9 +55057,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *427 examples: - default: &780 + default: &778 value: author: login: octocat @@ -55093,7 +55131,7 @@ paths: parameters: - *78 - *184 - - *431 + - *429 responses: '204': description: Response @@ -55121,7 +55159,7 @@ paths: parameters: - *78 - *184 - - *431 + - *429 - *101 - *17 - *19 @@ -55132,7 +55170,7 @@ paths: application/json: schema: type: array - items: &432 + items: &430 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -55204,7 +55242,7 @@ paths: - updated_at - url examples: - default: &781 + default: &779 value: - author: login: octocat @@ -55274,7 +55312,7 @@ paths: parameters: - *78 - *184 - - *431 + - *429 requestBody: required: true content: @@ -55296,9 +55334,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *430 examples: - default: &433 + default: &431 value: author: login: octocat @@ -55366,8 +55404,8 @@ paths: parameters: - *78 - *184 - - *431 - - &434 + - *429 + - &432 name: comment_number description: The number that identifies the comment. in: path @@ -55379,9 +55417,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *430 examples: - default: *433 + default: *431 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55405,8 +55443,8 @@ paths: parameters: - *78 - *184 - - *431 - - *434 + - *429 + - *432 requestBody: required: true content: @@ -55428,9 +55466,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *430 examples: - default: &782 + default: &780 value: author: login: octocat @@ -55496,8 +55534,8 @@ paths: parameters: - *78 - *184 - - *431 - - *434 + - *429 + - *432 responses: '204': description: Response @@ -55525,8 +55563,8 @@ paths: parameters: - *78 - *184 - - *431 - - *434 + - *429 + - *432 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -55552,7 +55590,7 @@ paths: application/json: schema: type: array - items: &435 + items: &433 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -55595,7 +55633,7 @@ paths: - content - created_at examples: - default: &437 + default: &435 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -55647,8 +55685,8 @@ paths: parameters: - *78 - *184 - - *431 - - *434 + - *429 + - *432 requestBody: required: true content: @@ -55681,9 +55719,9 @@ paths: team discussion comment content: application/json: - schema: *435 + schema: *433 examples: - default: &436 + default: &434 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -55712,9 +55750,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *433 examples: - default: *436 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55739,9 +55777,9 @@ paths: parameters: - *78 - *184 - - *431 - - *434 - - &438 + - *429 + - *432 + - &436 name: reaction_id description: The unique identifier of the reaction. in: path @@ -55775,7 +55813,7 @@ paths: parameters: - *78 - *184 - - *431 + - *429 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -55801,9 +55839,9 @@ paths: application/json: schema: type: array - items: *435 + items: *433 examples: - default: *437 + default: *435 headers: Link: *43 x-github: @@ -55831,7 +55869,7 @@ paths: parameters: - *78 - *184 - - *431 + - *429 requestBody: required: true content: @@ -55863,16 +55901,16 @@ paths: description: Response content: application/json: - schema: *435 + schema: *433 examples: - default: *436 + default: *434 '201': description: Response content: application/json: - schema: *435 + schema: *433 examples: - default: *436 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55897,8 +55935,8 @@ paths: parameters: - *78 - *184 - - *431 - - *438 + - *429 + - *436 responses: '204': description: Response @@ -55928,9 +55966,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *437 examples: - default: *440 + default: *438 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -55973,9 +56011,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *439 examples: - default: *442 + default: *440 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -56030,9 +56068,9 @@ paths: application/json: schema: type: array - items: *339 + items: *337 examples: - default: *340 + default: *338 headers: Link: *43 x-github: @@ -56116,7 +56154,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &441 title: Team Membership description: Team Membership type: object @@ -56143,7 +56181,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &783 + response-if-user-is-a-team-maintainer: &781 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -56206,9 +56244,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *441 examples: - response-if-users-membership-with-team-is-now-pending: &784 + response-if-users-membership-with-team-is-now-pending: &782 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -56281,7 +56319,7 @@ paths: application/json: schema: type: array - items: &444 + items: &442 title: Team Project description: A team's access to a project. type: object @@ -56349,7 +56387,7 @@ paths: - updated_at - permissions examples: - default: &785 + default: &783 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -56414,7 +56452,7 @@ paths: parameters: - *78 - *184 - - &445 + - &443 name: project_id description: The unique identifier of the project. in: path @@ -56426,9 +56464,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *442 examples: - default: &786 + default: &784 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -56492,7 +56530,7 @@ paths: parameters: - *78 - *184 - - *445 + - *443 requestBody: required: false content: @@ -56560,7 +56598,7 @@ paths: parameters: - *78 - *184 - - *445 + - *443 responses: '204': description: Response @@ -56600,7 +56638,7 @@ paths: type: array items: *255 examples: - default: *364 + default: *362 headers: Link: *43 x-github: @@ -56631,14 +56669,14 @@ paths: parameters: - *78 - *184 - - *446 - - *447 + - *444 + - *445 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &787 + schema: &785 title: Team Repository description: A team's access to a repository. type: object @@ -57209,8 +57247,8 @@ paths: parameters: - *78 - *184 - - *446 - - *447 + - *444 + - *445 requestBody: required: false content: @@ -57257,8 +57295,8 @@ paths: parameters: - *78 - *184 - - *446 - - *447 + - *444 + - *445 responses: '204': description: Response @@ -57291,9 +57329,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *446 examples: - default: *449 + default: *447 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -57359,7 +57397,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *446 examples: default: value: @@ -57404,7 +57442,7 @@ paths: type: array items: *282 examples: - response-if-child-teams-exist: &788 + response-if-child-teams-exist: &786 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -57531,7 +57569,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &450 + - &448 name: card_id description: The unique identifier of the card. in: path @@ -57543,7 +57581,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &449 title: Project Card description: Project cards represent a scope of work. type: object @@ -57610,7 +57648,7 @@ paths: - created_at - updated_at examples: - default: &452 + default: &450 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -57666,7 +57704,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *450 + - *448 requestBody: required: false content: @@ -57693,9 +57731,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *449 examples: - default: *452 + default: *450 '304': *37 '403': *29 '401': *25 @@ -57722,7 +57760,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *450 + - *448 responses: '204': description: Response @@ -57766,7 +57804,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *450 + - *448 requestBody: required: true content: @@ -57877,7 +57915,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &453 + - &451 name: column_id description: The unique identifier of the column. in: path @@ -57889,7 +57927,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &452 title: Project Column description: Project columns contain cards of work. type: object @@ -57935,7 +57973,7 @@ paths: - created_at - updated_at examples: - default: &455 + default: &453 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -57970,7 +58008,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *453 + - *451 requestBody: required: true content: @@ -57994,9 +58032,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *452 examples: - default: *455 + default: *453 '304': *37 '403': *29 '401': *25 @@ -58021,7 +58059,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *453 + - *451 responses: '204': description: Response @@ -58050,7 +58088,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *453 + - *451 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -58071,7 +58109,7 @@ paths: application/json: schema: type: array - items: *451 + items: *449 examples: default: value: @@ -58130,7 +58168,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *453 + - *451 requestBody: required: true content: @@ -58170,9 +58208,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *449 examples: - default: *452 + default: *450 '304': *37 '403': *29 '401': *25 @@ -58228,7 +58266,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *453 + - *451 requestBody: required: true content: @@ -58288,15 +58326,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *445 + - *443 responses: '200': description: Response content: application/json: - schema: *374 + schema: *372 examples: - default: &456 + default: &454 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -58353,7 +58391,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *445 + - *443 requestBody: required: false content: @@ -58399,9 +58437,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *372 examples: - default: *456 + default: *454 '404': description: Not Found if the authenticated user does not have access to the project @@ -58422,7 +58460,7 @@ paths: items: type: string '401': *25 - '410': *457 + '410': *455 '422': *7 x-github: githubCloudOnly: false @@ -58445,7 +58483,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *445 + - *443 responses: '204': description: Delete Success @@ -58466,7 +58504,7 @@ paths: items: type: string '401': *25 - '410': *457 + '410': *455 '404': *6 x-github: githubCloudOnly: false @@ -58490,7 +58528,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *445 + - *443 - 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 @@ -58547,7 +58585,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *445 + - *443 - *182 requestBody: required: false @@ -58600,7 +58638,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *445 + - *443 - *182 responses: '204': @@ -58632,7 +58670,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: - - *445 + - *443 - *182 responses: '200': @@ -58706,7 +58744,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *445 + - *443 - *17 - *19 responses: @@ -58716,7 +58754,7 @@ paths: application/json: schema: type: array - items: *454 + items: *452 examples: default: value: @@ -58754,7 +58792,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *445 + - *443 requestBody: required: true content: @@ -58777,7 +58815,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *452 examples: default: value: @@ -58842,7 +58880,7 @@ paths: resources: type: object properties: - core: &458 + core: &456 title: Rate Limit type: object properties: @@ -58859,21 +58897,21 @@ paths: - remaining - reset - used - graphql: *458 - search: *458 - code_search: *458 - source_import: *458 - integration_manifest: *458 - code_scanning_upload: *458 - actions_runner_registration: *458 - scim: *458 - dependency_snapshots: *458 - dependency_sbom: *458 - code_scanning_autofix: *458 + graphql: *456 + search: *456 + code_search: *456 + source_import: *456 + integration_manifest: *456 + code_scanning_upload: *456 + actions_runner_registration: *456 + scim: *456 + dependency_snapshots: *456 + dependency_sbom: *456 + code_scanning_autofix: *456 required: - core - search - rate: *458 + rate: *456 required: - rate - resources @@ -58978,14 +59016,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: *459 + schema: *457 examples: default-response: summary: Default response @@ -59490,7 +59528,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *460 + '301': *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59508,8 +59546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: false content: @@ -59766,10 +59804,10 @@ paths: description: Response content: application/json: - schema: *459 + schema: *457 examples: - default: *461 - '307': &462 + default: *459 + '307': &460 description: Temporary Redirect content: application/json: @@ -59798,8 +59836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '204': description: Response @@ -59821,7 +59859,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': *462 + '307': *460 '404': *6 '409': *109 x-github: @@ -59845,11 +59883,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 - - &477 + - &475 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -59872,7 +59910,7 @@ paths: type: integer artifacts: type: array - items: &463 + items: &461 title: Artifact description: An artifact type: object @@ -59950,7 +59988,7 @@ paths: - expires_at - updated_at examples: - default: &478 + default: &476 value: total_count: 2 artifacts: @@ -60011,9 +60049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *446 - - *447 - - &464 + - *444 + - *445 + - &462 name: artifact_id description: The unique identifier of the artifact. in: path @@ -60025,7 +60063,7 @@ paths: description: Response content: application/json: - schema: *463 + schema: *461 examples: default: value: @@ -60063,9 +60101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *446 - - *447 - - *464 + - *444 + - *445 + - *462 responses: '204': description: Response @@ -60089,9 +60127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *446 - - *447 - - *464 + - *444 + - *445 + - *462 - name: archive_format in: path required: true @@ -60105,7 +60143,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *457 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60128,14 +60166,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: *465 + schema: *463 examples: default: value: @@ -60161,11 +60199,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 - - &466 + - &464 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 @@ -60199,7 +60237,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &465 title: Repository actions caches description: Repository actions caches type: object @@ -60241,7 +60279,7 @@ paths: - total_count - actions_caches examples: - default: &468 + default: &466 value: total_count: 1 actions_caches: @@ -60273,23 +60311,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *446 - - *447 + - *444 + - *445 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *466 + - *464 responses: '200': description: Response content: application/json: - schema: *467 + schema: *465 examples: - default: *468 + default: *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60309,8 +60347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *446 - - *447 + - *444 + - *445 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -60341,9 +60379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *446 - - *447 - - &469 + - *444 + - *445 + - &467 name: job_id description: The unique identifier of the job. in: path @@ -60355,7 +60393,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &479 title: Job description: Information of a job execution in a workflow run type: object @@ -60662,9 +60700,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *446 - - *447 - - *469 + - *444 + - *445 + - *467 responses: '302': description: Response @@ -60692,9 +60730,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *446 - - *447 - - *469 + - *444 + - *445 + - *467 requestBody: required: false content: @@ -60739,8 +60777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Status response @@ -60790,8 +60828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -60854,8 +60892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 responses: @@ -60873,7 +60911,7 @@ paths: type: integer secrets: type: array - items: &483 + items: &481 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -60893,7 +60931,7 @@ paths: - created_at - updated_at examples: - default: &484 + default: &482 value: total_count: 2 secrets: @@ -60926,9 +60964,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *446 - - *447 - - *470 + - *444 + - *445 + - *468 - *19 responses: '200': @@ -60945,7 +60983,7 @@ paths: type: integer variables: type: array - items: &487 + items: &485 title: Actions Variable type: object properties: @@ -60975,7 +61013,7 @@ paths: - created_at - updated_at examples: - default: &488 + default: &486 value: total_count: 2 variables: @@ -61008,8 +61046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -61018,7 +61056,7 @@ paths: schema: type: object properties: - enabled: &471 + enabled: &469 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *51 @@ -61053,8 +61091,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '204': description: Response @@ -61065,7 +61103,7 @@ paths: schema: type: object properties: - enabled: *471 + enabled: *469 allowed_actions: *51 sha_pinning_required: *52 required: @@ -61098,14 +61136,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: &472 + schema: &470 type: object properties: access_level: @@ -61123,7 +61161,7 @@ paths: required: - access_level examples: - default: &473 + default: &471 value: access_level: organization x-github: @@ -61148,15 +61186,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: application/json: - schema: *472 + schema: *470 examples: - default: *473 + default: *471 responses: '204': description: Response @@ -61180,8 +61218,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: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -61211,8 +61249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '204': description: Empty response for successful settings update @@ -61246,8 +61284,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: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -61274,8 +61312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '204': description: Response @@ -61309,8 +61347,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: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -61338,8 +61376,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: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -61370,8 +61408,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: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -61402,8 +61440,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '204': description: Response @@ -61435,8 +61473,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: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -61465,8 +61503,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '204': description: Success response @@ -61506,8 +61544,8 @@ paths: in: query schema: type: string - - *446 - - *447 + - *444 + - *445 - *17 - *19 responses: @@ -61551,8 +61589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -61584,8 +61622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -61659,8 +61697,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: - - *446 - - *447 + - *444 + - *445 responses: '201': description: Response @@ -61696,8 +61734,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: - - *446 - - *447 + - *444 + - *445 responses: '201': description: Response @@ -61727,8 +61765,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: - - *446 - - *447 + - *444 + - *445 - *66 responses: '200': @@ -61758,8 +61796,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: - - *446 - - *447 + - *444 + - *445 - *66 responses: '204': @@ -61786,8 +61824,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: - - *446 - - *447 + - *444 + - *445 - *66 responses: '200': *72 @@ -61812,8 +61850,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: - - *446 - - *447 + - *444 + - *445 - *66 requestBody: required: true @@ -61862,8 +61900,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: - - *446 - - *447 + - *444 + - *445 - *66 requestBody: required: true @@ -61913,8 +61951,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: - - *446 - - *447 + - *444 + - *445 - *66 responses: '200': *262 @@ -61944,8 +61982,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: - - *446 - - *447 + - *444 + - *445 - *66 - *263 responses: @@ -61975,9 +62013,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *446 - - *447 - - &491 + - *444 + - *445 + - &489 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -61985,7 +62023,7 @@ paths: required: false schema: type: string - - &492 + - &490 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -61993,7 +62031,7 @@ paths: required: false schema: type: string - - &493 + - &491 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -62002,7 +62040,7 @@ paths: required: false schema: type: string - - &494 + - &492 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -62029,7 +62067,7 @@ paths: - pending - *17 - *19 - - &495 + - &493 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -62038,7 +62076,7 @@ paths: schema: type: string format: date-time - - &474 + - &472 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -62047,13 +62085,13 @@ paths: schema: type: boolean default: false - - &496 + - &494 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &497 + - &495 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -62076,7 +62114,7 @@ paths: type: integer workflow_runs: type: array - items: &475 + items: &473 title: Workflow Run description: An invocation of a workflow type: object @@ -62224,7 +62262,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &519 + properties: &517 id: type: string description: SHA for the commit @@ -62275,7 +62313,7 @@ paths: - name - email nullable: true - required: &520 + required: &518 - id - tree_id - message @@ -62322,7 +62360,7 @@ paths: - workflow_url - pull_requests examples: - default: &498 + default: &496 value: total_count: 1 workflow_runs: @@ -62558,24 +62596,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *446 - - *447 - - &476 + - *444 + - *445 + - &474 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *474 + - *472 responses: '200': description: Response content: application/json: - schema: *475 + schema: *473 examples: - default: &479 + default: &477 value: id: 30433642 name: Build @@ -62816,9 +62854,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *446 - - *447 - - *476 + - *444 + - *445 + - *474 responses: '204': description: Response @@ -62841,9 +62879,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *446 - - *447 - - *476 + - *444 + - *445 + - *474 responses: '200': description: Response @@ -62962,9 +63000,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: - - *446 - - *447 - - *476 + - *444 + - *445 + - *474 responses: '201': description: Response @@ -62997,12 +63035,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *446 - - *447 - - *476 + - *444 + - *445 + - *474 - *17 - *19 - - *477 + - *475 responses: '200': description: Response @@ -63018,9 +63056,9 @@ paths: type: integer artifacts: type: array - items: *463 + items: *461 examples: - default: *478 + default: *476 headers: Link: *43 x-github: @@ -63044,25 +63082,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *446 - - *447 - - *476 - - &480 + - *444 + - *445 + - *474 + - &478 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *474 + - *472 responses: '200': description: Response content: application/json: - schema: *475 + schema: *473 examples: - default: *479 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63085,10 +63123,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *446 - - *447 - - *476 - - *480 + - *444 + - *445 + - *474 + - *478 - *17 - *19 responses: @@ -63106,9 +63144,9 @@ paths: type: integer jobs: type: array - items: *481 + items: *479 examples: - default: &482 + default: &480 value: total_count: 1 jobs: @@ -63221,10 +63259,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *446 - - *447 - - *476 - - *480 + - *444 + - *445 + - *474 + - *478 responses: '302': description: Response @@ -63252,9 +63290,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *446 - - *447 - - *476 + - *444 + - *445 + - *474 responses: '202': description: Response @@ -63287,9 +63325,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *446 - - *447 - - *476 + - *444 + - *445 + - *474 requestBody: required: true content: @@ -63356,9 +63394,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *446 - - *447 - - *476 + - *444 + - *445 + - *474 responses: '202': description: Response @@ -63391,9 +63429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *446 - - *447 - - *476 + - *444 + - *445 + - *474 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -63423,9 +63461,9 @@ paths: type: integer jobs: type: array - items: *481 + items: *479 examples: - default: *482 + default: *480 headers: Link: *43 x-github: @@ -63450,9 +63488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *446 - - *447 - - *476 + - *444 + - *445 + - *474 responses: '302': description: Response @@ -63479,9 +63517,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *446 - - *447 - - *476 + - *444 + - *445 + - *474 responses: '204': description: Response @@ -63508,9 +63546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *446 - - *447 - - *476 + - *444 + - *445 + - *474 responses: '200': description: Response @@ -63570,7 +63608,7 @@ paths: items: type: object properties: - type: &604 + type: &602 type: string description: The type of reviewer. enum: @@ -63655,9 +63693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *446 - - *447 - - *476 + - *444 + - *445 + - *474 requestBody: required: true content: @@ -63704,7 +63742,7 @@ paths: application/json: schema: type: array - items: &590 + items: &588 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -63810,7 +63848,7 @@ paths: - created_at - updated_at examples: - default: &591 + default: &589 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -63866,9 +63904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *446 - - *447 - - *476 + - *444 + - *445 + - *474 requestBody: required: false content: @@ -63912,9 +63950,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *446 - - *447 - - *476 + - *444 + - *445 + - *474 requestBody: required: false content: @@ -63968,9 +64006,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *446 - - *447 - - *476 + - *444 + - *445 + - *474 responses: '200': description: Response @@ -64107,8 +64145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 responses: @@ -64126,9 +64164,9 @@ paths: type: integer secrets: type: array - items: *483 + items: *481 examples: - default: *484 + default: *482 headers: Link: *43 x-github: @@ -64153,16 +64191,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: *485 + schema: *483 examples: - default: *486 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64184,17 +64222,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *446 - - *447 + - *444 + - *445 - *265 responses: '200': description: Response content: application/json: - schema: *483 + schema: *481 examples: - default: &617 + default: &615 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -64220,8 +64258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *446 - - *447 + - *444 + - *445 - *265 requestBody: required: true @@ -64279,8 +64317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *446 - - *447 + - *444 + - *445 - *265 responses: '204': @@ -64306,9 +64344,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *446 - - *447 - - *470 + - *444 + - *445 + - *468 - *19 responses: '200': @@ -64325,9 +64363,9 @@ paths: type: integer variables: type: array - items: *487 + items: *485 examples: - default: *488 + default: *486 headers: Link: *43 x-github: @@ -64350,8 +64388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -64403,17 +64441,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *446 - - *447 + - *444 + - *445 - *268 responses: '200': description: Response content: application/json: - schema: *487 + schema: *485 examples: - default: &618 + default: &616 value: name: USERNAME value: octocat @@ -64439,8 +64477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *446 - - *447 + - *444 + - *445 - *268 requestBody: required: true @@ -64483,8 +64521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *446 - - *447 + - *444 + - *445 - *268 responses: '204': @@ -64510,8 +64548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 responses: @@ -64529,7 +64567,7 @@ paths: type: integer workflows: type: array - items: &489 + items: &487 title: Workflow description: A GitHub Actions workflow type: object @@ -64636,9 +64674,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *446 - - *447 - - &490 + - *444 + - *445 + - &488 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -64653,7 +64691,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *487 examples: default: value: @@ -64686,9 +64724,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *446 - - *447 - - *490 + - *444 + - *445 + - *488 responses: '204': description: Response @@ -64713,9 +64751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *446 - - *447 - - *490 + - *444 + - *445 + - *488 responses: '204': description: Response @@ -64766,9 +64804,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *446 - - *447 - - *490 + - *444 + - *445 + - *488 responses: '204': description: Response @@ -64795,19 +64833,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *446 - - *447 + - *444 + - *445 + - *488 + - *489 - *490 - *491 - *492 - - *493 - - *494 - *17 - *19 + - *493 + - *472 + - *494 - *495 - - *474 - - *496 - - *497 responses: '200': description: Response @@ -64823,9 +64861,9 @@ paths: type: integer workflow_runs: type: array - items: *475 + items: *473 examples: - default: *498 + default: *496 headers: Link: *43 x-github: @@ -64858,9 +64896,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *446 - - *447 - - *490 + - *444 + - *445 + - *488 responses: '200': description: Response @@ -64921,8 +64959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *446 - - *447 + - *444 + - *445 - *101 - *17 - *99 @@ -65086,8 +65124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 responses: @@ -65124,8 +65162,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *446 - - *447 + - *444 + - *445 - name: assignee in: path required: true @@ -65161,8 +65199,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -65274,8 +65312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *99 - *100 @@ -65331,7 +65369,7 @@ paths: initiator: type: string examples: - default: *499 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65351,8 +65389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -65360,7 +65398,7 @@ paths: application/json: schema: type: array - items: &500 + items: &498 title: Autolink reference description: An autolink reference. type: object @@ -65414,8 +65452,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -65454,9 +65492,9 @@ paths: description: response content: application/json: - schema: *500 + schema: *498 examples: - default: &501 + default: &499 value: id: 1 key_prefix: TICKET- @@ -65487,9 +65525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *446 - - *447 - - &502 + - *444 + - *445 + - &500 name: autolink_id description: The unique identifier of the autolink. in: path @@ -65501,9 +65539,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *498 examples: - default: *501 + default: *499 '404': *6 x-github: githubCloudOnly: false @@ -65523,9 +65561,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *446 - - *447 - - *502 + - *444 + - *445 + - *500 responses: '204': description: Response @@ -65549,8 +65587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response if Dependabot is enabled @@ -65598,8 +65636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *446 - - *447 + - *444 + - *445 responses: '204': description: Response @@ -65620,8 +65658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *446 - - *447 + - *444 + - *445 responses: '204': description: Response @@ -65641,8 +65679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *446 - - *447 + - *444 + - *445 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -65680,7 +65718,7 @@ paths: - url protected: type: boolean - protection: &504 + protection: &502 title: Branch Protection description: Branch Protection type: object @@ -65722,7 +65760,7 @@ paths: required: - contexts - checks - enforce_admins: &507 + enforce_admins: &505 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -65737,7 +65775,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &509 + required_pull_request_reviews: &507 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -65813,7 +65851,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &506 + restrictions: &504 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -66090,9 +66128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *446 - - *447 - - &505 + - *444 + - *445 + - &503 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -66106,14 +66144,14 @@ paths: description: Response content: application/json: - schema: &515 + schema: &513 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &564 + commit: &562 title: Commit description: Commit type: object @@ -66147,7 +66185,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &503 + properties: &501 name: type: string example: '"Chris Wanstrath"' @@ -66162,7 +66200,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *503 + properties: *501 nullable: true message: type: string @@ -66183,7 +66221,7 @@ paths: required: - sha - url - verification: &624 + verification: &622 title: Verification type: object properties: @@ -66253,7 +66291,7 @@ paths: type: integer files: type: array - items: &577 + items: &575 title: Diff Entry description: Diff Entry type: object @@ -66337,7 +66375,7 @@ paths: - self protected: type: boolean - protection: *504 + protection: *502 protection_url: type: string format: uri @@ -66444,7 +66482,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *460 + '301': *458 '404': *6 x-github: githubCloudOnly: false @@ -66466,15 +66504,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 responses: '200': description: Response content: application/json: - schema: *504 + schema: *502 examples: default: value: @@ -66668,9 +66706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 requestBody: required: true content: @@ -66925,7 +66963,7 @@ paths: url: type: string format: uri - required_status_checks: &512 + required_status_checks: &510 title: Status Check Policy description: Status Check Policy type: object @@ -67077,7 +67115,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *506 + restrictions: *504 required_conversation_resolution: type: object properties: @@ -67189,9 +67227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 responses: '204': description: Response @@ -67216,17 +67254,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 responses: '200': description: Response content: application/json: - schema: *507 + schema: *505 examples: - default: &508 + default: &506 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -67248,17 +67286,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 responses: '200': description: Response content: application/json: - schema: *507 + schema: *505 examples: - default: *508 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67277,9 +67315,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 responses: '204': description: Response @@ -67304,17 +67342,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 responses: '200': description: Response content: application/json: - schema: *509 + schema: *507 examples: - default: &510 + default: &508 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -67410,9 +67448,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 requestBody: required: false content: @@ -67510,9 +67548,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *507 examples: - default: *510 + default: *508 '422': *15 x-github: githubCloudOnly: false @@ -67533,9 +67571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 responses: '204': description: Response @@ -67562,17 +67600,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 responses: '200': description: Response content: application/json: - schema: *507 + schema: *505 examples: - default: &511 + default: &509 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -67595,17 +67633,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 responses: '200': description: Response content: application/json: - schema: *507 + schema: *505 examples: - default: *511 + default: *509 '404': *6 x-github: githubCloudOnly: false @@ -67625,9 +67663,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 responses: '204': description: Response @@ -67652,17 +67690,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 responses: '200': description: Response content: application/json: - schema: *512 + schema: *510 examples: - default: &513 + default: &511 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -67688,9 +67726,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 requestBody: required: false content: @@ -67742,9 +67780,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *510 examples: - default: *513 + default: *511 '404': *6 '422': *15 x-github: @@ -67766,9 +67804,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 responses: '204': description: Response @@ -67792,9 +67830,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 responses: '200': description: Response @@ -67828,9 +67866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 requestBody: required: false content: @@ -67897,9 +67935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 requestBody: required: false content: @@ -67963,9 +68001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 requestBody: content: application/json: @@ -68031,15 +68069,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 responses: '200': description: Response content: application/json: - schema: *506 + schema: *504 examples: default: value: @@ -68130,9 +68168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 responses: '204': description: Response @@ -68155,9 +68193,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 responses: '200': description: Response @@ -68167,7 +68205,7 @@ paths: type: array items: *5 examples: - default: &514 + default: &512 value: - id: 1 slug: octoapp @@ -68224,9 +68262,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 requestBody: required: true content: @@ -68260,7 +68298,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *512 '422': *15 x-github: githubCloudOnly: false @@ -68281,9 +68319,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 requestBody: required: true content: @@ -68317,7 +68355,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *512 '422': *15 x-github: githubCloudOnly: false @@ -68338,9 +68376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 requestBody: required: true content: @@ -68374,7 +68412,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *512 '422': *15 x-github: githubCloudOnly: false @@ -68396,9 +68434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 responses: '200': description: Response @@ -68408,7 +68446,7 @@ paths: type: array items: *282 examples: - default: *357 + default: *355 '404': *6 x-github: githubCloudOnly: false @@ -68428,9 +68466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 requestBody: required: false content: @@ -68468,7 +68506,7 @@ paths: type: array items: *282 examples: - default: *357 + default: *355 '422': *15 x-github: githubCloudOnly: false @@ -68489,9 +68527,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 requestBody: required: false content: @@ -68529,7 +68567,7 @@ paths: type: array items: *282 examples: - default: *357 + default: *355 '422': *15 x-github: githubCloudOnly: false @@ -68550,9 +68588,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 requestBody: content: application/json: @@ -68589,7 +68627,7 @@ paths: type: array items: *282 examples: - default: *357 + default: *355 '422': *15 x-github: githubCloudOnly: false @@ -68611,9 +68649,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 responses: '200': description: Response @@ -68647,9 +68685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 requestBody: required: true content: @@ -68707,9 +68745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 requestBody: required: true content: @@ -68767,9 +68805,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 requestBody: required: true content: @@ -68829,9 +68867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 requestBody: required: true content: @@ -68853,7 +68891,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *513 examples: default: value: @@ -68967,8 +69005,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *446 - - *447 + - *444 + - *445 - *94 - *95 - *96 @@ -69004,8 +69042,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *446 - - *447 + - *444 + - *445 - name: bypass_request_number in: path required: true @@ -69078,8 +69116,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *444 + - *445 - *94 - *95 - *96 @@ -69119,8 +69157,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *444 + - *445 - name: bypass_request_number in: path required: true @@ -69190,8 +69228,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *444 + - *445 - name: bypass_request_number in: path required: true @@ -69262,8 +69300,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *444 + - *445 - name: bypass_response_id in: path required: true @@ -69296,8 +69334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -69576,7 +69614,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &514 title: CheckRun description: A check performed on the code of a given code change type: object @@ -69696,7 +69734,7 @@ paths: check. type: array items: *194 - deployment: &843 + deployment: &841 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -69976,9 +70014,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *446 - - *447 - - &517 + - *444 + - *445 + - &515 name: check_run_id description: The unique identifier of the check run. in: path @@ -69990,9 +70028,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *514 examples: - default: &518 + default: &516 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -70092,9 +70130,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *446 - - *447 - - *517 + - *444 + - *445 + - *515 requestBody: required: true content: @@ -70334,9 +70372,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *514 examples: - default: *518 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70356,9 +70394,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *446 - - *447 - - *517 + - *444 + - *445 + - *515 - *17 - *19 responses: @@ -70453,9 +70491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *446 - - *447 - - *517 + - *444 + - *445 + - *515 responses: '201': description: Response @@ -70499,8 +70537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -70522,7 +70560,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &521 + schema: &519 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -70608,12 +70646,12 @@ paths: type: string format: date-time nullable: true - head_commit: &869 + head_commit: &867 title: Simple Commit description: A commit. type: object - properties: *519 - required: *520 + properties: *517 + required: *518 latest_check_runs_count: type: integer check_runs_url: @@ -70641,7 +70679,7 @@ paths: - check_runs_url - pull_requests examples: - default: &522 + default: &520 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -70932,9 +70970,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *521 + schema: *519 examples: - default: *522 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70953,8 +70991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -71263,9 +71301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *446 - - *447 - - &523 + - *444 + - *445 + - &521 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -71277,9 +71315,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *519 examples: - default: *522 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71302,17 +71340,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *446 - - *447 - - *523 - - &570 + - *444 + - *445 + - *521 + - &568 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &571 + - &569 name: status description: Returns check runs with the specified `status`. in: query @@ -71351,9 +71389,9 @@ paths: type: integer check_runs: type: array - items: *516 + items: *514 examples: - default: &572 + default: &570 value: total_count: 1 check_runs: @@ -71455,9 +71493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *446 - - *447 - - *523 + - *444 + - *445 + - *521 responses: '201': description: Response @@ -71490,21 +71528,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: - - *446 - - *447 + - *444 + - *445 - *286 - *287 - *19 - *17 - - &539 + - &537 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *524 - - &540 + schema: *522 + - &538 name: pr description: The number of the pull request for the results you want to list. in: query @@ -71535,7 +71573,7 @@ paths: be returned. in: query required: false - schema: *525 + schema: *523 responses: '200': description: Response @@ -71551,7 +71589,7 @@ paths: updated_at: *121 url: *118 html_url: *119 - instances_url: *526 + instances_url: *524 state: *104 fixed_at: *123 dismissed_by: @@ -71562,11 +71600,11 @@ paths: required: *21 nullable: true dismissed_at: *122 - dismissed_reason: *527 - dismissed_comment: *528 - rule: *529 - tool: *530 - most_recent_instance: *531 + dismissed_reason: *525 + dismissed_comment: *526 + rule: *527 + tool: *528 + most_recent_instance: *529 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -71692,7 +71730,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &532 + '403': &530 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -71719,9 +71757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *446 - - *447 - - &533 + - *444 + - *445 + - &531 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -71735,7 +71773,7 @@ paths: description: Response content: application/json: - schema: &534 + schema: &532 type: object properties: number: *113 @@ -71743,7 +71781,7 @@ paths: updated_at: *121 url: *118 html_url: *119 - instances_url: *526 + instances_url: *524 state: *104 fixed_at: *123 dismissed_by: @@ -71754,8 +71792,8 @@ paths: required: *21 nullable: true dismissed_at: *122 - dismissed_reason: *527 - dismissed_comment: *528 + dismissed_reason: *525 + dismissed_comment: *526 rule: type: object properties: @@ -71809,8 +71847,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *530 - most_recent_instance: *531 + tool: *528 + most_recent_instance: *529 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -71909,7 +71947,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *532 + '403': *530 '404': *6 '503': *167 x-github: @@ -71929,9 +71967,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *446 - - *447 - - *533 + - *444 + - *445 + - *531 requestBody: required: true content: @@ -71946,8 +71984,8 @@ paths: enum: - open - dismissed - dismissed_reason: *527 - dismissed_comment: *528 + dismissed_reason: *525 + dismissed_comment: *526 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -71966,7 +72004,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *532 examples: default: value: @@ -72042,7 +72080,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &538 + '403': &536 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -72069,15 +72107,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *446 - - *447 - - *533 + - *444 + - *445 + - *531 responses: '200': description: Response content: application/json: - schema: &535 + schema: &533 type: object properties: status: @@ -72103,13 +72141,13 @@ paths: - description - started_at examples: - default: &536 + default: &534 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &537 + '400': &535 description: Bad Request content: application/json: @@ -72120,7 +72158,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': *532 + '403': *530 '404': *6 '503': *167 x-github: @@ -72145,29 +72183,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *446 - - *447 - - *533 + - *444 + - *445 + - *531 responses: '200': description: OK content: application/json: - schema: *535 + schema: *533 examples: - default: *536 + default: *534 '202': description: Accepted content: application/json: - schema: *535 + schema: *533 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *537 + '400': *535 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -72199,9 +72237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *446 - - *447 - - *533 + - *444 + - *445 + - *531 requestBody: required: false content: @@ -72246,8 +72284,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *537 - '403': *538 + '400': *535 + '403': *536 '404': *6 '422': description: Unprocessable Entity @@ -72271,13 +72309,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *446 - - *447 - - *533 + - *444 + - *445 + - *531 - *19 - *17 - - *539 - - *540 + - *537 + - *538 responses: '200': description: Response @@ -72285,7 +72323,7 @@ paths: application/json: schema: type: array - items: *531 + items: *529 examples: default: value: @@ -72324,7 +72362,7 @@ paths: end_column: 50 classifications: - source - '403': *532 + '403': *530 '404': *6 '503': *167 x-github: @@ -72358,25 +72396,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: - - *446 - - *447 + - *444 + - *445 - *286 - *287 - *19 - *17 - - *540 + - *538 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *524 + schema: *522 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &543 + schema: &541 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -72397,23 +72435,23 @@ paths: application/json: schema: type: array - items: &544 + items: &542 type: object properties: - ref: *524 - commit_sha: &552 + ref: *522 + commit_sha: &550 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *541 + analysis_key: *539 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *542 + category: *540 error: type: string example: error reading field xyz @@ -72437,8 +72475,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *543 - tool: *530 + sarif_id: *541 + tool: *528 deletable: type: boolean warning: @@ -72499,7 +72537,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *532 + '403': *530 '404': *6 '503': *167 x-github: @@ -72535,8 +72573,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72549,7 +72587,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *542 examples: response: summary: application/json response @@ -72603,7 +72641,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *532 + '403': *530 '404': *6 '422': description: Response if analysis could not be processed @@ -72690,8 +72728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *446 - - *447 + - *444 + - *445 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72744,7 +72782,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': *538 + '403': *536 '404': *6 '503': *167 x-github: @@ -72766,8 +72804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -72775,7 +72813,7 @@ paths: application/json: schema: type: array - items: &545 + items: &543 title: CodeQL Database description: A CodeQL database. type: object @@ -72886,7 +72924,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': *532 + '403': *530 '404': *6 '503': *167 x-github: @@ -72915,8 +72953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 - name: language in: path description: The language of the CodeQL database. @@ -72928,7 +72966,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *543 examples: default: value: @@ -72960,9 +72998,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': &579 + '302': &577 description: Found - '403': *532 + '403': *530 '404': *6 '503': *167 x-github: @@ -72984,8 +73022,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *446 - - *447 + - *444 + - *445 - name: language in: path description: The language of the CodeQL database. @@ -72995,7 +73033,7 @@ paths: responses: '204': description: Response - '403': *538 + '403': *536 '404': *6 '503': *167 x-github: @@ -73023,8 +73061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -73033,7 +73071,7 @@ paths: type: object additionalProperties: false properties: - language: &546 + language: &544 type: string description: The language targeted by the CodeQL query enum: @@ -73112,7 +73150,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &550 + schema: &548 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -73122,7 +73160,7 @@ paths: description: The ID of the variant analysis. controller_repo: *110 actor: *4 - query_language: *546 + query_language: *544 query_pack_url: type: string description: The download url for the query pack. @@ -73169,7 +73207,7 @@ paths: items: type: object properties: - repository: &547 + repository: &545 title: Repository Identifier description: Repository Identifier type: object @@ -73205,7 +73243,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &551 + analysis_status: &549 type: string description: The new status of the CodeQL variant analysis repository task. @@ -73237,7 +73275,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &548 + access_mismatch_repos: &546 type: object properties: repository_count: @@ -73251,7 +73289,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *547 + items: *545 required: - repository_count - repositories @@ -73273,8 +73311,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *548 - over_limit_repos: *548 + no_codeql_db_repos: *546 + over_limit_repos: *546 required: - access_mismatch_repos - not_found_repos @@ -73290,7 +73328,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &549 + value: &547 summary: Default response value: id: 1 @@ -73442,10 +73480,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *549 + value: *547 repository_lists: summary: Response for a successful variant analysis submission - value: *549 + value: *547 '404': *6 '422': description: Unable to process variant analysis submission @@ -73473,8 +73511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *446 - - *447 + - *444 + - *445 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -73486,9 +73524,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *548 examples: - default: *549 + default: *547 '404': *6 '503': *167 x-github: @@ -73511,7 +73549,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *446 + - *444 - name: repo in: path description: The name of the controller repository. @@ -73546,7 +73584,7 @@ paths: type: object properties: repository: *110 - analysis_status: *551 + analysis_status: *549 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -73671,8 +73709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -73757,7 +73795,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *532 + '403': *530 '404': *6 '503': *167 x-github: @@ -73778,8 +73816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -73871,7 +73909,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *538 + '403': *536 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -73942,8 +73980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -73951,7 +73989,7 @@ paths: schema: type: object properties: - commit_sha: *552 + commit_sha: *550 ref: type: string description: |- @@ -74009,7 +74047,7 @@ paths: schema: type: object properties: - id: *543 + id: *541 url: type: string description: The REST API URL for checking the status of the upload. @@ -74023,7 +74061,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': *538 + '403': *536 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -74046,8 +74084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *446 - - *447 + - *444 + - *445 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -74093,7 +74131,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': *532 + '403': *530 '404': description: Not Found if the sarif id does not match any upload '503': *167 @@ -74118,8 +74156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -74200,8 +74238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *446 - - *447 + - *444 + - *445 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -74321,8 +74359,8 @@ paths: parameters: - *17 - *19 - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -74338,7 +74376,7 @@ paths: type: integer codespaces: type: array - items: *347 + items: *345 examples: default: value: @@ -74636,8 +74674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -74700,17 +74738,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *347 + schema: *345 examples: - default: *553 + default: *551 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *347 + schema: *345 examples: - default: *553 + default: *551 '400': *14 '401': *25 '403': *29 @@ -74739,8 +74777,8 @@ paths: parameters: - *17 - *19 - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -74804,8 +74842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -74840,14 +74878,14 @@ paths: type: integer machines: type: array - items: &795 + items: &793 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *554 - required: *555 + properties: *552 + required: *553 examples: - default: &796 + default: &794 value: total_count: 2 machines: @@ -74887,8 +74925,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *446 - - *447 + - *444 + - *445 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -74972,8 +75010,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *446 - - *447 + - *444 + - *445 - 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 @@ -75039,8 +75077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 responses: @@ -75058,7 +75096,7 @@ paths: type: integer secrets: type: array - items: &559 + items: &557 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -75078,7 +75116,7 @@ paths: - created_at - updated_at examples: - default: *556 + default: *554 headers: Link: *43 x-github: @@ -75101,16 +75139,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: *557 + schema: *555 examples: - default: *558 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -75130,17 +75168,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *446 - - *447 + - *444 + - *445 - *265 responses: '200': description: Response content: application/json: - schema: *559 + schema: *557 examples: - default: *560 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75160,8 +75198,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: - - *446 - - *447 + - *444 + - *445 - *265 requestBody: required: true @@ -75214,8 +75252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *446 - - *447 + - *444 + - *445 - *265 responses: '204': @@ -75244,8 +75282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *446 - - *447 + - *444 + - *445 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -75287,7 +75325,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &561 + properties: &559 login: type: string example: octocat @@ -75380,7 +75418,7 @@ paths: user_view_type: type: string example: public - required: &562 + required: &560 - avatar_url - events_url - followers_url @@ -75454,8 +75492,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: - - *446 - - *447 + - *444 + - *445 - *182 responses: '204': @@ -75502,8 +75540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *446 - - *447 + - *444 + - *445 - *182 requestBody: required: false @@ -75530,7 +75568,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &637 + schema: &635 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -75759,8 +75797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *446 - - *447 + - *444 + - *445 - *182 responses: '204': @@ -75792,8 +75830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *446 - - *447 + - *444 + - *445 - *182 responses: '200': @@ -75814,8 +75852,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *561 - required: *562 + properties: *559 + required: *560 nullable: true required: - permission @@ -75870,8 +75908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 responses: @@ -75881,7 +75919,7 @@ paths: application/json: schema: type: array - items: &563 + items: &561 title: Commit Comment description: Commit Comment type: object @@ -75939,7 +75977,7 @@ paths: - created_at - updated_at examples: - default: &566 + default: &564 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75998,17 +76036,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *446 - - *447 + - *444 + - *445 - *205 responses: '200': description: Response content: application/json: - schema: *563 + schema: *561 examples: - default: &567 + default: &565 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76065,8 +76103,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *446 - - *447 + - *444 + - *445 - *205 requestBody: required: true @@ -76089,7 +76127,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *561 examples: default: value: @@ -76140,8 +76178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *446 - - *447 + - *444 + - *445 - *205 responses: '204': @@ -76163,8 +76201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *446 - - *447 + - *444 + - *445 - *205 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -76191,9 +76229,9 @@ paths: application/json: schema: type: array - items: *435 + items: *433 examples: - default: *437 + default: *435 headers: Link: *43 '404': *6 @@ -76214,8 +76252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *446 - - *447 + - *444 + - *445 - *205 requestBody: required: true @@ -76248,16 +76286,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *433 examples: - default: *436 + default: *434 '201': description: Reaction created content: application/json: - schema: *435 + schema: *433 examples: - default: *436 + default: *434 '422': *15 x-github: githubCloudOnly: false @@ -76279,10 +76317,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *446 - - *447 + - *444 + - *445 - *205 - - *438 + - *436 responses: '204': description: Response @@ -76331,8 +76369,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *446 - - *447 + - *444 + - *445 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -76388,9 +76426,9 @@ paths: application/json: schema: type: array - items: *564 + items: *562 examples: - default: &686 + default: &684 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -76484,9 +76522,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *446 - - *447 - - &565 + - *444 + - *445 + - &563 name: commit_sha description: The SHA of the commit. in: path @@ -76558,9 +76596,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *446 - - *447 - - *565 + - *444 + - *445 + - *563 - *17 - *19 responses: @@ -76570,9 +76608,9 @@ paths: application/json: schema: type: array - items: *563 + items: *561 examples: - default: *566 + default: *564 headers: Link: *43 x-github: @@ -76600,9 +76638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *446 - - *447 - - *565 + - *444 + - *445 + - *563 requestBody: required: true content: @@ -76637,9 +76675,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *561 examples: - default: *567 + default: *565 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76667,9 +76705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *446 - - *447 - - *565 + - *444 + - *445 + - *563 - *17 - *19 responses: @@ -76679,9 +76717,9 @@ paths: application/json: schema: type: array - items: *568 + items: *566 examples: - default: &678 + default: &676 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -77218,11 +77256,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *446 - - *447 + - *444 + - *445 - *19 - *17 - - &569 + - &567 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -77237,9 +77275,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *562 examples: - default: &665 + default: &663 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -77352,11 +77390,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *446 - - *447 + - *444 + - *445 + - *567 + - *568 - *569 - - *570 - - *571 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -77390,9 +77428,9 @@ paths: type: integer check_runs: type: array - items: *516 + items: *514 examples: - default: *572 + default: *570 headers: Link: *43 x-github: @@ -77417,9 +77455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *446 - - *447 - - *569 + - *444 + - *445 + - *567 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -77427,7 +77465,7 @@ paths: schema: type: integer example: 1 - - *570 + - *568 - *17 - *19 responses: @@ -77445,7 +77483,7 @@ paths: type: integer check_suites: type: array - items: *521 + items: *519 examples: default: value: @@ -77645,9 +77683,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *446 - - *447 - - *569 + - *444 + - *445 + - *567 - *17 - *19 responses: @@ -77845,9 +77883,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *446 - - *447 - - *569 + - *444 + - *445 + - *567 - *17 - *19 responses: @@ -77857,7 +77895,7 @@ paths: application/json: schema: type: array - items: &740 + items: &738 title: Status description: The status of a commit. type: object @@ -77938,7 +77976,7 @@ paths: site_admin: false headers: Link: *43 - '301': *460 + '301': *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77966,8 +78004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -77996,20 +78034,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *573 - required: *574 + properties: *571 + required: *572 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &575 + properties: &573 url: type: string format: uri html_url: type: string format: uri - required: &576 + required: &574 - url - html_url nullable: true @@ -78023,26 +78061,26 @@ paths: contributing: title: Community Health File type: object - properties: *575 - required: *576 + properties: *573 + required: *574 nullable: true readme: title: Community Health File type: object - properties: *575 - required: *576 + properties: *573 + required: *574 nullable: true issue_template: title: Community Health File type: object - properties: *575 - required: *576 + properties: *573 + required: *574 nullable: true pull_request_template: title: Community Health File type: object - properties: *575 - required: *576 + properties: *573 + required: *574 nullable: true required: - code_of_conduct @@ -78169,8 +78207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *446 - - *447 + - *444 + - *445 - *19 - *17 - name: basehead @@ -78213,8 +78251,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *564 - merge_base_commit: *564 + base_commit: *562 + merge_base_commit: *562 status: type: string enum: @@ -78234,10 +78272,10 @@ paths: example: 6 commits: type: array - items: *564 + items: *562 files: type: array - items: *577 + items: *575 required: - url - html_url @@ -78523,8 +78561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *446 - - *447 + - *444 + - *445 - name: path description: path parameter in: path @@ -78667,7 +78705,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &578 + response-if-content-is-a-file: &576 summary: Response if content is a file value: type: file @@ -78799,7 +78837,7 @@ paths: - size - type - url - - &691 + - &689 title: Content File description: Content File type: object @@ -79000,7 +79038,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *578 + response-if-content-is-a-file: *576 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -79069,7 +79107,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *579 + '302': *577 '304': *37 x-github: githubCloudOnly: false @@ -79092,8 +79130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *446 - - *447 + - *444 + - *445 - name: path description: path parameter in: path @@ -79186,7 +79224,7 @@ paths: description: Response content: application/json: - schema: &580 + schema: &578 title: File Commit description: File Commit type: object @@ -79338,7 +79376,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *578 examples: example-for-creating-a-file: value: @@ -79392,7 +79430,7 @@ paths: schema: oneOf: - *3 - - &619 + - &617 description: Repository rule violation was detected type: object properties: @@ -79413,7 +79451,7 @@ paths: items: type: object properties: - placeholder_id: &732 + placeholder_id: &730 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -79445,8 +79483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *446 - - *447 + - *444 + - *445 - name: path description: path parameter in: path @@ -79507,7 +79545,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *578 examples: default: value: @@ -79562,8 +79600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *446 - - *447 + - *444 + - *445 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -79686,8 +79724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 - *303 - *304 - *305 @@ -79699,18 +79737,10 @@ paths: schema: type: string - *307 - - *581 + - *579 - *308 - *309 - *101 - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - 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)." @@ -79721,8 +79751,6 @@ paths: default: 30 - *99 - *100 - - *310 - - *311 responses: '200': description: Response @@ -79730,7 +79758,7 @@ paths: application/json: schema: type: array - items: &584 + items: &582 type: object description: A Dependabot alert. properties: @@ -79776,7 +79804,7 @@ paths: - unknown - direct - transitive - security_advisory: *582 + security_advisory: *580 security_vulnerability: *117 url: *118 html_url: *119 @@ -79807,7 +79835,7 @@ paths: nullable: true maxLength: 280 fixed_at: *123 - auto_dismissed_at: *583 + auto_dismissed_at: *581 required: - number - state @@ -80037,9 +80065,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *446 - - *447 - - &585 + - *444 + - *445 + - &583 name: alert_number in: path description: |- @@ -80054,7 +80082,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *582 examples: default: value: @@ -80167,9 +80195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *446 - - *447 - - *585 + - *444 + - *445 + - *583 requestBody: required: true content: @@ -80214,7 +80242,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *582 examples: default: value: @@ -80343,8 +80371,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 responses: @@ -80362,7 +80390,7 @@ paths: type: integer secrets: type: array - items: &588 + items: &586 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -80415,16 +80443,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: *586 + schema: *584 examples: - default: *587 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80444,15 +80472,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *446 - - *447 + - *444 + - *445 - *265 responses: '200': description: Response content: application/json: - schema: *588 + schema: *586 examples: default: value: @@ -80478,8 +80506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *446 - - *447 + - *444 + - *445 - *265 requestBody: required: true @@ -80532,8 +80560,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *446 - - *447 + - *444 + - *445 - *265 responses: '204': @@ -80556,8 +80584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *446 - - *447 + - *444 + - *445 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -80717,8 +80745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -80957,8 +80985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -81033,7 +81061,7 @@ paths: - version - url additionalProperties: false - metadata: &589 + metadata: &587 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -81066,7 +81094,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *589 + metadata: *587 resolved: type: object description: A collection of resolved package dependencies. @@ -81079,7 +81107,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *589 + metadata: *587 relationship: type: string description: A notation of whether a dependency is requested @@ -81208,8 +81236,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *446 - - *447 + - *444 + - *445 - name: sha description: The SHA recorded at creation time. in: query @@ -81249,9 +81277,9 @@ paths: application/json: schema: type: array - items: *590 + items: *588 examples: - default: *591 + default: *589 headers: Link: *43 x-github: @@ -81317,8 +81345,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -81399,7 +81427,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *588 examples: simple-example: summary: Simple example @@ -81472,9 +81500,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *446 - - *447 - - &592 + - *444 + - *445 + - &590 name: deployment_id description: deployment_id parameter in: path @@ -81486,7 +81514,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *588 examples: default: value: @@ -81551,9 +81579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *446 - - *447 - - *592 + - *444 + - *445 + - *590 responses: '204': description: Response @@ -81575,9 +81603,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *446 - - *447 - - *592 + - *444 + - *445 + - *590 - *17 - *19 responses: @@ -81587,7 +81615,7 @@ paths: application/json: schema: type: array - items: &593 + items: &591 title: Deployment Status description: The status of a deployment. type: object @@ -81748,9 +81776,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *446 - - *447 - - *592 + - *444 + - *445 + - *590 requestBody: required: true content: @@ -81825,9 +81853,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *591 examples: - default: &594 + default: &592 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -81883,9 +81911,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *446 - - *447 - - *592 + - *444 + - *445 + - *590 - name: status_id in: path required: true @@ -81896,9 +81924,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *591 examples: - default: *594 + default: *592 '404': *6 x-github: githubCloudOnly: false @@ -81925,12 +81953,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *444 + - *445 + - *593 + - *594 - *595 - *596 - - *597 - - *598 - *17 - *19 responses: @@ -81940,9 +81968,9 @@ paths: application/json: schema: type: array - items: *599 + items: *597 examples: - default: *600 + default: *598 '404': *6 '403': *29 '500': *40 @@ -81966,8 +81994,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *444 + - *445 - name: alert_number in: path required: true @@ -81979,7 +82007,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *599 + schema: *597 examples: default: value: @@ -82035,8 +82063,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *444 + - *445 - name: alert_number in: path required: true @@ -82095,12 +82123,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *444 + - *445 - *94 - *95 - *96 - - *601 + - *599 - *17 - *19 responses: @@ -82110,9 +82138,9 @@ paths: application/json: schema: type: array - items: *602 + items: *600 examples: - default: *603 + default: *601 '404': *6 '403': *29 '500': *40 @@ -82137,8 +82165,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *444 + - *445 - name: alert_number in: path required: true @@ -82150,7 +82178,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *602 + schema: *600 examples: default: value: @@ -82208,8 +82236,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *444 + - *445 - name: alert_number in: path required: true @@ -82278,8 +82306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -82336,8 +82364,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 responses: @@ -82354,7 +82382,7 @@ paths: type: integer environments: type: array - items: &605 + items: &603 title: Environment description: Details of a deployment environment type: object @@ -82406,7 +82434,7 @@ paths: type: type: string example: wait_timer - wait_timer: &607 + wait_timer: &605 type: integer example: 30 description: The amount of time to delay a job after @@ -82443,7 +82471,7 @@ paths: items: type: object properties: - type: *604 + type: *602 reviewer: anyOf: - *4 @@ -82467,7 +82495,7 @@ paths: - id - node_id - type - deployment_branch_policy: &608 + deployment_branch_policy: &606 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -82583,9 +82611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *446 - - *447 - - &606 + - *444 + - *445 + - &604 name: environment_name in: path required: true @@ -82598,9 +82626,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *603 examples: - default: &609 + default: &607 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -82684,9 +82712,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *446 - - *447 - - *606 + - *444 + - *445 + - *604 requestBody: required: false content: @@ -82695,7 +82723,7 @@ paths: type: object nullable: true properties: - wait_timer: *607 + wait_timer: *605 prevent_self_review: type: boolean example: false @@ -82712,13 +82740,13 @@ paths: items: type: object properties: - type: *604 + type: *602 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *608 + deployment_branch_policy: *606 additionalProperties: false examples: default: @@ -82738,9 +82766,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *603 examples: - default: *609 + default: *607 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -82764,9 +82792,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *446 - - *447 - - *606 + - *444 + - *445 + - *604 responses: '204': description: Default response @@ -82791,9 +82819,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *446 - - *447 - - *606 + - *444 + - *445 + - *604 - *17 - *19 responses: @@ -82811,7 +82839,7 @@ paths: example: 2 branch_policies: type: array - items: &610 + items: &608 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -82868,9 +82896,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *446 - - *447 - - *606 + - *444 + - *445 + - *604 requestBody: required: true content: @@ -82916,9 +82944,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *608 examples: - example-wildcard: &611 + example-wildcard: &609 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -82960,10 +82988,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *446 - - *447 - - *606 - - &612 + - *444 + - *445 + - *604 + - &610 name: branch_policy_id in: path required: true @@ -82975,9 +83003,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *608 examples: - default: *611 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82996,10 +83024,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *446 - - *447 - - *606 - - *612 + - *444 + - *445 + - *604 + - *610 requestBody: required: true content: @@ -83027,9 +83055,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *608 examples: - default: *611 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83048,10 +83076,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *446 - - *447 - - *606 - - *612 + - *444 + - *445 + - *604 + - *610 responses: '204': description: Response @@ -83076,9 +83104,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *606 - - *447 - - *446 + - *604 + - *445 + - *444 responses: '200': description: List of deployment protection rules @@ -83094,7 +83122,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &613 + items: &611 title: Deployment protection rule description: Deployment protection rule type: object @@ -83113,7 +83141,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &614 + app: &612 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -83212,9 +83240,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *606 - - *447 - - *446 + - *604 + - *445 + - *444 requestBody: content: application/json: @@ -83235,9 +83263,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *613 + schema: *611 examples: - default: &615 + default: &613 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -83272,9 +83300,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *606 - - *447 - - *446 + - *604 + - *445 + - *444 - *19 - *17 responses: @@ -83293,7 +83321,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *614 + items: *612 examples: default: value: @@ -83328,10 +83356,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *446 - - *447 - - *606 - - &616 + - *444 + - *445 + - *604 + - &614 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -83343,9 +83371,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *611 examples: - default: *615 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83366,10 +83394,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *606 - - *447 - - *446 - - *616 + - *604 + - *445 + - *444 + - *614 responses: '204': description: Response @@ -83395,9 +83423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *446 - - *447 - - *606 + - *444 + - *445 + - *604 - *17 - *19 responses: @@ -83415,9 +83443,9 @@ paths: type: integer secrets: type: array - items: *483 + items: *481 examples: - default: *484 + default: *482 headers: Link: *43 x-github: @@ -83442,17 +83470,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *446 - - *447 - - *606 + - *444 + - *445 + - *604 responses: '200': description: Response content: application/json: - schema: *485 + schema: *483 examples: - default: *486 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83474,18 +83502,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *446 - - *447 - - *606 + - *444 + - *445 + - *604 - *265 responses: '200': description: Response content: application/json: - schema: *483 + schema: *481 examples: - default: *617 + default: *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83507,9 +83535,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *446 - - *447 - - *606 + - *444 + - *445 + - *604 - *265 requestBody: required: true @@ -83567,9 +83595,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *446 - - *447 - - *606 + - *444 + - *445 + - *604 - *265 responses: '204': @@ -83595,10 +83623,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *446 - - *447 - - *606 - - *470 + - *444 + - *445 + - *604 + - *468 - *19 responses: '200': @@ -83615,9 +83643,9 @@ paths: type: integer variables: type: array - items: *487 + items: *485 examples: - default: *488 + default: *486 headers: Link: *43 x-github: @@ -83640,9 +83668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *446 - - *447 - - *606 + - *444 + - *445 + - *604 requestBody: required: true content: @@ -83694,18 +83722,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *446 - - *447 - - *606 + - *444 + - *445 + - *604 - *268 responses: '200': description: Response content: application/json: - schema: *487 + schema: *485 examples: - default: *618 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83726,10 +83754,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *446 - - *447 + - *444 + - *445 - *268 - - *606 + - *604 requestBody: required: true content: @@ -83771,10 +83799,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *446 - - *447 + - *444 + - *445 - *268 - - *606 + - *604 responses: '204': description: Response @@ -83796,8 +83824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 responses: @@ -83865,8 +83893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *446 - - *447 + - *444 + - *445 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -84025,8 +84053,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: false content: @@ -84058,9 +84086,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *457 examples: - default: *461 + default: *459 '400': *14 '422': *15 '403': *29 @@ -84081,8 +84109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -84142,7 +84170,7 @@ paths: schema: oneOf: - *232 - - *619 + - *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84167,8 +84195,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *446 - - *447 + - *444 + - *445 - name: file_sha in: path required: true @@ -84267,8 +84295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -84377,7 +84405,7 @@ paths: description: Response content: application/json: - schema: &620 + schema: &618 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -84591,15 +84619,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *446 - - *447 - - *565 + - *444 + - *445 + - *563 responses: '200': description: Response content: application/json: - schema: *620 + schema: *618 examples: default: value: @@ -84655,9 +84683,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *446 - - *447 - - &621 + - *444 + - *445 + - &619 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -84674,7 +84702,7 @@ paths: application/json: schema: type: array - items: &622 + items: &620 title: Git Reference description: Git references within a repository type: object @@ -84749,17 +84777,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *446 - - *447 - - *621 + - *444 + - *445 + - *619 responses: '200': description: Response content: application/json: - schema: *622 + schema: *620 examples: - default: &623 + default: &621 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -84788,8 +84816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -84818,9 +84846,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *620 examples: - default: *623 + default: *621 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -84846,9 +84874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *446 - - *447 - - *621 + - *444 + - *445 + - *619 requestBody: required: true content: @@ -84877,9 +84905,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *620 examples: - default: *623 + default: *621 '422': *15 '409': *109 x-github: @@ -84897,9 +84925,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *446 - - *447 - - *621 + - *444 + - *445 + - *619 responses: '204': description: Response @@ -84954,8 +84982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -85022,7 +85050,7 @@ paths: description: Response content: application/json: - schema: &625 + schema: &623 title: Git Tag description: Metadata for a Git tag type: object @@ -85073,7 +85101,7 @@ paths: - sha - type - url - verification: *624 + verification: *622 required: - sha - url @@ -85083,7 +85111,7 @@ paths: - tag - message examples: - default: &626 + default: &624 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -85156,8 +85184,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *446 - - *447 + - *444 + - *445 - name: tag_sha in: path required: true @@ -85168,9 +85196,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *623 examples: - default: *626 + default: *624 '404': *6 '409': *109 x-github: @@ -85194,8 +85222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -85268,7 +85296,7 @@ paths: description: Response content: application/json: - schema: &627 + schema: &625 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -85364,8 +85392,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *446 - - *447 + - *444 + - *445 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -85388,7 +85416,7 @@ paths: description: Response content: application/json: - schema: *627 + schema: *625 examples: default-response: summary: Default response @@ -85447,8 +85475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 responses: @@ -85458,7 +85486,7 @@ paths: application/json: schema: type: array - items: &628 + items: &626 title: Webhook description: Webhooks for repositories. type: object @@ -85512,7 +85540,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &877 + last_response: &875 title: Hook Response type: object properties: @@ -85586,8 +85614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: false content: @@ -85639,9 +85667,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *626 examples: - default: &629 + default: &627 value: type: Repository id: 12345678 @@ -85689,17 +85717,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *446 - - *447 - - *319 + - *444 + - *445 + - *317 responses: '200': description: Response content: application/json: - schema: *628 + schema: *626 examples: - default: *629 + default: *627 '404': *6 x-github: githubCloudOnly: false @@ -85719,9 +85747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *446 - - *447 - - *319 + - *444 + - *445 + - *317 requestBody: required: true content: @@ -85766,9 +85794,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *626 examples: - default: *629 + default: *627 '422': *15 '404': *6 x-github: @@ -85789,9 +85817,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *446 - - *447 - - *319 + - *444 + - *445 + - *317 responses: '204': description: Response @@ -85815,9 +85843,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *446 - - *447 - - *319 + - *444 + - *445 + - *317 responses: '200': description: Response @@ -85844,9 +85872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *446 - - *447 - - *319 + - *444 + - *445 + - *317 requestBody: required: false content: @@ -85890,11 +85918,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *446 - - *447 - - *319 + - *444 + - *445 + - *317 - *17 - - *320 + - *318 responses: '200': description: Response @@ -85902,9 +85930,9 @@ paths: application/json: schema: type: array - items: *321 + items: *319 examples: - default: *322 + default: *320 '400': *14 '422': *15 x-github: @@ -85923,18 +85951,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *446 - - *447 - - *319 + - *444 + - *445 + - *317 - *16 responses: '200': description: Response content: application/json: - schema: *323 + schema: *321 examples: - default: *324 + default: *322 '400': *14 '422': *15 x-github: @@ -85953,9 +85981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *446 - - *447 - - *319 + - *444 + - *445 + - *317 - *16 responses: '202': *39 @@ -85978,9 +86006,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *446 - - *447 - - *319 + - *444 + - *445 + - *317 responses: '204': description: Response @@ -86005,9 +86033,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *446 - - *447 - - *319 + - *444 + - *445 + - *317 responses: '204': description: Response @@ -86030,8 +86058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response if immutable releases are enabled @@ -86077,8 +86105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *446 - - *447 + - *444 + - *445 responses: '204': *133 '409': *109 @@ -86098,8 +86126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *446 - - *447 + - *444 + - *445 responses: '204': *133 '409': *109 @@ -86156,14 +86184,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: &630 + schema: &628 title: Import description: A repository import from an external source. type: object @@ -86262,7 +86290,7 @@ paths: - html_url - authors_url examples: - default: &633 + default: &631 value: vcs: subversion use_lfs: true @@ -86278,7 +86306,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &631 + '503': &629 description: Unavailable due to service under maintenance. content: application/json: @@ -86307,8 +86335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -86356,7 +86384,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *628 examples: default: value: @@ -86381,7 +86409,7 @@ paths: type: string '422': *15 '404': *6 - '503': *631 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86409,8 +86437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: false content: @@ -86459,7 +86487,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *628 examples: example-1: summary: Example 1 @@ -86507,7 +86535,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *631 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86530,12 +86558,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *446 - - *447 + - *444 + - *445 responses: '204': description: Response - '503': *631 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86561,9 +86589,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *446 - - *447 - - &818 + - *444 + - *445 + - &816 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -86577,7 +86605,7 @@ paths: application/json: schema: type: array - items: &632 + items: &630 title: Porter Author description: Porter Author type: object @@ -86631,7 +86659,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *631 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86656,8 +86684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *446 - - *447 + - *444 + - *445 - name: author_id in: path required: true @@ -86687,7 +86715,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *630 examples: default: value: @@ -86700,7 +86728,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *631 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86724,8 +86752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -86766,7 +86794,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *631 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86794,8 +86822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -86822,11 +86850,11 @@ paths: description: Response content: application/json: - schema: *630 + schema: *628 examples: - default: *633 + default: *631 '422': *15 - '503': *631 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86849,8 +86877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -86858,8 +86886,8 @@ paths: application/json: schema: *22 examples: - default: *634 - '301': *460 + default: *632 + '301': *458 '404': *6 x-github: githubCloudOnly: false @@ -86879,8 +86907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -86888,12 +86916,12 @@ paths: application/json: schema: anyOf: - - *337 + - *335 - type: object properties: {} additionalProperties: false examples: - default: &636 + default: &634 value: limit: collaborators_only origin: repository @@ -86918,13 +86946,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: application/json: - schema: *635 + schema: *633 examples: default: summary: Example request body @@ -86936,9 +86964,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *335 examples: - default: *636 + default: *634 '409': description: Response x-github: @@ -86960,8 +86988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '204': description: Response @@ -86984,8 +87012,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 responses: @@ -86995,9 +87023,9 @@ paths: application/json: schema: type: array - items: *637 + items: *635 examples: - default: &811 + default: &809 value: - id: 1 repository: @@ -87128,9 +87156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *446 - - *447 - - *341 + - *444 + - *445 + - *339 requestBody: required: false content: @@ -87159,7 +87187,7 @@ paths: description: Response content: application/json: - schema: *637 + schema: *635 examples: default: value: @@ -87290,9 +87318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *446 - - *447 - - *341 + - *444 + - *445 + - *339 responses: '204': description: Response @@ -87323,8 +87351,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *446 - - *447 + - *444 + - *445 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -87372,7 +87400,7 @@ paths: required: false schema: type: string - - *345 + - *343 - name: sort description: What to sort results by. in: query @@ -87397,7 +87425,7 @@ paths: type: array items: *189 examples: - default: &646 + default: &644 value: - id: 1 node_id: MDU6SXNzdWUx @@ -87545,7 +87573,7 @@ paths: state_reason: completed headers: Link: *43 - '301': *460 + '301': *458 '422': *15 '404': *6 x-github: @@ -87574,8 +87602,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -87659,7 +87687,7 @@ paths: application/json: schema: *189 examples: - default: &643 + default: &641 value: id: 1 node_id: MDU6SXNzdWUx @@ -87815,7 +87843,7 @@ paths: '422': *15 '503': *167 '404': *6 - '410': *457 + '410': *455 x-github: triggersNotification: true githubCloudOnly: false @@ -87843,8 +87871,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 - *213 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -87865,9 +87893,9 @@ paths: application/json: schema: type: array - items: *638 + items: *636 examples: - default: &645 + default: &643 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -87925,17 +87953,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *446 - - *447 + - *444 + - *445 - *205 responses: '200': description: Response content: application/json: - schema: *638 + schema: *636 examples: - default: &639 + default: &637 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -87989,8 +88017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *446 - - *447 + - *444 + - *445 - *205 requestBody: required: true @@ -88013,9 +88041,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *636 examples: - default: *639 + default: *637 '422': *15 x-github: githubCloudOnly: false @@ -88033,8 +88061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *446 - - *447 + - *444 + - *445 - *205 responses: '204': @@ -88055,8 +88083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *446 - - *447 + - *444 + - *445 - *205 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -88083,9 +88111,9 @@ paths: application/json: schema: type: array - items: *435 + items: *433 examples: - default: *437 + default: *435 headers: Link: *43 '404': *6 @@ -88106,8 +88134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *446 - - *447 + - *444 + - *445 - *205 requestBody: required: true @@ -88140,16 +88168,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *433 examples: - default: *436 + default: *434 '201': description: Reaction created content: application/json: - schema: *435 + schema: *433 examples: - default: *436 + default: *434 '422': *15 x-github: githubCloudOnly: false @@ -88171,10 +88199,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *446 - - *447 + - *444 + - *445 - *205 - - *438 + - *436 responses: '204': description: Response @@ -88194,8 +88222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 responses: @@ -88205,7 +88233,7 @@ paths: application/json: schema: type: array - items: &642 + items: &640 title: Issue Event description: Issue Event type: object @@ -88248,8 +88276,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *640 - required: *641 + properties: *638 + required: *639 nullable: true label: title: Issue Event Label @@ -88556,8 +88584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *446 - - *447 + - *444 + - *445 - name: event_id in: path required: true @@ -88568,7 +88596,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *640 examples: default: value: @@ -88761,7 +88789,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *457 + '410': *455 '403': *29 x-github: githubCloudOnly: false @@ -88795,9 +88823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *446 - - *447 - - &644 + - *444 + - *445 + - &642 name: issue_number description: The number that identifies the issue. in: path @@ -88811,10 +88839,10 @@ paths: application/json: schema: *189 examples: - default: *643 - '301': *460 + default: *641 + '301': *458 '404': *6 - '410': *457 + '410': *455 '304': *37 x-github: githubCloudOnly: false @@ -88839,9 +88867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 requestBody: required: false content: @@ -88947,13 +88975,13 @@ paths: application/json: schema: *189 examples: - default: *643 + default: *641 '422': *15 '503': *167 '403': *29 - '301': *460 + '301': *458 '404': *6 - '410': *457 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88971,9 +88999,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 requestBody: required: false content: @@ -89001,7 +89029,7 @@ paths: application/json: schema: *189 examples: - default: *643 + default: *641 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89017,9 +89045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 requestBody: content: application/json: @@ -89046,7 +89074,7 @@ paths: application/json: schema: *189 examples: - default: *643 + default: *641 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89068,9 +89096,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 - name: assignee in: path required: true @@ -89110,9 +89138,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 - *196 - *17 - *19 @@ -89123,13 +89151,13 @@ paths: application/json: schema: type: array - items: *638 + items: *636 examples: - default: *645 + default: *643 headers: Link: *43 '404': *6 - '410': *457 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89158,9 +89186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 requestBody: required: true content: @@ -89182,16 +89210,16 @@ paths: description: Response content: application/json: - schema: *638 + schema: *636 examples: - default: *639 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *457 + '410': *455 '422': *15 '404': *6 x-github: @@ -89219,9 +89247,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 - *17 - *19 responses: @@ -89233,12 +89261,12 @@ paths: type: array items: *189 examples: - default: *646 + default: *644 headers: Link: *43 - '301': *460 + '301': *458 '404': *6 - '410': *457 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89266,9 +89294,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 requestBody: required: true content: @@ -89292,15 +89320,15 @@ paths: application/json: schema: *189 examples: - default: *643 + default: *641 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *460 + '301': *458 '403': *29 - '410': *457 + '410': *455 '422': *15 '404': *6 x-github: @@ -89331,9 +89359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -89347,13 +89375,13 @@ paths: application/json: schema: *189 examples: - default: *643 - '301': *460 + default: *641 + '301': *458 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *457 + '410': *455 x-github: triggersNotification: true githubCloudOnly: false @@ -89379,9 +89407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 - *17 - *19 responses: @@ -89393,12 +89421,12 @@ paths: type: array items: *189 examples: - default: *646 + default: *644 headers: Link: *43 - '301': *460 + '301': *458 '404': *6 - '410': *457 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89415,9 +89443,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 - *17 - *19 responses: @@ -89431,7 +89459,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &648 + - &646 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -89485,7 +89513,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &649 + - &647 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -89621,7 +89649,7 @@ paths: - performed_via_github_app - assignee - assigner - - &650 + - &648 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -89672,7 +89700,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &651 + - &649 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -89723,7 +89751,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &652 + - &650 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -89777,7 +89805,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &653 + - &651 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -89824,7 +89852,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &654 + - &652 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -89871,7 +89899,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &655 + - &653 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -89931,7 +89959,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &656 + - &654 title: Locked Issue Event description: Locked Issue Event type: object @@ -89979,7 +90007,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &657 + - &655 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -90045,7 +90073,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &658 + - &656 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -90111,7 +90139,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &659 + - &657 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -90177,7 +90205,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &660 + - &658 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -90268,7 +90296,7 @@ paths: color: red headers: Link: *43 - '410': *457 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90285,9 +90313,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 - *17 - *19 responses: @@ -90299,7 +90327,7 @@ paths: type: array items: *188 examples: - default: &647 + default: &645 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -90317,9 +90345,9 @@ paths: default: false headers: Link: *43 - '301': *460 + '301': *458 '404': *6 - '410': *457 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90336,9 +90364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 requestBody: required: false content: @@ -90399,10 +90427,10 @@ paths: type: array items: *188 examples: - default: *647 - '301': *460 + default: *645 + '301': *458 '404': *6 - '410': *457 + '410': *455 '422': *15 x-github: githubCloudOnly: false @@ -90419,9 +90447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 requestBody: required: false content: @@ -90483,10 +90511,10 @@ paths: type: array items: *188 examples: - default: *647 - '301': *460 + default: *645 + '301': *458 '404': *6 - '410': *457 + '410': *455 '422': *15 x-github: githubCloudOnly: false @@ -90503,15 +90531,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 responses: '204': description: Response - '301': *460 + '301': *458 '404': *6 - '410': *457 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90530,9 +90558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 - name: name in: path required: true @@ -90556,9 +90584,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *460 + '301': *458 '404': *6 - '410': *457 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90578,9 +90606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 requestBody: required: false content: @@ -90608,7 +90636,7 @@ paths: '204': description: Response '403': *29 - '410': *457 + '410': *455 '404': *6 '422': *15 x-github: @@ -90626,9 +90654,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 responses: '204': description: Response @@ -90658,9 +90686,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 responses: '200': description: Response @@ -90668,10 +90696,10 @@ paths: application/json: schema: *189 examples: - default: *643 - '301': *460 + default: *641 + '301': *458 '404': *6 - '410': *457 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90688,9 +90716,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -90716,13 +90744,13 @@ paths: application/json: schema: type: array - items: *435 + items: *433 examples: - default: *437 + default: *435 headers: Link: *43 '404': *6 - '410': *457 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90740,9 +90768,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 requestBody: required: true content: @@ -90774,16 +90802,16 @@ paths: description: Response content: application/json: - schema: *435 + schema: *433 examples: - default: *436 + default: *434 '201': description: Response content: application/json: - schema: *435 + schema: *433 examples: - default: *436 + default: *434 '422': *15 x-github: githubCloudOnly: false @@ -90805,10 +90833,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *446 - - *447 - - *644 - - *438 + - *444 + - *445 + - *642 + - *436 responses: '204': description: Response @@ -90837,9 +90865,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 requestBody: required: true content: @@ -90863,7 +90891,7 @@ paths: application/json: schema: *189 examples: - default: *643 + default: *641 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -90896,9 +90924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 - *17 - *19 responses: @@ -90910,11 +90938,11 @@ paths: type: array items: *189 examples: - default: *646 + default: *644 headers: Link: *43 '404': *6 - '410': *457 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90942,9 +90970,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 requestBody: required: true content: @@ -90973,14 +91001,14 @@ paths: application/json: schema: *189 examples: - default: *643 + default: *641 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *457 + '410': *455 '422': *15 '404': *6 x-github: @@ -91000,9 +91028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 requestBody: required: true content: @@ -91035,7 +91063,7 @@ paths: application/json: schema: *189 examples: - default: *643 + default: *641 '403': *29 '404': *6 '422': *7 @@ -91057,9 +91085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *446 - - *447 - - *644 + - *444 + - *445 + - *642 - *17 - *19 responses: @@ -91074,6 +91102,8 @@ paths: description: Timeline Event type: object anyOf: + - *646 + - *647 - *648 - *649 - *650 @@ -91085,8 +91115,6 @@ paths: - *656 - *657 - *658 - - *659 - - *660 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -91395,7 +91423,7 @@ paths: type: string comments: type: array - items: &680 + items: &678 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -91604,7 +91632,7 @@ paths: type: string comments: type: array - items: *563 + items: *561 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -91893,7 +91921,7 @@ paths: headers: Link: *43 '404': *6 - '410': *457 + '410': *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91910,8 +91938,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 responses: @@ -91921,7 +91949,7 @@ paths: application/json: schema: type: array - items: &661 + items: &659 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -91987,8 +92015,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -92024,9 +92052,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *659 examples: - default: &662 + default: &660 value: id: 1 key: ssh-rsa AAA... @@ -92060,9 +92088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *446 - - *447 - - &663 + - *444 + - *445 + - &661 name: key_id description: The unique identifier of the key. in: path @@ -92074,9 +92102,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *659 examples: - default: *662 + default: *660 '404': *6 x-github: githubCloudOnly: false @@ -92094,9 +92122,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *446 - - *447 - - *663 + - *444 + - *445 + - *661 responses: '204': description: Response @@ -92116,8 +92144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 responses: @@ -92129,7 +92157,7 @@ paths: type: array items: *188 examples: - default: *647 + default: *645 headers: Link: *43 '404': *6 @@ -92150,8 +92178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -92189,7 +92217,7 @@ paths: application/json: schema: *188 examples: - default: &664 + default: &662 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92221,8 +92249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *446 - - *447 + - *444 + - *445 - name: name in: path required: true @@ -92235,7 +92263,7 @@ paths: application/json: schema: *188 examples: - default: *664 + default: *662 '404': *6 x-github: githubCloudOnly: false @@ -92252,8 +92280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *446 - - *447 + - *444 + - *445 - name: name in: path required: true @@ -92318,8 +92346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *446 - - *447 + - *444 + - *445 - name: name in: path required: true @@ -92345,8 +92373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -92382,8 +92410,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '202': *39 '403': @@ -92411,8 +92439,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '204': description: Response @@ -92438,9 +92466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *446 - - *447 - - *539 + - *444 + - *445 + - *537 responses: '200': description: Response @@ -92585,8 +92613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -92651,8 +92679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -92686,9 +92714,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *564 + schema: *562 examples: - default: *665 + default: *663 '204': description: Response when already merged '404': @@ -92713,8 +92741,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *446 - - *447 + - *444 + - *445 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -92755,12 +92783,12 @@ paths: application/json: schema: type: array - items: &666 + items: &664 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *380 - required: *381 + properties: *378 + required: *379 examples: default: value: @@ -92816,8 +92844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -92857,9 +92885,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *664 examples: - default: &667 + default: &665 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -92918,9 +92946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *446 - - *447 - - &668 + - *444 + - *445 + - &666 name: milestone_number description: The number that identifies the milestone. in: path @@ -92932,9 +92960,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *664 examples: - default: *667 + default: *665 '404': *6 x-github: githubCloudOnly: false @@ -92951,9 +92979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *446 - - *447 - - *668 + - *444 + - *445 + - *666 requestBody: required: false content: @@ -92991,9 +93019,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *664 examples: - default: *667 + default: *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93009,9 +93037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *446 - - *447 - - *668 + - *444 + - *445 + - *666 responses: '204': description: Response @@ -93032,9 +93060,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *446 - - *447 - - *668 + - *444 + - *445 + - *666 - *17 - *19 responses: @@ -93046,7 +93074,7 @@ paths: type: array items: *188 examples: - default: *647 + default: *645 headers: Link: *43 x-github: @@ -93065,12 +93093,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *446 - - *447 - - *669 - - *670 + - *444 + - *445 + - *667 + - *668 - *196 - - *671 + - *669 - *17 - *19 responses: @@ -93082,7 +93110,7 @@ paths: type: array items: *216 examples: - default: *672 + default: *670 headers: Link: *43 x-github: @@ -93106,8 +93134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: false content: @@ -93165,14 +93193,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: &673 + schema: &671 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -93297,7 +93325,7 @@ paths: - custom_404 - public examples: - default: &674 + default: &672 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -93338,8 +93366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -93393,9 +93421,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *671 examples: - default: *674 + default: *672 '422': *15 '409': *109 x-github: @@ -93418,8 +93446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -93526,8 +93554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *446 - - *447 + - *444 + - *445 responses: '204': description: Response @@ -93553,8 +93581,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 responses: @@ -93564,7 +93592,7 @@ paths: application/json: schema: type: array - items: &675 + items: &673 title: Page Build description: Page Build type: object @@ -93658,8 +93686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *446 - - *447 + - *444 + - *445 responses: '201': description: Response @@ -93704,16 +93732,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: *675 + schema: *673 examples: - default: &676 + default: &674 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -93761,8 +93789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *446 - - *447 + - *444 + - *445 - name: build_id in: path required: true @@ -93773,9 +93801,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *673 examples: - default: *676 + default: *674 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93795,8 +93823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -93901,9 +93929,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *446 - - *447 - - &677 + - *444 + - *445 + - &675 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -93961,9 +93989,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *446 - - *447 - - *677 + - *444 + - *445 + - *675 responses: '204': *133 '404': *6 @@ -93990,8 +94018,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -94249,8 +94277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Private vulnerability reporting status @@ -94287,8 +94315,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: - - *446 - - *447 + - *444 + - *445 responses: '204': *133 '422': *14 @@ -94309,8 +94337,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: - - *446 - - *447 + - *444 + - *445 responses: '204': *133 '422': *14 @@ -94333,8 +94361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *446 - - *447 + - *444 + - *445 - name: state description: Indicates the state of the projects to return. in: query @@ -94355,7 +94383,7 @@ paths: application/json: schema: type: array - items: *374 + items: *372 examples: default: value: @@ -94395,7 +94423,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *457 + '410': *455 '422': *7 x-github: githubCloudOnly: false @@ -94418,8 +94446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -94445,13 +94473,13 @@ paths: description: Response content: application/json: - schema: *374 + schema: *372 examples: - default: *456 + default: *454 '401': *25 '403': *29 '404': *6 - '410': *457 + '410': *455 '422': *7 x-github: githubCloudOnly: false @@ -94474,8 +94502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -94483,7 +94511,7 @@ paths: application/json: schema: type: array - items: *389 + items: *387 examples: default: value: @@ -94514,8 +94542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -94527,7 +94555,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *389 + items: *387 required: - properties examples: @@ -94577,8 +94605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *446 - - *447 + - *444 + - *445 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -94638,9 +94666,9 @@ paths: application/json: schema: type: array - items: *568 + items: *566 examples: - default: *678 + default: *676 headers: Link: *43 '304': *37 @@ -94672,8 +94700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -94738,7 +94766,7 @@ paths: description: Response content: application/json: - schema: &682 + schema: &680 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -94849,8 +94877,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *380 - required: *381 + properties: *378 + required: *379 nullable: true active_lock_reason: type: string @@ -94895,7 +94923,7 @@ paths: nullable: true requested_teams: type: array - items: *413 + items: *411 nullable: true head: type: object @@ -94934,14 +94962,14 @@ paths: _links: type: object properties: - comments: *382 - commits: *382 - statuses: *382 - html: *382 - issue: *382 - review_comments: *382 - review_comment: *382 - self: *382 + comments: *380 + commits: *380 + statuses: *380 + html: *380 + issue: *380 + review_comments: *380 + review_comment: *380 + self: *380 required: - comments - commits @@ -94952,7 +94980,7 @@ paths: - review_comment - self author_association: *190 - auto_merge: *679 + auto_merge: *677 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -95044,7 +95072,7 @@ paths: - merged_by - review_comments examples: - default: &683 + default: &681 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -95571,8 +95599,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *446 - - *447 + - *444 + - *445 - name: sort in: query required: false @@ -95601,9 +95629,9 @@ paths: application/json: schema: type: array - items: *680 + items: *678 examples: - default: &685 + default: &683 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -95680,17 +95708,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *446 - - *447 + - *444 + - *445 - *205 responses: '200': description: Response content: application/json: - schema: *680 + schema: *678 examples: - default: &681 + default: &679 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -95765,8 +95793,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: - - *446 - - *447 + - *444 + - *445 - *205 requestBody: required: true @@ -95789,9 +95817,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *678 examples: - default: *681 + default: *679 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95807,8 +95835,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: - - *446 - - *447 + - *444 + - *445 - *205 responses: '204': @@ -95830,8 +95858,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: - - *446 - - *447 + - *444 + - *445 - *205 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -95858,9 +95886,9 @@ paths: application/json: schema: type: array - items: *435 + items: *433 examples: - default: *437 + default: *435 headers: Link: *43 '404': *6 @@ -95881,8 +95909,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: - - *446 - - *447 + - *444 + - *445 - *205 requestBody: required: true @@ -95915,16 +95943,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *433 examples: - default: *436 + default: *434 '201': description: Reaction created content: application/json: - schema: *435 + schema: *433 examples: - default: *436 + default: *434 '422': *15 x-github: githubCloudOnly: false @@ -95946,10 +95974,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *446 - - *447 + - *444 + - *445 - *205 - - *438 + - *436 responses: '204': description: Response @@ -95992,9 +96020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *446 - - *447 - - &684 + - *444 + - *445 + - &682 name: pull_number description: The number that identifies the pull request. in: path @@ -96007,9 +96035,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *682 + schema: *680 examples: - default: *683 + default: *681 '304': *37 '404': *6 '406': @@ -96044,9 +96072,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *446 - - *447 - - *684 + - *444 + - *445 + - *682 requestBody: required: false content: @@ -96088,9 +96116,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *680 examples: - default: *683 + default: *681 '422': *15 '403': *29 x-github: @@ -96112,9 +96140,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *446 - - *447 - - *684 + - *444 + - *445 + - *682 requestBody: required: true content: @@ -96174,17 +96202,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *347 + schema: *345 examples: - default: *553 + default: *551 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *347 + schema: *345 examples: - default: *553 + default: *551 '401': *25 '403': *29 '404': *6 @@ -96214,9 +96242,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: - - *446 - - *447 - - *684 + - *444 + - *445 + - *682 - *213 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -96237,9 +96265,9 @@ paths: application/json: schema: type: array - items: *680 + items: *678 examples: - default: *685 + default: *683 headers: Link: *43 x-github: @@ -96272,9 +96300,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *446 - - *447 - - *684 + - *444 + - *445 + - *682 requestBody: required: true content: @@ -96379,7 +96407,7 @@ paths: description: Response content: application/json: - schema: *680 + schema: *678 examples: example-for-a-multi-line-comment: value: @@ -96467,9 +96495,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: - - *446 - - *447 - - *684 + - *444 + - *445 + - *682 - *205 requestBody: required: true @@ -96492,7 +96520,7 @@ paths: description: Response content: application/json: - schema: *680 + schema: *678 examples: default: value: @@ -96578,9 +96606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *446 - - *447 - - *684 + - *444 + - *445 + - *682 - *17 - *19 responses: @@ -96590,9 +96618,9 @@ paths: application/json: schema: type: array - items: *564 + items: *562 examples: - default: *686 + default: *684 headers: Link: *43 x-github: @@ -96622,9 +96650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *446 - - *447 - - *684 + - *444 + - *445 + - *682 - *17 - *19 responses: @@ -96634,7 +96662,7 @@ paths: application/json: schema: type: array - items: *577 + items: *575 examples: default: value: @@ -96672,9 +96700,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *446 - - *447 - - *684 + - *444 + - *445 + - *682 responses: '204': description: Response if pull request has been merged @@ -96697,9 +96725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *446 - - *447 - - *684 + - *444 + - *445 + - *682 requestBody: required: false content: @@ -96810,9 +96838,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *446 - - *447 - - *684 + - *444 + - *445 + - *682 responses: '200': description: Response @@ -96887,9 +96915,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *446 - - *447 - - *684 + - *444 + - *445 + - *682 requestBody: required: false content: @@ -96926,7 +96954,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *566 examples: default: value: @@ -97462,9 +97490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *446 - - *447 - - *684 + - *444 + - *445 + - *682 requestBody: required: true content: @@ -97498,7 +97526,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *566 examples: default: value: @@ -98003,9 +98031,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *446 - - *447 - - *684 + - *444 + - *445 + - *682 - *17 - *19 responses: @@ -98015,7 +98043,7 @@ paths: application/json: schema: type: array - items: &687 + items: &685 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -98166,9 +98194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *446 - - *447 - - *684 + - *444 + - *445 + - *682 requestBody: required: false content: @@ -98254,9 +98282,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *685 examples: - default: &689 + default: &687 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98319,10 +98347,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *446 - - *447 - - *684 - - &688 + - *444 + - *445 + - *682 + - &686 name: review_id description: The unique identifier of the review. in: path @@ -98334,9 +98362,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *685 examples: - default: &690 + default: &688 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98395,10 +98423,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *446 - - *447 - - *684 - - *688 + - *444 + - *445 + - *682 + - *686 requestBody: required: true content: @@ -98421,7 +98449,7 @@ paths: description: Response content: application/json: - schema: *687 + schema: *685 examples: default: value: @@ -98483,18 +98511,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *446 - - *447 - - *684 - - *688 + - *444 + - *445 + - *682 + - *686 responses: '200': description: Response content: application/json: - schema: *687 + schema: *685 examples: - default: *689 + default: *687 '422': *7 '404': *6 x-github: @@ -98521,10 +98549,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *446 - - *447 - - *684 - - *688 + - *444 + - *445 + - *682 + - *686 - *17 - *19 responses: @@ -98607,9 +98635,9 @@ paths: _links: type: object properties: - self: *382 - html: *382 - pull_request: *382 + self: *380 + html: *380 + pull_request: *380 required: - self - html @@ -98759,10 +98787,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *446 - - *447 - - *684 - - *688 + - *444 + - *445 + - *682 + - *686 requestBody: required: true content: @@ -98790,7 +98818,7 @@ paths: description: Response content: application/json: - schema: *687 + schema: *685 examples: default: value: @@ -98853,10 +98881,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *446 - - *447 - - *684 - - *688 + - *444 + - *445 + - *682 + - *686 requestBody: required: true content: @@ -98891,9 +98919,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *685 examples: - default: *690 + default: *688 '404': *6 '422': *7 '403': *29 @@ -98915,9 +98943,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *446 - - *447 - - *684 + - *444 + - *445 + - *682 requestBody: required: false content: @@ -98980,8 +99008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *446 - - *447 + - *444 + - *445 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -98994,9 +99022,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *689 examples: - default: &692 + default: &690 value: type: file encoding: base64 @@ -99038,8 +99066,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *446 - - *447 + - *444 + - *445 - name: dir description: The alternate path to look for a README file in: path @@ -99059,9 +99087,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *689 examples: - default: *692 + default: *690 '404': *6 '422': *15 x-github: @@ -99083,8 +99111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 responses: @@ -99094,7 +99122,7 @@ paths: application/json: schema: type: array - items: *693 + items: *691 examples: default: value: @@ -99188,8 +99216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -99265,9 +99293,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *691 examples: - default: &697 + default: &695 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -99372,9 +99400,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *446 - - *447 - - &695 + - *444 + - *445 + - &693 name: asset_id description: The unique identifier of the asset. in: path @@ -99386,9 +99414,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *692 examples: - default: &696 + default: &694 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -99423,7 +99451,7 @@ paths: type: User site_admin: false '404': *6 - '302': *579 + '302': *577 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99439,9 +99467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *446 - - *447 - - *695 + - *444 + - *445 + - *693 requestBody: required: false content: @@ -99469,9 +99497,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *692 examples: - default: *696 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99487,9 +99515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *446 - - *447 - - *695 + - *444 + - *445 + - *693 responses: '204': description: Response @@ -99513,8 +99541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -99599,16 +99627,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response content: application/json: - schema: *693 + schema: *691 examples: - default: *697 + default: *695 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99625,8 +99653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *446 - - *447 + - *444 + - *445 - name: tag description: tag parameter in: path @@ -99639,9 +99667,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *691 examples: - default: *697 + default: *695 '404': *6 x-github: githubCloudOnly: false @@ -99663,9 +99691,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *446 - - *447 - - &698 + - *444 + - *445 + - &696 name: release_id description: The unique identifier of the release. in: path @@ -99679,9 +99707,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *693 + schema: *691 examples: - default: *697 + default: *695 '401': description: Unauthorized x-github: @@ -99699,9 +99727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *446 - - *447 - - *698 + - *444 + - *445 + - *696 requestBody: required: false content: @@ -99765,9 +99793,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *691 examples: - default: *697 + default: *695 '404': description: Not Found if the discussion category name is invalid content: @@ -99788,9 +99816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *446 - - *447 - - *698 + - *444 + - *445 + - *696 responses: '204': description: Response @@ -99810,9 +99838,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *446 - - *447 - - *698 + - *444 + - *445 + - *696 - *17 - *19 responses: @@ -99822,7 +99850,7 @@ paths: application/json: schema: type: array - items: *694 + items: *692 examples: default: value: @@ -99904,9 +99932,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *446 - - *447 - - *698 + - *444 + - *445 + - *696 - name: name in: query required: true @@ -99932,7 +99960,7 @@ paths: description: Response for successful upload content: application/json: - schema: *694 + schema: *692 examples: response-for-successful-upload: value: @@ -99987,9 +100015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *446 - - *447 - - *698 + - *444 + - *445 + - *696 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -100013,9 +100041,9 @@ paths: application/json: schema: type: array - items: *435 + items: *433 examples: - default: *437 + default: *435 headers: Link: *43 '404': *6 @@ -100036,9 +100064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *446 - - *447 - - *698 + - *444 + - *445 + - *696 requestBody: required: true content: @@ -100068,16 +100096,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *433 examples: - default: *436 + default: *434 '201': description: Reaction created content: application/json: - schema: *435 + schema: *433 examples: - default: *436 + default: *434 '422': *15 x-github: githubCloudOnly: false @@ -100099,10 +100127,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *446 - - *447 - - *698 - - *438 + - *444 + - *445 + - *696 + - *436 responses: '204': description: Response @@ -100126,9 +100154,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *446 - - *447 - - *505 + - *444 + - *445 + - *503 - *17 - *19 responses: @@ -100145,7 +100173,7 @@ paths: oneOf: - allOf: - *142 - - &699 + - &697 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -100166,67 +100194,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *143 - - *699 + - *697 - allOf: - *144 - - *699 + - *697 - allOf: - *145 - - *699 + - *697 - allOf: - - *700 - - *699 + - *698 + - *697 - allOf: - *146 - - *699 + - *697 - allOf: - *147 - - *699 + - *697 - allOf: - *148 - - *699 + - *697 - allOf: - *149 - - *699 + - *697 - allOf: - *150 - - *699 + - *697 - allOf: - *151 - - *699 + - *697 - allOf: - *152 - - *699 + - *697 - allOf: - *153 - - *699 + - *697 - allOf: - *154 - - *699 + - *697 - allOf: - *155 - - *699 + - *697 - allOf: - *156 - - *699 + - *697 - allOf: - *157 - - *699 + - *697 - allOf: - *158 - - *699 + - *697 - allOf: - *159 - - *699 + - *697 - allOf: - *160 - - *699 + - *697 - allOf: - *161 - - *699 + - *697 - allOf: - - *701 - *699 + - *697 examples: default: value: @@ -100265,8 +100293,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 - name: includes_parents @@ -100277,7 +100305,7 @@ paths: schema: type: boolean default: true - - *702 + - *700 responses: '200': description: Response @@ -100332,8 +100360,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *444 + - *445 requestBody: description: Request body required: true @@ -100362,7 +100390,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *703 + items: *701 required: - name - enforcement @@ -100395,7 +100423,7 @@ paths: application/json: schema: *162 examples: - default: &712 + default: &710 value: id: 42 name: super cool ruleset @@ -100442,12 +100470,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *446 - - *447 - - *704 + - *444 + - *445 + - *702 - *96 - - *705 - - *706 + - *703 + - *704 - *17 - *19 responses: @@ -100455,9 +100483,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *705 examples: - default: *708 + default: *706 '404': *6 '500': *40 x-github: @@ -100478,17 +100506,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *446 - - *447 - - *709 + - *444 + - *445 + - *707 responses: '200': description: Response content: application/json: - schema: *710 + schema: *708 examples: - default: *711 + default: *709 '404': *6 '500': *40 x-github: @@ -100516,8 +100544,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *444 + - *445 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100539,7 +100567,7 @@ paths: application/json: schema: *162 examples: - default: *712 + default: *710 '404': *6 '500': *40 put: @@ -100557,8 +100585,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *444 + - *445 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100592,7 +100620,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *703 + items: *701 examples: default: value: @@ -100622,7 +100650,7 @@ paths: application/json: schema: *162 examples: - default: *712 + default: *710 '404': *6 '500': *40 delete: @@ -100640,8 +100668,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *444 + - *445 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100664,8 +100692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 - name: ruleset_id @@ -100683,7 +100711,7 @@ paths: type: array items: *166 examples: - default: *398 + default: *396 '404': *6 '500': *40 x-github: @@ -100702,8 +100730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *446 - - *447 + - *444 + - *445 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100721,7 +100749,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *397 examples: default: value: @@ -100776,21 +100804,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 + - *398 + - *399 - *400 - *401 - - *402 - - *403 - *101 - *19 - *17 - - *713 - - *714 + - *711 + - *712 + - *402 + - *403 - *404 - *405 - - *406 - - *407 responses: '200': description: Response @@ -100798,7 +100826,7 @@ paths: application/json: schema: type: array - items: &718 + items: &716 type: object properties: number: *113 @@ -100817,8 +100845,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *715 - resolution: *716 + state: *713 + resolution: *714 resolved_at: type: string format: date-time @@ -100914,7 +100942,7 @@ paths: pull request. ' - oneOf: *717 + oneOf: *715 nullable: true has_more_locations: type: boolean @@ -101063,16 +101091,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *446 - - *447 - - *533 - - *407 + - *444 + - *445 + - *531 + - *405 responses: '200': description: Response content: application/json: - schema: *718 + schema: *716 examples: default: value: @@ -101124,9 +101152,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *446 - - *447 - - *533 + - *444 + - *445 + - *531 requestBody: required: true content: @@ -101134,8 +101162,8 @@ paths: schema: type: object properties: - state: *715 - resolution: *716 + state: *713 + resolution: *714 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -101153,7 +101181,7 @@ paths: description: Response content: application/json: - schema: *718 + schema: *716 examples: default: value: @@ -101228,9 +101256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *446 - - *447 - - *533 + - *444 + - *445 + - *531 - *19 - *17 responses: @@ -101241,7 +101269,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &899 + items: &897 type: object properties: type: @@ -101267,6 +101295,8 @@ paths: example: commit details: oneOf: + - *717 + - *718 - *719 - *720 - *721 @@ -101278,8 +101308,6 @@ paths: - *727 - *728 - *729 - - *730 - - *731 examples: default: value: @@ -101365,8 +101393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -101374,14 +101402,14 @@ paths: schema: type: object properties: - reason: &733 + reason: &731 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *732 + placeholder_id: *730 required: - reason - placeholder_id @@ -101398,7 +101426,7 @@ paths: schema: type: object properties: - reason: *733 + reason: *731 expire_at: type: string format: date-time @@ -101433,6 +101461,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/enterprise-cloud@latest//get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -101441,8 +101472,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: - - *446 - - *447 + - *444 + - *445 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -101457,7 +101488,7 @@ paths: properties: incremental_scans: type: array - items: &734 + items: &732 description: Information on a single scan performed by secret scanning on the repository type: object @@ -101483,15 +101514,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *734 + items: *732 backfill_scans: type: array - items: *734 + items: *732 custom_pattern_backfill_scans: type: array items: allOf: - - *734 + - *732 - type: object properties: pattern_name: @@ -101561,8 +101592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *446 - - *447 + - *444 + - *445 - *101 - name: sort description: The property to sort the results by. @@ -101606,9 +101637,9 @@ paths: application/json: schema: type: array - items: *735 + items: *733 examples: - default: *736 + default: *734 '400': *14 '404': *6 x-github: @@ -101631,8 +101662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -101705,7 +101736,7 @@ paths: login: type: string description: The username of the user credited. - type: *412 + type: *410 required: - login - type @@ -101792,9 +101823,9 @@ paths: description: Response content: application/json: - schema: *735 + schema: *733 examples: - default: &738 + default: &736 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -102027,8 +102058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -102132,7 +102163,7 @@ paths: description: Response content: application/json: - schema: *735 + schema: *733 examples: default: value: @@ -102279,17 +102310,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *446 - - *447 - - *737 + - *444 + - *445 + - *735 responses: '200': description: Response content: application/json: - schema: *735 + schema: *733 examples: - default: *738 + default: *736 '403': *29 '404': *6 x-github: @@ -102313,9 +102344,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *446 - - *447 - - *737 + - *444 + - *445 + - *735 requestBody: required: true content: @@ -102388,7 +102419,7 @@ paths: login: type: string description: The username of the user credited. - type: *412 + type: *410 required: - login - type @@ -102474,10 +102505,10 @@ paths: description: Response content: application/json: - schema: *735 + schema: *733 examples: - default: *738 - add_credit: *738 + default: *736 + add_credit: *736 '403': *29 '404': *6 '422': @@ -102515,9 +102546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *446 - - *447 - - *737 + - *444 + - *445 + - *735 responses: '202': *39 '400': *14 @@ -102544,17 +102575,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *446 - - *447 - - *737 + - *444 + - *445 + - *735 responses: '202': description: Response content: application/json: - schema: *459 + schema: *457 examples: - default: *461 + default: *459 '400': *14 '422': *15 '403': *29 @@ -102580,8 +102611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 responses: @@ -102680,8 +102711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -102690,7 +102721,7 @@ paths: application/json: schema: type: array - items: &739 + items: &737 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -102723,8 +102754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -102800,8 +102831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -102897,8 +102928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -103052,8 +103083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -103063,7 +103094,7 @@ paths: application/json: schema: type: array - items: *739 + items: *737 examples: default: value: @@ -103096,8 +103127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *446 - - *447 + - *444 + - *445 - name: sha in: path required: true @@ -103151,7 +103182,7 @@ paths: description: Response content: application/json: - schema: *740 + schema: *738 examples: default: value: @@ -103205,8 +103236,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 responses: @@ -103238,14 +103269,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &741 + schema: &739 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -103313,8 +103344,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: false content: @@ -103340,7 +103371,7 @@ paths: description: Response content: application/json: - schema: *741 + schema: *739 examples: default: value: @@ -103367,8 +103398,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *446 - - *447 + - *444 + - *445 responses: '204': description: Response @@ -103388,8 +103419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 responses: @@ -103468,8 +103499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -103477,7 +103508,7 @@ paths: application/json: schema: type: array - items: &742 + items: &740 title: Tag protection description: Tag protection type: object @@ -103529,8 +103560,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -103553,7 +103584,7 @@ paths: description: Response content: application/json: - schema: *742 + schema: *740 examples: default: value: @@ -103584,8 +103615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -103622,8 +103653,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *446 - - *447 + - *444 + - *445 - name: ref in: path required: true @@ -103659,8 +103690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *446 - - *447 + - *444 + - *445 - *17 - *19 responses: @@ -103672,7 +103703,7 @@ paths: type: array items: *282 examples: - default: *357 + default: *355 headers: Link: *43 '404': *6 @@ -103692,8 +103723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *446 - - *447 + - *444 + - *445 - *19 - *17 responses: @@ -103701,7 +103732,7 @@ paths: description: Response content: application/json: - schema: &743 + schema: &741 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -103713,7 +103744,7 @@ paths: required: - names examples: - default: &744 + default: &742 value: names: - octocat @@ -103736,8 +103767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -103768,9 +103799,9 @@ paths: description: Response content: application/json: - schema: *743 + schema: *741 examples: - default: *744 + default: *742 '404': *6 '422': *7 x-github: @@ -103791,9 +103822,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *446 - - *447 - - &745 + - *444 + - *445 + - &743 name: per description: The time frame to display results for. in: query @@ -103822,7 +103853,7 @@ paths: example: 128 clones: type: array - items: &746 + items: &744 title: Traffic type: object properties: @@ -103909,8 +103940,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -104000,8 +104031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *446 - - *447 + - *444 + - *445 responses: '200': description: Response @@ -104061,9 +104092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *446 - - *447 - - *745 + - *444 + - *445 + - *743 responses: '200': description: Response @@ -104082,7 +104113,7 @@ paths: example: 3782 views: type: array - items: *746 + items: *744 required: - uniques - count @@ -104159,8 +104190,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *446 - - *447 + - *444 + - *445 requestBody: required: true content: @@ -104434,8 +104465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *446 - - *447 + - *444 + - *445 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -104458,8 +104489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *446 - - *447 + - *444 + - *445 responses: '204': description: Response @@ -104481,8 +104512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *446 - - *447 + - *444 + - *445 responses: '204': description: Response @@ -104508,8 +104539,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *446 - - *447 + - *444 + - *445 - name: ref in: path required: true @@ -104601,9 +104632,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *457 examples: - default: *461 + default: *459 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104754,7 +104785,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &754 + - &752 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -104763,7 +104794,7 @@ paths: schema: type: string example: members - - &759 + - &757 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -104774,7 +104805,7 @@ paths: default: 1 format: int32 example: 1 - - &760 + - &758 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -104816,7 +104847,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &749 + items: &747 allOf: - type: object required: @@ -104891,7 +104922,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &761 + meta: &759 type: object description: The metadata associated with the creation/updates to the user. @@ -104951,30 +104982,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &750 + '400': &748 description: Bad request content: application/json: - schema: *747 + schema: *745 application/scim+json: - schema: *747 - '401': *748 - '403': &751 + schema: *745 + '401': *746 + '403': &749 description: Permission denied - '429': &752 + '429': &750 description: Too many requests content: application/json: - schema: *747 + schema: *745 application/scim+json: - schema: *747 - '500': &753 + schema: *745 + '500': &751 description: Internal server error content: application/json: - schema: *747 + schema: *745 application/scim+json: - schema: *747 + schema: *745 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -104998,7 +105029,7 @@ paths: required: true content: application/json: - schema: &757 + schema: &755 type: object required: - schemas @@ -105058,9 +105089,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *749 + schema: *747 examples: - group: &755 + group: &753 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -105079,13 +105110,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *750 - '401': *748 - '403': *751 - '409': &758 + '400': *748 + '401': *746 + '403': *749 + '409': &756 description: Duplicate record detected - '429': *752 - '500': *753 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105102,7 +105133,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &756 + - &754 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -105110,22 +105141,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *754 + - *752 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *749 + schema: *747 examples: - default: *755 - '400': *750 - '401': *748 - '403': *751 + default: *753 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '429': *752 - '500': *753 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105144,13 +105175,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *756 + - *754 - *41 requestBody: required: true content: application/json: - schema: *757 + schema: *755 examples: group: summary: Group @@ -105176,17 +105207,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *749 + schema: *747 examples: - group: *755 - groupWithMembers: *755 - '400': *750 - '401': *748 - '403': *751 + group: *753 + groupWithMembers: *753 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '409': *758 - '429': *752 - '500': *753 + '409': *756 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105210,13 +105241,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *756 + - *754 - *41 requestBody: required: true content: application/json: - schema: &768 + schema: &766 type: object required: - Operations @@ -105276,17 +105307,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *749 + schema: *747 examples: - updateGroup: *755 - addMembers: *755 - '400': *750 - '401': *748 - '403': *751 + updateGroup: *753 + addMembers: *753 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '409': *758 - '429': *752 - '500': *753 + '409': *756 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105302,17 +105333,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *756 + - *754 - *41 responses: '204': description: Group was deleted, no content - '400': *750 - '401': *748 - '403': *751 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '429': *752 - '500': *753 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105346,8 +105377,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *759 - - *760 + - *757 + - *758 - *41 responses: '200': @@ -105380,7 +105411,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &763 + items: &761 allOf: - type: object required: @@ -105459,7 +105490,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &762 + roles: &760 type: array description: The roles assigned to the user. items: @@ -105515,7 +105546,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *761 + meta: *759 startIndex: type: integer description: A starting index for the returned page @@ -105552,11 +105583,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *750 - '401': *748 - '403': *751 - '429': *752 - '500': *753 + '400': *748 + '401': *746 + '403': *749 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105580,7 +105611,7 @@ paths: required: true content: application/json: - schema: &766 + schema: &764 type: object required: - schemas @@ -105662,9 +105693,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *762 + roles: *760 examples: - user: &767 + user: &765 summary: User value: schemas: @@ -105711,9 +105742,9 @@ paths: description: User has been created content: application/scim+json: - schema: *763 + schema: *761 examples: - user: &764 + user: &762 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -105739,13 +105770,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *764 - '400': *750 - '401': *748 - '403': *751 - '409': *758 - '429': *752 - '500': *753 + enterpriseOwner: *762 + '400': *748 + '401': *746 + '403': *749 + '409': *756 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105762,7 +105793,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &765 + - &763 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -105775,15 +105806,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *763 + schema: *761 examples: - default: *764 - '400': *750 - '401': *748 - '403': *751 + default: *762 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '429': *752 - '500': *753 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105805,30 +105836,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *765 + - *763 - *41 requestBody: required: true content: application/json: - schema: *766 + schema: *764 examples: - user: *767 + user: *765 responses: '200': description: User was updated content: application/scim+json: - schema: *763 + schema: *761 examples: - user: *764 - '400': *750 - '401': *748 - '403': *751 + user: *762 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '409': *758 - '429': *752 - '500': *753 + '409': *756 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105863,13 +105894,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *765 + - *763 - *41 requestBody: required: true content: application/json: - schema: *768 + schema: *766 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -105909,18 +105940,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *763 + schema: *761 examples: - userMultiValuedProperties: *764 - userSingleValuedProperties: *764 - disableUser: *764 - '400': *750 - '401': *748 - '403': *751 + userMultiValuedProperties: *762 + userSingleValuedProperties: *762 + disableUser: *762 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '409': *758 - '429': *752 - '500': *753 + '409': *756 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105940,17 +105971,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *765 + - *763 - *41 responses: '204': description: User was deleted, no content - '400': *750 - '401': *748 - '403': *751 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '429': *752 - '500': *753 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106037,7 +106068,7 @@ paths: example: 1 Resources: type: array - items: &769 + items: &767 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -106268,22 +106299,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &770 + '404': &768 description: Resource not found content: application/json: - schema: *747 + schema: *745 application/scim+json: - schema: *747 - '403': &771 + schema: *745 + '403': &769 description: Forbidden content: application/json: - schema: *747 + schema: *745 application/scim+json: - schema: *747 - '400': *750 - '429': *752 + schema: *745 + '400': *748 + '429': *750 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -106309,9 +106340,9 @@ paths: description: Response content: application/scim+json: - schema: *769 + schema: *767 examples: - default: &772 + default: &770 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -106334,17 +106365,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *770 - '403': *771 - '500': *753 + '404': *768 + '403': *769 + '500': *751 '409': description: Conflict content: application/json: - schema: *747 + schema: *745 application/scim+json: - schema: *747 - '400': *750 + schema: *745 + '400': *748 requestBody: required: true content: @@ -106442,17 +106473,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *78 - - *765 + - *763 responses: '200': description: Response content: application/scim+json: - schema: *769 + schema: *767 examples: - default: *772 - '404': *770 - '403': *771 + default: *770 + '404': *768 + '403': *769 '304': *37 x-github: githubCloudOnly: true @@ -106476,18 +106507,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *78 - - *765 + - *763 responses: '200': description: Response content: application/scim+json: - schema: *769 + schema: *767 examples: - default: *772 + default: *770 '304': *37 - '404': *770 - '403': *771 + '404': *768 + '403': *769 requestBody: required: true content: @@ -106600,19 +106631,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *78 - - *765 + - *763 responses: '200': description: Response content: application/scim+json: - schema: *769 + schema: *767 examples: - default: *772 + default: *770 '304': *37 - '404': *770 - '403': *771 - '400': *750 + '404': *768 + '403': *769 + '400': *748 '429': description: Response content: @@ -106703,12 +106734,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *78 - - *765 + - *763 responses: '204': description: Response - '404': *770 - '403': *771 + '404': *768 + '403': *769 '304': *37 x-github: githubCloudOnly: true @@ -106841,7 +106872,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &773 + text_matches: &771 title: Search Result Text Matches type: array items: @@ -107004,7 +107035,7 @@ paths: enum: - author-date - committer-date - - &774 + - &772 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -107075,7 +107106,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *503 + properties: *501 nullable: true comment_count: type: integer @@ -107095,7 +107126,7 @@ paths: url: type: string format: uri - verification: *624 + verification: *622 required: - author - committer @@ -107114,7 +107145,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *503 + properties: *501 nullable: true parents: type: array @@ -107132,7 +107163,7 @@ paths: type: number node_id: type: string - text_matches: *773 + text_matches: *771 required: - sha - node_id @@ -107325,7 +107356,7 @@ paths: - interactions - created - updated - - *774 + - *772 - *17 - *19 - name: advanced_search @@ -107422,11 +107453,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *777 + items: *775 state: type: string state_reason: @@ -107443,8 +107474,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *380 - required: *381 + properties: *378 + required: *379 nullable: true comments: type: integer @@ -107458,7 +107489,7 @@ paths: type: string format: date-time nullable: true - text_matches: *773 + text_matches: *771 pull_request: type: object properties: @@ -107502,7 +107533,7 @@ paths: timeline_url: type: string format: uri - type: *342 + type: *340 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -107683,7 +107714,7 @@ paths: enum: - created - updated - - *774 + - *772 - *17 - *19 responses: @@ -107727,7 +107758,7 @@ paths: nullable: true score: type: number - text_matches: *773 + text_matches: *771 required: - id - node_id @@ -107813,7 +107844,7 @@ paths: - forks - help-wanted-issues - updated - - *774 + - *772 - *17 - *19 responses: @@ -108052,7 +108083,7 @@ paths: - admin - pull - push - text_matches: *773 + text_matches: *771 temp_clone_token: type: string allow_merge_commit: @@ -108353,7 +108384,7 @@ paths: type: string format: uri nullable: true - text_matches: *773 + text_matches: *771 related: type: array nullable: true @@ -108546,7 +108577,7 @@ paths: - followers - repositories - joined - - *774 + - *772 - *17 - *19 responses: @@ -108650,7 +108681,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *773 + text_matches: *771 blog: type: string nullable: true @@ -108729,7 +108760,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &778 + - &776 name: team_id description: The unique identifier of the team. in: path @@ -108741,9 +108772,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *425 examples: - default: *428 + default: *426 '404': *6 x-github: githubCloudOnly: false @@ -108770,7 +108801,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *778 + - *776 requestBody: required: true content: @@ -108833,16 +108864,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *427 + schema: *425 examples: - default: *428 + default: *426 '201': description: Response content: application/json: - schema: *427 + schema: *425 examples: - default: *428 + default: *426 '404': *6 '422': *15 '403': *29 @@ -108870,7 +108901,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *778 + - *776 responses: '204': description: Response @@ -108901,7 +108932,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *778 + - *776 - *101 - *17 - *19 @@ -108912,9 +108943,9 @@ paths: application/json: schema: type: array - items: *429 + items: *427 examples: - default: *779 + default: *777 headers: Link: *43 x-github: @@ -108943,7 +108974,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *778 + - *776 requestBody: required: true content: @@ -108977,9 +109008,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *427 examples: - default: *430 + default: *428 x-github: triggersNotification: true githubCloudOnly: false @@ -109006,16 +109037,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *778 - - *431 + - *776 + - *429 responses: '200': description: Response content: application/json: - schema: *429 + schema: *427 examples: - default: *430 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109040,8 +109071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *778 - - *431 + - *776 + - *429 requestBody: required: false content: @@ -109064,9 +109095,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *427 examples: - default: *780 + default: *778 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109091,8 +109122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *778 - - *431 + - *776 + - *429 responses: '204': description: Response @@ -109121,8 +109152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *778 - - *431 + - *776 + - *429 - *101 - *17 - *19 @@ -109133,9 +109164,9 @@ paths: application/json: schema: type: array - items: *432 + items: *430 examples: - default: *781 + default: *779 headers: Link: *43 x-github: @@ -109164,8 +109195,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *778 - - *431 + - *776 + - *429 requestBody: required: true content: @@ -109187,9 +109218,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *430 examples: - default: *433 + default: *431 x-github: triggersNotification: true githubCloudOnly: false @@ -109216,17 +109247,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *778 - - *431 - - *434 + - *776 + - *429 + - *432 responses: '200': description: Response content: application/json: - schema: *432 + schema: *430 examples: - default: *433 + default: *431 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109251,9 +109282,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *778 - - *431 - - *434 + - *776 + - *429 + - *432 requestBody: required: true content: @@ -109275,9 +109306,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *430 examples: - default: *782 + default: *780 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109302,9 +109333,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *778 - - *431 - - *434 + - *776 + - *429 + - *432 responses: '204': description: Response @@ -109333,9 +109364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *778 - - *431 - - *434 + - *776 + - *429 + - *432 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -109361,9 +109392,9 @@ paths: application/json: schema: type: array - items: *435 + items: *433 examples: - default: *437 + default: *435 headers: Link: *43 x-github: @@ -109392,9 +109423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *778 - - *431 - - *434 + - *776 + - *429 + - *432 requestBody: required: true content: @@ -109426,9 +109457,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *433 examples: - default: *436 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109454,8 +109485,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *778 - - *431 + - *776 + - *429 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -109481,9 +109512,9 @@ paths: application/json: schema: type: array - items: *435 + items: *433 examples: - default: *437 + default: *435 headers: Link: *43 x-github: @@ -109512,8 +109543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *778 - - *431 + - *776 + - *429 requestBody: required: true content: @@ -109545,9 +109576,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *433 examples: - default: *436 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109571,7 +109602,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *778 + - *776 - *17 - *19 responses: @@ -109581,9 +109612,9 @@ paths: application/json: schema: type: array - items: *339 + items: *337 examples: - default: *340 + default: *338 headers: Link: *43 x-github: @@ -109609,7 +109640,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *778 + - *776 - name: role description: Filters members returned by their role in the team. in: query @@ -109660,7 +109691,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *778 + - *776 - *182 responses: '204': @@ -109697,7 +109728,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *778 + - *776 - *182 responses: '204': @@ -109737,7 +109768,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *778 + - *776 - *182 responses: '204': @@ -109774,16 +109805,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *778 + - *776 - *182 responses: '200': description: Response content: application/json: - schema: *443 + schema: *441 examples: - response-if-user-is-a-team-maintainer: *783 + response-if-user-is-a-team-maintainer: *781 '404': *6 x-github: githubCloudOnly: false @@ -109816,7 +109847,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: - - *778 + - *776 - *182 requestBody: required: false @@ -109842,9 +109873,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *441 examples: - response-if-users-membership-with-team-is-now-pending: *784 + response-if-users-membership-with-team-is-now-pending: *782 '403': description: Forbidden if team synchronization is set up '422': @@ -109878,7 +109909,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: - - *778 + - *776 - *182 responses: '204': @@ -109907,7 +109938,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *778 + - *776 - *17 - *19 responses: @@ -109917,9 +109948,9 @@ paths: application/json: schema: type: array - items: *444 + items: *442 examples: - default: *785 + default: *783 headers: Link: *43 '404': *6 @@ -109945,16 +109976,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *778 - - *445 + - *776 + - *443 responses: '200': description: Response content: application/json: - schema: *444 + schema: *442 examples: - default: *786 + default: *784 '404': description: Not Found if project is not managed by this team x-github: @@ -109978,8 +110009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *778 - - *445 + - *776 + - *443 requestBody: required: false content: @@ -110046,8 +110077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *778 - - *445 + - *776 + - *443 responses: '204': description: Response @@ -110074,7 +110105,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *778 + - *776 - *17 - *19 responses: @@ -110086,7 +110117,7 @@ paths: type: array items: *255 examples: - default: *364 + default: *362 headers: Link: *43 '404': *6 @@ -110116,15 +110147,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *778 - - *446 - - *447 + - *776 + - *444 + - *445 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *787 + schema: *785 examples: alternative-response-with-extra-repository-information: value: @@ -110275,9 +110306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *778 - - *446 - - *447 + - *776 + - *444 + - *445 requestBody: required: false content: @@ -110327,9 +110358,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *778 - - *446 - - *447 + - *776 + - *444 + - *445 responses: '204': description: Response @@ -110358,15 +110389,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *778 + - *776 responses: '200': description: Response content: application/json: - schema: *448 + schema: *446 examples: - default: *449 + default: *447 '403': *29 '404': *6 x-github: @@ -110393,7 +110424,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *778 + - *776 requestBody: required: true content: @@ -110450,7 +110481,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *446 examples: default: value: @@ -110481,7 +110512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *778 + - *776 - *17 - *19 responses: @@ -110493,7 +110524,7 @@ paths: type: array items: *282 examples: - response-if-child-teams-exist: *788 + response-if-child-teams-exist: *786 headers: Link: *43 '404': *6 @@ -110526,7 +110557,7 @@ paths: application/json: schema: oneOf: - - &790 + - &788 title: Private User description: Private User type: object @@ -110729,7 +110760,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *789 + - *787 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -110882,7 +110913,7 @@ paths: description: Response content: application/json: - schema: *790 + schema: *788 examples: default: value: @@ -111085,9 +111116,9 @@ paths: type: integer codespaces: type: array - items: *347 + items: *345 examples: - default: *348 + default: *346 '304': *37 '500': *40 '401': *25 @@ -111226,17 +111257,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *347 + schema: *345 examples: - default: *553 + default: *551 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *347 + schema: *345 examples: - default: *553 + default: *551 '401': *25 '403': *29 '404': *6 @@ -111280,7 +111311,7 @@ paths: type: integer secrets: type: array - items: &791 + items: &789 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -111320,7 +111351,7 @@ paths: - visibility - selected_repositories_url examples: - default: *556 + default: *554 headers: Link: *43 x-github: @@ -111396,7 +111427,7 @@ paths: description: Response content: application/json: - schema: *791 + schema: *789 examples: default: value: @@ -111542,7 +111573,7 @@ paths: type: array items: *255 examples: - default: *792 + default: *790 '401': *25 '403': *29 '404': *6 @@ -111686,15 +111717,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *349 + - *347 responses: '200': description: Response content: application/json: - schema: *347 + schema: *345 examples: - default: *553 + default: *551 '304': *37 '500': *40 '401': *25 @@ -111720,7 +111751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *349 + - *347 requestBody: required: false content: @@ -111750,9 +111781,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *345 examples: - default: *553 + default: *551 '401': *25 '403': *29 '404': *6 @@ -111774,7 +111805,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *349 + - *347 responses: '202': *39 '304': *37 @@ -111803,13 +111834,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *349 + - *347 responses: '202': description: Response content: application/json: - schema: &793 + schema: &791 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -111850,7 +111881,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &794 + default: &792 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -111882,7 +111913,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *349 + - *347 - name: export_id in: path required: true @@ -111895,9 +111926,9 @@ paths: description: Response content: application/json: - schema: *793 + schema: *791 examples: - default: *794 + default: *792 '404': *6 x-github: githubCloudOnly: false @@ -111918,7 +111949,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *349 + - *347 responses: '200': description: Response @@ -111934,9 +111965,9 @@ paths: type: integer machines: type: array - items: *795 + items: *793 examples: - default: *796 + default: *794 '304': *37 '500': *40 '401': *25 @@ -111965,7 +111996,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *349 + - *347 requestBody: required: true content: @@ -112015,13 +112046,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *459 + repository: *457 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *554 - required: *555 + properties: *552 + required: *553 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -112795,15 +112826,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *349 + - *347 responses: '200': description: Response content: application/json: - schema: *347 + schema: *345 examples: - default: *553 + default: *551 '304': *37 '500': *40 '400': *14 @@ -112835,15 +112866,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *349 + - *347 responses: '200': description: Response content: application/json: - schema: *347 + schema: *345 examples: - default: *553 + default: *551 '500': *40 '401': *25 '403': *29 @@ -112873,9 +112904,9 @@ paths: application/json: schema: type: array - items: *358 + items: *356 examples: - default: &808 + default: &806 value: - id: 197 name: hello_docker @@ -112976,7 +113007,7 @@ paths: application/json: schema: type: array - items: &797 + items: &795 title: Email description: Email type: object @@ -113041,9 +113072,9 @@ paths: application/json: schema: type: array - items: *797 + items: *795 examples: - default: &810 + default: &808 value: - email: octocat@github.com verified: true @@ -113118,7 +113149,7 @@ paths: application/json: schema: type: array - items: *797 + items: *795 examples: default: value: @@ -113374,7 +113405,7 @@ paths: application/json: schema: type: array - items: &798 + items: &796 title: GPG Key description: A unique encryption key type: object @@ -113505,7 +113536,7 @@ paths: - subkeys - revoked examples: - default: &824 + default: &822 value: - id: 3 name: Octocat's GPG Key @@ -113590,9 +113621,9 @@ paths: description: Response content: application/json: - schema: *798 + schema: *796 examples: - default: &799 + default: &797 value: id: 3 name: Octocat's GPG Key @@ -113649,7 +113680,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &800 + - &798 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -113661,9 +113692,9 @@ paths: description: Response content: application/json: - schema: *798 + schema: *796 examples: - default: *799 + default: *797 '404': *6 '304': *37 '403': *29 @@ -113686,7 +113717,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *800 + - *798 responses: '204': description: Response @@ -113962,12 +113993,12 @@ paths: application/json: schema: anyOf: - - *337 + - *335 - type: object properties: {} additionalProperties: false examples: - default: *338 + default: *336 '204': description: Response when there are no restrictions x-github: @@ -113991,7 +114022,7 @@ paths: required: true content: application/json: - schema: *635 + schema: *633 examples: default: value: @@ -114002,7 +114033,7 @@ paths: description: Response content: application/json: - schema: *337 + schema: *335 examples: default: value: @@ -114083,7 +114114,7 @@ paths: - closed - all default: open - - *345 + - *343 - name: sort description: What to sort results by. in: query @@ -114108,7 +114139,7 @@ paths: type: array items: *189 examples: - default: *346 + default: *344 headers: Link: *43 '404': *6 @@ -114141,7 +114172,7 @@ paths: application/json: schema: type: array - items: &801 + items: &799 title: Key description: Key type: object @@ -114242,9 +114273,9 @@ paths: description: Response content: application/json: - schema: *801 + schema: *799 examples: - default: &802 + default: &800 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -114277,15 +114308,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *663 + - *661 responses: '200': description: Response content: application/json: - schema: *801 + schema: *799 examples: - default: *802 + default: *800 '404': *6 '304': *37 '403': *29 @@ -114308,7 +114339,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *663 + - *661 responses: '204': description: Response @@ -114341,7 +114372,7 @@ paths: application/json: schema: type: array - items: &803 + items: &801 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -114409,7 +114440,7 @@ paths: - account - plan examples: - default: &804 + default: &802 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -114471,9 +114502,9 @@ paths: application/json: schema: type: array - items: *803 + items: *801 examples: - default: *804 + default: *802 headers: Link: *43 '304': *37 @@ -114513,7 +114544,7 @@ paths: application/json: schema: type: array - items: *350 + items: *348 examples: default: value: @@ -114621,7 +114652,7 @@ paths: description: Response content: application/json: - schema: *350 + schema: *348 examples: default: value: @@ -114704,7 +114735,7 @@ paths: description: Response content: application/json: - schema: *350 + schema: *348 examples: default: value: @@ -114772,7 +114803,7 @@ paths: application/json: schema: type: array - items: *352 + items: *350 examples: default: value: @@ -115025,7 +115056,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *350 examples: default: value: @@ -115205,7 +115236,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *353 + - *351 - name: exclude in: query required: false @@ -115218,7 +115249,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *350 examples: default: value: @@ -115412,7 +115443,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *353 + - *351 responses: '302': description: Response @@ -115438,7 +115469,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *353 + - *351 responses: '204': description: Response @@ -115467,8 +115498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *353 - - *805 + - *351 + - *803 responses: '204': description: Response @@ -115492,7 +115523,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *353 + - *351 - *17 - *19 responses: @@ -115504,7 +115535,7 @@ paths: type: array items: *255 examples: - default: *364 + default: *362 headers: Link: *43 '404': *6 @@ -115541,7 +115572,7 @@ paths: type: array items: *64 examples: - default: *806 + default: *804 headers: Link: *43 '304': *37 @@ -115583,7 +115614,7 @@ paths: - docker - nuget - container - - *807 + - *805 - *19 - *17 responses: @@ -115593,10 +115624,10 @@ paths: application/json: schema: type: array - items: *358 + items: *356 examples: - default: *808 - '400': *809 + default: *806 + '400': *807 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115616,16 +115647,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *360 - - *361 + - *358 + - *359 responses: '200': description: Response content: application/json: - schema: *358 + schema: *356 examples: - default: &825 + default: &823 value: id: 40201 name: octo-name @@ -115738,8 +115769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *360 - - *361 + - *358 + - *359 responses: '204': description: Response @@ -115769,8 +115800,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *360 - - *361 + - *358 + - *359 - name: token description: package token schema: @@ -115802,8 +115833,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *360 - - *361 + - *358 + - *359 - *19 - *17 - name: state @@ -115823,7 +115854,7 @@ paths: application/json: schema: type: array - items: *362 + items: *360 examples: default: value: @@ -115872,15 +115903,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *360 + - *358 + - *359 - *361 - - *363 responses: '200': description: Response content: application/json: - schema: *362 + schema: *360 examples: default: value: @@ -115916,9 +115947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *360 + - *358 + - *359 - *361 - - *363 responses: '204': description: Response @@ -115948,9 +115979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *360 + - *358 + - *359 - *361 - - *363 responses: '204': description: Response @@ -116006,7 +116037,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *372 examples: default: value: @@ -116078,9 +116109,9 @@ paths: application/json: schema: type: array - items: *797 + items: *795 examples: - default: *810 + default: *808 headers: Link: *43 '304': *37 @@ -116193,7 +116224,7 @@ paths: type: array items: *69 examples: - default: &817 + default: &815 summary: Default response value: - id: 1296269 @@ -116497,9 +116528,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *457 examples: - default: *461 + default: *459 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -116537,9 +116568,9 @@ paths: application/json: schema: type: array - items: *637 + items: *635 examples: - default: *811 + default: *809 headers: Link: *43 '304': *37 @@ -116562,7 +116593,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *341 + - *339 responses: '204': description: Response @@ -116585,7 +116616,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *341 + - *339 responses: '204': description: Response @@ -116618,7 +116649,7 @@ paths: application/json: schema: type: array - items: &812 + items: &810 title: Social account description: Social media account type: object @@ -116633,7 +116664,7 @@ paths: - provider - url examples: - default: &813 + default: &811 value: - provider: twitter url: https://twitter.com/github @@ -116695,9 +116726,9 @@ paths: application/json: schema: type: array - items: *812 + items: *810 examples: - default: *813 + default: *811 '422': *15 '304': *37 '404': *6 @@ -116784,7 +116815,7 @@ paths: application/json: schema: type: array - items: &814 + items: &812 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -116804,7 +116835,7 @@ paths: - title - created_at examples: - default: &828 + default: &826 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116870,9 +116901,9 @@ paths: description: Response content: application/json: - schema: *814 + schema: *812 examples: - default: &815 + default: &813 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116903,7 +116934,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &816 + - &814 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -116915,9 +116946,9 @@ paths: description: Response content: application/json: - schema: *814 + schema: *812 examples: - default: *815 + default: *813 '404': *6 '304': *37 '403': *29 @@ -116940,7 +116971,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *816 + - *814 responses: '204': description: Response @@ -116969,7 +117000,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &829 + - &827 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 @@ -116994,11 +117025,11 @@ paths: type: array items: *69 examples: - default-response: *817 + default-response: *815 application/vnd.github.v3.star+json: schema: type: array - items: &830 + items: &828 title: Starred Repository description: Starred Repository type: object @@ -117154,8 +117185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *446 - - *447 + - *444 + - *445 responses: '204': description: Response if this repository is starred by you @@ -117183,8 +117214,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *446 - - *447 + - *444 + - *445 responses: '204': description: Response @@ -117208,8 +117239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *446 - - *447 + - *444 + - *445 responses: '204': description: Response @@ -117244,7 +117275,7 @@ paths: type: array items: *255 examples: - default: *364 + default: *362 headers: Link: *43 '304': *37 @@ -117281,7 +117312,7 @@ paths: application/json: schema: type: array - items: *427 + items: *425 examples: default: value: @@ -117367,10 +117398,10 @@ paths: application/json: schema: oneOf: - - *790 - - *789 + - *788 + - *787 examples: - default-response: &819 + default-response: &817 summary: Default response value: login: octocat @@ -117405,7 +117436,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &820 + response-with-git-hub-plan-information: &818 summary: Response with GitHub plan information value: login: octocat @@ -117465,7 +117496,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *818 + - *816 - *17 responses: '200': @@ -117514,11 +117545,11 @@ paths: application/json: schema: oneOf: - - *790 - - *789 + - *788 + - *787 examples: - default-response: *819 - response-with-git-hub-plan-information: *820 + default-response: *817 + response-with-git-hub-plan-information: *818 '404': *6 x-github: githubCloudOnly: false @@ -117567,8 +117598,8 @@ paths: required: - subject_digests examples: - default: *821 - withPredicateType: *822 + default: *819 + withPredicateType: *820 responses: '200': description: Response @@ -117621,7 +117652,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *823 + default: *821 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117825,7 +117856,7 @@ paths: initiator: type: string examples: - default: *499 + default: *497 '201': description: Response content: @@ -117864,9 +117895,9 @@ paths: application/json: schema: type: array - items: *358 + items: *356 examples: - default: *808 + default: *806 '403': *29 '401': *25 x-github: @@ -118250,9 +118281,9 @@ paths: application/json: schema: type: array - items: *798 + items: *796 examples: - default: *824 + default: *822 headers: Link: *43 x-github: @@ -118356,7 +118387,7 @@ paths: application/json: schema: *22 examples: - default: *634 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118441,7 +118472,7 @@ paths: type: array items: *64 examples: - default: *806 + default: *804 headers: Link: *43 x-github: @@ -118480,7 +118511,7 @@ paths: - docker - nuget - container - - *807 + - *805 - *182 - *19 - *17 @@ -118491,12 +118522,12 @@ paths: application/json: schema: type: array - items: *358 + items: *356 examples: - default: *808 + default: *806 '403': *29 '401': *25 - '400': *809 + '400': *807 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118516,17 +118547,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *360 - - *361 + - *358 + - *359 - *182 responses: '200': description: Response content: application/json: - schema: *358 + schema: *356 examples: - default: *825 + default: *823 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118547,8 +118578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *360 - - *361 + - *358 + - *359 - *182 responses: '204': @@ -118581,8 +118612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *360 - - *361 + - *358 + - *359 - *182 - name: token description: package token @@ -118615,8 +118646,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: - - *360 - - *361 + - *358 + - *359 - *182 responses: '200': @@ -118625,7 +118656,7 @@ paths: application/json: schema: type: array - items: *362 + items: *360 examples: default: value: @@ -118683,16 +118714,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *360 + - *358 + - *359 - *361 - - *363 - *182 responses: '200': description: Response content: application/json: - schema: *362 + schema: *360 examples: default: value: @@ -118727,10 +118758,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *360 - - *361 + - *358 + - *359 - *182 - - *363 + - *361 responses: '204': description: Response @@ -118762,10 +118793,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *360 - - *361 + - *358 + - *359 - *182 - - *363 + - *361 responses: '204': description: Response @@ -118812,7 +118843,7 @@ paths: application/json: schema: type: array - items: *374 + items: *372 examples: default: value: @@ -118887,9 +118918,9 @@ paths: application/json: schema: type: array - items: *375 + items: *373 examples: - default: *376 + default: *374 headers: Link: *43 '304': *37 @@ -118911,16 +118942,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *377 + - *375 - *182 responses: '200': description: Response content: application/json: - schema: *375 + schema: *373 examples: - default: *376 + default: *374 headers: Link: *43 '304': *37 @@ -118942,7 +118973,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *377 + - *375 - *182 - *17 - *99 @@ -118954,9 +118985,9 @@ paths: application/json: schema: type: array - items: *378 + items: *376 examples: - default: *379 + default: *377 headers: Link: *43 '304': *37 @@ -118978,17 +119009,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *377 - - *826 + - *375 + - *824 - *182 responses: '200': description: Response content: application/json: - schema: *378 + schema: *376 examples: - default: *379 + default: *377 headers: Link: *43 '304': *37 @@ -119011,7 +119042,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: - - *377 + - *375 - *182 - *99 - *100 @@ -119024,8 +119055,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: @@ -119033,7 +119066,6 @@ paths: maxItems: 50 items: type: string - example: fields[]=123,fields[]=456,fields[]=789 responses: '200': description: Response @@ -119041,9 +119073,9 @@ paths: application/json: schema: type: array - items: *385 + items: *383 examples: - default: *386 + default: *384 headers: Link: *43 '304': *37 @@ -119065,7 +119097,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *182 - - *377 + - *375 requestBody: required: true description: Details of the item to add to the project. @@ -119102,10 +119134,10 @@ paths: description: Response content: application/json: - schema: *827 + schema: *825 examples: - issue: *384 - pull_request: *384 + issue: *382 + pull_request: *382 '304': *37 '403': *29 '401': *25 @@ -119125,9 +119157,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: - - *377 + - *375 - *182 - - *387 + - *385 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -119144,9 +119176,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *383 examples: - default: *386 + default: *384 headers: Link: *43 '304': *37 @@ -119167,9 +119199,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *377 + - *375 - *182 - - *387 + - *385 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -119239,13 +119271,13 @@ paths: description: Response content: application/json: - schema: *385 + schema: *383 examples: - text_field: *386 - number_field: *386 - date_field: *386 - single_select_field: *386 - iteration_field: *386 + text_field: *384 + number_field: *384 + date_field: *384 + single_select_field: *384 + iteration_field: *384 '401': *25 '403': *29 '404': *6 @@ -119265,9 +119297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *377 + - *375 - *182 - - *387 + - *385 responses: '204': description: Response @@ -119487,7 +119519,7 @@ paths: type: array items: *255 examples: - default: *364 + default: *362 headers: Link: *43 x-github: @@ -119517,9 +119549,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *412 examples: - default: *415 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119547,9 +119579,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *417 examples: - default: *420 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119558,7 +119590,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 @@ -119707,9 +119742,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *419 examples: - default: *422 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119832,9 +119867,9 @@ paths: application/json: schema: type: array - items: *812 + items: *810 examples: - default: *813 + default: *811 headers: Link: *43 x-github: @@ -119864,9 +119899,9 @@ paths: application/json: schema: type: array - items: *814 + items: *812 examples: - default: *828 + default: *826 headers: Link: *43 x-github: @@ -119891,7 +119926,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *182 - - *829 + - *827 - *101 - *17 - *19 @@ -119903,11 +119938,11 @@ paths: schema: anyOf: - type: array - items: *830 + items: *828 - type: array items: *69 examples: - default-response: *817 + default-response: *815 headers: Link: *43 x-github: @@ -119938,7 +119973,7 @@ paths: type: array items: *255 examples: - default: *364 + default: *362 headers: Link: *43 x-github: @@ -120066,7 +120101,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &831 + enterprise: &829 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -120124,7 +120159,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &832 + installation: &830 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -120143,7 +120178,7 @@ x-webhooks: required: - id - node_id - organization: &833 + organization: &831 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -120203,13 +120238,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &834 + repository: &832 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &871 + properties: &869 id: description: Unique identifier of the repository example: 42 @@ -120892,7 +120927,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &872 + required: &870 - archive_url - assignees_url - blobs_url @@ -121043,10 +121078,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -121122,11 +121157,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - rule: &835 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + rule: &833 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -121349,11 +121384,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - rule: *835 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + rule: *833 sender: *4 required: - action @@ -121536,11 +121571,11 @@ x-webhooks: - everyone required: - from - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - rule: *835 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + rule: *833 sender: *4 required: - action @@ -121611,7 +121646,7 @@ x-webhooks: required: true content: application/json: - schema: &838 + schema: &836 title: Exemption request cancellation event type: object properties: @@ -121619,11 +121654,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: &836 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + exemption_request: &834 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -121856,7 +121891,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &837 + items: &835 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -121964,7 +121999,7 @@ x-webhooks: required: true content: application/json: - schema: &839 + schema: &837 title: Exemption request completed event type: object properties: @@ -121972,11 +122007,11 @@ x-webhooks: type: string enum: - completed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: *836 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + exemption_request: *834 sender: *4 required: - action @@ -122046,7 +122081,7 @@ x-webhooks: required: true content: application/json: - schema: &840 + schema: &838 title: Exemption request created event type: object properties: @@ -122054,11 +122089,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: *836 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + exemption_request: *834 sender: *4 required: - action @@ -122128,7 +122163,7 @@ x-webhooks: required: true content: application/json: - schema: &841 + schema: &839 title: Exemption response dismissed event type: object properties: @@ -122136,12 +122171,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: *836 - exemption_response: *837 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + exemption_request: *834 + exemption_response: *835 sender: *4 required: - action @@ -122213,7 +122248,7 @@ x-webhooks: required: true content: application/json: - schema: &842 + schema: &840 title: Exemption response submitted event type: object properties: @@ -122221,12 +122256,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: *836 - exemption_response: *837 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + exemption_request: *834 + exemption_response: *835 sender: *4 required: - action @@ -122299,7 +122334,7 @@ x-webhooks: required: true content: application/json: - schema: *838 + schema: *836 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122366,7 +122401,7 @@ x-webhooks: required: true content: application/json: - schema: *839 + schema: *837 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122433,7 +122468,7 @@ x-webhooks: required: true content: application/json: - schema: *840 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122500,7 +122535,7 @@ x-webhooks: required: true content: application/json: - schema: *841 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122568,7 +122603,7 @@ x-webhooks: required: true content: application/json: - schema: *842 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122646,7 +122681,7 @@ x-webhooks: type: string enum: - completed - check_run: &844 + check_run: &842 title: CheckRun description: A check performed on the code of a given code change type: object @@ -122737,7 +122772,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *843 + deployment: *841 details_url: example: https://example.com type: string @@ -122822,10 +122857,10 @@ x-webhooks: - output - app - pull_requests - installation: *832 - enterprise: *831 - organization: *833 - repository: *834 + installation: *830 + enterprise: *829 + organization: *831 + repository: *832 sender: *4 required: - check_run @@ -123218,11 +123253,11 @@ x-webhooks: type: string enum: - created - check_run: *844 - installation: *832 - enterprise: *831 - organization: *833 - repository: *834 + check_run: *842 + installation: *830 + enterprise: *829 + organization: *831 + repository: *832 sender: *4 required: - check_run @@ -123618,11 +123653,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *844 - installation: *832 - enterprise: *831 - organization: *833 - repository: *834 + check_run: *842 + installation: *830 + enterprise: *829 + organization: *831 + repository: *832 requested_action: description: The action requested by the user. type: object @@ -124027,11 +124062,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *844 - installation: *832 - enterprise: *831 - organization: *833 - repository: *834 + check_run: *842 + installation: *830 + enterprise: *829 + organization: *831 + repository: *832 sender: *4 required: - check_run @@ -125008,10 +125043,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -125681,10 +125716,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -126348,10 +126383,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -126517,7 +126552,7 @@ x-webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *526 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -126662,20 +126697,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &845 + commit_oid: &843 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *831 - installation: *832 - organization: *833 - ref: &846 + enterprise: *829 + installation: *830 + organization: *831 + ref: &844 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *834 + repository: *832 sender: *4 required: - action @@ -126840,7 +126875,7 @@ x-webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *526 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127070,12 +127105,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *845 - enterprise: *831 - installation: *832 - organization: *833 - ref: *846 - repository: *834 + commit_oid: *843 + enterprise: *829 + installation: *830 + organization: *831 + ref: *844 + repository: *832 sender: *4 required: - action @@ -127170,7 +127205,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *528 + dismissed_comment: *526 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127341,12 +127376,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *845 - enterprise: *831 - installation: *832 - organization: *833 - ref: *846 - repository: *834 + commit_oid: *843 + enterprise: *829 + installation: *830 + organization: *831 + ref: *844 + repository: *832 sender: *4 required: - action @@ -127512,7 +127547,7 @@ x-webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *526 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127678,12 +127713,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *845 - enterprise: *831 - installation: *832 - organization: *833 - ref: *846 - repository: *834 + commit_oid: *843 + enterprise: *829 + installation: *830 + organization: *831 + ref: *844 + repository: *832 sender: *4 required: - action @@ -127783,7 +127818,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *528 + dismissed_comment: *526 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127951,16 +127986,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *834 + repository: *832 sender: *4 required: - action @@ -128057,7 +128092,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *528 + dismissed_comment: *526 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128197,12 +128232,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *845 - enterprise: *831 - installation: *832 - organization: *833 - ref: *846 - repository: *834 + commit_oid: *843 + enterprise: *829 + installation: *830 + organization: *831 + ref: *844 + repository: *832 sender: *4 required: - action @@ -128459,10 +128494,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -128542,18 +128577,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *833 - pusher_type: &847 + organization: *831 + pusher_type: &845 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &848 + ref: &846 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -128563,7 +128598,7 @@ x-webhooks: enum: - tag - branch - repository: *834 + repository: *832 sender: *4 required: - ref @@ -128646,9 +128681,9 @@ x-webhooks: enum: - created definition: *129 - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 sender: *4 required: - action @@ -128733,9 +128768,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 sender: *4 required: - action @@ -128813,9 +128848,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *129 - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 sender: *4 required: - action @@ -128893,9 +128928,9 @@ x-webhooks: enum: - updated definition: *129 - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 sender: *4 required: - action @@ -128972,19 +129007,19 @@ x-webhooks: type: string enum: - updated - enterprise: *831 - installation: *832 - repository: *834 - organization: *833 + enterprise: *829 + installation: *830 + repository: *832 + organization: *831 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *389 + items: *387 old_property_values: type: array description: The old custom property values for the repository. - items: *389 + items: *387 required: - action - repository @@ -129060,18 +129095,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 - pusher_type: *847 - ref: *848 + enterprise: *829 + installation: *830 + organization: *831 + pusher_type: *845 + ref: *846 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *834 + repository: *832 sender: *4 required: - ref @@ -129155,11 +129190,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *582 + installation: *830 + organization: *831 + enterprise: *829 + repository: *832 sender: *4 required: - action @@ -129243,11 +129278,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *582 + installation: *830 + organization: *831 + enterprise: *829 + repository: *832 sender: *4 required: - action @@ -129331,11 +129366,11 @@ x-webhooks: type: string enum: - created - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *582 + installation: *830 + organization: *831 + enterprise: *829 + repository: *832 sender: *4 required: - action @@ -129417,11 +129452,11 @@ x-webhooks: type: string enum: - dismissed - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *582 + installation: *830 + organization: *831 + enterprise: *829 + repository: *832 sender: *4 required: - action @@ -129503,11 +129538,11 @@ x-webhooks: type: string enum: - fixed - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *582 + installation: *830 + organization: *831 + enterprise: *829 + repository: *832 sender: *4 required: - action @@ -129590,11 +129625,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *582 + installation: *830 + organization: *831 + enterprise: *829 + repository: *832 sender: *4 required: - action @@ -129676,11 +129711,11 @@ x-webhooks: type: string enum: - reopened - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *582 + installation: *830 + organization: *831 + enterprise: *829 + repository: *832 sender: *4 required: - action @@ -129757,9 +129792,9 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - key: &849 + enterprise: *829 + installation: *830 + key: &847 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -129795,8 +129830,8 @@ x-webhooks: - verified - created_at - read_only - organization: *833 - repository: *834 + organization: *831 + repository: *832 sender: *4 required: - action @@ -129873,11 +129908,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - key: *849 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + key: *847 + organization: *831 + repository: *832 sender: *4 required: - action @@ -130438,12 +130473,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - workflow: &853 + workflow: &851 title: Workflow type: object nullable: true @@ -131169,13 +131204,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *590 + deployment: *588 pull_requests: type: array - items: *682 - repository: *834 - organization: *833 - installation: *832 + items: *680 + repository: *832 + organization: *831 + installation: *830 sender: *4 responses: '200': @@ -131246,7 +131281,7 @@ x-webhooks: type: string enum: - approved - approver: &850 + approver: &848 type: object properties: avatar_url: @@ -131289,11 +131324,11 @@ x-webhooks: type: string comment: type: string - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - reviewers: &851 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + reviewers: &849 type: array items: type: object @@ -131372,7 +131407,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &852 + workflow_job_run: &850 type: object properties: conclusion: @@ -132103,18 +132138,18 @@ x-webhooks: type: string enum: - rejected - approver: *850 + approver: *848 comment: type: string - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - reviewers: *851 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + reviewers: *849 sender: *4 since: type: string - workflow_job_run: *852 + workflow_job_run: *850 workflow_job_runs: type: array items: @@ -132818,13 +132853,13 @@ x-webhooks: type: string enum: - requested - enterprise: *831 + enterprise: *829 environment: type: string - installation: *832 - organization: *833 - repository: *834 - requestor: &858 + installation: *830 + organization: *831 + repository: *832 + requestor: &856 title: User type: object nullable: true @@ -134723,12 +134758,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - workflow: *853 + workflow: *851 workflow_run: title: Deployment Workflow Run type: object @@ -135408,7 +135443,7 @@ x-webhooks: type: string enum: - answered - answer: &856 + answer: &854 type: object properties: author_association: @@ -135565,11 +135600,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -135696,11 +135731,11 @@ x-webhooks: - from required: - category - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -135783,11 +135818,11 @@ x-webhooks: type: string enum: - closed - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -135869,7 +135904,7 @@ x-webhooks: type: string enum: - created - comment: &855 + comment: &853 type: object properties: author_association: @@ -136026,11 +136061,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -136113,12 +136148,12 @@ x-webhooks: type: string enum: - deleted - comment: *855 - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + comment: *853 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -136213,12 +136248,12 @@ x-webhooks: - from required: - body - comment: *855 - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + comment: *853 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -136302,11 +136337,11 @@ x-webhooks: type: string enum: - created - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -136388,11 +136423,11 @@ x-webhooks: type: string enum: - deleted - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -136492,11 +136527,11 @@ x-webhooks: type: string required: - from - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -136578,10 +136613,10 @@ x-webhooks: type: string enum: - labeled - discussion: *854 - enterprise: *831 - installation: *832 - label: &857 + discussion: *852 + enterprise: *829 + installation: *830 + label: &855 title: Label type: object properties: @@ -136613,8 +136648,8 @@ x-webhooks: - color - default - description - organization: *833 - repository: *834 + organization: *831 + repository: *832 sender: *4 required: - action @@ -136697,11 +136732,11 @@ x-webhooks: type: string enum: - locked - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -136783,11 +136818,11 @@ x-webhooks: type: string enum: - pinned - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -136869,11 +136904,11 @@ x-webhooks: type: string enum: - reopened - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -136958,16 +136993,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *854 - new_repository: *834 + new_discussion: *852 + new_repository: *832 required: - new_discussion - new_repository - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -137050,10 +137085,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *854 - old_answer: *856 - organization: *833 - repository: *834 + discussion: *852 + old_answer: *854 + organization: *831 + repository: *832 sender: *4 required: - action @@ -137135,12 +137170,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *854 - enterprise: *831 - installation: *832 - label: *857 - organization: *833 - repository: *834 + discussion: *852 + enterprise: *829 + installation: *830 + label: *855 + organization: *831 + repository: *832 sender: *4 required: - action @@ -137223,11 +137258,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -137309,11 +137344,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -137382,7 +137417,7 @@ x-webhooks: required: true content: application/json: - schema: *840 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137445,7 +137480,7 @@ x-webhooks: required: true content: application/json: - schema: *842 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137511,7 +137546,7 @@ x-webhooks: required: true content: application/json: - schema: *838 + schema: *836 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137577,7 +137612,7 @@ x-webhooks: required: true content: application/json: - schema: *839 + schema: *837 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137643,7 +137678,7 @@ x-webhooks: required: true content: application/json: - schema: *840 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137709,7 +137744,7 @@ x-webhooks: required: true content: application/json: - schema: *841 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137775,7 +137810,7 @@ x-webhooks: required: true content: application/json: - schema: *842 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137842,7 +137877,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *831 + enterprise: *829 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -138502,9 +138537,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *832 - organization: *833 - repository: *834 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - forkee @@ -138650,9 +138685,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 pages: description: The pages that were updated. type: array @@ -138689,7 +138724,7 @@ x-webhooks: - action - sha - html_url - repository: *834 + repository: *832 sender: *4 required: - pages @@ -138765,10 +138800,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 + enterprise: *829 installation: *22 - organization: *833 - repositories: &859 + organization: *831 + repositories: &857 description: An array of repository objects that the installation can access. type: array @@ -138794,8 +138829,8 @@ x-webhooks: - name - full_name - private - repository: *834 - requester: *858 + repository: *832 + requester: *856 sender: *4 required: - action @@ -138870,11 +138905,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 + enterprise: *829 installation: *22 - organization: *833 - repositories: *859 - repository: *834 + organization: *831 + repositories: *857 + repository: *832 requester: nullable: true sender: *4 @@ -138950,11 +138985,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *831 + enterprise: *829 installation: *22 - organization: *833 - repositories: *859 - repository: *834 + organization: *831 + repositories: *857 + repository: *832 requester: nullable: true sender: *4 @@ -139030,10 +139065,10 @@ x-webhooks: type: string enum: - added - enterprise: *831 + enterprise: *829 installation: *22 - organization: *833 - repositories_added: &860 + organization: *831 + repositories_added: &858 description: An array of repository objects, which were added to the installation. type: array @@ -139079,15 +139114,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *834 - repository_selection: &861 + repository: *832 + repository_selection: &859 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *858 + requester: *856 sender: *4 required: - action @@ -139166,10 +139201,10 @@ x-webhooks: type: string enum: - removed - enterprise: *831 + enterprise: *829 installation: *22 - organization: *833 - repositories_added: *860 + organization: *831 + repositories_added: *858 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -139196,9 +139231,9 @@ x-webhooks: - name - full_name - private - repository: *834 - repository_selection: *861 - requester: *858 + repository: *832 + repository_selection: *859 + requester: *856 sender: *4 required: - action @@ -139277,11 +139312,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *831 + enterprise: *829 installation: *22 - organization: *833 - repositories: *859 - repository: *834 + organization: *831 + repositories: *857 + repository: *832 requester: nullable: true sender: *4 @@ -139460,10 +139495,10 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 target_type: type: string @@ -139542,11 +139577,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *831 + enterprise: *829 installation: *22 - organization: *833 - repositories: *859 - repository: *834 + organization: *831 + repositories: *857 + repository: *832 requester: nullable: true sender: *4 @@ -139798,8 +139833,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -140593,8 +140628,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *773 + issue_dependencies_summary: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140610,7 +140645,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *340 updated_at: type: string format: date-time @@ -140943,8 +140978,8 @@ x-webhooks: - state - locked - assignee - organization: *833 - repository: *834 + organization: *831 + repository: *832 sender: *4 required: - action @@ -141024,7 +141059,7 @@ x-webhooks: type: string enum: - deleted - comment: &862 + comment: &860 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -141189,8 +141224,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -141980,8 +142015,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *773 + issue_dependencies_summary: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141997,7 +142032,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *340 updated_at: type: string format: date-time @@ -142332,8 +142367,8 @@ x-webhooks: - state - locked - assignee - organization: *833 - repository: *834 + organization: *831 + repository: *832 sender: *4 required: - action @@ -142413,7 +142448,7 @@ x-webhooks: type: string enum: - edited - changes: &891 + changes: &889 description: The changes to the comment. type: object properties: @@ -142425,9 +142460,9 @@ x-webhooks: type: string required: - from - comment: *862 - enterprise: *831 - installation: *832 + comment: *860 + enterprise: *829 + installation: *830 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143220,8 +143255,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *773 + issue_dependencies_summary: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143237,7 +143272,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *340 updated_at: type: string format: date-time @@ -143570,8 +143605,8 @@ x-webhooks: - state - locked - assignee - organization: *833 - repository: *834 + organization: *831 + repository: *832 sender: *4 required: - action @@ -143661,9 +143696,9 @@ x-webhooks: type: number blocking_issue: *189 blocking_issue_repo: *69 - installation: *832 - organization: *833 - repository: *834 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -143757,9 +143792,9 @@ x-webhooks: type: number blocking_issue: *189 blocking_issue_repo: *69 - installation: *832 - organization: *833 - repository: *834 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -143852,9 +143887,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *189 - installation: *832 - organization: *833 - repository: *834 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -143948,9 +143983,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *189 - installation: *832 - organization: *833 - repository: *834 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -144035,10 +144070,10 @@ x-webhooks: type: string enum: - assigned - assignee: *858 - enterprise: *831 - installation: *832 - issue: &865 + assignee: *856 + enterprise: *829 + installation: *830 + issue: &863 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -144827,11 +144862,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *777 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144847,7 +144882,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *340 updated_at: type: string format: date-time @@ -144948,8 +144983,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *833 - repository: *834 + organization: *831 + repository: *832 sender: *4 required: - action @@ -145029,8 +145064,8 @@ x-webhooks: type: string enum: - closed - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -145824,11 +145859,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *777 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145844,7 +145879,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *340 updated_at: type: string format: date-time @@ -146080,8 +146115,8 @@ x-webhooks: required: - state - closed_at - organization: *833 - repository: *834 + organization: *831 + repository: *832 sender: *4 required: - action @@ -146160,8 +146195,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146946,11 +146981,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *777 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146966,7 +147001,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *340 updated_at: type: string format: date-time @@ -147066,8 +147101,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *833 - repository: *834 + organization: *831 + repository: *832 sender: *4 required: - action @@ -147146,8 +147181,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147954,11 +147989,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *777 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147974,7 +148009,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *340 updated_at: type: string format: date-time @@ -148053,7 +148088,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &863 + milestone: &861 title: Milestone description: A collection of related issues and pull requests. type: object @@ -148191,8 +148226,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *833 - repository: *834 + organization: *831 + repository: *832 sender: *4 required: - action @@ -148291,8 +148326,8 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149081,11 +149116,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *777 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149098,7 +149133,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *342 + type: *340 title: description: Title of the issue type: string @@ -149202,9 +149237,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *857 - organization: *833 - repository: *834 + label: *855 + organization: *831 + repository: *832 sender: *4 required: - action @@ -149284,8 +149319,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150073,11 +150108,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *777 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150090,7 +150125,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *342 + type: *340 title: description: Title of the issue type: string @@ -150194,9 +150229,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *857 - organization: *833 - repository: *834 + label: *855 + organization: *831 + repository: *832 sender: *4 required: - action @@ -150276,8 +150311,8 @@ x-webhooks: type: string enum: - locked - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151089,11 +151124,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *777 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151106,7 +151141,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *342 + type: *340 title: description: Title of the issue type: string @@ -151187,8 +151222,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *833 - repository: *834 + organization: *831 + repository: *832 sender: *4 required: - action @@ -151267,8 +151302,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152074,11 +152109,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *777 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152094,7 +152129,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *340 updated_at: type: string format: date-time @@ -152172,9 +152207,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *863 - organization: *833 - repository: *834 + milestone: *861 + organization: *831 + repository: *832 sender: *4 required: - action @@ -153042,11 +153077,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *777 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153139,7 +153174,7 @@ x-webhooks: required: - login - id - type: *342 + type: *340 required: - id - number @@ -153608,8 +153643,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154398,11 +154433,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *777 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154418,7 +154453,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *340 updated_at: type: string format: date-time @@ -154518,8 +154553,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *833 - repository: *834 + organization: *831 + repository: *832 sender: *4 required: - action @@ -154599,9 +154634,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *831 - installation: *832 - issue: &864 + enterprise: *829 + installation: *830 + issue: &862 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -155384,11 +155419,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *777 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155404,7 +155439,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *340 updated_at: type: string format: date-time @@ -155504,8 +155539,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *833 - repository: *834 + organization: *831 + repository: *832 sender: *4 required: - action @@ -155584,8 +155619,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156395,11 +156430,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *777 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156493,9 +156528,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *342 - organization: *833 - repository: *834 + type: *340 + organization: *831 + repository: *832 sender: *4 required: - action @@ -157361,11 +157396,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *777 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157381,7 +157416,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *340 updated_at: type: string format: date-time @@ -157949,11 +157984,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *831 - installation: *832 - issue: *864 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + issue: *862 + organization: *831 + repository: *832 sender: *4 required: - action @@ -158033,12 +158068,12 @@ x-webhooks: type: string enum: - typed - enterprise: *831 - installation: *832 - issue: *865 - type: *342 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + issue: *863 + type: *340 + organization: *831 + repository: *832 sender: *4 required: - action @@ -158119,7 +158154,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &894 + assignee: &892 title: User type: object nullable: true @@ -158189,11 +158224,11 @@ x-webhooks: required: - login - id - enterprise: *831 - installation: *832 - issue: *865 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + issue: *863 + organization: *831 + repository: *832 sender: *4 required: - action @@ -158272,12 +158307,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *831 - installation: *832 - issue: *865 - label: *857 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + issue: *863 + label: *855 + organization: *831 + repository: *832 sender: *4 required: - action @@ -158357,8 +158392,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159168,11 +159203,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *777 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159188,7 +159223,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *340 updated_at: type: string format: date-time @@ -159266,8 +159301,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *833 - repository: *834 + organization: *831 + repository: *832 sender: *4 required: - action @@ -159347,11 +159382,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *831 - installation: *832 - issue: *864 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + issue: *862 + organization: *831 + repository: *832 sender: *4 required: - action @@ -159430,12 +159465,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *831 - installation: *832 - issue: *865 - type: *342 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + issue: *863 + type: *340 + organization: *831 + repository: *832 sender: *4 required: - action @@ -159515,11 +159550,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - label: *857 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + label: *855 + organization: *831 + repository: *832 sender: *4 required: - action @@ -159597,11 +159632,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - label: *857 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + label: *855 + organization: *831 + repository: *832 sender: *4 required: - action @@ -159711,11 +159746,11 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - label: *857 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + label: *855 + organization: *831 + repository: *832 sender: *4 required: - action @@ -159797,9 +159832,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *831 - installation: *832 - marketplace_purchase: &866 + enterprise: *829 + installation: *830 + marketplace_purchase: &864 title: Marketplace Purchase type: object required: @@ -159882,8 +159917,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *833 - previous_marketplace_purchase: &867 + organization: *831 + previous_marketplace_purchase: &865 title: Marketplace Purchase type: object properties: @@ -159963,7 +159998,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *834 + repository: *832 sender: *4 required: - action @@ -160043,10 +160078,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *831 - installation: *832 - marketplace_purchase: *866 - organization: *833 + enterprise: *829 + installation: *830 + marketplace_purchase: *864 + organization: *831 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -160129,7 +160164,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *834 + repository: *832 sender: *4 required: - action @@ -160211,10 +160246,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *831 - installation: *832 - marketplace_purchase: *866 - organization: *833 + enterprise: *829 + installation: *830 + marketplace_purchase: *864 + organization: *831 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -160296,7 +160331,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *834 + repository: *832 sender: *4 required: - action @@ -160377,8 +160412,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 marketplace_purchase: title: Marketplace Purchase type: object @@ -160460,9 +160495,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *833 - previous_marketplace_purchase: *867 - repository: *834 + organization: *831 + previous_marketplace_purchase: *865 + repository: *832 sender: *4 required: - action @@ -160542,12 +160577,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *831 - installation: *832 - marketplace_purchase: *866 - organization: *833 - previous_marketplace_purchase: *867 - repository: *834 + enterprise: *829 + installation: *830 + marketplace_purchase: *864 + organization: *831 + previous_marketplace_purchase: *865 + repository: *832 sender: *4 required: - action @@ -160649,11 +160684,11 @@ x-webhooks: type: string required: - to - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + member: *856 + organization: *831 + repository: *832 sender: *4 required: - action @@ -160753,11 +160788,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + member: *856 + organization: *831 + repository: *832 sender: *4 required: - action @@ -160836,11 +160871,11 @@ x-webhooks: type: string enum: - removed - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + member: *856 + organization: *831 + repository: *832 sender: *4 required: - action @@ -160918,11 +160953,11 @@ x-webhooks: type: string enum: - added - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + member: *856 + organization: *831 + repository: *832 scope: description: The scope of the membership. Currently, can only be `team`. @@ -160998,7 +161033,7 @@ x-webhooks: required: - login - id - team: &868 + team: &866 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -161221,11 +161256,11 @@ x-webhooks: type: string enum: - removed - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + member: *856 + organization: *831 + repository: *832 scope: description: The scope of the membership. Currently, can only be `team`. @@ -161302,7 +161337,7 @@ x-webhooks: required: - login - id - team: *868 + team: *866 required: - action - scope @@ -161384,8 +161419,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *832 - merge_group: &870 + installation: *830 + merge_group: &868 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -161404,15 +161439,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *869 + head_commit: *867 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *833 - repository: *834 + organization: *831 + repository: *832 sender: *4 required: - action @@ -161498,10 +161533,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *832 - merge_group: *870 - organization: *833 - repository: *834 + installation: *830 + merge_group: *868 + organization: *831 + repository: *832 sender: *4 required: - action @@ -161574,7 +161609,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 + enterprise: *829 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -161683,16 +161718,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *832 - organization: *833 + installation: *830 + organization: *831 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *871 - required: *872 + properties: *869 + required: *870 nullable: true sender: *4 required: @@ -161773,11 +161808,11 @@ x-webhooks: type: string enum: - closed - enterprise: *831 - installation: *832 - milestone: *863 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + milestone: *861 + organization: *831 + repository: *832 sender: *4 required: - action @@ -161856,9 +161891,9 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - milestone: &873 + enterprise: *829 + installation: *830 + milestone: &871 title: Milestone description: A collection of related issues and pull requests. type: object @@ -161995,8 +162030,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *833 - repository: *834 + organization: *831 + repository: *832 sender: *4 required: - action @@ -162075,11 +162110,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - milestone: *863 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + milestone: *861 + organization: *831 + repository: *832 sender: *4 required: - action @@ -162189,11 +162224,11 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - milestone: *863 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + milestone: *861 + organization: *831 + repository: *832 sender: *4 required: - action @@ -162273,11 +162308,11 @@ x-webhooks: type: string enum: - opened - enterprise: *831 - installation: *832 - milestone: *873 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + milestone: *871 + organization: *831 + repository: *832 sender: *4 required: - action @@ -162356,11 +162391,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *858 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + blocked_user: *856 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -162439,11 +162474,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *858 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + blocked_user: *856 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -162522,9 +162557,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - membership: &874 + enterprise: *829 + installation: *830 + membership: &872 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -162631,8 +162666,8 @@ x-webhooks: - role - organization_url - user - organization: *833 - repository: *834 + organization: *831 + repository: *832 sender: *4 required: - action @@ -162710,11 +162745,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *831 - installation: *832 - membership: *874 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + membership: *872 + organization: *831 + repository: *832 sender: *4 required: - action @@ -162793,8 +162828,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -162910,10 +162945,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *833 - repository: *834 + organization: *831 + repository: *832 sender: *4 - user: *858 + user: *856 required: - action - invitation @@ -162991,11 +163026,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *831 - installation: *832 - membership: *874 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + membership: *872 + organization: *831 + repository: *832 sender: *4 required: - action @@ -163082,11 +163117,11 @@ x-webhooks: properties: from: type: string - enterprise: *831 - installation: *832 - membership: *874 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + membership: *872 + organization: *831 + repository: *832 sender: *4 required: - action @@ -163162,9 +163197,9 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 package: description: Information about the package. type: object @@ -163663,7 +163698,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &875 + items: &873 title: Ruby Gems metadata type: object properties: @@ -163758,7 +163793,7 @@ x-webhooks: - owner - package_version - registry - repository: *834 + repository: *832 sender: *4 required: - action @@ -163834,9 +163869,9 @@ x-webhooks: type: string enum: - updated - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 package: description: Information about the package. type: object @@ -164189,7 +164224,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *875 + items: *873 source_url: type: string format: uri @@ -164259,7 +164294,7 @@ x-webhooks: - owner - package_version - registry - repository: *834 + repository: *832 sender: *4 required: - action @@ -164436,12 +164471,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *831 + enterprise: *829 id: type: integer - installation: *832 - organization: *833 - repository: *834 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - id @@ -164518,7 +164553,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &876 + personal_access_token_request: &874 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -164664,10 +164699,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *831 - organization: *833 + enterprise: *829 + organization: *831 sender: *4 - installation: *832 + installation: *830 required: - action - personal_access_token_request @@ -164744,11 +164779,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *876 - enterprise: *831 - organization: *833 + personal_access_token_request: *874 + enterprise: *829 + organization: *831 sender: *4 - installation: *832 + installation: *830 required: - action - personal_access_token_request @@ -164824,11 +164859,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *876 - enterprise: *831 - organization: *833 + personal_access_token_request: *874 + enterprise: *829 + organization: *831 sender: *4 - installation: *832 + installation: *830 required: - action - personal_access_token_request @@ -164903,11 +164938,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *876 - organization: *833 - enterprise: *831 + personal_access_token_request: *874 + organization: *831 + enterprise: *829 sender: *4 - installation: *832 + installation: *830 required: - action - personal_access_token_request @@ -165012,7 +165047,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *877 + last_response: *875 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -165044,8 +165079,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *833 - repository: *834 + organization: *831 + repository: *832 sender: *4 zen: description: Random string of GitHub zen. @@ -165290,10 +165325,10 @@ x-webhooks: - from required: - note - enterprise: *831 - installation: *832 - organization: *833 - project_card: &878 + enterprise: *829 + installation: *830 + organization: *831 + project_card: &876 title: Project Card type: object properties: @@ -165412,7 +165447,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *834 + repository: *832 sender: *4 required: - action @@ -165493,11 +165528,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - project_card: *878 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + project_card: *876 + repository: *832 sender: *4 required: - action @@ -165577,9 +165612,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 project_card: title: Project Card type: object @@ -165707,8 +165742,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *871 - required: *872 + properties: *869 + required: *870 nullable: true sender: *4 required: @@ -165802,11 +165837,11 @@ x-webhooks: - from required: - note - enterprise: *831 - installation: *832 - organization: *833 - project_card: *878 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + project_card: *876 + repository: *832 sender: *4 required: - action @@ -165900,9 +165935,9 @@ x-webhooks: - from required: - column_id - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 project_card: allOf: - title: Project Card @@ -166092,7 +166127,7 @@ x-webhooks: type: string required: - after_id - repository: *834 + repository: *832 sender: *4 required: - action @@ -166172,10 +166207,10 @@ x-webhooks: type: string enum: - closed - enterprise: *831 - installation: *832 - organization: *833 - project: &880 + enterprise: *829 + installation: *830 + organization: *831 + project: &878 title: Project type: object properties: @@ -166299,7 +166334,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *834 + repository: *832 sender: *4 required: - action @@ -166379,10 +166414,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - project_column: &879 + enterprise: *829 + installation: *830 + organization: *831 + project_column: &877 title: Project Column type: object properties: @@ -166421,7 +166456,7 @@ x-webhooks: - name - created_at - updated_at - repository: *834 + repository: *832 sender: *4 required: - action @@ -166500,18 +166535,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - project_column: *879 + enterprise: *829 + installation: *830 + organization: *831 + project_column: *877 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *871 - required: *872 + properties: *869 + required: *870 nullable: true sender: *4 required: @@ -166601,11 +166636,11 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 - project_column: *879 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + project_column: *877 + repository: *832 sender: *4 required: - action @@ -166685,11 +166720,11 @@ x-webhooks: type: string enum: - moved - enterprise: *831 - installation: *832 - organization: *833 - project_column: *879 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + project_column: *877 + repository: *832 sender: *4 required: - action @@ -166769,11 +166804,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - project: *880 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + project: *878 + repository: *832 sender: *4 required: - action @@ -166853,18 +166888,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - project: *880 + enterprise: *829 + installation: *830 + organization: *831 + project: *878 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *871 - required: *872 + properties: *869 + required: *870 nullable: true sender: *4 required: @@ -166966,11 +167001,11 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 - project: *880 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + project: *878 + repository: *832 sender: *4 required: - action @@ -167049,11 +167084,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *831 - installation: *832 - organization: *833 - project: *880 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + project: *878 + repository: *832 sender: *4 required: - action @@ -167134,9 +167169,9 @@ x-webhooks: type: string enum: - closed - installation: *832 - organization: *833 - projects_v2: *375 + installation: *830 + organization: *831 + projects_v2: *373 sender: *4 required: - action @@ -167217,9 +167252,9 @@ x-webhooks: type: string enum: - created - installation: *832 - organization: *833 - projects_v2: *375 + installation: *830 + organization: *831 + projects_v2: *373 sender: *4 required: - action @@ -167300,9 +167335,9 @@ x-webhooks: type: string enum: - deleted - installation: *832 - organization: *833 - projects_v2: *375 + installation: *830 + organization: *831 + projects_v2: *373 sender: *4 required: - action @@ -167419,9 +167454,9 @@ x-webhooks: type: string to: type: string - installation: *832 - organization: *833 - projects_v2: *375 + installation: *830 + organization: *831 + projects_v2: *373 sender: *4 required: - action @@ -167504,7 +167539,7 @@ x-webhooks: type: string enum: - archived - changes: &884 + changes: &882 type: object properties: archived_at: @@ -167518,9 +167553,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *832 - organization: *833 - projects_v2_item: &881 + installation: *830 + organization: *831 + projects_v2_item: &879 title: Projects v2 Item description: An item belonging to a project type: object @@ -167538,7 +167573,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *383 + content_type: *381 creator: *4 created_at: type: string @@ -167655,9 +167690,9 @@ x-webhooks: nullable: true to: type: string - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *830 + organization: *831 + projects_v2_item: *879 sender: *4 required: - action @@ -167739,9 +167774,9 @@ x-webhooks: type: string enum: - created - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *830 + organization: *831 + projects_v2_item: *879 sender: *4 required: - action @@ -167822,9 +167857,9 @@ x-webhooks: type: string enum: - deleted - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *830 + organization: *831 + projects_v2_item: *879 sender: *4 required: - action @@ -167930,7 +167965,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &882 + - &880 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -167952,7 +167987,7 @@ x-webhooks: required: - id - name - - &883 + - &881 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -167986,8 +168021,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *882 - - *883 + - *880 + - *881 required: - field_value - type: object @@ -168003,9 +168038,9 @@ x-webhooks: nullable: true required: - body - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *830 + organization: *831 + projects_v2_item: *879 sender: *4 required: - action @@ -168100,9 +168135,9 @@ x-webhooks: to: type: string nullable: true - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *830 + organization: *831 + projects_v2_item: *879 sender: *4 required: - action @@ -168185,10 +168220,10 @@ x-webhooks: type: string enum: - restored - changes: *884 - installation: *832 - organization: *833 - projects_v2_item: *881 + changes: *882 + installation: *830 + organization: *831 + projects_v2_item: *879 sender: *4 required: - action @@ -168270,9 +168305,9 @@ x-webhooks: type: string enum: - reopened - installation: *832 - organization: *833 - projects_v2: *375 + installation: *830 + organization: *831 + projects_v2: *373 sender: *4 required: - action @@ -168353,14 +168388,14 @@ x-webhooks: type: string enum: - created - installation: *832 - organization: *833 - projects_v2_status_update: &887 + installation: *830 + organization: *831 + projects_v2_status_update: &885 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *885 - required: *886 + properties: *883 + required: *884 sender: *4 required: - action @@ -168441,9 +168476,9 @@ x-webhooks: type: string enum: - deleted - installation: *832 - organization: *833 - projects_v2_status_update: *887 + installation: *830 + organization: *831 + projects_v2_status_update: *885 sender: *4 required: - action @@ -168579,9 +168614,9 @@ x-webhooks: type: string format: date nullable: true - installation: *832 - organization: *833 - projects_v2_status_update: *887 + installation: *830 + organization: *831 + projects_v2_status_update: *885 sender: *4 required: - action @@ -168652,10 +168687,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - repository @@ -168732,13 +168767,13 @@ x-webhooks: type: string enum: - assigned - assignee: *858 - enterprise: *831 - installation: *832 - number: &888 + assignee: *856 + enterprise: *829 + installation: *830 + number: &886 description: The pull request number. type: integer - organization: *833 + organization: *831 pull_request: title: Pull Request type: object @@ -171021,7 +171056,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *832 sender: *4 required: - action @@ -171103,11 +171138,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 number: type: integer - organization: *833 + organization: *831 pull_request: title: Pull Request type: object @@ -173385,7 +173420,7 @@ x-webhooks: - draft reason: type: string - repository: *834 + repository: *832 sender: *4 required: - action @@ -173467,11 +173502,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 number: type: integer - organization: *833 + organization: *831 pull_request: title: Pull Request type: object @@ -175749,7 +175784,7 @@ x-webhooks: - draft reason: type: string - repository: *834 + repository: *832 sender: *4 required: - action @@ -175831,13 +175866,13 @@ x-webhooks: type: string enum: - closed - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: &889 + enterprise: *829 + installation: *830 + number: *886 + organization: *831 + pull_request: &887 allOf: - - *682 + - *680 - type: object properties: allow_auto_merge: @@ -175899,7 +175934,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *834 + repository: *832 sender: *4 required: - action @@ -175980,12 +176015,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *829 + installation: *830 + number: *886 + organization: *831 + pull_request: *887 + repository: *832 sender: *4 required: - action @@ -176065,11 +176100,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *831 - milestone: *666 - number: *888 - organization: *833 - pull_request: &890 + enterprise: *829 + milestone: *664 + number: *886 + organization: *831 + pull_request: &888 title: Pull Request type: object properties: @@ -178332,7 +178367,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *832 sender: *4 required: - action @@ -178411,11 +178446,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 number: type: integer - organization: *833 + organization: *831 pull_request: title: Pull Request type: object @@ -180697,7 +180732,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *834 + repository: *832 sender: *4 required: - action @@ -180821,12 +180856,12 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *829 + installation: *830 + number: *886 + organization: *831 + pull_request: *887 + repository: *832 sender: *4 required: - action @@ -180906,11 +180941,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 number: type: integer - organization: *833 + organization: *831 pull_request: title: Pull Request type: object @@ -183177,7 +183212,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *832 sender: *4 required: - action @@ -183257,11 +183292,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *831 - installation: *832 - label: *857 - number: *888 - organization: *833 + enterprise: *829 + installation: *830 + label: *855 + number: *886 + organization: *831 pull_request: title: Pull Request type: object @@ -185543,7 +185578,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *832 sender: *4 required: - action @@ -185624,10 +185659,10 @@ x-webhooks: type: string enum: - locked - enterprise: *831 - installation: *832 - number: *888 - organization: *833 + enterprise: *829 + installation: *830 + number: *886 + organization: *831 pull_request: title: Pull Request type: object @@ -187907,7 +187942,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *832 sender: *4 required: - action @@ -187987,12 +188022,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *831 - milestone: *666 - number: *888 - organization: *833 - pull_request: *890 - repository: *834 + enterprise: *829 + milestone: *664 + number: *886 + organization: *831 + pull_request: *888 + repository: *832 sender: *4 required: - action @@ -188071,12 +188106,12 @@ x-webhooks: type: string enum: - opened - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *829 + installation: *830 + number: *886 + organization: *831 + pull_request: *887 + repository: *832 sender: *4 required: - action @@ -188157,12 +188192,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *829 + installation: *830 + number: *886 + organization: *831 + pull_request: *887 + repository: *832 sender: *4 required: - action @@ -188242,12 +188277,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *829 + installation: *830 + number: *886 + organization: *831 + pull_request: *887 + repository: *832 sender: *4 required: - action @@ -188613,9 +188648,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 pull_request: type: object properties: @@ -190785,7 +190820,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *834 + repository: *832 sender: *4 required: - action @@ -190865,7 +190900,7 @@ x-webhooks: type: string enum: - deleted - comment: &892 + comment: &890 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -191150,9 +191185,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 pull_request: type: object properties: @@ -193310,7 +193345,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *834 + repository: *832 sender: *4 required: - action @@ -193390,11 +193425,11 @@ x-webhooks: type: string enum: - edited - changes: *891 - comment: *892 - enterprise: *831 - installation: *832 - organization: *833 + changes: *889 + comment: *890 + enterprise: *829 + installation: *830 + organization: *831 pull_request: type: object properties: @@ -195555,7 +195590,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *834 + repository: *832 sender: *4 required: - action @@ -195636,9 +195671,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 pull_request: title: Simple Pull Request type: object @@ -197811,7 +197846,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 + repository: *832 review: description: The review that was affected. type: object @@ -198058,9 +198093,9 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 pull_request: title: Simple Pull Request type: object @@ -200114,8 +200149,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 - review: &893 + repository: *832 + review: &891 description: The review that was affected. type: object properties: @@ -200348,12 +200383,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 number: description: The pull request number. type: integer - organization: *833 + organization: *831 pull_request: title: Pull Request type: object @@ -202636,7 +202671,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *832 requested_reviewer: title: User type: object @@ -202720,12 +202755,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 number: description: The pull request number. type: integer - organization: *833 + organization: *831 pull_request: title: Pull Request type: object @@ -205015,7 +205050,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *832 requested_team: title: Team description: Groups of organization members that gives permissions @@ -205207,12 +205242,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 number: description: The pull request number. type: integer - organization: *833 + organization: *831 pull_request: title: Pull Request type: object @@ -207497,7 +207532,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *832 requested_reviewer: title: User type: object @@ -207582,12 +207617,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *831 - installation: *832 + enterprise: *829 + installation: *830 number: description: The pull request number. type: integer - organization: *833 + organization: *831 pull_request: title: Pull Request type: object @@ -209863,7 +209898,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *832 requested_team: title: Team description: Groups of organization members that gives permissions @@ -210044,9 +210079,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 pull_request: title: Simple Pull Request type: object @@ -212221,8 +212256,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 - review: *893 + repository: *832 + review: *891 sender: *4 required: - action @@ -212302,9 +212337,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 pull_request: title: Simple Pull Request type: object @@ -214374,7 +214409,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 + repository: *832 sender: *4 thread: type: object @@ -214761,9 +214796,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 pull_request: title: Simple Pull Request type: object @@ -216819,7 +216854,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 + repository: *832 sender: *4 thread: type: object @@ -217209,10 +217244,10 @@ x-webhooks: type: string before: type: string - enterprise: *831 - installation: *832 - number: *888 - organization: *833 + enterprise: *829 + installation: *830 + number: *886 + organization: *831 pull_request: title: Pull Request type: object @@ -219483,7 +219518,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *832 sender: *4 required: - action @@ -219565,11 +219600,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *894 - enterprise: *831 - installation: *832 - number: *888 - organization: *833 + assignee: *892 + enterprise: *829 + installation: *830 + number: *886 + organization: *831 pull_request: title: Pull Request type: object @@ -221852,7 +221887,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *832 sender: *4 required: - action @@ -221931,11 +221966,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *831 - installation: *832 - label: *857 - number: *888 - organization: *833 + enterprise: *829 + installation: *830 + label: *855 + number: *886 + organization: *831 pull_request: title: Pull Request type: object @@ -224208,7 +224243,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *832 sender: *4 required: - action @@ -224289,10 +224324,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *831 - installation: *832 - number: *888 - organization: *833 + enterprise: *829 + installation: *830 + number: *886 + organization: *831 pull_request: title: Pull Request type: object @@ -226557,7 +226592,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *832 sender: *4 required: - action @@ -226757,7 +226792,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *831 + enterprise: *829 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -226849,8 +226884,8 @@ x-webhooks: - url - author - committer - installation: *832 - organization: *833 + installation: *830 + organization: *831 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -227425,9 +227460,9 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 registry_package: type: object properties: @@ -227873,7 +227908,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *875 + items: *873 summary: type: string tag_name: @@ -227927,7 +227962,7 @@ x-webhooks: - owner - package_version - registry - repository: *834 + repository: *832 sender: *4 required: - action @@ -228005,9 +228040,9 @@ x-webhooks: type: string enum: - updated - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 registry_package: type: object properties: @@ -228315,7 +228350,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *875 + items: *873 summary: type: string tag_name: @@ -228364,7 +228399,7 @@ x-webhooks: - owner - package_version - registry - repository: *834 + repository: *832 sender: *4 required: - action @@ -228441,10 +228476,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - release: &895 + enterprise: *829 + installation: *830 + organization: *831 + release: &893 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -228762,7 +228797,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *834 + repository: *832 sender: *4 required: - action @@ -228839,11 +228874,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - release: *895 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + release: *893 + repository: *832 sender: *4 required: - action @@ -228960,11 +228995,11 @@ x-webhooks: type: boolean required: - to - enterprise: *831 - installation: *832 - organization: *833 - release: *895 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + release: *893 + repository: *832 sender: *4 required: - action @@ -229042,9 +229077,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -229366,7 +229401,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *834 + repository: *832 sender: *4 required: - action @@ -229442,10 +229477,10 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 - release: &896 + enterprise: *829 + installation: *830 + organization: *831 + release: &894 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -229764,7 +229799,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *834 + repository: *832 sender: *4 required: - action @@ -229840,11 +229875,11 @@ x-webhooks: type: string enum: - released - enterprise: *831 - installation: *832 - organization: *833 - release: *895 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + release: *893 + repository: *832 sender: *4 required: - action @@ -229920,11 +229955,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *831 - installation: *832 - organization: *833 - release: *896 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + release: *894 + repository: *832 sender: *4 required: - action @@ -230000,11 +230035,11 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - repository_advisory: *735 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + repository_advisory: *733 sender: *4 required: - action @@ -230080,11 +230115,11 @@ x-webhooks: type: string enum: - reported - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - repository_advisory: *735 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + repository_advisory: *733 sender: *4 required: - action @@ -230160,10 +230195,10 @@ x-webhooks: type: string enum: - archived - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -230240,10 +230275,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -230321,10 +230356,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -230408,10 +230443,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -230523,10 +230558,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -230598,10 +230633,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 status: type: string @@ -230682,10 +230717,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -230762,10 +230797,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -230859,10 +230894,10 @@ x-webhooks: - name required: - repository - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -230942,10 +230977,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 repository_ruleset: *162 sender: *4 required: @@ -231024,10 +231059,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 repository_ruleset: *162 sender: *4 required: @@ -231106,10 +231141,10 @@ x-webhooks: type: string enum: - edited - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 repository_ruleset: *162 changes: type: object @@ -231171,16 +231206,16 @@ x-webhooks: properties: added: type: array - items: *703 + items: *701 deleted: type: array - items: *703 + items: *701 updated: type: array items: type: object properties: - rule: *703 + rule: *701 changes: type: object properties: @@ -231414,10 +231449,10 @@ x-webhooks: - from required: - owner - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -231495,10 +231530,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -231576,7 +231611,7 @@ x-webhooks: type: string enum: - create - alert: &897 + alert: &895 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -231697,10 +231732,10 @@ x-webhooks: type: string enum: - open - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -231906,10 +231941,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -231987,11 +232022,11 @@ x-webhooks: type: string enum: - reopen - alert: *897 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *895 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -232190,10 +232225,10 @@ x-webhooks: enum: - fixed - open - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -232271,7 +232306,7 @@ x-webhooks: type: string enum: - created - alert: &898 + alert: &896 type: object properties: number: *113 @@ -232389,10 +232424,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -232473,11 +232508,11 @@ x-webhooks: type: string enum: - created - alert: *898 - installation: *832 - location: *899 - organization: *833 - repository: *834 + alert: *896 + installation: *830 + location: *897 + organization: *831 + repository: *832 sender: *4 required: - location @@ -232715,11 +232750,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *898 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *896 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -232797,11 +232832,11 @@ x-webhooks: type: string enum: - reopened - alert: *898 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *896 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -232879,11 +232914,11 @@ x-webhooks: type: string enum: - resolved - alert: *898 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *896 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -232961,11 +232996,11 @@ x-webhooks: type: string enum: - validated - alert: *898 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *896 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -233091,10 +233126,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *834 - enterprise: *831 - installation: *832 - organization: *833 + repository: *832 + enterprise: *829 + installation: *830 + organization: *831 sender: *4 required: - action @@ -233172,11 +233207,11 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - security_advisory: &900 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + security_advisory: &898 description: The details of the security advisory, including summary, description, and severity. type: object @@ -233359,11 +233394,11 @@ x-webhooks: type: string enum: - updated - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - security_advisory: *900 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + security_advisory: *898 sender: *4 required: - action @@ -233436,10 +233471,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -233623,11 +233658,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *392 - enterprise: *831 - installation: *832 - organization: *833 - repository: *459 + security_and_analysis: *390 + enterprise: *829 + installation: *830 + organization: *831 + repository: *457 sender: *4 required: - changes @@ -233705,12 +233740,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - sponsorship: &901 + sponsorship: &899 type: object properties: created_at: @@ -234011,12 +234046,12 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - sponsorship: *901 + sponsorship: *899 required: - action - sponsorship @@ -234104,12 +234139,12 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - sponsorship: *901 + sponsorship: *899 required: - action - changes @@ -234186,17 +234221,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &902 + effective_date: &900 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - sponsorship: *901 + sponsorship: *899 required: - action - sponsorship @@ -234270,7 +234305,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &903 + changes: &901 type: object properties: tier: @@ -234314,13 +234349,13 @@ x-webhooks: - from required: - tier - effective_date: *902 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + effective_date: *900 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - sponsorship: *901 + sponsorship: *899 required: - action - changes @@ -234397,13 +234432,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *903 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + changes: *901 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - sponsorship: *901 + sponsorship: *899 required: - action - changes @@ -234477,10 +234512,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -234563,10 +234598,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -234986,15 +235021,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *831 + enterprise: *829 id: description: The unique identifier of the status. type: integer - installation: *832 + installation: *830 name: type: string - organization: *833 - repository: *834 + organization: *831 + repository: *832 sender: *4 sha: description: The Commit SHA. @@ -235109,9 +235144,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *189 - installation: *832 - organization: *833 - repository: *834 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -235201,9 +235236,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *189 - installation: *832 - organization: *833 - repository: *834 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -235293,9 +235328,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *189 - installation: *832 - organization: *833 - repository: *834 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -235385,9 +235420,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *189 - installation: *832 - organization: *833 - repository: *834 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -235464,12 +235499,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - team: &904 + team: &902 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -235692,9 +235727,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 repository: title: Repository description: A git repository @@ -236152,7 +236187,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *902 required: - action - team @@ -236228,9 +236263,9 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 repository: title: Repository description: A git repository @@ -236688,7 +236723,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *902 required: - action - team @@ -236765,9 +236800,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 repository: title: Repository description: A git repository @@ -237225,7 +237260,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *902 required: - action - team @@ -237369,9 +237404,9 @@ x-webhooks: - from required: - permissions - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 repository: title: Repository description: A git repository @@ -237829,7 +237864,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *902 required: - action - changes @@ -237907,9 +237942,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *829 + installation: *830 + organization: *831 repository: title: Repository description: A git repository @@ -238367,7 +238402,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *902 required: - action - team @@ -238443,10 +238478,10 @@ x-webhooks: type: string enum: - started - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -238519,16 +238554,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *831 + enterprise: *829 inputs: type: object nullable: true additionalProperties: true - installation: *832 - organization: *833 + installation: *830 + organization: *831 ref: type: string - repository: *834 + repository: *832 sender: *4 workflow: type: string @@ -238610,10 +238645,10 @@ x-webhooks: type: string enum: - completed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 workflow_job: allOf: @@ -238850,7 +238885,7 @@ x-webhooks: type: string required: - conclusion - deployment: *590 + deployment: *588 required: - action - repository @@ -238929,10 +238964,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 workflow_job: allOf: @@ -239192,7 +239227,7 @@ x-webhooks: required: - status - steps - deployment: *590 + deployment: *588 required: - action - repository @@ -239271,10 +239306,10 @@ x-webhooks: type: string enum: - queued - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 workflow_job: type: object @@ -239409,7 +239444,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *590 + deployment: *588 required: - action - repository @@ -239488,10 +239523,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 workflow_job: type: object @@ -239627,7 +239662,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *590 + deployment: *588 required: - action - repository @@ -239707,12 +239742,12 @@ x-webhooks: type: string enum: - completed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - workflow: *853 + workflow: *851 workflow_run: title: Workflow Run type: object @@ -240711,12 +240746,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - workflow: *853 + workflow: *851 workflow_run: title: Workflow Run type: object @@ -241700,12 +241735,12 @@ x-webhooks: type: string enum: - requested - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - workflow: *853 + workflow: *851 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index c2fc1bc49..f9f01eb88 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -41195,29 +41195,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -54907,7 +54884,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "secret-scanning", "subcategory": "secret-scanning" @@ -55891,6 +55868,19 @@ "schema": { "type": "string" } + }, + { + "name": "state", + "in": "query", + "description": "Set to `active` or `deleted` to only list cost centers in a specific state.", + "required": false, + "schema": { + "type": "string", + "enum": [ + "active", + "deleted" + ] + } } ], "responses": { @@ -57751,7 +57741,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" ], @@ -100932,7 +100922,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" ], @@ -119821,6 +119811,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", @@ -140169,29 +140263,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -191028,7 +191099,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": { @@ -191036,8 +191107,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + } } }, { @@ -352339,16 +352409,6 @@ "default": "desc" } }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -352376,29 +352436,6 @@ "schema": { "type": "string" } - }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } } ], "responses": { @@ -539565,7 +539602,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/enterprise-cloud@latest//get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -685532,7 +685569,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{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}