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..799fc8943 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -172,6 +172,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -3200,12 +3204,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -3251,98 +3249,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "$ref": "#/components/parameters/enterprise" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-state" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-sort" - }, - { - "$ref": "#/components/parameters/direction" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/pagination-before" - }, - { - "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-validity" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-hide-secret" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/organization-secret-scanning-alert" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/organization-secret-scanning-alert-list" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -3442,6 +3348,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "nullable": true, "type": "string", @@ -3841,6 +3757,336 @@ } } }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-simple" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "201": { + "description": "Successfully assigned the enterprise team to the organization.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-simple" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "delete": { + "summary": "Delete an organization assignment", + "description": "Unassign an enterprise team from an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/delete", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from the organization." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, "/enterprises/{enterprise}/teams/{team_slug}": { "get": { "summary": "Get an enterprise team", @@ -3938,6 +4184,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "nullable": true, "type": "string", @@ -7256,7 +7512,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -12734,6 +12990,77 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/list-attestation-repositories" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -16388,12 +16715,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -22991,16 +23312,22 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } }, { @@ -23177,16 +23504,22 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -44273,16 +44606,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 +44621,6 @@ }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" } ], "responses": { @@ -61344,7 +61661,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -74895,16 +75212,22 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -75072,16 +75395,22 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -75625,7 +75954,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 +105019,6 @@ ], "additionalProperties": false }, - "nullable-alert-updated-at": { - "type": "string", - "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "secret-scanning-alert-state": { - "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", - "type": "string", - "enum": [ - "open", - "resolved" - ] - }, - "secret-scanning-alert-resolution": { - "type": "string", - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "nullable": true, - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests" - ] - }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "example": "/example/secrets.txt" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "example": "/example/Home.md" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082" - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussion-4566270" - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, - "nullable-secret-scanning-first-detected-location": { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "$ref": "#/components/schemas/secret-scanning-location-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - } - ], - "nullable": true - }, - "organization-secret-scanning-alert": { - "type": "object", - "properties": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "$ref": "#/components/schemas/nullable-alert-updated-at" - }, - "url": { - "$ref": "#/components/schemas/alert-url" - }, - "html_url": { - "$ref": "#/components/schemas/alert-html-url" - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" - }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - }, - "resolved_at": { - "type": "string", - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "resolved_by": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "$ref": "#/components/schemas/simple-repository" - }, - "push_protection_bypassed": { - "type": "boolean", - "description": "Whether push protection was bypassed for the detected secret.", - "nullable": true - }, - "push_protection_bypassed_by": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "push_protection_bypassed_at": { - "type": "string", - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "push_protection_bypass_request_reviewer": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "push_protection_bypass_request_reviewer_comment": { - "type": "string", - "description": "An optional comment when reviewing a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_comment": { - "type": "string", - "description": "An optional comment when requesting a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_html_url": { - "type": "string", - "format": "uri", - "description": "The URL to a push protection bypass request.", - "nullable": true - }, - "resolution_comment": { - "type": "string", - "description": "The comment that was optionally added when this alert was closed", - "nullable": true - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": "boolean", - "description": "Whether the secret was publicly leaked.", - "nullable": true - }, - "multi_repo": { - "type": "boolean", - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", - "nullable": true - }, - "is_base64_encoded": { - "type": "boolean", - "description": "A boolean value representing whether or not alert is base64 encoded", - "nullable": true - }, - "first_location_detected": { - "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "$ref": "#/components/schemas/nullable-simple-user" - } - } - }, "enterprise-team": { "title": "Enterprise Team", "description": "Group of enterprise owners and/or members", @@ -105238,6 +105090,79 @@ "group_id" ] }, + "organization-simple": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, "actor": { "title": "Actor", "description": "Actor", @@ -109026,79 +108951,6 @@ "subscribed" ] }, - "organization-simple": { - "title": "Organization Simple", - "description": "A GitHub organization.", - "type": "object", - "properties": { - "login": { - "type": "string", - "example": "github" - }, - "id": { - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDEyOk9yZ2FuaXphdGlvbjE=" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github/repos" - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github/events" - }, - "hooks_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/hooks" - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/issues" - }, - "members_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/members{/member}" - }, - "public_members_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/public_members{/member}" - }, - "avatar_url": { - "type": "string", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "description": { - "type": "string", - "example": "A great organization", - "nullable": true - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description" - ] - }, "nullable-simple-repository": { "title": "Simple Repository", "description": "A GitHub repository.", @@ -109487,7 +109339,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -109495,7 +109347,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -109503,7 +109355,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -110861,6 +110713,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 +118401,483 @@ } ] }, + "nullable-alert-updated-at": { + "type": "string", + "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "readOnly": true, + "nullable": true + }, + "secret-scanning-alert-state": { + "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", + "type": "string", + "enum": [ + "open", + "resolved" + ] + }, + "secret-scanning-alert-resolution": { + "type": "string", + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "nullable": true, + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests" + ] + }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "nullable-secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ], + "nullable": true + }, + "organization-secret-scanning-alert": { + "type": "object", + "properties": { + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "updated_at": { + "$ref": "#/components/schemas/nullable-alert-updated-at" + }, + "url": { + "$ref": "#/components/schemas/alert-url" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "locations_url": { + "type": "string", + "format": "uri", + "description": "The REST API URL of the code locations for this alert." + }, + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" + }, + "resolution": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + }, + "resolved_at": { + "type": "string", + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "resolved_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "secret": { + "type": "string", + "description": "The secret that was detected." + }, + "repository": { + "$ref": "#/components/schemas/simple-repository" + }, + "push_protection_bypassed": { + "type": "boolean", + "description": "Whether push protection was bypassed for the detected secret.", + "nullable": true + }, + "push_protection_bypassed_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "push_protection_bypassed_at": { + "type": "string", + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "push_protection_bypass_request_reviewer": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "push_protection_bypass_request_reviewer_comment": { + "type": "string", + "description": "An optional comment when reviewing a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, + "resolution_comment": { + "type": "string", + "description": "The comment that was optionally added when this alert was closed", + "nullable": true + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", + "nullable": true + }, + "is_base64_encoded": { + "type": "boolean", + "description": "A boolean value representing whether or not alert is base64 encoded", + "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "$ref": "#/components/schemas/nullable-simple-user" + } + } + }, "secret-scanning-row-version": { "type": "string", "description": "The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate unintentionally overriding someone else's update.", @@ -136063,7 +136401,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -136071,7 +136409,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -136079,7 +136417,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -279891,192 +280229,6 @@ } ] }, - "organization-secret-scanning-alert-list": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true, - "assigned_to": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, "enterprise-teams-items": { "value": [ { @@ -280139,6 +280291,40 @@ "site_admin": false } }, + "organization-simple": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + }, + "organization-simple-items": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + }, "public-events-items": { "value": [ { @@ -281659,24 +281845,6 @@ "octocat": { "value": " MMM. .MMM\n MMMMMMMMMMMMMMMMMMM\n MMMMMMMMMMMMMMMMMMM ___________________________________\n MMMMMMMMMMMMMMMMMMMMM | |\n MMMMMMMMMMMMMMMMMMMMMMM | Avoid administrative distraction. |\n MMMMMMMMMMMMMMMMMMMMMMMM |_ _______________________________|\n MMMM::- -:::::::- -::MMMM |/\n MM~:~ 00~:::::~ 00~:~MM\n .. MMMMM::.00:::+:::.00::MMMMM ..\n .MM::::: ._. :::::MM.\n MMMM;:::::;MMMM\n -MM MMMMMMM\n ^ M+ MMMMMMMMM\n MMMMMMM MM MM MM\n MM MM MM MM\n MM MM MM MM\n .~~MM~MM~MM~MM~~.\n ~~~~MM:~MM~~~MM~:MM~~~~\n ~~~~~~==~==~~~==~==~~~~~~\n ~~~~~~==~==~==~==~~~~~~\n :~==~==~==~==~~\n" }, - "organization-simple-items": { - "value": [ - { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - } - ] - }, "dependabot-repository-access-details": { "value": { "default_level": "public", @@ -283043,6 +283211,18 @@ ] } }, + "list-attestation-repositories": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + }, "list-attestations": { "value": { "attestations": [ @@ -287929,6 +288109,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 +309457,6 @@ "default": "created" } }, - "pagination-first": { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - "pagination-last": { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, - "secret-scanning-alert-state": { - "name": "state", - "in": "query", - "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "resolved" - ] - } - }, - "secret-scanning-alert-secret-type": { - "name": "secret_type", - "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-resolution": { - "name": "resolution", - "in": "query", - "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-sort": { - "name": "sort", - "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated" - ], - "default": "created" - } - }, - "secret-scanning-alert-validity": { - "name": "validity", - "in": "query", - "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-publicly-leaked": { - "name": "is_publicly_leaked", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - "secret-scanning-alert-multi-repo": { - "name": "is_multi_repo", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - "secret-scanning-alert-hide-secret": { - "name": "hide_secret", - "in": "query", - "description": "A boolean value representing whether or not to hide literal secrets in the results.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, "enterprise-team": { "name": "enterprise-team", "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", @@ -309216,6 +309475,15 @@ "type": "string" } }, + "org": { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "team-slug": { "name": "team_slug", "description": "The slug of the team name.", @@ -309360,15 +309628,6 @@ "type": "integer" } }, - "org": { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, "billing-usage-report-year": { "name": "year", "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", @@ -310028,6 +310287,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 +310350,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..fd9a0724b 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -91,6 +91,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -2296,8 +2298,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -2325,61 +2325,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - "$ref": "#/components/parameters/enterprise" - - "$ref": "#/components/parameters/secret-scanning-alert-state" - - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - - "$ref": "#/components/parameters/secret-scanning-alert-sort" - - "$ref": "#/components/parameters/direction" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/pagination-before" - - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/secret-scanning-alert-validity" - - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" - - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" - - "$ref": "#/components/parameters/secret-scanning-alert-hide-secret" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/organization-secret-scanning-alert" - examples: - default: - "$ref": "#/components/examples/organization-secret-scanning-alert-list" - headers: - Link: - "$ref": "#/components/headers/link" - '404': - "$ref": "#/components/responses/not_found" - '503': - "$ref": "#/components/responses/service_unavailable" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -2452,6 +2397,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: nullable: true type: string @@ -2698,6 +2655,209 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -2771,6 +2931,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: nullable: true type: string @@ -5116,9 +5288,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -9182,6 +9355,53 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories + parameters: + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - "$ref": "#/components/parameters/org" + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + "$ref": "#/components/examples/list-attestation-repositories" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -11933,8 +12153,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -16635,16 +16853,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/per-page" @@ -16756,16 +16977,19 @@ paths: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/item-id" - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -32235,14 +32459,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 +32469,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 +44698,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -54263,16 +54480,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -54380,16 +54600,19 @@ paths: - "$ref": "#/components/parameters/username" - "$ref": "#/components/parameters/item-id" - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -54750,7 +54973,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 +76202,6 @@ components: - fixed_at - repository additionalProperties: false - nullable-alert-updated-at: - type: string - description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - format: date-time - readOnly: true - nullable: true - secret-scanning-alert-state: - description: Sets the state of the secret scanning alert. You must provide `resolution` - when you set the state to `resolved`. - type: string - enum: - - open - - resolved - secret-scanning-alert-resolution: - type: string - description: "**Required when the `state` is `resolved`.** The reason for resolving - the alert." - nullable: true - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - description: Represents a 'wiki_commit' secret scanning location type. This - location type shows that a secret was detected inside a commit to a repository - wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - description: Represents a 'pull_request_title' secret scanning location type. - This location type shows that a secret was detected in the title of a pull - request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - description: Represents a 'pull_request_body' secret scanning location type. - This location type shows that a secret was detected in the body of a pull - request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - description: Represents a 'pull_request_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a pull - request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - description: Represents a 'pull_request_review' secret scanning location type. - This location type shows that a secret was detected in a review on a pull - request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - description: Represents a 'pull_request_review_comment' secret scanning location - type. This location type shows that a secret was detected in a review comment - on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - nullable-secret-scanning-first-detected-location: - description: 'Details on the location where the token was initially detected. - This can be a commit, wiki commit, issue, discussion, pull request. - - ' - oneOf: - - "$ref": "#/components/schemas/secret-scanning-location-commit" - - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - nullable: true - organization-secret-scanning-alert: - type: object - properties: - number: - "$ref": "#/components/schemas/alert-number" - created_at: - "$ref": "#/components/schemas/alert-created-at" - updated_at: - "$ref": "#/components/schemas/nullable-alert-updated-at" - url: - "$ref": "#/components/schemas/alert-url" - html_url: - "$ref": "#/components/schemas/alert-html-url" - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this alert. - state: - "$ref": "#/components/schemas/secret-scanning-alert-state" - resolution: - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - resolved_at: - type: string - format: date-time - description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - resolved_by: - "$ref": "#/components/schemas/nullable-simple-user" - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: - "$ref": "#/components/schemas/simple-repository" - push_protection_bypassed: - type: boolean - description: Whether push protection was bypassed for the detected secret. - nullable: true - push_protection_bypassed_by: - "$ref": "#/components/schemas/nullable-simple-user" - push_protection_bypassed_at: - type: string - format: date-time - description: 'The time that push protection was bypassed in ISO 8601 format: - `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - push_protection_bypass_request_reviewer: - "$ref": "#/components/schemas/nullable-simple-user" - push_protection_bypass_request_reviewer_comment: - type: string - description: An optional comment when reviewing a push protection bypass. - nullable: true - push_protection_bypass_request_comment: - type: string - description: An optional comment when requesting a push protection bypass. - nullable: true - push_protection_bypass_request_html_url: - type: string - format: uri - description: The URL to a push protection bypass request. - nullable: true - resolution_comment: - type: string - description: The comment that was optionally added when this alert was closed - nullable: true - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: boolean - description: Whether the secret was publicly leaked. - nullable: true - multi_repo: - type: boolean - description: Whether the detected secret was found in multiple repositories - in the same organization or enterprise. - nullable: true - is_base64_encoded: - type: boolean - description: A boolean value representing whether or not alert is base64 - encoded - nullable: true - first_location_detected: - "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" - has_more_locations: - type: boolean - description: A boolean value representing whether or not the token in the - alert was detected in more than one location. - assigned_to: - "$ref": "#/components/schemas/nullable-simple-user" enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -76415,6 +76259,64 @@ components: - created_at - updated_at - group_id + organization-simple: + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + example: github + id: + type: integer + example: 1 + node_id: + type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github + repos_url: + type: string + format: uri + example: https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + example: https://api.github.com/orgs/github/events + hooks_url: + type: string + example: https://api.github.com/orgs/github/hooks + issues_url: + type: string + example: https://api.github.com/orgs/github/issues + members_url: + type: string + example: https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + example: https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + example: https://github.com/images/error/octocat_happy.gif + description: + type: string + example: A great organization + nullable: true + required: + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description actor: title: Actor description: Actor @@ -79284,64 +79186,6 @@ components: - reason - url - subscribed - organization-simple: - title: Organization Simple - description: A GitHub organization. - type: object - properties: - login: - type: string - example: github - id: - type: integer - example: 1 - node_id: - type: string - example: MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - example: https://api.github.com/orgs/github - repos_url: - type: string - format: uri - example: https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - example: https://api.github.com/orgs/github/events - hooks_url: - type: string - example: https://api.github.com/orgs/github/hooks - issues_url: - type: string - example: https://api.github.com/orgs/github/issues - members_url: - type: string - example: https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - example: https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - example: https://github.com/images/error/octocat_happy.gif - description: - type: string - example: A great organization - nullable: true - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description nullable-simple-repository: title: Simple Repository description: A GitHub repository. @@ -79684,19 +79528,19 @@ components: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -80811,6 +80655,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 +86747,388 @@ components: state: type: object description: The state of the ruleset version + nullable-alert-updated-at: + type: string + description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + format: date-time + readOnly: true + nullable: true + secret-scanning-alert-state: + description: Sets the state of the secret scanning alert. You must provide `resolution` + when you set the state to `resolved`. + type: string + enum: + - open + - resolved + secret-scanning-alert-resolution: + type: string + description: "**Required when the `state` is `resolved`.** The reason for resolving + the alert." + nullable: true + enum: + - false_positive + - wont_fix + - revoked + - used_in_tests + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + description: Represents a 'wiki_commit' secret scanning location type. This + location type shows that a secret was detected inside a commit to a repository + wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + description: Represents a 'pull_request_title' secret scanning location type. + This location type shows that a secret was detected in the title of a pull + request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + description: Represents a 'pull_request_body' secret scanning location type. + This location type shows that a secret was detected in the body of a pull + request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + description: Represents a 'pull_request_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a pull + request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + description: Represents a 'pull_request_review' secret scanning location type. + This location type shows that a secret was detected in a review on a pull + request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + description: Represents a 'pull_request_review_comment' secret scanning location + type. This location type shows that a secret was detected in a review comment + on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable-secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + nullable: true + organization-secret-scanning-alert: + type: object + properties: + number: + "$ref": "#/components/schemas/alert-number" + created_at: + "$ref": "#/components/schemas/alert-created-at" + updated_at: + "$ref": "#/components/schemas/nullable-alert-updated-at" + url: + "$ref": "#/components/schemas/alert-url" + html_url: + "$ref": "#/components/schemas/alert-html-url" + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this alert. + state: + "$ref": "#/components/schemas/secret-scanning-alert-state" + resolution: + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + resolved_at: + type: string + format: date-time + description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + resolved_by: + "$ref": "#/components/schemas/nullable-simple-user" + secret_type: + type: string + description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: + "$ref": "#/components/schemas/simple-repository" + push_protection_bypassed: + type: boolean + description: Whether push protection was bypassed for the detected secret. + nullable: true + push_protection_bypassed_by: + "$ref": "#/components/schemas/nullable-simple-user" + push_protection_bypassed_at: + type: string + format: date-time + description: 'The time that push protection was bypassed in ISO 8601 format: + `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + push_protection_bypass_request_reviewer: + "$ref": "#/components/schemas/nullable-simple-user" + push_protection_bypass_request_reviewer_comment: + type: string + description: An optional comment when reviewing a push protection bypass. + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true + resolution_comment: + type: string + description: The comment that was optionally added when this alert was closed + nullable: true + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: boolean + description: Whether the secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. + nullable: true + is_base64_encoded: + type: boolean + description: A boolean value representing whether or not alert is base64 + encoded + nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. + assigned_to: + "$ref": "#/components/schemas/nullable-simple-user" secret-scanning-row-version: type: string description: The version of the entity. This is used to confirm you're updating @@ -100257,19 +100490,19 @@ components: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -209330,181 +209563,6 @@ components: tags_url: https://api.github.com/repos/octo-org/hello-world/tags teams_url: https://api.github.com/repos/octo-org/hello-world/teams trees_url: https://api.github.com/repos/octo-org/hello-world/git/trees{/sha} - organization-secret-scanning-alert-list: - value: - - number: 2 - created_at: '2020-11-06T18:48:51Z' - url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 - html_url: https://github.com/owner/private-repo/security/secret-scanning/2 - locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations - state: resolved - resolution: false_positive - resolved_at: '2020-11-07T02:47:13Z' - resolved_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - secret_type: adafruit_io_key - secret_type_display_name: Adafruit IO Key - secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - push_protection_bypassed_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - push_protection_bypassed: true - push_protection_bypassed_at: '2020-11-06T21:48:51Z' - push_protection_bypass_request_reviewer: - login: octocat - id: 3 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/3? - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true - push_protection_bypass_request_reviewer_comment: Example response - push_protection_bypass_request_comment: Example comment - push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 - resolution_comment: Example comment - validity: active - publicly_leaked: false - multi_repo: false - is_base64_encoded: false - first_location_detected: - path: "/example/secrets.txt" - start_line: 1 - end_line: 1 - start_column: 1 - end_column: 64 - blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b - commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b - has_more_locations: true - assigned_to: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false enterprise-teams-items: value: - id: 1 @@ -209557,6 +209615,34 @@ components: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false + organization-simple: + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + organization-simple-items: + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization public-events-items: value: - id: '22249084947' @@ -210932,20 +211018,6 @@ components: ~~~~~~==~==~~~==~==~~~~~~ ~~~~~~==~==~==~==~~~~~~ :~==~==~==~==~~ - organization-simple-items: - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization dependabot-repository-access-details: value: default_level: public @@ -212043,6 +212115,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 +216343,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 +234798,6 @@ components: - updated - epss_percentage default: created - pagination-first: - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - pagination-last: - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - secret-scanning-alert-state: - name: state - in: query - description: Set to `open` or `resolved` to only list secret scanning alerts - in a specific state. - required: false - schema: - type: string - enum: - - open - - resolved - secret-scanning-alert-secret-type: - name: secret_type - in: query - description: A comma-separated list of secret types to return. All default secret - patterns are returned. To return generic patterns, pass the token name(s) - in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" - for a complete list of secret types. - required: false - schema: - type: string - secret-scanning-alert-resolution: - name: resolution - in: query - description: A comma-separated list of resolutions. Only secret scanning alerts - with one of these resolutions are listed. Valid resolutions are `false_positive`, - `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. - required: false - schema: - type: string - secret-scanning-alert-sort: - name: sort - description: The property to sort the results by. `created` means when the alert - was created. `updated` means when the alert was updated or resolved. - in: query - required: false - schema: - type: string - enum: - - created - - updated - default: created - secret-scanning-alert-validity: - name: validity - in: query - description: A comma-separated list of validities that, when present, will return - alerts that match the validities in this list. Valid options are `active`, - `inactive`, and `unknown`. - required: false - schema: - type: string - secret-scanning-alert-publicly-leaked: - name: is_publicly_leaked - in: query - description: A boolean value representing whether or not to filter alerts by - the publicly-leaked tag being present. - required: false - schema: - type: boolean - default: false - secret-scanning-alert-multi-repo: - name: is_multi_repo - in: query - description: A boolean value representing whether or not to filter alerts by - the multi-repo tag being present. - required: false - schema: - type: boolean - default: false - secret-scanning-alert-hide-secret: - name: hide_secret - in: query - description: A boolean value representing whether or not to hide literal secrets - in the results. - required: false - schema: - type: boolean - default: false enterprise-team: name: enterprise-team description: The slug version of the enterprise team name. You can also substitute @@ -234663,6 +234813,13 @@ components: required: true schema: type: string + org: + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string team-slug: name: team_slug description: The slug of the team name. @@ -234784,13 +234941,6 @@ components: required: false schema: type: integer - org: - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string billing-usage-report-year: name: year description: If specified, only return results for a single year. The value @@ -235364,6 +235514,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 +235574,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..799fc8943 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -172,6 +172,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -3200,12 +3204,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -3251,98 +3249,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "$ref": "#/components/parameters/enterprise" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-state" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-sort" - }, - { - "$ref": "#/components/parameters/direction" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/pagination-before" - }, - { - "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-validity" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-hide-secret" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/organization-secret-scanning-alert" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/organization-secret-scanning-alert-list" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -3442,6 +3348,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "nullable": true, "type": "string", @@ -3841,6 +3757,336 @@ } } }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-simple" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "201": { + "description": "Successfully assigned the enterprise team to the organization.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-simple" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "delete": { + "summary": "Delete an organization assignment", + "description": "Unassign an enterprise team from an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/delete", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from the organization." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, "/enterprises/{enterprise}/teams/{team_slug}": { "get": { "summary": "Get an enterprise team", @@ -3938,6 +4184,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "nullable": true, "type": "string", @@ -7256,7 +7512,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -12734,6 +12990,77 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/list-attestation-repositories" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -16388,12 +16715,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -22991,16 +23312,22 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } }, { @@ -23177,16 +23504,22 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -44273,16 +44606,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 +44621,6 @@ }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" } ], "responses": { @@ -61344,7 +61661,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -74895,16 +75212,22 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -75072,16 +75395,22 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -75625,7 +75954,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 +105019,6 @@ ], "additionalProperties": false }, - "nullable-alert-updated-at": { - "type": "string", - "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "secret-scanning-alert-state": { - "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", - "type": "string", - "enum": [ - "open", - "resolved" - ] - }, - "secret-scanning-alert-resolution": { - "type": "string", - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "nullable": true, - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests" - ] - }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "example": "/example/secrets.txt" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "example": "/example/Home.md" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082" - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussion-4566270" - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, - "nullable-secret-scanning-first-detected-location": { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "$ref": "#/components/schemas/secret-scanning-location-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - } - ], - "nullable": true - }, - "organization-secret-scanning-alert": { - "type": "object", - "properties": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "$ref": "#/components/schemas/nullable-alert-updated-at" - }, - "url": { - "$ref": "#/components/schemas/alert-url" - }, - "html_url": { - "$ref": "#/components/schemas/alert-html-url" - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" - }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - }, - "resolved_at": { - "type": "string", - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "resolved_by": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "$ref": "#/components/schemas/simple-repository" - }, - "push_protection_bypassed": { - "type": "boolean", - "description": "Whether push protection was bypassed for the detected secret.", - "nullable": true - }, - "push_protection_bypassed_by": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "push_protection_bypassed_at": { - "type": "string", - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "push_protection_bypass_request_reviewer": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "push_protection_bypass_request_reviewer_comment": { - "type": "string", - "description": "An optional comment when reviewing a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_comment": { - "type": "string", - "description": "An optional comment when requesting a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_html_url": { - "type": "string", - "format": "uri", - "description": "The URL to a push protection bypass request.", - "nullable": true - }, - "resolution_comment": { - "type": "string", - "description": "The comment that was optionally added when this alert was closed", - "nullable": true - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": "boolean", - "description": "Whether the secret was publicly leaked.", - "nullable": true - }, - "multi_repo": { - "type": "boolean", - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", - "nullable": true - }, - "is_base64_encoded": { - "type": "boolean", - "description": "A boolean value representing whether or not alert is base64 encoded", - "nullable": true - }, - "first_location_detected": { - "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "$ref": "#/components/schemas/nullable-simple-user" - } - } - }, "enterprise-team": { "title": "Enterprise Team", "description": "Group of enterprise owners and/or members", @@ -105238,6 +105090,79 @@ "group_id" ] }, + "organization-simple": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, "actor": { "title": "Actor", "description": "Actor", @@ -109026,79 +108951,6 @@ "subscribed" ] }, - "organization-simple": { - "title": "Organization Simple", - "description": "A GitHub organization.", - "type": "object", - "properties": { - "login": { - "type": "string", - "example": "github" - }, - "id": { - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDEyOk9yZ2FuaXphdGlvbjE=" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github/repos" - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github/events" - }, - "hooks_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/hooks" - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/issues" - }, - "members_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/members{/member}" - }, - "public_members_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/public_members{/member}" - }, - "avatar_url": { - "type": "string", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "description": { - "type": "string", - "example": "A great organization", - "nullable": true - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description" - ] - }, "nullable-simple-repository": { "title": "Simple Repository", "description": "A GitHub repository.", @@ -109487,7 +109339,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -109495,7 +109347,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -109503,7 +109355,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -110861,6 +110713,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 +118401,483 @@ } ] }, + "nullable-alert-updated-at": { + "type": "string", + "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "readOnly": true, + "nullable": true + }, + "secret-scanning-alert-state": { + "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", + "type": "string", + "enum": [ + "open", + "resolved" + ] + }, + "secret-scanning-alert-resolution": { + "type": "string", + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "nullable": true, + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests" + ] + }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "nullable-secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ], + "nullable": true + }, + "organization-secret-scanning-alert": { + "type": "object", + "properties": { + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "updated_at": { + "$ref": "#/components/schemas/nullable-alert-updated-at" + }, + "url": { + "$ref": "#/components/schemas/alert-url" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "locations_url": { + "type": "string", + "format": "uri", + "description": "The REST API URL of the code locations for this alert." + }, + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" + }, + "resolution": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + }, + "resolved_at": { + "type": "string", + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "resolved_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "secret": { + "type": "string", + "description": "The secret that was detected." + }, + "repository": { + "$ref": "#/components/schemas/simple-repository" + }, + "push_protection_bypassed": { + "type": "boolean", + "description": "Whether push protection was bypassed for the detected secret.", + "nullable": true + }, + "push_protection_bypassed_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "push_protection_bypassed_at": { + "type": "string", + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "push_protection_bypass_request_reviewer": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "push_protection_bypass_request_reviewer_comment": { + "type": "string", + "description": "An optional comment when reviewing a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, + "resolution_comment": { + "type": "string", + "description": "The comment that was optionally added when this alert was closed", + "nullable": true + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", + "nullable": true + }, + "is_base64_encoded": { + "type": "boolean", + "description": "A boolean value representing whether or not alert is base64 encoded", + "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "$ref": "#/components/schemas/nullable-simple-user" + } + } + }, "secret-scanning-row-version": { "type": "string", "description": "The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate unintentionally overriding someone else's update.", @@ -136063,7 +136401,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -136071,7 +136409,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -136079,7 +136417,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -279891,192 +280229,6 @@ } ] }, - "organization-secret-scanning-alert-list": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true, - "assigned_to": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, "enterprise-teams-items": { "value": [ { @@ -280139,6 +280291,40 @@ "site_admin": false } }, + "organization-simple": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + }, + "organization-simple-items": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + }, "public-events-items": { "value": [ { @@ -281659,24 +281845,6 @@ "octocat": { "value": " MMM. .MMM\n MMMMMMMMMMMMMMMMMMM\n MMMMMMMMMMMMMMMMMMM ___________________________________\n MMMMMMMMMMMMMMMMMMMMM | |\n MMMMMMMMMMMMMMMMMMMMMMM | Avoid administrative distraction. |\n MMMMMMMMMMMMMMMMMMMMMMMM |_ _______________________________|\n MMMM::- -:::::::- -::MMMM |/\n MM~:~ 00~:::::~ 00~:~MM\n .. MMMMM::.00:::+:::.00::MMMMM ..\n .MM::::: ._. :::::MM.\n MMMM;:::::;MMMM\n -MM MMMMMMM\n ^ M+ MMMMMMMMM\n MMMMMMM MM MM MM\n MM MM MM MM\n MM MM MM MM\n .~~MM~MM~MM~MM~~.\n ~~~~MM:~MM~~~MM~:MM~~~~\n ~~~~~~==~==~~~==~==~~~~~~\n ~~~~~~==~==~==~==~~~~~~\n :~==~==~==~==~~\n" }, - "organization-simple-items": { - "value": [ - { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - } - ] - }, "dependabot-repository-access-details": { "value": { "default_level": "public", @@ -283043,6 +283211,18 @@ ] } }, + "list-attestation-repositories": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + }, "list-attestations": { "value": { "attestations": [ @@ -287929,6 +288109,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 +309457,6 @@ "default": "created" } }, - "pagination-first": { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - "pagination-last": { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, - "secret-scanning-alert-state": { - "name": "state", - "in": "query", - "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "resolved" - ] - } - }, - "secret-scanning-alert-secret-type": { - "name": "secret_type", - "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-resolution": { - "name": "resolution", - "in": "query", - "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-sort": { - "name": "sort", - "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated" - ], - "default": "created" - } - }, - "secret-scanning-alert-validity": { - "name": "validity", - "in": "query", - "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-publicly-leaked": { - "name": "is_publicly_leaked", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - "secret-scanning-alert-multi-repo": { - "name": "is_multi_repo", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - "secret-scanning-alert-hide-secret": { - "name": "hide_secret", - "in": "query", - "description": "A boolean value representing whether or not to hide literal secrets in the results.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, "enterprise-team": { "name": "enterprise-team", "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", @@ -309216,6 +309475,15 @@ "type": "string" } }, + "org": { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "team-slug": { "name": "team_slug", "description": "The slug of the team name.", @@ -309360,15 +309628,6 @@ "type": "integer" } }, - "org": { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, "billing-usage-report-year": { "name": "year", "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", @@ -310028,6 +310287,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 +310350,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..fd9a0724b 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -91,6 +91,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -2296,8 +2298,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -2325,61 +2325,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - "$ref": "#/components/parameters/enterprise" - - "$ref": "#/components/parameters/secret-scanning-alert-state" - - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - - "$ref": "#/components/parameters/secret-scanning-alert-sort" - - "$ref": "#/components/parameters/direction" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/pagination-before" - - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/secret-scanning-alert-validity" - - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" - - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" - - "$ref": "#/components/parameters/secret-scanning-alert-hide-secret" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/organization-secret-scanning-alert" - examples: - default: - "$ref": "#/components/examples/organization-secret-scanning-alert-list" - headers: - Link: - "$ref": "#/components/headers/link" - '404': - "$ref": "#/components/responses/not_found" - '503': - "$ref": "#/components/responses/service_unavailable" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -2452,6 +2397,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: nullable: true type: string @@ -2698,6 +2655,209 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -2771,6 +2931,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: nullable: true type: string @@ -5116,9 +5288,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -9182,6 +9355,53 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories + parameters: + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - "$ref": "#/components/parameters/org" + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + "$ref": "#/components/examples/list-attestation-repositories" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -11933,8 +12153,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -16635,16 +16853,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/per-page" @@ -16756,16 +16977,19 @@ paths: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/item-id" - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -32235,14 +32459,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 +32469,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 +44698,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -54263,16 +54480,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -54380,16 +54600,19 @@ paths: - "$ref": "#/components/parameters/username" - "$ref": "#/components/parameters/item-id" - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -54750,7 +54973,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 +76202,6 @@ components: - fixed_at - repository additionalProperties: false - nullable-alert-updated-at: - type: string - description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - format: date-time - readOnly: true - nullable: true - secret-scanning-alert-state: - description: Sets the state of the secret scanning alert. You must provide `resolution` - when you set the state to `resolved`. - type: string - enum: - - open - - resolved - secret-scanning-alert-resolution: - type: string - description: "**Required when the `state` is `resolved`.** The reason for resolving - the alert." - nullable: true - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - description: Represents a 'wiki_commit' secret scanning location type. This - location type shows that a secret was detected inside a commit to a repository - wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - description: Represents a 'pull_request_title' secret scanning location type. - This location type shows that a secret was detected in the title of a pull - request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - description: Represents a 'pull_request_body' secret scanning location type. - This location type shows that a secret was detected in the body of a pull - request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - description: Represents a 'pull_request_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a pull - request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - description: Represents a 'pull_request_review' secret scanning location type. - This location type shows that a secret was detected in a review on a pull - request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - description: Represents a 'pull_request_review_comment' secret scanning location - type. This location type shows that a secret was detected in a review comment - on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - nullable-secret-scanning-first-detected-location: - description: 'Details on the location where the token was initially detected. - This can be a commit, wiki commit, issue, discussion, pull request. - - ' - oneOf: - - "$ref": "#/components/schemas/secret-scanning-location-commit" - - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - nullable: true - organization-secret-scanning-alert: - type: object - properties: - number: - "$ref": "#/components/schemas/alert-number" - created_at: - "$ref": "#/components/schemas/alert-created-at" - updated_at: - "$ref": "#/components/schemas/nullable-alert-updated-at" - url: - "$ref": "#/components/schemas/alert-url" - html_url: - "$ref": "#/components/schemas/alert-html-url" - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this alert. - state: - "$ref": "#/components/schemas/secret-scanning-alert-state" - resolution: - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - resolved_at: - type: string - format: date-time - description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - resolved_by: - "$ref": "#/components/schemas/nullable-simple-user" - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: - "$ref": "#/components/schemas/simple-repository" - push_protection_bypassed: - type: boolean - description: Whether push protection was bypassed for the detected secret. - nullable: true - push_protection_bypassed_by: - "$ref": "#/components/schemas/nullable-simple-user" - push_protection_bypassed_at: - type: string - format: date-time - description: 'The time that push protection was bypassed in ISO 8601 format: - `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - push_protection_bypass_request_reviewer: - "$ref": "#/components/schemas/nullable-simple-user" - push_protection_bypass_request_reviewer_comment: - type: string - description: An optional comment when reviewing a push protection bypass. - nullable: true - push_protection_bypass_request_comment: - type: string - description: An optional comment when requesting a push protection bypass. - nullable: true - push_protection_bypass_request_html_url: - type: string - format: uri - description: The URL to a push protection bypass request. - nullable: true - resolution_comment: - type: string - description: The comment that was optionally added when this alert was closed - nullable: true - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: boolean - description: Whether the secret was publicly leaked. - nullable: true - multi_repo: - type: boolean - description: Whether the detected secret was found in multiple repositories - in the same organization or enterprise. - nullable: true - is_base64_encoded: - type: boolean - description: A boolean value representing whether or not alert is base64 - encoded - nullable: true - first_location_detected: - "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" - has_more_locations: - type: boolean - description: A boolean value representing whether or not the token in the - alert was detected in more than one location. - assigned_to: - "$ref": "#/components/schemas/nullable-simple-user" enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -76415,6 +76259,64 @@ components: - created_at - updated_at - group_id + organization-simple: + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + example: github + id: + type: integer + example: 1 + node_id: + type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github + repos_url: + type: string + format: uri + example: https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + example: https://api.github.com/orgs/github/events + hooks_url: + type: string + example: https://api.github.com/orgs/github/hooks + issues_url: + type: string + example: https://api.github.com/orgs/github/issues + members_url: + type: string + example: https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + example: https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + example: https://github.com/images/error/octocat_happy.gif + description: + type: string + example: A great organization + nullable: true + required: + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description actor: title: Actor description: Actor @@ -79284,64 +79186,6 @@ components: - reason - url - subscribed - organization-simple: - title: Organization Simple - description: A GitHub organization. - type: object - properties: - login: - type: string - example: github - id: - type: integer - example: 1 - node_id: - type: string - example: MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - example: https://api.github.com/orgs/github - repos_url: - type: string - format: uri - example: https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - example: https://api.github.com/orgs/github/events - hooks_url: - type: string - example: https://api.github.com/orgs/github/hooks - issues_url: - type: string - example: https://api.github.com/orgs/github/issues - members_url: - type: string - example: https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - example: https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - example: https://github.com/images/error/octocat_happy.gif - description: - type: string - example: A great organization - nullable: true - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description nullable-simple-repository: title: Simple Repository description: A GitHub repository. @@ -79684,19 +79528,19 @@ components: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -80811,6 +80655,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 +86747,388 @@ components: state: type: object description: The state of the ruleset version + nullable-alert-updated-at: + type: string + description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + format: date-time + readOnly: true + nullable: true + secret-scanning-alert-state: + description: Sets the state of the secret scanning alert. You must provide `resolution` + when you set the state to `resolved`. + type: string + enum: + - open + - resolved + secret-scanning-alert-resolution: + type: string + description: "**Required when the `state` is `resolved`.** The reason for resolving + the alert." + nullable: true + enum: + - false_positive + - wont_fix + - revoked + - used_in_tests + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + example: "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + description: Represents a 'wiki_commit' secret scanning location type. This + location type shows that a secret was detected inside a commit to a repository + wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + example: "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + description: Represents a 'pull_request_title' secret scanning location type. + This location type shows that a secret was detected in the title of a pull + request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + description: Represents a 'pull_request_body' secret scanning location type. + This location type shows that a secret was detected in the body of a pull + request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + description: Represents a 'pull_request_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a pull + request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + description: Represents a 'pull_request_review' secret scanning location type. + This location type shows that a secret was detected in a review on a pull + request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + description: Represents a 'pull_request_review_comment' secret scanning location + type. This location type shows that a secret was detected in a review comment + on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable-secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + nullable: true + organization-secret-scanning-alert: + type: object + properties: + number: + "$ref": "#/components/schemas/alert-number" + created_at: + "$ref": "#/components/schemas/alert-created-at" + updated_at: + "$ref": "#/components/schemas/nullable-alert-updated-at" + url: + "$ref": "#/components/schemas/alert-url" + html_url: + "$ref": "#/components/schemas/alert-html-url" + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this alert. + state: + "$ref": "#/components/schemas/secret-scanning-alert-state" + resolution: + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + resolved_at: + type: string + format: date-time + description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + resolved_by: + "$ref": "#/components/schemas/nullable-simple-user" + secret_type: + type: string + description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: + "$ref": "#/components/schemas/simple-repository" + push_protection_bypassed: + type: boolean + description: Whether push protection was bypassed for the detected secret. + nullable: true + push_protection_bypassed_by: + "$ref": "#/components/schemas/nullable-simple-user" + push_protection_bypassed_at: + type: string + format: date-time + description: 'The time that push protection was bypassed in ISO 8601 format: + `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + push_protection_bypass_request_reviewer: + "$ref": "#/components/schemas/nullable-simple-user" + push_protection_bypass_request_reviewer_comment: + type: string + description: An optional comment when reviewing a push protection bypass. + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true + resolution_comment: + type: string + description: The comment that was optionally added when this alert was closed + nullable: true + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: boolean + description: Whether the secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. + nullable: true + is_base64_encoded: + type: boolean + description: A boolean value representing whether or not alert is base64 + encoded + nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. + assigned_to: + "$ref": "#/components/schemas/nullable-simple-user" secret-scanning-row-version: type: string description: The version of the entity. This is used to confirm you're updating @@ -100257,19 +100490,19 @@ components: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -209330,181 +209563,6 @@ components: tags_url: https://api.github.com/repos/octo-org/hello-world/tags teams_url: https://api.github.com/repos/octo-org/hello-world/teams trees_url: https://api.github.com/repos/octo-org/hello-world/git/trees{/sha} - organization-secret-scanning-alert-list: - value: - - number: 2 - created_at: '2020-11-06T18:48:51Z' - url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 - html_url: https://github.com/owner/private-repo/security/secret-scanning/2 - locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations - state: resolved - resolution: false_positive - resolved_at: '2020-11-07T02:47:13Z' - resolved_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - secret_type: adafruit_io_key - secret_type_display_name: Adafruit IO Key - secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - push_protection_bypassed_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - push_protection_bypassed: true - push_protection_bypassed_at: '2020-11-06T21:48:51Z' - push_protection_bypass_request_reviewer: - login: octocat - id: 3 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/3? - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true - push_protection_bypass_request_reviewer_comment: Example response - push_protection_bypass_request_comment: Example comment - push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 - resolution_comment: Example comment - validity: active - publicly_leaked: false - multi_repo: false - is_base64_encoded: false - first_location_detected: - path: "/example/secrets.txt" - start_line: 1 - end_line: 1 - start_column: 1 - end_column: 64 - blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b - commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b - has_more_locations: true - assigned_to: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false enterprise-teams-items: value: - id: 1 @@ -209557,6 +209615,34 @@ components: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false + organization-simple: + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + organization-simple-items: + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization public-events-items: value: - id: '22249084947' @@ -210932,20 +211018,6 @@ components: ~~~~~~==~==~~~==~==~~~~~~ ~~~~~~==~==~==~==~~~~~~ :~==~==~==~==~~ - organization-simple-items: - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization dependabot-repository-access-details: value: default_level: public @@ -212043,6 +212115,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 +216343,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 +234798,6 @@ components: - updated - epss_percentage default: created - pagination-first: - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - pagination-last: - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - secret-scanning-alert-state: - name: state - in: query - description: Set to `open` or `resolved` to only list secret scanning alerts - in a specific state. - required: false - schema: - type: string - enum: - - open - - resolved - secret-scanning-alert-secret-type: - name: secret_type - in: query - description: A comma-separated list of secret types to return. All default secret - patterns are returned. To return generic patterns, pass the token name(s) - in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" - for a complete list of secret types. - required: false - schema: - type: string - secret-scanning-alert-resolution: - name: resolution - in: query - description: A comma-separated list of resolutions. Only secret scanning alerts - with one of these resolutions are listed. Valid resolutions are `false_positive`, - `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. - required: false - schema: - type: string - secret-scanning-alert-sort: - name: sort - description: The property to sort the results by. `created` means when the alert - was created. `updated` means when the alert was updated or resolved. - in: query - required: false - schema: - type: string - enum: - - created - - updated - default: created - secret-scanning-alert-validity: - name: validity - in: query - description: A comma-separated list of validities that, when present, will return - alerts that match the validities in this list. Valid options are `active`, - `inactive`, and `unknown`. - required: false - schema: - type: string - secret-scanning-alert-publicly-leaked: - name: is_publicly_leaked - in: query - description: A boolean value representing whether or not to filter alerts by - the publicly-leaked tag being present. - required: false - schema: - type: boolean - default: false - secret-scanning-alert-multi-repo: - name: is_multi_repo - in: query - description: A boolean value representing whether or not to filter alerts by - the multi-repo tag being present. - required: false - schema: - type: boolean - default: false - secret-scanning-alert-hide-secret: - name: hide_secret - in: query - description: A boolean value representing whether or not to hide literal secrets - in the results. - required: false - schema: - type: boolean - default: false enterprise-team: name: enterprise-team description: The slug version of the enterprise team name. You can also substitute @@ -234663,6 +234813,13 @@ components: required: true schema: type: string + org: + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string team-slug: name: team_slug description: The slug of the team name. @@ -234784,13 +234941,6 @@ components: required: false schema: type: integer - org: - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string billing-usage-report-year: name: year description: If specified, only return results for a single year. The value @@ -235364,6 +235514,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 +235574,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..5acd27acd 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -172,6 +172,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -20480,29 +20484,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -22110,1758 +22091,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "in": "query", - "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "resolved" - ] - } - }, - { - "name": "secret_type", - "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "resolution", - "in": "query", - "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "sort", - "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated" - ], - "default": "created" - } - }, - { - "name": "direction", - "description": "The direction to sort the results by.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ], - "default": "desc" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "validity", - "in": "query", - "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "is_publicly_leaked", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "is_multi_repo", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "hide_secret", - "in": "query", - "description": "A boolean value representing whether or not to hide literal secrets in the results.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "number": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - }, - "created_at": { - "type": "string", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "updated_at": { - "type": "string", - "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "url": { - "type": "string", - "description": "The REST API URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "html_url": { - "type": "string", - "description": "The GitHub URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", - "type": "string", - "enum": [ - "open", - "resolved" - ] - }, - "resolution": { - "type": "string", - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "nullable": true, - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests" - ] - }, - "resolved_at": { - "type": "string", - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "resolved_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "example": 1296269, - "description": "A unique identifier of the repository." - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "description": "The GraphQL identifier of the repository." - }, - "name": { - "type": "string", - "example": "Hello-World", - "description": "The name of the repository." - }, - "full_name": { - "type": "string", - "example": "octocat/Hello-World", - "description": "The full, globally unique, name of the repository." - }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World", - "description": "The URL to view the repository on GitHub.com." - }, - "description": { - "type": "string", - "example": "This your first repo!", - "nullable": true, - "description": "The repository description." - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World", - "description": "The URL to get more information about the repository from the GitHub API." - }, - "archive_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "description": "A template for the API URL to download the repository as an archive." - }, - "assignees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "description": "A template for the API URL to list the available assignees for issues in the repository." - }, - "blobs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." - }, - "branches_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "description": "A template for the API URL to get information about branches in the repository." - }, - "collaborators_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "description": "A template for the API URL to get information about collaborators of the repository." - }, - "comments_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "description": "A template for the API URL to get information about comments on the repository." - }, - "commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "description": "A template for the API URL to get information about commits on the repository." - }, - "compare_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "description": "A template for the API URL to compare two commits or refs." - }, - "contents_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "description": "A template for the API URL to get the contents of the repository." - }, - "contributors_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/contributors", - "description": "A template for the API URL to list the contributors to the repository." - }, - "deployments_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/deployments", - "description": "The API URL to list the deployments of the repository." - }, - "downloads_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/downloads", - "description": "The API URL to list the downloads on the repository." - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/events", - "description": "The API URL to list the events of the repository." - }, - "forks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/forks", - "description": "The API URL to list the forks of the repository." - }, - "git_commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "description": "A template for the API URL to get information about Git commits of the repository." - }, - "git_refs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "description": "A template for the API URL to get information about Git refs of the repository." - }, - "git_tags_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "description": "A template for the API URL to get information about Git tags of the repository." - }, - "issue_comment_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "description": "A template for the API URL to get information about issue comments on the repository." - }, - "issue_events_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "description": "A template for the API URL to get information about issue events on the repository." - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "description": "A template for the API URL to get information about issues on the repository." - }, - "keys_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "description": "A template for the API URL to get information about deploy keys on the repository." - }, - "labels_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "description": "A template for the API URL to get information about labels of the repository." - }, - "languages_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/languages", - "description": "The API URL to get information about the languages of the repository." - }, - "merges_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/merges", - "description": "The API URL to merge branches in the repository." - }, - "milestones_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "description": "A template for the API URL to get information about milestones of the repository." - }, - "notifications_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "description": "A template for the API URL to get information about notifications on the repository." - }, - "pulls_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "description": "A template for the API URL to get information about pull requests on the repository." - }, - "releases_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "description": "A template for the API URL to get information about releases on the repository." - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "description": "The API URL to list the stargazers on the repository." - }, - "statuses_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "description": "A template for the API URL to get information about statuses of a commit." - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "description": "The API URL to list the subscribers on the repository." - }, - "subscription_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscription", - "description": "The API URL to subscribe to notifications for this repository." - }, - "tags_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/tags", - "description": "The API URL to get information about tags on the repository." - }, - "teams_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." - }, - "trees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." - }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the repository." - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ] - }, - "push_protection_bypassed": { - "type": "boolean", - "description": "Whether push protection was bypassed for the detected secret.", - "nullable": true - }, - "push_protection_bypassed_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "push_protection_bypassed_at": { - "type": "string", - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "push_protection_bypass_request_reviewer": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "push_protection_bypass_request_reviewer_comment": { - "type": "string", - "description": "An optional comment when reviewing a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_comment": { - "type": "string", - "description": "An optional comment when requesting a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_html_url": { - "type": "string", - "format": "uri", - "description": "The URL to a push protection bypass request.", - "nullable": true - }, - "resolution_comment": { - "type": "string", - "description": "The comment that was optionally added when this alert was closed", - "nullable": true - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": "boolean", - "description": "Whether the secret was publicly leaked.", - "nullable": true - }, - "multi_repo": { - "type": "boolean", - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", - "nullable": true - }, - "is_base64_encoded": { - "type": "boolean", - "description": "A boolean value representing whether or not alert is base64 encoded", - "nullable": true - }, - "first_location_detected": { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "example": "/example/secrets.txt" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "example": "/example/Home.md" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_title_url" - ] - }, - { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_body_url" - ] - }, - { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "issue_comment_url" - ] - }, - { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082" - } - }, - "required": [ - "discussion_title_url" - ] - }, - { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussion-4566270" - } - }, - "required": [ - "discussion_body_url" - ] - }, - { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - } - }, - "required": [ - "discussion_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_title_url" - ] - }, - { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_body_url" - ] - }, - { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - } - }, - "required": [ - "pull_request_review_url" - ] - }, - { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - } - ], - "nullable": true - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - } - } - } - }, - "examples": { - "default": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true, - "assigned_to": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -24092,6 +22321,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "nullable": true, "type": "string", @@ -25358,8 +23597,800 @@ } }, { - "name": "username", - "description": "The handle for the GitHub user account.", + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "201": { + "description": "Successfully assigned the enterprise team to the organization.", + "content": { + "application/json": { + "schema": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "delete": { + "summary": "Delete an organization assignment", + "description": "Unassign an enterprise team from an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/delete", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", "in": "path", "required": true, "schema": { @@ -25369,40 +24400,14 @@ ], "responses": { "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "description": "Successfully unassigned the enterprise team from the organization." } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "subcategory": "enterprise-team-organizations" } } }, @@ -25634,6 +24639,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "nullable": true, "type": "string", @@ -65205,7 +64220,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -65349,7 +64364,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -65357,7 +64372,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -65365,7 +64380,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -83791,6 +82806,110 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -100085,29 +99204,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -148274,16 +147370,22 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } }, { @@ -155438,16 +154540,22 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -304039,16 +303147,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 +303174,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 +487965,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -624057,16 +623132,22 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -631194,16 +630275,22 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -655215,7 +654302,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -655346,7 +654433,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -655354,7 +654441,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -655362,7 +654449,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index f6e9af8bd..811c62bff 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -91,6 +91,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -855,7 +857,7 @@ paths: - subscriptions_url - type - url - type: &307 + type: &297 type: string description: The type of credit the user is receiving. enum: @@ -988,7 +990,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &112 + schema: &111 title: Validation Error Simple description: Validation Error Simple type: object @@ -1021,7 +1023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &629 + - &627 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1139,7 +1141,7 @@ paths: GitHub. type: object nullable: true - properties: &68 + properties: &67 id: description: Unique identifier of the GitHub app example: 37 @@ -1272,7 +1274,7 @@ paths: about itself. example: 5 type: integer - required: &69 + required: &68 - id - node_id - owner @@ -1577,7 +1579,7 @@ paths: schema: type: integer default: 30 - - &187 + - &188 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1593,7 +1595,7 @@ paths: application/json: schema: type: array - items: &188 + items: &189 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1673,7 +1675,7 @@ paths: - installation_id - repository_id examples: - default: &189 + default: &190 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1732,7 +1734,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &111 + schema: &110 title: Validation Error description: Validation Error type: object @@ -1801,7 +1803,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &191 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1915,7 +1917,7 @@ paths: - request - response examples: - default: &191 + default: &192 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2116,7 +2118,7 @@ paths: parameters: - *17 - *19 - - &79 + - &77 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2653,7 +2655,7 @@ paths: suspended_at: suspended_by: headers: - Link: &58 + Link: &54 example: ; rel="next", ; rel="last" schema: @@ -2842,7 +2844,7 @@ paths: - selected repositories: type: array - items: &67 + items: &66 title: Repository description: A repository on GitHub. type: object @@ -2866,7 +2868,7 @@ paths: title: License Simple description: License Simple type: object - properties: &74 + properties: &73 key: type: string example: mit @@ -2888,7 +2890,7 @@ paths: html_url: type: string format: uri - required: &75 + required: &74 - key - name - url @@ -5071,7 +5073,7 @@ paths: responses: '202': *39 '422': *7 - '500': &106 + '500': &104 description: Internal Error content: application/json: @@ -7395,7 +7397,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &159 + code_scanning_options: &162 type: object description: Security Configuration feature options for code scanning nullable: true @@ -7589,7 +7591,7 @@ paths: description: Response content: application/json: - schema: &161 + schema: &164 type: array description: A list of default code security configurations items: @@ -7605,7 +7607,7 @@ paths: default configuration: *43 examples: - default: &162 + default: &165 value: - default_for_new_repos: public configuration: @@ -7936,7 +7938,7 @@ paths: - *42 - *45 responses: - '204': &163 + '204': &166 description: A header with no content is returned. '400': *14 '403': *29 @@ -8063,7 +8065,7 @@ paths: default: value: default_for_new_repos: all - configuration: &160 + configuration: &163 value: id: 1325 target_type: organization @@ -8148,7 +8150,7 @@ paths: application/json: schema: type: array - items: &164 + items: &167 type: object description: Repositories associated with a code security configuration and attachment status @@ -8170,7 +8172,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &103 + properties: &102 id: type: integer format: int64 @@ -8397,7 +8399,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &104 + required: &103 - archive_url - assignees_url - blobs_url @@ -8449,7 +8451,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &165 + repository: &168 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8543,7 +8545,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *42 - - &170 + - &173 name: state in: query description: |- @@ -8552,7 +8554,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &171 + - &174 name: severity in: query description: |- @@ -8561,7 +8563,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &172 + - &175 name: ecosystem in: query description: |- @@ -8570,14 +8572,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &173 + - &176 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &174 + - &177 name: epss_percentage in: query description: |- @@ -8589,7 +8591,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &479 + - &469 name: has in: query description: |- @@ -8603,7 +8605,7 @@ paths: type: string enum: - patch - - &175 + - &178 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8613,7 +8615,7 @@ paths: enum: - development - runtime - - &176 + - &179 name: sort in: query description: |- @@ -8631,31 +8633,6 @@ paths: - *48 - *40 - *41 - - &177 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &178 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - *17 responses: '200': @@ -8664,11 +8641,11 @@ paths: application/json: schema: type: array - items: &179 + items: &180 type: object description: A Dependabot alert. properties: - number: &54 + number: &152 type: integer description: The security alert number. readOnly: true @@ -8730,7 +8707,7 @@ paths: - unknown - direct - transitive - security_advisory: &480 + security_advisory: &470 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8933,29 +8910,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *52 - url: &56 + url: &155 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &57 + html_url: &156 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &55 + created_at: &153 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: &154 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &155 + dismissed_at: &158 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8985,14 +8962,14 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &154 + fixed_at: &157 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &481 + auto_dismissed_at: &471 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9018,7 +8995,7 @@ paths: - repository additionalProperties: false examples: - default: &180 + default: &181 value: - number: 2 state: dismissed @@ -9346,718 +9323,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - *42 - - &295 - name: state - in: query - description: Set to `open` or `resolved` to only list secret scanning alerts - in a specific state. - required: false - schema: - type: string - enum: - - open - - resolved - - &296 - name: secret_type - in: query - description: A comma-separated list of secret types to return. All default - secret patterns are returned. To return generic patterns, pass the token - name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" - for a complete list of secret types. - required: false - schema: - type: string - - &297 - name: resolution - in: query - description: A comma-separated list of resolutions. Only secret scanning alerts - with one of these resolutions are listed. Valid resolutions are `false_positive`, - `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. - required: false - schema: - type: string - - &298 - name: sort - description: The property to sort the results by. `created` means when the - alert was created. `updated` means when the alert was updated or resolved. - in: query - required: false - schema: - type: string - enum: - - created - - updated - default: created - - *48 - - *17 - - *40 - - *41 - - &299 - name: validity - in: query - description: A comma-separated list of validities that, when present, will - return alerts that match the validities in this list. Valid options are - `active`, `inactive`, and `unknown`. - required: false - schema: - type: string - - &300 - name: is_publicly_leaked - in: query - description: A boolean value representing whether or not to filter alerts - by the publicly-leaked tag being present. - required: false - schema: - type: boolean - default: false - - &301 - name: is_multi_repo - in: query - description: A boolean value representing whether or not to filter alerts - by the multi-repo tag being present. - required: false - schema: - type: boolean - default: false - - &302 - name: hide_secret - in: query - description: A boolean value representing whether or not to hide literal secrets - in the results. - required: false - schema: - type: boolean - default: false - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &303 - type: object - properties: - number: *54 - created_at: *55 - updated_at: - type: string - description: 'The time that the alert was last updated in ISO - 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - format: date-time - readOnly: true - nullable: true - url: *56 - html_url: *57 - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this - alert. - state: &607 - description: Sets the state of the secret scanning alert. You - must provide `resolution` when you set the state to `resolved`. - type: string - enum: - - open - - resolved - resolution: &608 - type: string - description: "**Required when the `state` is `resolved`.** The - reason for resolving the alert." - nullable: true - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - resolved_at: - type: string - format: date-time - description: 'The time that the alert was resolved in ISO 8601 - format: `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - resolved_by: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: *53 - push_protection_bypassed: - type: boolean - description: Whether push protection was bypassed for the detected - secret. - nullable: true - push_protection_bypassed_by: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - push_protection_bypassed_at: - type: string - format: date-time - description: 'The time that push protection was bypassed in - ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - push_protection_bypass_request_reviewer: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - push_protection_bypass_request_reviewer_comment: - type: string - description: An optional comment when reviewing a push protection - bypass. - nullable: true - push_protection_bypass_request_comment: - type: string - description: An optional comment when requesting a push protection - bypass. - nullable: true - push_protection_bypass_request_html_url: - type: string - format: uri - description: The URL to a push protection bypass request. - nullable: true - resolution_comment: - type: string - description: The comment that was optionally added when this - alert was closed - nullable: true - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: boolean - description: Whether the secret was publicly leaked. - nullable: true - multi_repo: - type: boolean - description: Whether the detected secret was found in multiple - repositories in the same organization or enterprise. - nullable: true - is_base64_encoded: - type: boolean - description: A boolean value representing whether or not alert - is base64 encoded - nullable: true - first_location_detected: - description: 'Details on the location where the token was initially - detected. This can be a commit, wiki commit, issue, discussion, - pull request. - - ' - oneOf: &609 - - &611 - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - &612 - description: Represents a 'wiki_commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - &613 - description: Represents an 'issue_title' secret scanning location - type. This location type shows that a secret was detected - in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - &614 - description: Represents an 'issue_body' secret scanning location - type. This location type shows that a secret was detected - in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - &615 - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - &616 - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - &617 - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - &618 - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - &619 - description: Represents a 'pull_request_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a pull request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - &620 - description: Represents a 'pull_request_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a pull request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - &621 - description: Represents a 'pull_request_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a pull request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - &622 - description: Represents a 'pull_request_review' secret scanning - location type. This location type shows that a secret was - detected in a review on a pull request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - &623 - description: Represents a 'pull_request_review_comment' secret - scanning location type. This location type shows that a - secret was detected in a review comment on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - nullable: true - has_more_locations: - type: boolean - description: A boolean value representing whether or not the - token in the alert was detected in more than one location. - assigned_to: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - examples: - default: &304 - value: - - number: 2 - created_at: '2020-11-06T18:48:51Z' - url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 - html_url: https://github.com/owner/private-repo/security/secret-scanning/2 - locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations - state: resolved - resolution: false_positive - resolved_at: '2020-11-07T02:47:13Z' - resolved_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - secret_type: adafruit_io_key - secret_type_display_name: Adafruit IO Key - secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - push_protection_bypassed_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - push_protection_bypassed: true - push_protection_bypassed_at: '2020-11-06T21:48:51Z' - push_protection_bypass_request_reviewer: - login: octocat - id: 3 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/3? - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true - push_protection_bypass_request_reviewer_comment: Example response - push_protection_bypass_request_comment: Example comment - push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 - resolution_comment: Example comment - validity: active - publicly_leaked: false - multi_repo: false - is_base64_encoded: false - first_location_detected: - path: "/example/secrets.txt" - start_line: 1 - end_line: 1 - start_column: 1 - end_column: 64 - blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b - commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b - has_more_locations: true - assigned_to: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - headers: - Link: *58 - '404': *6 - '503': &77 - description: Service unavailable - content: - application/json: - schema: - type: object - properties: - code: - type: string - message: - type: string - documentation_url: - type: string - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -10079,7 +9344,7 @@ paths: application/json: schema: type: array - items: &59 + items: &55 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10137,7 +9402,7 @@ paths: - updated_at - group_id examples: - default: &60 + default: &56 value: - id: 1 name: Justice League @@ -10150,7 +9415,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -10193,6 +9458,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: nullable: true type: string @@ -10211,9 +9488,9 @@ paths: description: Response content: application/json: - schema: *59 + schema: *55 examples: - default: *60 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10231,7 +9508,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *42 - - &61 + - &57 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10250,7 +9527,7 @@ paths: type: array items: *4 examples: - default: &62 + default: &58 value: - login: octocat id: 1 @@ -10271,7 +9548,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10289,7 +9566,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *42 - - *61 + - *57 requestBody: required: true content: @@ -10320,7 +9597,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10338,7 +9615,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *42 - - *61 + - *57 requestBody: required: true content: @@ -10369,7 +9646,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10387,8 +9664,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *42 - - *61 - - &63 + - *57 + - &59 name: username description: The handle for the GitHub user account. in: path @@ -10402,7 +9679,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &64 + exampleKey1: &60 value: login: octocat id: 1 @@ -10438,8 +9715,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *42 - - *61 - - *63 + - *57 + - *59 responses: '201': description: Successfully added team member @@ -10447,7 +9724,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *64 + exampleKey1: *60 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10465,8 +9742,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *42 - - *61 - - *63 + - *57 + - *59 responses: '204': description: Response @@ -10476,6 +9753,290 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - *42 + - *57 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: &61 + title: Organization Simple + description: A GitHub organization. + type: object + properties: &170 + login: + type: string + example: github + id: + type: integer + example: 1 + node_id: + type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github + repos_url: + type: string + format: uri + example: https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + example: https://api.github.com/orgs/github/events + hooks_url: + type: string + example: https://api.github.com/orgs/github/hooks + issues_url: + type: string + example: https://api.github.com/orgs/github/issues + members_url: + type: string + example: https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + example: https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + example: https://github.com/images/error/octocat_happy.gif + description: + type: string + example: A great organization + nullable: true + required: &171 + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description + examples: + default: &62 + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - *42 + - *57 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: *61 + examples: + default: &101 + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - *42 + - *57 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - *42 + - *57 + - &63 + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: *61 + examples: + default: *62 + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - *42 + - *57 + - *63 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *61 + examples: + default: *62 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - *42 + - *57 + - *63 + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -10491,7 +10052,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *42 - - &65 + - &64 name: team_slug description: The slug of the team name. in: path @@ -10503,11 +10064,11 @@ paths: description: Response content: application/json: - schema: *59 + schema: *55 examples: - default: *60 + default: *56 headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -10525,7 +10086,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *42 - - *65 + - *64 requestBody: required: true content: @@ -10551,6 +10112,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: nullable: true type: string @@ -10568,11 +10141,11 @@ paths: description: Response content: application/json: - schema: *59 + schema: *55 examples: - default: *60 + default: *56 headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -10593,7 +10166,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *42 - - *65 + - *64 responses: '204': description: Response @@ -10631,7 +10204,7 @@ paths: application/json: schema: type: array - items: &98 + items: &96 title: Event description: Event type: object @@ -10641,7 +10214,7 @@ paths: type: type: string nullable: true - actor: &66 + actor: &65 title: Actor description: Actor type: object @@ -10681,7 +10254,7 @@ paths: - id - name - url - org: *66 + org: *65 payload: oneOf: - title: CreateEvent @@ -10727,7 +10300,7 @@ paths: properties: action: type: string - discussion: &724 + discussion: &721 title: Discussion description: A Discussion in a repository. type: object @@ -11014,7 +10587,7 @@ paths: - id labels: type: array - items: &70 + items: &69 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11089,12 +10662,12 @@ paths: properties: action: type: string - issue: &71 + issue: &70 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &529 + properties: &519 id: type: integer format: int64 @@ -11357,7 +10930,7 @@ paths: timeline_url: type: string format: uri - type: &209 + type: &210 title: Issue Type description: The type of issue. type: object @@ -11407,7 +10980,7 @@ paths: - node_id - name - description - repository: *67 + repository: *66 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11418,9 +10991,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - author_association: &72 + properties: *67 + required: *68 + author_association: &71 title: author_association type: string example: OWNER @@ -11435,7 +11008,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &73 + reactions: &72 title: Reaction Rollup type: object properties: @@ -11471,7 +11044,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &641 + sub_issues_summary: &639 title: Sub-issues Summary type: object properties: @@ -11491,7 +11064,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &642 + issue_dependencies_summary: &640 title: Issue Dependencies Summary type: object properties: @@ -11510,7 +11083,7 @@ paths: - total_blocking issue_field_values: type: array - items: &643 + items: &641 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11571,7 +11144,7 @@ paths: - node_id - data_type - value - required: &530 + required: &520 - assignee - closed_at - comments @@ -11596,10 +11169,10 @@ paths: assignees: type: array items: *4 - label: *70 + label: *69 labels: type: array - items: *70 + items: *69 required: - action - issue @@ -11608,8 +11181,8 @@ paths: properties: action: type: string - issue: *71 - comment: &527 + issue: *70 + comment: &517 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11657,7 +11230,7 @@ paths: issue_url: type: string format: uri - author_association: *72 + author_association: *71 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11668,9 +11241,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - reactions: *73 + properties: *67 + required: *68 + reactions: *72 required: - id - node_id @@ -11843,8 +11416,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true allow_forking: type: boolean @@ -11933,7 +11506,7 @@ paths: type: string number: type: integer - pull_request: &76 + pull_request: &75 title: Pull Request Minimal type: object properties: @@ -12004,10 +11577,10 @@ paths: assignees: type: array items: *4 - label: *70 + label: *69 labels: type: array - items: *70 + items: *69 required: - action - number @@ -12017,7 +11590,7 @@ paths: properties: action: type: string - pull_request: *76 + pull_request: *75 comment: type: object properties: @@ -12268,7 +11841,7 @@ paths: - pull_request updated_at: type: string - pull_request: *76 + pull_request: *75 required: - action - review @@ -12317,7 +11890,7 @@ paths: updated_at: type: string format: date-time - reactions: *73 + reactions: *72 required: - action - comment @@ -12328,7 +11901,7 @@ paths: type: string release: allOf: - - &582 + - &572 title: Release description: A release. type: object @@ -12399,7 +11972,7 @@ paths: author: *4 assets: type: array - items: &583 + items: &573 title: Release Asset description: Data related to a release. type: object @@ -12474,7 +12047,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *73 + reactions: *72 required: - assets_url - upload_url @@ -12566,7 +12139,19 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *77 + '503': &105 + description: Service unavailable + content: + application/json: + schema: + type: object + properties: + code: + type: string + message: + type: string + documentation_url: + type: string x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -12647,7 +12232,7 @@ paths: _links: type: object properties: - timeline: &78 + timeline: &76 title: Link With Type description: Hypermedia Link with Type type: object @@ -12659,17 +12244,17 @@ paths: required: - href - type - user: *78 - security_advisories: *78 - current_user: *78 - current_user_public: *78 - current_user_actor: *78 - current_user_organization: *78 + user: *76 + security_advisories: *76 + current_user: *76 + current_user_public: *76 + current_user_actor: *76 + current_user_organization: *76 current_user_organizations: type: array - items: *78 - repository_discussions: *78 - repository_discussions_category: *78 + items: *76 + repository_discussions: *76 + repository_discussions_category: *76 required: - timeline - user @@ -12731,7 +12316,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *79 + - *77 - *17 - *19 responses: @@ -12741,7 +12326,7 @@ paths: application/json: schema: type: array - items: &80 + items: &78 title: Base Gist description: Base Gist type: object @@ -12840,7 +12425,7 @@ paths: - created_at - updated_at examples: - default: &81 + default: &79 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -12885,7 +12470,7 @@ paths: site_admin: false truncated: false headers: - Link: *58 + Link: *54 '304': *37 '403': *29 x-github: @@ -12961,7 +12546,7 @@ paths: description: Response content: application/json: - schema: &82 + schema: &80 title: Gist Simple description: Gist Simple type: object @@ -12978,7 +12563,7 @@ paths: url: type: string format: uri - user: &655 + user: &653 title: Public User description: Public User type: object @@ -13340,7 +12925,7 @@ paths: truncated: type: boolean examples: - default: &83 + default: &81 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13444,7 +13029,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *79 + - *77 - *17 - *19 responses: @@ -13454,11 +13039,11 @@ paths: application/json: schema: type: array - items: *80 + items: *78 examples: - default: *81 + default: *79 headers: - Link: *58 + Link: *54 '422': *15 '304': *37 '403': *29 @@ -13478,7 +13063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *79 + - *77 - *17 - *19 responses: @@ -13488,11 +13073,11 @@ paths: application/json: schema: type: array - items: *80 + items: *78 examples: - default: *81 + default: *79 headers: - Link: *58 + Link: *54 '401': *25 '304': *37 '403': *29 @@ -13518,7 +13103,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &84 + - &82 name: gist_id description: The unique identifier of the gist. in: path @@ -13530,10 +13115,10 @@ paths: description: Response content: application/json: - schema: *82 + schema: *80 examples: - default: *83 - '403': &87 + default: *81 + '403': &85 description: Forbidden Gist content: application/json: @@ -13581,7 +13166,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *84 + - *82 requestBody: required: true content: @@ -13641,9 +13226,9 @@ paths: description: Response content: application/json: - schema: *82 + schema: *80 examples: - updateGist: *83 + updateGist: *81 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -13801,7 +13386,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *84 + - *82 responses: '204': description: Response @@ -13830,7 +13415,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *84 + - *82 - *17 - *19 responses: @@ -13840,7 +13425,7 @@ paths: application/json: schema: type: array - items: &85 + items: &83 title: Gist Comment description: A comment made to a gist. type: object @@ -13875,7 +13460,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *72 + author_association: *71 required: - url - id @@ -13915,7 +13500,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -13940,7 +13525,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *84 + - *82 requestBody: required: true content: @@ -13965,9 +13550,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *83 examples: - default: &86 + default: &84 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14025,8 +13610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *84 - - &88 + - *82 + - &86 name: comment_id description: The unique identifier of the comment. in: path @@ -14039,12 +13624,12 @@ paths: description: Response content: application/json: - schema: *85 + schema: *83 examples: - default: *86 + default: *84 '304': *37 '404': *6 - '403': *87 + '403': *85 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14066,8 +13651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *84 - - *88 + - *82 + - *86 requestBody: required: true content: @@ -14092,9 +13677,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *83 examples: - default: *86 + default: *84 '404': *6 x-github: githubCloudOnly: false @@ -14111,8 +13696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *84 - - *88 + - *82 + - *86 responses: '204': description: Response @@ -14135,7 +13720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *84 + - *82 - *17 - *19 responses: @@ -14236,7 +13821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *84 + - *82 - *17 - *19 responses: @@ -14246,7 +13831,7 @@ paths: application/json: schema: type: array - items: *82 + items: *80 examples: default: value: @@ -14292,7 +13877,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '404': *6 '304': *37 '403': *29 @@ -14311,13 +13896,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *84 + - *82 responses: '201': description: Response content: application/json: - schema: *80 + schema: *78 examples: default: value: @@ -14388,7 +13973,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *84 + - *82 responses: '204': description: Response if gist is starred @@ -14418,7 +14003,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *84 + - *82 responses: '204': description: Response @@ -14440,7 +14025,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *84 + - *82 responses: '204': description: Response @@ -14469,7 +14054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *84 + - *82 - name: sha in: path required: true @@ -14480,9 +14065,9 @@ paths: description: Response content: application/json: - schema: *82 + schema: *80 examples: - default: *83 + default: *81 '422': *15 '404': *6 '403': *29 @@ -14641,7 +14226,7 @@ paths: type: integer repositories: type: array - items: *67 + items: *66 repository_selection: type: string example: selected @@ -14764,7 +14349,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *54 '403': *29 '304': *37 '401': *25 @@ -14848,7 +14433,7 @@ paths: - closed - all default: open - - &212 + - &213 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -14867,7 +14452,7 @@ paths: - comments default: created - *48 - - *79 + - *77 - name: collab in: query required: false @@ -14897,9 +14482,9 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: &213 + default: &214 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15144,7 +14729,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *58 + Link: *54 '422': *15 '304': *37 '404': *6 @@ -15183,8 +14768,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 examples: default: value: @@ -15469,7 +15054,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &89 + X-CommonMarker-Version: &87 example: 0.17.4 schema: type: string @@ -15524,7 +15109,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *89 + X-CommonMarker-Version: *87 content: text/html: schema: @@ -15553,7 +15138,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &92 + - &90 name: account_id description: account_id parameter in: path @@ -15565,7 +15150,7 @@ paths: description: Response content: application/json: - schema: &91 + schema: &89 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -15595,7 +15180,7 @@ paths: nullable: true id: type: integer - plan: &90 + plan: &88 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -15684,7 +15269,7 @@ paths: nullable: true updated_at: type: string - plan: *90 + plan: *88 required: - url - id @@ -15692,7 +15277,7 @@ paths: - login - marketplace_purchase examples: - default: &93 + default: &91 value: url: https://api.github.com/orgs/github type: Organization @@ -15777,9 +15362,9 @@ paths: application/json: schema: type: array - items: *90 + items: *88 examples: - default: &94 + default: &92 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -15797,7 +15382,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *54 '404': *6 '401': *25 x-github: @@ -15819,14 +15404,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &95 + - &93 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &96 + - &94 name: sort description: The property to sort the results by. in: query @@ -15856,9 +15441,9 @@ paths: application/json: schema: type: array - items: *91 + items: *89 examples: - default: &97 + default: &95 value: - url: https://api.github.com/orgs/github type: Organization @@ -15909,7 +15494,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *54 '404': *6 '422': *15 '401': *25 @@ -15932,15 +15517,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *92 + - *90 responses: '200': description: Response content: application/json: - schema: *91 + schema: *89 examples: - default: *93 + default: *91 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -15972,11 +15557,11 @@ paths: application/json: schema: type: array - items: *90 + items: *88 examples: - default: *94 + default: *92 headers: - Link: *58 + Link: *54 '401': *25 x-github: githubCloudOnly: false @@ -15997,8 +15582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *95 - - *96 + - *93 + - *94 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16018,11 +15603,11 @@ paths: application/json: schema: type: array - items: *91 + items: *89 examples: - default: *97 + default: *95 headers: - Link: *58 + Link: *54 '401': *25 x-github: githubCloudOnly: false @@ -16284,14 +15869,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &330 + - &320 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &331 + - &321 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16308,7 +15893,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -16353,7 +15938,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &339 + '301': &329 description: Moved permanently content: application/json: @@ -16375,7 +15960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &558 + - &548 name: all description: If `true`, show notifications marked as read. in: query @@ -16383,7 +15968,7 @@ paths: schema: type: boolean default: false - - &559 + - &549 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16392,8 +15977,8 @@ paths: schema: type: boolean default: false - - *79 - - &560 + - *77 + - &550 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -16418,18 +16003,18 @@ paths: application/json: schema: type: array - items: &99 + items: &97 title: Thread description: Thread type: object properties: id: type: string - repository: &137 + repository: &136 title: Minimal Repository description: Minimal Repository type: object - properties: &182 + properties: &183 id: type: integer format: int64 @@ -16779,7 +16364,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &183 + required: &184 - archive_url - assignees_url - blobs_url @@ -16867,7 +16452,7 @@ paths: - url - subscription_url examples: - default: &561 + default: &551 value: - id: '1' repository: @@ -16949,7 +16534,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -17033,7 +16618,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &100 + - &98 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -17047,7 +16632,7 @@ paths: description: Response content: application/json: - schema: *99 + schema: *97 examples: default: value: @@ -17149,7 +16734,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *100 + - *98 responses: '205': description: Reset Content @@ -17171,7 +16756,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *100 + - *98 responses: '204': description: No content @@ -17194,13 +16779,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *100 + - *98 responses: '200': description: Response content: application/json: - schema: &101 + schema: &99 title: Thread Subscription description: Thread Subscription type: object @@ -17237,7 +16822,7 @@ paths: - url - subscribed examples: - default: &102 + default: &100 value: subscribed: true ignored: false @@ -17268,7 +16853,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *100 + - *98 requestBody: required: false content: @@ -17289,9 +16874,9 @@ paths: description: Response content: application/json: - schema: *101 + schema: *99 examples: - default: *102 + default: *100 '304': *37 '403': *29 '401': *25 @@ -17314,7 +16899,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *100 + - *98 responses: '204': description: Response @@ -17409,79 +16994,9 @@ paths: application/json: schema: type: array - items: &218 - title: Organization Simple - description: A GitHub organization. - type: object - properties: &167 - login: - type: string - example: github - id: - type: integer - example: 1 - node_id: - type: string - example: MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - example: https://api.github.com/orgs/github - repos_url: - type: string - format: uri - example: https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - example: https://api.github.com/orgs/github/events - hooks_url: - type: string - example: https://api.github.com/orgs/github/hooks - issues_url: - type: string - example: https://api.github.com/orgs/github/issues - members_url: - type: string - example: https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - example: https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - example: https://github.com/images/error/octocat_happy.gif - description: - type: string - example: A great organization - nullable: true - required: &168 - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description + items: *61 examples: - default: &672 - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization + default: *101 headers: Link: example: ; rel="next" @@ -17508,13 +17023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - &105 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string + - *63 - name: page in: query description: The page number of results to fetch. @@ -17558,8 +17067,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *103 - required: *104 + properties: *102 + required: *103 nullable: true additionalProperties: false examples: @@ -17665,7 +17174,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -17731,7 +17240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *105 + - *63 requestBody: required: true content: @@ -17767,9 +17276,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -17777,8 +17287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization parameters: - - *105 - - &107 + - *63 + - &106 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -17787,7 +17297,7 @@ paths: required: false schema: type: integer - - &698 + - &695 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -17796,7 +17306,7 @@ paths: required: false schema: type: integer - - &108 + - &107 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -17811,14 +17321,14 @@ paths: required: false schema: type: string - - &699 + - &696 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &700 + - &697 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -17880,19 +17390,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -17934,8 +17444,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17955,9 +17465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *105 - - *107 - - &703 + - *63 + - *106 + - &700 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -17966,8 +17476,8 @@ paths: required: false schema: type: integer - - *108 - - &704 + - *107 + - &701 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18050,8 +17560,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18077,13 +17587,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &109 + schema: &108 title: Organization Full description: Organization Full type: object @@ -18402,7 +17912,7 @@ paths: - updated_at - archived_at examples: - default-response: &110 + default-response: &109 value: login: github id: 1 @@ -18502,7 +18012,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *105 + - *63 requestBody: required: false content: @@ -18718,17 +18228,17 @@ paths: description: Response content: application/json: - schema: *109 + schema: *108 examples: - default: *110 + default: *109 '422': description: Validation failed content: application/json: schema: oneOf: + - *110 - *111 - - *112 '409': *47 x-github: githubCloudOnly: false @@ -18752,7 +18262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *105 + - *63 responses: '202': *39 '404': *6 @@ -18777,7 +18287,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -18803,7 +18313,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18824,7 +18334,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -18842,7 +18352,7 @@ paths: type: integer repository_cache_usages: type: array - items: &344 + items: &334 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -18877,7 +18387,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18897,7 +18407,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -18915,7 +18425,7 @@ paths: type: integer runners: type: array - items: &113 + items: &112 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -18964,7 +18474,7 @@ paths: - display_name - source nullable: true - machine_size_details: &116 + machine_size_details: &115 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19056,7 +18566,7 @@ paths: - public_ip_enabled - platform examples: - default: &136 + default: &135 value: total_count: 2 runners: @@ -19098,7 +18608,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 +18626,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -19183,9 +18693,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *112 examples: - default: &117 + default: &116 value: id: 5 name: My hosted ubuntu runner @@ -19224,7 +18734,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -19240,7 +18750,7 @@ paths: type: integer images: type: array - items: &114 + items: &113 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -19276,7 +18786,7 @@ paths: - display_name - source examples: - default: &115 + default: &114 value: id: ubuntu-20.04 platform: linux-x64 @@ -19300,7 +18810,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -19316,9 +18826,9 @@ paths: type: integer images: type: array - items: *114 + items: *113 examples: - default: *115 + default: *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19335,7 +18845,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -19388,7 +18898,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -19404,7 +18914,7 @@ paths: type: integer machine_specs: type: array - items: *116 + items: *115 examples: default: value: @@ -19429,7 +18939,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -19473,8 +18983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *105 - - &118 + - *63 + - &117 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -19486,11 +18996,11 @@ paths: description: Response content: application/json: - schema: *113 + schema: *112 examples: - default: *117 + default: *116 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19508,8 +19018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *105 - - *118 + - *63 + - *117 requestBody: required: true content: @@ -19547,9 +19057,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *112 examples: - default: *117 + default: *116 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19565,16 +19075,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *105 - - *118 + - *63 + - *117 responses: '202': description: Response content: application/json: - schema: *113 + schema: *112 examples: - default: *117 + default: *116 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -19594,13 +19104,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *105 + - *63 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &119 + schema: &118 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -19614,7 +19124,7 @@ paths: required: - include_claim_keys examples: - default: &120 + default: &119 value: include_claim_keys: - repo @@ -19636,20 +19146,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: application/json: - schema: *119 + schema: *118 examples: - default: *120 + default: *119 responses: '201': description: Empty response content: application/json: - schema: &146 + schema: &145 title: Empty Object description: An object without any properties. type: object @@ -19679,7 +19189,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -19688,7 +19198,7 @@ paths: schema: type: object properties: - enabled_repositories: &121 + enabled_repositories: &120 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -19701,7 +19211,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: &121 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -19709,12 +19219,12 @@ paths: - all - local_only - selected - selected_actions_url: &350 + selected_actions_url: &340 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: &122 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -19745,7 +19255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -19756,9 +19266,9 @@ paths: schema: type: object properties: - enabled_repositories: *121 - allowed_actions: *122 - sha_pinning_required: *123 + enabled_repositories: *120 + allowed_actions: *121 + sha_pinning_required: *122 required: - enabled_repositories examples: @@ -19786,13 +19296,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &354 + schema: &344 type: object properties: days: @@ -19829,12 +19339,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: application/json: - schema: &355 + schema: &345 type: object properties: days: @@ -19871,13 +19381,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &124 + schema: &123 type: object properties: approval_policy: @@ -19891,7 +19401,7 @@ paths: required: - approval_policy examples: - default: &356 + default: &346 value: approval_policy: first_time_contributors '404': *6 @@ -19912,7 +19422,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -19922,7 +19432,7 @@ paths: required: true content: application/json: - schema: *124 + schema: *123 examples: default: summary: Set approval policy to first time contributors @@ -19944,13 +19454,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &357 + schema: &347 type: object required: - run_workflows_from_fork_pull_requests @@ -19976,7 +19486,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &125 + default: &124 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -19999,12 +19509,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: application/json: - schema: &358 + schema: &348 type: object required: - run_workflows_from_fork_pull_requests @@ -20027,7 +19537,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *125 + default: *124 responses: '204': description: Empty response for successful settings update @@ -20057,7 +19567,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -20075,9 +19585,9 @@ paths: type: number repositories: type: array - items: *67 + items: *66 examples: - default: &129 + default: &128 value: total_count: 1 repositories: @@ -20217,7 +19727,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -20261,8 +19771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *105 - - &126 + - *63 + - &125 name: repository_id description: The unique identifier of the repository. in: path @@ -20290,8 +19800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *105 - - *126 + - *63 + - *125 responses: '204': description: Response @@ -20314,13 +19824,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &127 + schema: &126 type: object properties: github_owned_allowed: @@ -20342,7 +19852,7 @@ paths: items: type: string examples: - default: &128 + default: &127 value: github_owned_allowed: true verified_allowed: false @@ -20367,7 +19877,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -20375,9 +19885,9 @@ paths: required: false content: application/json: - schema: *127 + schema: *126 examples: - selected_actions: *128 + selected_actions: *127 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20397,7 +19907,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -20445,7 +19955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -20492,7 +20002,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -20507,9 +20017,9 @@ paths: type: integer repositories: type: array - items: *67 + items: *66 examples: - default: *129 + default: *128 '403': *29 '404': *6 x-github: @@ -20529,7 +20039,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -20577,8 +20087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *105 - - *126 + - *63 + - *125 responses: '204': description: No content @@ -20604,8 +20114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *105 - - *126 + - *63 + - *125 responses: '204': description: No content @@ -20633,23 +20143,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &359 + schema: &349 type: object properties: - default_workflow_permissions: &130 + default_workflow_permissions: &129 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: &130 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -20657,7 +20167,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &132 + default: &131 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -20682,7 +20192,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Success response @@ -20690,13 +20200,13 @@ paths: required: false content: application/json: - schema: &360 + schema: &350 type: object properties: - default_workflow_permissions: *130 - can_approve_pull_request_reviews: *131 + default_workflow_permissions: *129 + can_approve_pull_request_reviews: *130 examples: - default: *132 + default: *131 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20716,7 +20226,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *105 + - *63 - *17 - *19 - name: visible_to_repository @@ -20741,7 +20251,7 @@ paths: type: number runner_groups: type: array - items: &133 + items: &132 type: object properties: id: @@ -20857,7 +20367,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -20929,9 +20439,9 @@ paths: description: Response content: application/json: - schema: *133 + schema: *132 examples: - default: &135 + default: &134 value: id: 2 name: octo-runner-group @@ -20966,8 +20476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *105 - - &134 + - *63 + - &133 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -20979,7 +20489,7 @@ paths: description: Response content: application/json: - schema: *133 + schema: *132 examples: default: value: @@ -21015,8 +20525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *105 - - *134 + - *63 + - *133 requestBody: required: true content: @@ -21070,9 +20580,9 @@ paths: description: Response content: application/json: - schema: *133 + schema: *132 examples: - default: *135 + default: *134 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21091,8 +20601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *105 - - *134 + - *63 + - *133 responses: '204': description: Response @@ -21115,8 +20625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *105 - - *134 + - *63 + - *133 - *17 - *19 responses: @@ -21134,11 +20644,11 @@ paths: type: number runners: type: array - items: *113 + items: *112 examples: - default: *136 + default: *135 headers: - Link: *58 + Link: *54 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21158,8 +20668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *105 - - *134 + - *63 + - *133 - *19 - *17 responses: @@ -21177,9 +20687,9 @@ paths: type: number repositories: type: array - items: *137 + items: *136 examples: - default: &658 + default: &656 value: total_count: 1 repositories: @@ -21431,8 +20941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *105 - - *134 + - *63 + - *133 requestBody: required: true content: @@ -21476,9 +20986,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *105 - - *134 - - *126 + - *63 + - *133 + - *125 responses: '204': description: Response @@ -21500,9 +21010,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *105 - - *134 - - *126 + - *63 + - *133 + - *125 responses: '204': description: Response @@ -21525,8 +21035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *105 - - *134 + - *63 + - *133 - *17 - *19 responses: @@ -21544,7 +21054,7 @@ paths: type: number runners: type: array - items: &139 + items: &138 title: Self hosted runners description: A self hosted runner type: object @@ -21573,7 +21083,7 @@ paths: type: boolean labels: type: array - items: &142 + items: &141 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -21603,7 +21113,7 @@ paths: - busy - labels examples: - default: &140 + default: &139 value: total_count: 2 runners: @@ -21643,7 +21153,7 @@ paths: name: no-gpu type: custom headers: - Link: *58 + Link: *54 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21662,8 +21172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *105 - - *134 + - *63 + - *133 requestBody: required: true content: @@ -21707,9 +21217,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *105 - - *134 - - &138 + - *63 + - *133 + - &137 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -21737,9 +21247,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *105 - - *134 - - *138 + - *63 + - *133 + - *137 responses: '204': description: Response @@ -21769,7 +21279,7 @@ paths: in: query schema: type: string - - *105 + - *63 - *17 - *19 responses: @@ -21787,11 +21297,11 @@ paths: type: integer runners: type: array - items: *139 + items: *138 examples: - default: *140 + default: *139 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21813,7 +21323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -21821,7 +21331,7 @@ paths: application/json: schema: type: array - items: &361 + items: &351 title: Runner Application description: Runner Application type: object @@ -21846,7 +21356,7 @@ paths: - download_url - filename examples: - default: &362 + default: &352 value: - os: osx architecture: x64 @@ -21889,7 +21399,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -21932,7 +21442,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &363 + '201': &353 description: Response content: application/json: @@ -21942,7 +21452,7 @@ paths: - runner - encoded_jit_config properties: - runner: *139 + runner: *138 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -21999,13 +21509,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *105 + - *63 responses: '201': description: Response content: application/json: - schema: &141 + schema: &140 title: Authentication Token description: Authentication Token type: object @@ -22027,7 +21537,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *67 + items: *66 single_file: type: string example: config.yaml @@ -22043,7 +21553,7 @@ paths: - token - expires_at examples: - default: &364 + default: &354 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22074,15 +21584,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *105 + - *63 responses: '201': description: Response content: application/json: - schema: *141 + schema: *140 examples: - default: &365 + default: &355 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22107,16 +21617,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 + - *63 + - *137 responses: '200': description: Response content: application/json: - schema: *139 + schema: *138 examples: - default: &366 + default: &356 value: id: 23 name: MBP @@ -22157,8 +21667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *105 - - *138 + - *63 + - *137 responses: '204': description: Response @@ -22184,10 +21694,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 + - *63 + - *137 responses: - '200': &143 + '200': &142 description: Response content: application/json: @@ -22201,7 +21711,7 @@ paths: type: integer labels: type: array - items: *142 + items: *141 examples: default: value: @@ -22240,8 +21750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 + - *63 + - *137 requestBody: required: true content: @@ -22265,7 +21775,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *142 '404': *6 '422': *7 x-github: @@ -22289,8 +21799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 + - *63 + - *137 requestBody: required: true content: @@ -22315,7 +21825,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *142 '404': *6 '422': *7 x-github: @@ -22339,10 +21849,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 + - *63 + - *137 responses: - '200': &367 + '200': &357 description: Response content: application/json: @@ -22356,7 +21866,7 @@ paths: type: integer labels: type: array - items: *142 + items: *141 examples: default: value: @@ -22397,9 +21907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 - - &368 + - *63 + - *137 + - &358 name: name description: The name of a self-hosted runner's custom label. in: path @@ -22407,7 +21917,7 @@ paths: schema: type: string responses: - '200': *143 + '200': *142 '404': *6 '422': *7 x-github: @@ -22432,7 +21942,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *105 + - *63 - *17 - *19 responses: @@ -22450,7 +21960,7 @@ paths: type: integer secrets: type: array - items: &144 + items: &143 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -22500,7 +22010,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 +22033,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &380 + schema: &370 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22558,7 +22068,7 @@ paths: - key_id - key examples: - default: &381 + default: &371 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22583,8 +22093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *105 - - &145 + - *63 + - &144 name: secret_name description: The name of the secret. in: path @@ -22596,7 +22106,7 @@ paths: description: Response content: application/json: - schema: *144 + schema: *143 examples: default: value: @@ -22626,8 +22136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 requestBody: required: true content: @@ -22684,7 +22194,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -22710,8 +22220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 responses: '204': description: Response @@ -22737,8 +22247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 - *19 - *17 responses: @@ -22756,9 +22266,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *136 examples: - default: &149 + default: &148 value: total_count: 1 repositories: @@ -22850,8 +22360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 requestBody: required: true content: @@ -22903,8 +22413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 - name: repository_id in: path required: true @@ -22937,8 +22447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 - name: repository_id in: path required: true @@ -22970,8 +22480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *105 - - &349 + - *63 + - &339 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 +22505,7 @@ paths: type: integer variables: type: array - items: &147 + items: &146 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23059,7 +22569,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 +22590,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *105 + - *63 requestBody: required: true content: @@ -23128,7 +22638,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -23153,8 +22663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *105 - - &148 + - *63 + - &147 name: name description: The name of the variable. in: path @@ -23166,7 +22676,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *146 examples: default: value: @@ -23196,8 +22706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *147 requestBody: required: true content: @@ -23259,8 +22769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *147 responses: '204': description: Response @@ -23286,8 +22796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *147 - *19 - *17 responses: @@ -23305,9 +22815,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *136 examples: - default: *149 + default: *148 '409': description: Response when the visibility of the variable is not set to `selected` @@ -23333,8 +22843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *147 requestBody: required: true content: @@ -23383,8 +22893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *147 - name: repository_id in: path required: true @@ -23418,8 +22928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *147 - name: repository_id in: path required: true @@ -23450,7 +22960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *105 + - *63 requestBody: required: true content: @@ -23582,7 +23092,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *105 + - *63 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -23667,7 +23177,7 @@ paths: - *17 - *40 - *41 - - *105 + - *63 requestBody: required: true content: @@ -23690,12 +23200,12 @@ paths: required: - subject_digests examples: - default: &687 + default: &684 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &688 + withPredicateType: &685 value: subject_digests: - sha256:abc123 @@ -23753,7 +23263,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &689 + default: &686 value: attestations_subject_digests: - sha256:abc: @@ -23862,7 +23372,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *105 + - *63 requestBody: required: true content: @@ -23927,7 +23437,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *105 + - *63 - name: subject_digest description: Subject Digest in: path @@ -23946,6 +23456,57 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories + parameters: + - *17 + - *40 + - *41 + - *63 + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + value: + - id: 123 + name: foo + - id: 456 + name: bar + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -23958,7 +23519,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *105 + - *63 - name: attestation_id description: Attestation ID in: path @@ -23996,7 +23557,7 @@ paths: - *17 - *40 - *41 - - *105 + - *63 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24049,7 +23610,7 @@ paths: initiator: type: string examples: - default: &394 + default: &384 value: attestations: - bundle: @@ -24156,7 +23717,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -24168,7 +23729,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24187,8 +23748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *105 - *63 + - *59 responses: '204': description: If the user is blocked @@ -24213,8 +23774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -24234,8 +23795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -24260,7 +23821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *105 + - *63 - *19 - *17 - *48 @@ -24268,7 +23829,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &150 + schema: &149 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -24294,7 +23855,7 @@ paths: application/json: schema: type: array - items: &151 + items: &150 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -24325,7 +23886,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &169 + items: &172 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -24515,7 +24076,7 @@ paths: type: string format: date-time nullable: true - state: *150 + state: *149 contact_link: description: The contact link of the campaign. type: string @@ -24610,9 +24171,9 @@ paths: closed_at: state: open headers: - Link: *58 + Link: *54 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24636,7 +24197,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -24730,9 +24291,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *150 examples: - default: &152 + default: &151 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -24781,7 +24342,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24803,7 +24364,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *105 + - *63 - name: campaign_number description: The campaign number. in: path @@ -24815,16 +24376,16 @@ paths: description: Response content: application/json: - schema: *151 + schema: *150 examples: - default: *152 + default: *151 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24845,7 +24406,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *105 + - *63 - name: campaign_number description: The campaign number. in: path @@ -24894,7 +24455,7 @@ paths: type: string format: uri nullable: true - state: *150 + state: *149 examples: default: value: @@ -24904,9 +24465,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *150 examples: - default: *152 + default: *151 '400': description: Bad Request content: @@ -24918,7 +24479,7 @@ paths: content: application/json: schema: *3 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24939,7 +24500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *105 + - *63 - name: campaign_number description: The campaign number. in: path @@ -24950,7 +24511,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24972,18 +24533,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *105 - - &419 + - *63 + - &409 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. in: query required: false - schema: &156 + schema: &159 type: string description: The name of the tool used to generate the code scanning analysis. - - &420 + - &410 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -24991,7 +24552,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &157 + schema: &160 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -25006,7 +24567,7 @@ paths: be returned. in: query required: false - schema: &422 + schema: &412 type: string description: State of a code scanning alert. enum: @@ -25029,7 +24590,7 @@ paths: be returned. in: query required: false - schema: &423 + schema: &413 type: string description: Severity of a code scanning alert. enum: @@ -25050,18 +24611,18 @@ paths: items: type: object properties: - number: *54 - created_at: *55 - updated_at: *153 - url: *56 - html_url: *57 - instances_url: &424 + number: *152 + created_at: *153 + updated_at: *154 + url: *155 + html_url: *156 + instances_url: &414 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &158 + state: &161 type: string description: State of a code scanning alert. nullable: true @@ -25069,7 +24630,7 @@ paths: - open - dismissed - fixed - fixed_at: *154 + fixed_at: *157 dismissed_by: title: Simple User description: A GitHub user. @@ -25077,8 +24638,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *155 - dismissed_reason: &425 + dismissed_at: *158 + dismissed_reason: &415 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -25087,13 +24648,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &426 + dismissed_comment: &416 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &427 + rule: &417 type: object properties: id: @@ -25146,25 +24707,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &428 + tool: &418 type: object properties: - name: *156 + name: *159 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *157 - most_recent_instance: &429 + guid: *160 + most_recent_instance: &419 type: object properties: - ref: &421 + ref: &411 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &439 + analysis_key: &429 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25175,13 +24736,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &440 + category: &430 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *158 + state: *161 commit_sha: type: string message: @@ -25475,9 +25036,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *58 + Link: *54 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25499,7 +25060,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *105 + - *63 - name: target_type in: query description: The target type of the code security configuration @@ -25610,7 +25171,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *105 + - *63 requestBody: required: true content: @@ -25688,7 +25249,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *159 + code_scanning_options: *162 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -25831,7 +25392,7 @@ paths: application/json: schema: *43 examples: - default: *160 + default: *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25853,15 +25414,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: *161 + schema: *164 examples: - default: *162 + default: *165 '304': *37 '403': *29 '404': *6 @@ -25887,7 +25448,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *105 + - *63 requestBody: required: true content: @@ -25913,7 +25474,7 @@ paths: - 32 - 91 responses: - '204': *163 + '204': *166 '400': *14 '403': *29 '404': *6 @@ -25939,7 +25500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *105 + - *63 - *45 responses: '200': @@ -25948,7 +25509,7 @@ paths: application/json: schema: *43 examples: - default: *160 + default: *163 '304': *37 '403': *29 '404': *6 @@ -25972,7 +25533,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *105 + - *63 - *45 requestBody: required: true @@ -26229,10 +25790,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *105 + - *63 - *45 responses: - '204': *163 + '204': *166 '400': *14 '403': *29 '404': *6 @@ -26260,7 +25821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *105 + - *63 - *45 requestBody: required: true @@ -26324,7 +25885,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *105 + - *63 - *45 requestBody: required: true @@ -26370,7 +25931,7 @@ paths: default: value: default_for_new_repos: all - configuration: *160 + configuration: *163 '403': *29 '404': *6 x-github: @@ -26394,7 +25955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *105 + - *63 - *45 - name: per_page description: The number of results per page (max 100). For more information, @@ -26423,13 +25984,13 @@ paths: application/json: schema: type: array - items: *164 + items: *167 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *165 + repository: *168 '403': *29 '404': *6 x-github: @@ -26453,7 +26014,7 @@ paths: parameters: - *17 - *19 - - *105 + - *63 responses: '200': description: Response @@ -26469,7 +26030,7 @@ paths: type: integer codespaces: type: array - items: &214 + items: &215 type: object title: Codespace description: A codespace. @@ -26494,12 +26055,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *137 + repository: *136 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &452 + properties: &442 name: type: string description: The name of the machine. @@ -26541,7 +26102,7 @@ paths: - ready - in_progress nullable: true - required: &453 + required: &443 - name - display_name - operating_system @@ -26746,7 +26307,7 @@ paths: - pulls_url - recent_folders examples: - default: &215 + default: &216 value: total_count: 3 codespaces: @@ -27156,7 +26717,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -27178,7 +26739,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *105 + - *63 deprecated: true requestBody: required: true @@ -27222,7 +26783,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27245,7 +26806,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *105 + - *63 deprecated: true requestBody: required: true @@ -27277,7 +26838,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27300,7 +26861,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *105 + - *63 requestBody: required: true content: @@ -27331,7 +26892,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27352,7 +26913,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *105 + - *63 - *17 - *19 responses: @@ -27370,7 +26931,7 @@ paths: type: integer secrets: type: array - items: &166 + items: &169 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -27409,7 +26970,7 @@ paths: - updated_at - visibility examples: - default: &454 + default: &444 value: total_count: 2 secrets: @@ -27422,7 +26983,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27441,13 +27002,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &455 + schema: &445 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27476,7 +27037,7 @@ paths: - key_id - key examples: - default: &456 + default: &446 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27499,23 +27060,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 responses: '200': description: Response content: application/json: - schema: *166 + schema: *169 examples: - default: &458 + default: &448 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 +27096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 requestBody: required: true content: @@ -27591,7 +27152,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -27617,8 +27178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 responses: '204': description: Response @@ -27643,8 +27204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 - *19 - *17 responses: @@ -27662,9 +27223,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *136 examples: - default: *149 + default: *148 '404': *6 x-github: githubCloudOnly: false @@ -27686,8 +27247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 requestBody: required: true content: @@ -27737,8 +27298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 - name: repository_id in: path required: true @@ -27771,8 +27332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 - name: repository_id in: path required: true @@ -27811,7 +27372,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *105 + - *63 responses: '200': description: OK @@ -27920,7 +27481,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -27952,7 +27513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *105 + - *63 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -27975,7 +27536,7 @@ paths: currently being billed. seats: type: array - items: &217 + items: &218 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -27992,15 +27553,15 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *167 - required: *168 + properties: *170 + required: *171 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *169 - - *59 + - *172 + - *55 nullable: true pending_cancellation_date: type: string @@ -28124,8 +27685,8 @@ paths: type: User site_admin: false headers: - Link: *58 - '500': *106 + Link: *54 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -28158,7 +27719,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *105 + - *63 requestBody: content: application/json: @@ -28200,7 +27761,7 @@ paths: default: value: seats_created: 5 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -28236,7 +27797,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *105 + - *63 requestBody: content: application/json: @@ -28278,7 +27839,7 @@ paths: default: value: seats_cancelled: 5 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -28316,7 +27877,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *105 + - *63 requestBody: content: application/json: @@ -28357,7 +27918,7 @@ paths: default: value: seats_created: 5 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -28393,7 +27954,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *105 + - *63 requestBody: content: application/json: @@ -28435,7 +27996,7 @@ paths: default: value: seats_cancelled: 5 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -28474,7 +28035,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *105 + - *63 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -28506,7 +28067,7 @@ paths: application/json: schema: type: array - items: &312 + items: &302 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -28813,7 +28374,7 @@ paths: - date additionalProperties: true examples: - default: &313 + default: &303 value: - date: '2024-06-24' total_active_users: 24 @@ -28912,10 +28473,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *106 + '500': *104 '403': *29 '404': *6 - '422': &314 + '422': &304 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -28942,12 +28503,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *105 - - *170 - - *171 - - *172 + - *63 - *173 - *174 + - *175 + - *176 + - *177 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -28985,13 +28546,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *175 - - *176 + - *178 + - *179 - *48 - *40 - *41 - - *177 - - *178 - *17 responses: '200': @@ -29000,9 +28559,9 @@ paths: application/json: schema: type: array - items: *179 + items: *180 examples: - default: *180 + default: *181 '304': *37 '400': *14 '403': *29 @@ -29028,7 +28587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *105 + - *63 - *17 - *19 responses: @@ -29046,7 +28605,7 @@ paths: type: integer secrets: type: array - items: &181 + items: &182 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -29096,7 +28655,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 +28676,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &484 + schema: &474 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -29140,7 +28699,7 @@ paths: - key_id - key examples: - default: &485 + default: &475 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29163,14 +28722,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 responses: '200': description: Response content: application/json: - schema: *181 + schema: *182 examples: default: value: @@ -29198,8 +28757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 requestBody: required: true content: @@ -29258,7 +28817,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -29282,8 +28841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 responses: '204': description: Response @@ -29307,8 +28866,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 - *19 - *17 responses: @@ -29326,9 +28885,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *136 examples: - default: *149 + default: *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29349,8 +28908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 requestBody: required: true content: @@ -29400,8 +28959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 - name: repository_id in: path required: true @@ -29432,8 +28991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 - name: repository_id in: path required: true @@ -29463,7 +29022,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -29521,8 +29080,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *182 - required: *183 + properties: *183 + required: *184 nullable: true created_at: type: string @@ -29619,7 +29178,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *105 + - *63 - *17 - *19 responses: @@ -29629,7 +29188,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: 200-response: value: @@ -29701,7 +29260,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *105 + - *63 - *17 - *19 responses: @@ -29711,7 +29270,7 @@ paths: application/json: schema: type: array - items: &206 + items: &207 title: Organization Invitation description: Organization Invitation type: object @@ -29758,7 +29317,7 @@ paths: - invitation_teams_url - node_id examples: - default: &207 + default: &208 value: - id: 1 login: monalisa @@ -29791,7 +29350,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 +29374,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *105 + - *63 - *17 - *19 responses: @@ -29825,7 +29384,7 @@ paths: application/json: schema: type: array - items: &184 + items: &185 title: Org Hook description: Org Hook type: object @@ -29913,7 +29472,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -29936,7 +29495,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *105 + - *63 requestBody: required: true content: @@ -29996,9 +29555,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: - default: &185 + default: &186 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -30045,8 +29604,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *105 - - &186 + - *63 + - &187 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 +29618,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: - default: *185 + default: *186 '404': *6 x-github: githubCloudOnly: false @@ -30088,8 +29647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *187 requestBody: required: false content: @@ -30134,7 +29693,7 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: default: value: @@ -30175,8 +29734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *187 responses: '204': description: Response @@ -30203,8 +29762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *105 - - *186 + - *63 + - *187 responses: '200': description: Response @@ -30234,8 +29793,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *105 - - *186 + - *63 + - *187 requestBody: required: false content: @@ -30285,10 +29844,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *105 - - *186 - - *17 + - *63 - *187 + - *17 + - *188 responses: '200': description: Response @@ -30296,9 +29855,9 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: - default: *189 + default: *190 '400': *14 '422': *15 x-github: @@ -30323,17 +29882,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *187 - *16 responses: '200': description: Response content: application/json: - schema: *190 + schema: *191 examples: - default: *191 + default: *192 '400': *14 '422': *15 x-github: @@ -30358,8 +29917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *187 - *16 responses: '202': *39 @@ -30388,8 +29947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *187 responses: '204': description: Response @@ -30411,8 +29970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *105 - - &196 + - *63 + - &197 name: actor_type in: path description: The type of the actor @@ -30425,14 +29984,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &197 + - &198 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &192 + - &193 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 +29999,7 @@ paths: required: true schema: type: string - - &193 + - &194 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 +30092,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *105 - - *192 + - *63 - *193 + - *194 - *19 - *17 - *48 - - &202 + - &203 name: sort description: The property to sort the results by. in: query @@ -30617,15 +30176,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *105 - - *192 + - *63 - *193 + - *194 responses: '200': description: Response content: application/json: - schema: &194 + schema: &195 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30641,7 +30200,7 @@ paths: type: integer format: int64 examples: - default: &195 + default: &196 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30661,24 +30220,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *105 - - &198 + - *63 + - &199 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *192 - *193 + - *194 responses: '200': description: Response content: application/json: - schema: *194 + schema: *195 examples: - default: *195 + default: *196 x-github: enabledForGitHubApps: true category: orgs @@ -30696,19 +30255,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *105 - - *192 + - *63 - *193 - - *196 + - *194 - *197 + - *198 responses: '200': description: Response content: application/json: - schema: *194 + schema: *195 examples: - default: *195 + default: *196 x-github: enabledForGitHubApps: true category: orgs @@ -30725,10 +30284,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *105 - - *192 + - *63 - *193 - - &199 + - *194 + - &200 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30741,7 +30300,7 @@ paths: description: Response content: application/json: - schema: &200 + schema: &201 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30757,7 +30316,7 @@ paths: type: integer format: int64 examples: - default: &201 + default: &202 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30793,19 +30352,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 + - *63 - *199 + - *193 + - *194 + - *200 responses: '200': description: Response content: application/json: - schema: *200 + schema: *201 examples: - default: *201 + default: *202 x-github: enabledForGitHubApps: true category: orgs @@ -30822,20 +30381,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *105 - - *196 + - *63 - *197 - - *192 + - *198 - *193 - - *199 + - *194 + - *200 responses: '200': description: Response content: application/json: - schema: *200 + schema: *201 examples: - default: *201 + default: *202 x-github: enabledForGitHubApps: true category: orgs @@ -30852,14 +30411,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *105 - - *198 - - *192 + - *63 + - *199 - *193 + - *194 - *19 - *17 - *48 - - *202 + - *203 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -30932,7 +30491,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *105 + - *63 responses: '200': description: Response @@ -30940,7 +30499,7 @@ paths: application/json: schema: *22 examples: - default: &523 + default: &513 value: id: 1 account: @@ -31009,7 +30568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -31079,7 +30638,7 @@ paths: suspended_at: suspended_by: headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31098,7 +30657,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -31106,12 +30665,12 @@ paths: application/json: schema: anyOf: - - &204 + - &205 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &203 + limit: &204 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -31136,7 +30695,7 @@ paths: properties: {} additionalProperties: false examples: - default: &205 + default: &206 value: limit: collaborators_only origin: organization @@ -31160,18 +30719,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: application/json: - schema: &524 + schema: &514 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *203 + limit: *204 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -31195,9 +30754,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: *205 + default: *206 '422': *15 x-github: githubCloudOnly: false @@ -31215,7 +30774,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -31239,7 +30798,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *105 + - *63 - *17 - *19 - name: role @@ -31273,11 +30832,11 @@ paths: application/json: schema: type: array - items: *206 + items: *207 examples: - default: *207 + default: *208 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -31298,7 +30857,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *105 + - *63 requestBody: required: false content: @@ -31352,7 +30911,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *207 examples: default: value: @@ -31406,8 +30965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *105 - - &208 + - *63 + - &209 name: invitation_id description: The unique identifier of the invitation. in: path @@ -31437,8 +30996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *105 - - *208 + - *63 + - *209 - *17 - *19 responses: @@ -31448,7 +31007,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: &227 value: @@ -31466,7 +31025,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 +31044,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -31493,7 +31052,7 @@ paths: application/json: schema: type: array - items: *209 + items: *210 examples: default: value: @@ -31531,7 +31090,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -31578,9 +31137,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *210 examples: - default: &210 + default: &211 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -31612,8 +31171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *105 - - &211 + - *63 + - &212 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -31666,9 +31225,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *210 examples: - default: *210 + default: *211 '404': *6 '422': *7 x-github: @@ -31692,8 +31251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *105 - - *211 + - *63 + - *212 responses: '204': description: Response @@ -31726,7 +31285,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *105 + - *63 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -31756,7 +31315,7 @@ paths: - closed - all default: open - - *212 + - *213 - name: type description: Can be the name of an issue type. in: query @@ -31775,7 +31334,7 @@ paths: - comments default: created - *48 - - *79 + - *77 - *17 - *19 responses: @@ -31785,11 +31344,11 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: *213 + default: *214 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -31809,7 +31368,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *105 + - *63 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -31847,9 +31406,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -31867,8 +31426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response if requester is an organization member and user is @@ -31902,8 +31461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -31929,8 +31488,8 @@ paths: parameters: - *17 - *19 - - *105 - *63 + - *59 responses: '200': description: Response @@ -31946,11 +31505,11 @@ paths: type: integer codespaces: type: array - items: *214 + items: *215 examples: - default: *215 + default: *216 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -31973,9 +31532,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *105 - *63 - - &216 + - *59 + - &217 name: codespace_name in: path required: true @@ -31985,7 +31544,7 @@ paths: responses: '202': *39 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -32008,17 +31567,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *105 - *63 - - *216 + - *59 + - *217 responses: '200': description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: &451 + default: &441 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -32160,7 +31719,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -32191,14 +31750,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *105 - *63 + - *59 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *217 + schema: *218 examples: default: value: @@ -32242,7 +31801,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -32267,8 +31826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *105 - *63 + - *59 responses: '200': description: Response @@ -32318,7 +31877,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *218 + organization: *61 user: title: Simple User description: A GitHub user. @@ -32409,8 +31968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *105 - *63 + - *59 requestBody: required: false content: @@ -32464,8 +32023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -32490,7 +32049,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *105 + - *63 - *17 - *19 - name: exclude @@ -32552,7 +32111,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *67 + items: *66 url: type: string format: uri @@ -32748,7 +32307,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 +32323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *105 + - *63 requestBody: required: true content: @@ -33018,7 +32577,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *105 + - *63 - &222 name: migration_id description: The unique identifier of the migration. @@ -33215,7 +32774,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *105 + - *63 - *222 responses: '302': @@ -33237,7 +32796,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *105 + - *63 - *222 responses: '204': @@ -33261,9 +32820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *105 + - *63 - *222 - - &671 + - &669 name: repo_name description: repo_name parameter in: path @@ -33290,7 +32849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *105 + - *63 - *222 - *17 - *19 @@ -33301,7 +32860,7 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: &234 value: @@ -33414,7 +32973,7 @@ paths: secret_scanning_non_provider_patterns: status: disabled headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -33440,7 +32999,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response - list of organization roles @@ -33603,8 +33162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *105 - - *65 + - *63 + - *64 responses: '204': description: Response @@ -33629,8 +33188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *105 - - *65 + - *63 + - *64 - &223 name: role_id description: The unique identifier of the role. @@ -33666,8 +33225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *105 - - *65 + - *63 + - *64 - *223 responses: '204': @@ -33693,8 +33252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -33719,8 +33278,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *105 - *63 + - *59 - *223 responses: '204': @@ -33751,8 +33310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *105 - *63 + - *59 - *223 responses: '204': @@ -33781,7 +33340,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *105 + - *63 - *223 responses: '200': @@ -33838,7 +33397,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *105 + - *63 - *223 - *17 - *19 @@ -33952,7 +33511,7 @@ paths: examples: default: *227 headers: - Link: *58 + Link: *54 '404': description: Response if the organization or role does not exist. '422': @@ -33979,7 +33538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *105 + - *63 - *223 - *17 - *19 @@ -34008,7 +33567,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &308 + items: &298 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -34109,9 +33668,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 +33692,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *105 + - *63 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -34160,9 +33719,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34185,8 +33744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *105 - *63 + - *59 requestBody: required: false content: @@ -34243,8 +33802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -34301,8 +33860,8 @@ paths: - docker - nuget - container - - *105 - - &673 + - *63 + - &670 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34343,7 +33902,7 @@ paths: default: *229 '403': *29 '401': *25 - '400': &675 + '400': &672 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34390,7 +33949,7 @@ paths: required: true schema: type: string - - *105 + - *63 responses: '200': description: Response @@ -34450,7 +34009,7 @@ paths: parameters: - *230 - *231 - - *105 + - *63 responses: '204': description: Response @@ -34484,7 +34043,7 @@ paths: parameters: - *230 - *231 - - *105 + - *63 - name: token description: package token schema: @@ -34518,7 +34077,7 @@ paths: parameters: - *230 - *231 - - *105 + - *63 - *19 - *17 - name: state @@ -34665,7 +34224,7 @@ paths: parameters: - *230 - *231 - - *105 + - *63 - &233 name: package_version_id description: Unique identifier of the package version. @@ -34716,7 +34275,7 @@ paths: parameters: - *230 - *231 - - *105 + - *63 - *233 responses: '204': @@ -34751,7 +34310,7 @@ paths: parameters: - *230 - *231 - - *105 + - *63 - *233 responses: '204': @@ -34779,7 +34338,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *105 + - *63 - *17 - *19 - &235 @@ -34852,7 +34411,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *106 + '500': *104 '422': *15 '404': *6 '403': *29 @@ -34984,7 +34543,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 +34563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *105 + - *63 requestBody: required: true content: @@ -35045,7 +34604,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *106 + '500': *104 '422': *15 '404': *6 '403': *29 @@ -35070,7 +34629,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *105 + - *63 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -35106,11 +34665,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *106 + '500': *104 '422': *15 '404': *6 '403': *29 - '204': *163 + '204': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35131,7 +34690,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *105 + - *63 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -35142,7 +34701,7 @@ paths: - *17 - *19 responses: - '500': *106 + '500': *104 '404': *6 '403': *29 '200': @@ -35151,11 +34710,11 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: *234 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35176,7 +34735,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *105 + - *63 - *17 - *19 - *235 @@ -35188,7 +34747,7 @@ paths: - *240 - *241 responses: - '500': *106 + '500': *104 '422': *15 '404': *6 '403': *29 @@ -35315,7 +34874,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 +34894,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *105 + - *63 requestBody: required: true content: @@ -35370,7 +34929,7 @@ paths: - 1296269 - 1296280 responses: - '500': *106 + '500': *104 '404': *6 '202': *39 '403': *29 @@ -35395,7 +34954,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *105 + - *63 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -35423,9 +34982,9 @@ paths: value: action: revoke responses: - '500': *106 + '500': *104 '404': *6 - '204': *163 + '204': *166 '403': *29 '422': *15 x-github: @@ -35447,7 +35006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *105 + - *63 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -35457,7 +35016,7 @@ paths: - *17 - *19 responses: - '500': *106 + '500': *104 '404': *6 '403': *29 '200': @@ -35466,11 +35025,11 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: *234 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35492,7 +35051,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -35576,7 +35135,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *58 + Link: *54 '400': *14 '404': *6 x-github: @@ -35598,7 +35157,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -35804,7 +35363,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -35830,7 +35389,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -35852,8 +35411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *105 - - *145 + - *63 + - *144 responses: '200': description: The specified private registry configuration for the organization @@ -35882,8 +35441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *105 - - *145 + - *63 + - *144 requestBody: required: true content: @@ -35978,8 +35537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *105 - - *145 + - *63 + - *144 responses: '204': description: Response @@ -36004,7 +35563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects parameters: - - *105 + - *63 - name: state description: Indicates the state of the projects to return. in: query @@ -36149,7 +35708,7 @@ paths: organization_permission: write private: true headers: - Link: *58 + Link: *54 '422': *7 x-github: githubCloudOnly: false @@ -36172,7 +35731,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project parameters: - - *105 + - *63 requestBody: required: true content: @@ -36236,7 +35795,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &336 + '410': &326 description: Gone content: application/json: @@ -36262,7 +35821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *105 + - *63 - name: q description: Limit results to projects of the specified type. in: query @@ -36349,7 +35908,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &755 + properties: &752 id: type: number description: The unique identifier of the status update. @@ -36397,7 +35956,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &756 + required: &753 - id - node_id - created_at @@ -36505,7 +36064,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36532,7 +36091,7 @@ paths: required: true schema: type: integer - - *105 + - *63 responses: '200': description: Response @@ -36542,7 +36101,7 @@ paths: examples: default: *246 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36563,7 +36122,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - *247 - - *105 + - *63 - *17 - *40 - *41 @@ -36744,7 +36303,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 @@ -36765,14 +36324,14 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *247 - - &692 + - &689 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *105 + - *63 responses: '200': description: Response @@ -36782,7 +36341,7 @@ paths: examples: default: *249 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36804,7 +36363,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - *247 - - *105 + - *63 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -36813,16 +36372,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string - *40 - *41 - *17 @@ -37573,7 +37135,7 @@ paths: type: sub_issues_progress value: headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -37593,7 +37155,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *105 + - *63 - *247 requestBody: required: true @@ -37631,7 +37193,7 @@ paths: description: Response content: application/json: - schema: &693 + schema: &690 title: Projects v2 Item description: An item belonging to a project type: object @@ -37644,8 +37206,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *71 - - &466 + - *70 + - &456 title: Pull Request Simple description: Pull Request Simple type: object @@ -37797,7 +37359,7 @@ paths: nullable: true requested_teams: type: array - items: *169 + items: *172 nullable: true head: type: object @@ -37806,7 +37368,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *66 sha: type: string user: @@ -37829,7 +37391,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *66 sha: type: string user: @@ -37873,8 +37435,8 @@ paths: - review_comments - review_comment - self - author_association: *72 - auto_merge: &568 + author_association: *71 + auto_merge: &558 title: Auto merge description: The status of auto merging a pull request. type: object @@ -38085,7 +37647,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - *247 - - *105 + - *63 - &257 name: item_id description: The unique identifier of the project item. @@ -38094,16 +37656,19 @@ paths: schema: type: integer - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -38113,7 +37678,7 @@ paths: examples: default: *256 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -38133,7 +37698,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - *247 - - *105 + - *63 - *257 requestBody: required: true @@ -38231,7 +37796,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - *247 - - *105 + - *63 - *257 responses: '204': @@ -38256,7 +37821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -38378,7 +37943,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -38442,7 +38007,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *105 + - *63 - &260 name: custom_property_name description: The custom property name @@ -38491,7 +38056,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *105 + - *63 - *260 requestBody: required: true @@ -38586,10 +38151,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *105 + - *63 - *260 responses: - '204': *163 + '204': *166 '403': *29 '404': *6 x-github: @@ -38610,7 +38175,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *105 + - *63 - *17 - *19 - name: repository_query @@ -38687,7 +38252,7 @@ paths: - property_name: team value: octocat headers: - Link: *58 + Link: *54 '403': *29 '404': *6 x-github: @@ -38715,7 +38280,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *105 + - *63 requestBody: required: true content: @@ -38776,7 +38341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *105 + - *63 - *17 - *19 responses: @@ -38788,9 +38353,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38807,8 +38372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response if user is a public member @@ -38832,8 +38397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -38854,8 +38419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -38879,7 +38444,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *105 + - *63 - name: type description: Specifies the types of repositories you want returned. in: query @@ -38925,11 +38490,11 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: *234 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38948,7 +38513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *105 + - *63 requestBody: required: true content: @@ -39129,7 +38694,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &328 title: Full Repository description: Full Repository type: object @@ -39494,8 +39059,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true organization: title: Simple User @@ -39504,8 +39069,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *67 - source: *67 + parent: *66 + source: *66 forks: type: integer master_branch: @@ -39522,7 +39087,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &471 + properties: &461 url: type: string format: uri @@ -39538,7 +39103,7 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &472 + required: &462 - url - key - name @@ -39627,7 +39192,7 @@ paths: - network_count - subscribers_count examples: - default: &340 + default: &330 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40145,10 +39710,10 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *63 - *17 - *19 - - &591 + - &581 name: targets description: | A comma-separated list of rule targets to filter by. @@ -40429,7 +39994,7 @@ paths: - repository_property rules: type: array - items: &592 + items: &582 title: Repository Rule type: object description: A repository rule. @@ -40491,7 +40056,7 @@ paths: type: string enum: - required_linear_history - - &589 + - &579 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -41115,7 +40680,7 @@ paths: - tool required: - code_scanning_tools - - &590 + - &580 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -41176,7 +40741,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *106 + '500': *104 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -41192,7 +40757,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *63 requestBody: description: Request body required: true @@ -41326,7 +40891,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *106 + '500': *104 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -41340,8 +40905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *105 - - &593 + - *63 + - &583 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 +40921,7 @@ paths: in: query schema: type: string - - &594 + - &584 name: time_period description: |- The time period to filter by. @@ -41372,14 +40937,14 @@ paths: - week - month default: day - - &595 + - &585 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 + - &586 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -41399,7 +40964,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &587 title: Rule Suites description: Response type: array @@ -41454,7 +41019,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &598 + default: &588 value: - id: 21 actor_id: 12 @@ -41478,7 +41043,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41497,8 +41062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *105 - - &599 + - *63 + - &589 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41514,7 +41079,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &590 title: Rule Suite description: Response type: object @@ -41613,7 +41178,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &601 + default: &591 value: id: 21 actor_id: 12 @@ -41648,7 +41213,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41674,7 +41239,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *63 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41690,7 +41255,7 @@ paths: examples: default: *292 '404': *6 - '500': *106 + '500': *104 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -41706,7 +41271,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *63 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41780,7 +41345,7 @@ paths: examples: default: *292 '404': *6 - '500': *106 + '500': *104 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -41796,7 +41361,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *63 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41807,7 +41372,7 @@ paths: '204': description: Response '404': *6 - '500': *106 + '500': *104 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -41819,7 +41384,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *105 + - *63 - *17 - *19 - name: ruleset_id @@ -41859,7 +41424,7 @@ paths: type: string format: date-time examples: - default: &603 + default: &593 value: - version_id: 3 actor: @@ -41877,7 +41442,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41894,7 +41459,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *105 + - *63 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41912,7 +41477,7 @@ paths: description: Response content: application/json: - schema: &604 + schema: &594 allOf: - *294 - type: object @@ -41961,7 +41526,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41983,15 +41548,53 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *105 - - *295 - - *296 - - *297 - - *298 + - *63 + - &595 + 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 + - &596 + 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 + - &597 + 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 + - &598 + 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 + - &599 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 +41604,7 @@ paths: required: false schema: type: string - - &606 + - &600 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 +41614,42 @@ paths: required: false schema: type: string - - *299 - - *300 - - *301 - - *302 + - &601 + 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 + - &602 + 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 + - &603 + 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 + - &604 + 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 +41657,593 @@ paths: application/json: schema: type: array - items: *303 + items: + type: object + properties: + number: *152 + created_at: *153 + 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: *155 + html_url: *156 + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this + alert. + state: &605 + 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: &606 + 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: &607 + - &609 + 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 + - &610 + 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 + - &611 + 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 + - &612 + 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 + - &613 + 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 + - &614 + 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 + - &615 + 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 + - &616 + 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 + - &617 + 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 + - &618 + 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 + - &619 + 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 + - &620 + 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 + - &621 + description: Represents a 'pull_request_review_comment' secret + scanning location type. This location type shows that a + secret was detected in a review comment on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable: true + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. + assigned_to: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true examples: - default: *304 + default: + value: + - number: 2 + created_at: '2020-11-06T18:48:51Z' + url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 + html_url: https://github.com/owner/private-repo/security/secret-scanning/2 + locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations + state: resolved + resolution: false_positive + resolved_at: '2020-11-07T02:47:13Z' + resolved_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + secret_type: adafruit_io_key + secret_type_display_name: Adafruit IO Key + secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + push_protection_bypassed_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + push_protection_bypassed: true + push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_reviewer_comment: Example response + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 + resolution_comment: Example comment + validity: active + publicly_leaked: false + multi_repo: false + is_base64_encoded: false + first_location_detected: + path: "/example/secrets.txt" + start_line: 1 + end_line: 1 + start_column: 1 + end_column: 64 + blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b + commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b + has_more_locations: true + assigned_to: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false headers: - Link: *58 + Link: *54 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42053,7 +42268,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *105 + - *63 responses: '200': description: Response @@ -42065,7 +42280,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &306 + pattern_config_version: &296 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 +42289,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &305 + items: &295 type: object properties: token_type: @@ -42140,7 +42355,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *305 + items: *295 examples: default: value: @@ -42189,7 +42404,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *105 + - *63 requestBody: required: true content: @@ -42197,7 +42412,7 @@ paths: schema: type: object properties: - pattern_config_version: *306 + pattern_config_version: *296 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -42223,7 +42438,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *306 + custom_pattern_version: *296 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -42277,7 +42492,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *105 + - *63 - *48 - name: sort description: The property to sort the results by. @@ -42321,7 +42536,7 @@ paths: application/json: schema: type: array - items: &627 + items: &625 description: A repository security advisory. type: object properties: @@ -42541,7 +42756,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *297 credits_detailed: type: array nullable: true @@ -42551,7 +42766,7 @@ paths: type: object properties: user: *4 - type: *307 + type: *297 state: type: string description: The state of the user's acceptance of the @@ -42575,7 +42790,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *169 + items: *172 private_fork: readOnly: true nullable: true @@ -42612,7 +42827,7 @@ paths: - private_fork additionalProperties: false examples: - default: &628 + default: &626 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42991,7 +43206,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *105 + - *63 responses: '200': description: Response @@ -42999,7 +43214,7 @@ paths: application/json: schema: type: array - items: *308 + items: *298 examples: default: *227 x-github: @@ -43024,8 +43239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *105 - - *65 + - *63 + - *64 responses: '204': description: Response @@ -43050,8 +43265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *105 - - *65 + - *63 + - *64 responses: '204': description: Response @@ -43080,13 +43295,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &694 + schema: &691 type: object properties: total_minutes_used: @@ -43156,7 +43371,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &695 + default: &692 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -43186,13 +43401,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &696 + schema: &693 type: object properties: total_gigabytes_bandwidth_used: @@ -43210,7 +43425,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &697 + default: &694 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -43236,13 +43451,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &701 + schema: &698 type: object properties: days_left_in_billing_cycle: @@ -43260,7 +43475,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &702 + default: &699 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -43284,7 +43499,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Immutable releases settings response @@ -43333,7 +43548,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -43390,7 +43605,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *105 + - *63 - *19 - *17 responses: @@ -43408,9 +43623,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *136 examples: - default: *149 + default: *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43429,7 +43644,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *105 + - *63 requestBody: required: true content: @@ -43478,8 +43693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *105 - - *126 + - *63 + - *125 responses: '204': description: Response @@ -43501,8 +43716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *105 - - *126 + - *63 + - *125 responses: '204': description: Response @@ -43525,7 +43740,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -43543,7 +43758,7 @@ paths: type: integer network_configurations: type: array - items: &309 + items: &299 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -43602,7 +43817,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43621,7 +43836,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -43663,9 +43878,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *299 examples: - default: &310 + default: &300 value: id: 123456789ABCDEF name: My network configuration @@ -43693,8 +43908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *105 - - &311 + - *63 + - &301 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -43706,11 +43921,11 @@ paths: description: Response content: application/json: - schema: *309 + schema: *299 examples: - default: *310 + default: *300 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43729,8 +43944,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *105 - - *311 + - *63 + - *301 requestBody: required: true content: @@ -43769,9 +43984,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *299 examples: - default: *310 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43790,8 +44005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *105 - - *311 + - *63 + - *301 responses: '204': description: Response @@ -43814,7 +44029,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *105 + - *63 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -43868,7 +44083,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 +44113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *105 - - *65 + - *63 + - *64 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -43931,13 +44146,13 @@ paths: application/json: schema: type: array - items: *312 + items: *302 examples: - default: *313 - '500': *106 + default: *303 + '500': *104 '403': *29 '404': *6 - '422': *314 + '422': *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43955,7 +44170,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *105 + - *63 - *17 - *19 responses: @@ -43965,11 +44180,11 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: *227 headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -43989,7 +44204,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *105 + - *63 requestBody: required: true content: @@ -44061,7 +44276,7 @@ paths: description: Response content: application/json: - schema: &315 + schema: &305 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -44388,7 +44603,7 @@ paths: - repos_count - organization examples: - default: &316 + default: &306 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44458,16 +44673,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *105 - - *65 + - *63 + - *64 responses: '200': description: Response content: application/json: - schema: *315 + schema: *305 examples: - default: *316 + default: *306 '404': *6 x-github: githubCloudOnly: false @@ -44488,8 +44703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *105 - - *65 + - *63 + - *64 requestBody: required: false content: @@ -44551,16 +44766,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *315 + schema: *305 examples: - default: *316 + default: *306 '201': description: Response content: application/json: - schema: *315 + schema: *305 examples: - default: *316 + default: *306 '404': *6 '422': *15 '403': *29 @@ -44585,8 +44800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *105 - - *65 + - *63 + - *64 responses: '204': description: Response @@ -44612,8 +44827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *105 - - *65 + - *63 + - *64 - *48 - *17 - *19 @@ -44630,7 +44845,7 @@ paths: application/json: schema: type: array - items: &317 + items: &307 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44709,7 +44924,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *73 + reactions: *72 required: - author - body @@ -44729,7 +44944,7 @@ paths: - updated_at - url examples: - default: &645 + default: &643 value: - author: login: octocat @@ -44779,7 +44994,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44803,8 +45018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *105 - - *65 + - *63 + - *64 requestBody: required: true content: @@ -44838,9 +45053,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *307 examples: - default: &318 + default: &308 value: author: login: octocat @@ -44912,9 +45127,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *105 - - *65 - - &319 + - *63 + - *64 + - &309 name: discussion_number description: The number that identifies the discussion. in: path @@ -44926,9 +45141,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *307 examples: - default: *318 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44950,9 +45165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *309 requestBody: required: false content: @@ -44975,9 +45190,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *307 examples: - default: &646 + default: &644 value: author: login: octocat @@ -45047,9 +45262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *309 responses: '204': description: Response @@ -45075,9 +45290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *309 - *48 - *17 - *19 @@ -45088,7 +45303,7 @@ paths: application/json: schema: type: array - items: &320 + items: &310 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -45145,7 +45360,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *73 + reactions: *72 required: - author - body @@ -45160,7 +45375,7 @@ paths: - updated_at - url examples: - default: &647 + default: &645 value: - author: login: octocat @@ -45204,7 +45419,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45228,9 +45443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *309 requestBody: required: true content: @@ -45252,9 +45467,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *310 examples: - default: &321 + default: &311 value: author: login: octocat @@ -45320,10 +45535,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *105 - - *65 - - *319 - - &322 + - *63 + - *64 + - *309 + - &312 name: comment_number description: The number that identifies the comment. in: path @@ -45335,9 +45550,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *310 examples: - default: *321 + default: *311 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45359,10 +45574,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *63 + - *64 + - *309 + - *312 requestBody: required: true content: @@ -45384,9 +45599,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *310 examples: - default: &648 + default: &646 value: author: login: octocat @@ -45450,10 +45665,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *63 + - *64 + - *309 + - *312 responses: '204': description: Response @@ -45479,10 +45694,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *63 + - *64 + - *309 + - *312 - 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 +45723,7 @@ paths: application/json: schema: type: array - items: &323 + items: &313 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -45551,7 +45766,7 @@ paths: - content - created_at examples: - default: &325 + default: &315 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45577,7 +45792,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45601,10 +45816,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *63 + - *64 + - *309 + - *312 requestBody: required: true content: @@ -45637,9 +45852,9 @@ paths: team discussion comment content: application/json: - schema: *323 + schema: *313 examples: - default: &324 + default: &314 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45668,9 +45883,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45693,11 +45908,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *105 - - *65 - - *319 - - *322 - - &326 + - *63 + - *64 + - *309 + - *312 + - &316 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45729,9 +45944,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *309 - 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 +45972,11 @@ paths: application/json: schema: type: array - items: *323 + items: *313 examples: - default: *325 + default: *315 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45785,9 +46000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *309 requestBody: required: true content: @@ -45819,16 +46034,16 @@ paths: description: Response content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '201': description: Response content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45851,10 +46066,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *105 - - *65 - - *319 - - *326 + - *63 + - *64 + - *309 + - *316 responses: '204': description: Response @@ -45878,8 +46093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *105 - - *65 + - *63 + - *64 - *17 - *19 responses: @@ -45889,11 +46104,11 @@ paths: application/json: schema: type: array - items: *206 + items: *207 examples: - default: *207 + default: *208 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45913,8 +46128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *105 - - *65 + - *63 + - *64 - name: role description: Filters members returned by their role in the team. in: query @@ -45937,9 +46152,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45967,15 +46182,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *105 - - *65 - *63 + - *64 + - *59 responses: '200': description: Response content: application/json: - schema: &327 + schema: &317 title: Team Membership description: Team Membership type: object @@ -46002,7 +46217,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &649 + response-if-user-is-a-team-maintainer: &647 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -46038,9 +46253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *105 - - *65 - *63 + - *64 + - *59 requestBody: required: false content: @@ -46065,9 +46280,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *317 examples: - response-if-users-membership-with-team-is-now-pending: &650 + response-if-users-membership-with-team-is-now-pending: &648 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -46102,9 +46317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *105 - - *65 - *63 + - *64 + - *59 responses: '204': description: Response @@ -46129,8 +46344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *105 - - *65 + - *63 + - *64 - *17 - *19 responses: @@ -46140,7 +46355,7 @@ paths: application/json: schema: type: array - items: &328 + items: &318 title: Team Project description: A team's access to a project. type: object @@ -46208,7 +46423,7 @@ paths: - updated_at - permissions examples: - default: &651 + default: &649 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46248,7 +46463,7 @@ paths: write: true admin: false headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46271,9 +46486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *105 - - *65 - - &329 + - *63 + - *64 + - &319 name: project_id description: The unique identifier of the project. in: path @@ -46285,9 +46500,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *318 examples: - default: &652 + default: &650 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46349,9 +46564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *105 - - *65 - - *329 + - *63 + - *64 + - *319 requestBody: required: false content: @@ -46417,9 +46632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *105 - - *65 - - *329 + - *63 + - *64 + - *319 responses: '204': description: Response @@ -46446,8 +46661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *105 - - *65 + - *63 + - *64 - *17 - *19 responses: @@ -46457,11 +46672,11 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: *234 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46488,16 +46703,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *105 - - *65 - - *330 - - *331 + - *63 + - *64 + - *320 + - *321 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &653 + schema: &651 title: Team Repository description: A team's access to a repository. type: object @@ -46520,8 +46735,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true forks: type: integer @@ -47066,10 +47281,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *105 - - *65 - - *330 - - *331 + - *63 + - *64 + - *320 + - *321 requestBody: required: false content: @@ -47114,10 +47329,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *105 - - *65 - - *330 - - *331 + - *63 + - *64 + - *320 + - *321 responses: '204': description: Response @@ -47141,8 +47356,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *105 - - *65 + - *63 + - *64 - *17 - *19 responses: @@ -47152,9 +47367,9 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: - response-if-child-teams-exist: &654 + response-if-child-teams-exist: &652 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -47182,7 +47397,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 +47422,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *105 + - *63 - name: security_product in: path description: The security feature to enable or disable. @@ -47281,7 +47496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &332 + - &322 name: column_id description: The unique identifier of the column. in: path @@ -47293,7 +47508,7 @@ paths: description: Response content: application/json: - schema: &333 + schema: &323 title: Project Column description: Project columns contain cards of work. type: object @@ -47339,7 +47554,7 @@ paths: - created_at - updated_at examples: - default: &334 + default: &324 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -47374,7 +47589,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *332 + - *322 requestBody: required: true content: @@ -47398,9 +47613,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *323 examples: - default: *334 + default: *324 '304': *37 '403': *29 '401': *25 @@ -47425,7 +47640,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *332 + - *322 responses: '204': description: Response @@ -47454,7 +47669,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *332 + - *322 requestBody: required: true content: @@ -47514,7 +47729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *329 + - *319 responses: '200': description: Response @@ -47522,7 +47737,7 @@ paths: application/json: schema: *244 examples: - default: &335 + default: &325 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -47579,7 +47794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *329 + - *319 requestBody: required: false content: @@ -47627,7 +47842,7 @@ paths: application/json: schema: *244 examples: - default: *335 + default: *325 '404': description: Not Found if the authenticated user does not have access to the project @@ -47648,7 +47863,7 @@ paths: items: type: string '401': *25 - '410': *336 + '410': *326 '422': *7 x-github: githubCloudOnly: false @@ -47671,7 +47886,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *329 + - *319 responses: '204': description: Delete Success @@ -47692,7 +47907,7 @@ paths: items: type: string '401': *25 - '410': *336 + '410': *326 '404': *6 x-github: githubCloudOnly: false @@ -47716,7 +47931,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *329 + - *319 - 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 +47958,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': *6 '422': *15 '304': *37 @@ -47773,8 +47988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *329 - - *63 + - *319 + - *59 requestBody: required: false content: @@ -47826,8 +48041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *329 - - *63 + - *319 + - *59 responses: '204': description: Response @@ -47858,8 +48073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *329 - - *63 + - *319 + - *59 responses: '200': description: Response @@ -47932,7 +48147,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *329 + - *319 - *17 - *19 responses: @@ -47942,7 +48157,7 @@ paths: application/json: schema: type: array - items: *333 + items: *323 examples: default: value: @@ -47955,7 +48170,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 +48195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *329 + - *319 requestBody: required: true content: @@ -48003,7 +48218,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *323 examples: default: value: @@ -48068,7 +48283,7 @@ paths: resources: type: object properties: - core: &337 + core: &327 title: Rate Limit type: object properties: @@ -48085,21 +48300,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: *327 + search: *327 + code_search: *327 + source_import: *327 + integration_manifest: *327 + code_scanning_upload: *327 + actions_runner_registration: *327 + scim: *327 + dependency_snapshots: *327 + dependency_sbom: *327 + code_scanning_autofix: *327 required: - core - search - rate: *337 + rate: *327 required: - rate - resources @@ -48204,14 +48419,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *338 + schema: *328 examples: default-response: summary: Default response @@ -48712,7 +48927,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *339 + '301': *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48730,8 +48945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: false content: @@ -48978,10 +49193,10 @@ paths: description: Response content: application/json: - schema: *338 + schema: *328 examples: - default: *340 - '307': &341 + default: *330 + '307': &331 description: Temporary Redirect content: application/json: @@ -49010,8 +49225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -49033,7 +49248,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *341 + '307': *331 '404': *6 '409': *47 x-github: @@ -49057,11 +49272,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 - - &372 + - &362 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -49084,7 +49299,7 @@ paths: type: integer artifacts: type: array - items: &342 + items: &332 title: Artifact description: An artifact type: object @@ -49162,7 +49377,7 @@ paths: - expires_at - updated_at examples: - default: &373 + default: &363 value: total_count: 2 artifacts: @@ -49201,7 +49416,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49223,9 +49438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *330 - - *331 - - &343 + - *320 + - *321 + - &333 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49237,7 +49452,7 @@ paths: description: Response content: application/json: - schema: *342 + schema: *332 examples: default: value: @@ -49275,9 +49490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *330 - - *331 - - *343 + - *320 + - *321 + - *333 responses: '204': description: Response @@ -49301,9 +49516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *330 - - *331 - - *343 + - *320 + - *321 + - *333 - name: archive_format in: path required: true @@ -49317,7 +49532,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': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49340,14 +49555,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 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *344 + schema: *334 examples: default: value: @@ -49373,11 +49588,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 - - &345 + - &335 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 +49626,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &336 title: Repository actions caches description: Repository actions caches type: object @@ -49453,7 +49668,7 @@ paths: - total_count - actions_caches examples: - default: &347 + default: &337 value: total_count: 1 actions_caches: @@ -49465,7 +49680,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 +49700,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 + - *320 + - *321 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *345 + - *335 responses: '200': description: Response content: application/json: - schema: *346 + schema: *336 examples: - default: *347 + default: *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49521,8 +49736,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 + - *320 + - *321 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49553,9 +49768,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 + - *320 + - *321 + - &338 name: job_id description: The unique identifier of the job. in: path @@ -49567,7 +49782,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &366 title: Job description: Information of a job execution in a workflow run type: object @@ -49874,9 +50089,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 + - *320 + - *321 + - *338 responses: '302': description: Response @@ -49904,9 +50119,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 + - *320 + - *321 + - *338 requestBody: required: false content: @@ -49927,7 +50142,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -49951,8 +50166,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 + - *320 + - *321 responses: '200': description: Status response @@ -50002,8 +50217,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 + - *320 + - *321 requestBody: required: true content: @@ -50037,7 +50252,7 @@ paths: description: Empty response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -50066,8 +50281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -50085,7 +50300,7 @@ paths: type: integer secrets: type: array - items: &378 + items: &368 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -50105,7 +50320,7 @@ paths: - created_at - updated_at examples: - default: &379 + default: &369 value: total_count: 2 secrets: @@ -50116,7 +50331,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 +50353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *330 - - *331 - - *349 + - *320 + - *321 + - *339 - *19 responses: '200': @@ -50157,7 +50372,7 @@ paths: type: integer variables: type: array - items: &382 + items: &372 title: Actions Variable type: object properties: @@ -50187,7 +50402,7 @@ paths: - created_at - updated_at examples: - default: &383 + default: &373 value: total_count: 2 variables: @@ -50200,7 +50415,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 +50435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -50230,12 +50445,12 @@ paths: schema: type: object properties: - enabled: &351 + enabled: &341 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *122 - selected_actions_url: *350 - sha_pinning_required: *123 + allowed_actions: *121 + selected_actions_url: *340 + sha_pinning_required: *122 required: - enabled examples: @@ -50263,8 +50478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -50275,9 +50490,9 @@ paths: schema: type: object properties: - enabled: *351 - allowed_actions: *122 - sha_pinning_required: *123 + enabled: *341 + allowed_actions: *121 + sha_pinning_required: *122 required: - enabled examples: @@ -50307,14 +50522,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 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: &352 + schema: &342 type: object properties: access_level: @@ -50331,7 +50546,7 @@ paths: required: - access_level examples: - default: &353 + default: &343 value: access_level: organization x-github: @@ -50355,15 +50570,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 + - *320 + - *321 requestBody: required: true content: application/json: - schema: *352 + schema: *342 examples: - default: *353 + default: *343 responses: '204': description: Response @@ -50387,14 +50602,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 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *354 + schema: *344 examples: default: value: @@ -50418,8 +50633,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 + - *320 + - *321 responses: '204': description: Empty response for successful settings update @@ -50429,7 +50644,7 @@ paths: required: true content: application/json: - schema: *355 + schema: *345 examples: default: summary: Set retention days @@ -50453,16 +50668,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 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *124 + schema: *123 examples: - default: *356 + default: *346 '404': *6 x-github: enabledForGitHubApps: true @@ -50481,8 +50696,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 + - *320 + - *321 responses: '204': description: Response @@ -50492,7 +50707,7 @@ paths: required: true content: application/json: - schema: *124 + schema: *123 examples: default: summary: Set approval policy to first time contributors @@ -50516,16 +50731,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 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *357 + schema: *347 examples: - default: *125 + default: *124 '403': *29 '404': *6 x-github: @@ -50545,15 +50760,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 + - *320 + - *321 requestBody: required: true content: application/json: - schema: *358 + schema: *348 examples: - default: *125 + default: *124 responses: '204': description: Empty response for successful settings update @@ -50577,16 +50792,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 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *127 + schema: *126 examples: - default: *128 + default: *127 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -50605,8 +50820,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 + - *320 + - *321 responses: '204': description: Response @@ -50614,9 +50829,9 @@ paths: required: false content: application/json: - schema: *127 + schema: *126 examples: - selected_actions: *128 + selected_actions: *127 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -50638,16 +50853,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *359 + schema: *349 examples: - default: *132 + default: *131 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50668,8 +50883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Success response @@ -50680,9 +50895,9 @@ paths: required: true content: application/json: - schema: *360 + schema: *350 examples: - default: *132 + default: *131 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50709,8 +50924,8 @@ paths: in: query schema: type: string - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -50728,11 +50943,11 @@ paths: type: integer runners: type: array - items: *139 + items: *138 examples: - default: *140 + default: *139 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50754,8 +50969,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 + - *320 + - *321 responses: '200': description: Response @@ -50763,9 +50978,9 @@ paths: application/json: schema: type: array - items: *361 + items: *351 examples: - default: *362 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50787,8 +51002,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 + - *320 + - *321 requestBody: required: true content: @@ -50831,7 +51046,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *363 + '201': *353 '404': *6 '422': *7 '409': *47 @@ -50862,16 +51077,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 + - *320 + - *321 responses: '201': description: Response content: application/json: - schema: *141 + schema: *140 examples: - default: *364 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50899,16 +51114,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 + - *320 + - *321 responses: '201': description: Response content: application/json: - schema: *141 + schema: *140 examples: - default: *365 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50930,17 +51145,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 + - *320 + - *321 + - *137 responses: '200': description: Response content: application/json: - schema: *139 + schema: *138 examples: - default: *366 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50961,9 +51176,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 + - *320 + - *321 + - *137 responses: '204': description: Response @@ -50989,11 +51204,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 + - *320 + - *321 + - *137 responses: - '200': *143 + '200': *142 '404': *6 x-github: githubCloudOnly: false @@ -51015,9 +51230,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 + - *320 + - *321 + - *137 requestBody: required: true content: @@ -51041,7 +51256,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *142 '404': *6 '422': *7 x-github: @@ -51065,9 +51280,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 + - *320 + - *321 + - *137 requestBody: required: true content: @@ -51092,7 +51307,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *142 '404': *6 '422': *7 x-github: @@ -51116,11 +51331,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 + - *320 + - *321 + - *137 responses: - '200': *367 + '200': *357 '404': *6 x-github: githubCloudOnly: false @@ -51147,12 +51362,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 + - *320 + - *321 + - *137 + - *358 responses: - '200': *143 + '200': *142 '404': *6 '422': *7 x-github: @@ -51178,9 +51393,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 + - *320 + - *321 + - &376 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 +51403,7 @@ paths: required: false schema: type: string - - &387 + - &377 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -51196,7 +51411,7 @@ paths: required: false schema: type: string - - &388 + - &378 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 +51420,7 @@ paths: required: false schema: type: string - - &389 + - &379 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 +51447,7 @@ paths: - pending - *17 - *19 - - &390 + - &380 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 +51456,7 @@ paths: schema: type: string format: date-time - - &369 + - &359 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -51250,13 +51465,13 @@ paths: schema: type: boolean default: false - - &391 + - &381 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &392 + - &382 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -51279,7 +51494,7 @@ paths: type: integer workflow_runs: type: array - items: &370 + items: &360 title: Workflow Run description: An invocation of a workflow type: object @@ -51374,7 +51589,7 @@ paths: that triggered the run. type: array nullable: true - items: *76 + items: *75 created_at: type: string format: date-time @@ -51427,7 +51642,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &414 + properties: &404 id: type: string description: SHA for the commit @@ -51478,7 +51693,7 @@ paths: - name - email nullable: true - required: &415 + required: &405 - id - tree_id - message @@ -51486,8 +51701,8 @@ paths: - author - committer nullable: true - repository: *137 - head_repository: *137 + repository: *136 + head_repository: *136 head_repository_id: type: integer example: 5 @@ -51525,7 +51740,7 @@ paths: - workflow_url - pull_requests examples: - default: &393 + default: &383 value: total_count: 1 workflow_runs: @@ -51739,7 +51954,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 +51976,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *330 - - *331 - - &371 + - *320 + - *321 + - &361 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *369 + - *359 responses: '200': description: Response content: application/json: - schema: *370 + schema: *360 examples: - default: &374 + default: &364 value: id: 30433642 name: Build @@ -52019,9 +52234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *320 + - *321 + - *361 responses: '204': description: Response @@ -52044,9 +52259,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 + - *320 + - *321 + - *361 responses: '200': description: Response @@ -52165,15 +52380,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 + - *320 + - *321 + - *361 responses: '201': description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -52200,12 +52415,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *330 - - *331 - - *371 + - *320 + - *321 + - *361 - *17 - *19 - - *372 + - *362 responses: '200': description: Response @@ -52221,11 +52436,11 @@ paths: type: integer artifacts: type: array - items: *342 + items: *332 examples: - default: *373 + default: *363 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52247,25 +52462,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 + - *320 + - *321 + - *361 + - &365 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *369 + - *359 responses: '200': description: Response content: application/json: - schema: *370 + schema: *360 examples: - default: *374 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52288,10 +52503,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 + - *320 + - *321 + - *361 + - *365 - *17 - *19 responses: @@ -52309,9 +52524,9 @@ paths: type: integer jobs: type: array - items: *376 + items: *366 examples: - default: &377 + default: &367 value: total_count: 1 jobs: @@ -52400,7 +52615,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -52424,10 +52639,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 + - *320 + - *321 + - *361 + - *365 responses: '302': description: Response @@ -52455,15 +52670,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *320 + - *321 + - *361 responses: '202': description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -52490,9 +52705,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 + - *320 + - *321 + - *361 requestBody: required: true content: @@ -52559,15 +52774,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *320 + - *321 + - *361 responses: '202': description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -52594,9 +52809,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 + - *320 + - *321 + - *361 - 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 +52841,11 @@ paths: type: integer jobs: type: array - items: *376 + items: *366 examples: - default: *377 + default: *367 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52653,9 +52868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *330 - - *331 - - *371 + - *320 + - *321 + - *361 responses: '302': description: Response @@ -52682,14 +52897,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *330 - - *331 - - *371 + - *320 + - *321 + - *361 responses: '204': description: Response '403': *29 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52711,9 +52926,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 + - *320 + - *321 + - *361 responses: '200': description: Response @@ -52773,7 +52988,7 @@ paths: items: type: object properties: - type: &493 + type: &483 type: string description: The type of reviewer. enum: @@ -52783,7 +52998,7 @@ paths: reviewer: anyOf: - *4 - - *169 + - *172 required: - environment - wait_timer @@ -52858,9 +53073,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 + - *320 + - *321 + - *361 requestBody: required: true content: @@ -52907,7 +53122,7 @@ paths: application/json: schema: type: array - items: &488 + items: &478 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52995,8 +53210,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 required: - id - node_id @@ -53013,7 +53228,7 @@ paths: - created_at - updated_at examples: - default: &489 + default: &479 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -53069,9 +53284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *330 - - *331 - - *371 + - *320 + - *321 + - *361 requestBody: required: false content: @@ -53092,7 +53307,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -53115,9 +53330,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 + - *320 + - *321 + - *361 requestBody: required: false content: @@ -53138,7 +53353,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -53170,9 +53385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *330 - - *331 - - *371 + - *320 + - *321 + - *361 responses: '200': description: Response @@ -53309,8 +53524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -53328,11 +53543,11 @@ paths: type: integer secrets: type: array - items: *378 + items: *368 examples: - default: *379 + default: *369 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53355,16 +53570,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *380 + schema: *370 examples: - default: *381 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53386,17 +53601,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *320 + - *321 + - *144 responses: '200': description: Response content: application/json: - schema: *378 + schema: *368 examples: - default: &506 + default: &496 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53422,9 +53637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *320 + - *321 + - *144 requestBody: required: true content: @@ -53455,7 +53670,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -53481,9 +53696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *320 + - *321 + - *144 responses: '204': description: Response @@ -53508,9 +53723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *330 - - *331 - - *349 + - *320 + - *321 + - *339 - *19 responses: '200': @@ -53527,11 +53742,11 @@ paths: type: integer variables: type: array - items: *382 + items: *372 examples: - default: *383 + default: *373 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53552,8 +53767,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -53580,7 +53795,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -53605,17 +53820,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *330 - - *331 - - *148 + - *320 + - *321 + - *147 responses: '200': description: Response content: application/json: - schema: *382 + schema: *372 examples: - default: &507 + default: &497 value: name: USERNAME value: octocat @@ -53641,9 +53856,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *330 - - *331 - - *148 + - *320 + - *321 + - *147 requestBody: required: true content: @@ -53685,9 +53900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *330 - - *331 - - *148 + - *320 + - *321 + - *147 responses: '204': description: Response @@ -53712,8 +53927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -53731,7 +53946,7 @@ paths: type: integer workflows: type: array - items: &384 + items: &374 title: Workflow description: A GitHub Actions workflow type: object @@ -53815,7 +54030,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 +54053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *330 - - *331 - - &385 + - *320 + - *321 + - &375 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53855,7 +54070,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *374 examples: default: value: @@ -53888,9 +54103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *330 - - *331 - - *385 + - *320 + - *321 + - *375 responses: '204': description: Response @@ -53915,9 +54130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *330 - - *331 - - *385 + - *320 + - *321 + - *375 responses: '204': description: Response @@ -53968,9 +54183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *330 - - *331 - - *385 + - *320 + - *321 + - *375 responses: '204': description: Response @@ -53997,19 +54212,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 + - *320 + - *321 + - *375 + - *376 + - *377 + - *378 + - *379 - *17 - *19 - - *390 - - *369 - - *391 - - *392 + - *380 + - *359 + - *381 + - *382 responses: '200': description: Response @@ -54025,11 +54240,11 @@ paths: type: integer workflow_runs: type: array - items: *370 + items: *360 examples: - default: *393 + default: *383 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54059,9 +54274,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *330 - - *331 - - *385 + - *320 + - *321 + - *375 responses: '200': description: Response @@ -54122,8 +54337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *330 - - *331 + - *320 + - *321 - *48 - *17 - *40 @@ -54268,7 +54483,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '422': *7 x-github: githubCloudOnly: false @@ -54287,8 +54502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -54300,9 +54515,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -54325,8 +54540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *330 - - *331 + - *320 + - *321 - name: assignee in: path required: true @@ -54362,8 +54577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -54475,8 +54690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *40 - *41 @@ -54532,7 +54747,7 @@ paths: initiator: type: string examples: - default: *394 + default: *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54552,8 +54767,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -54561,7 +54776,7 @@ paths: application/json: schema: type: array - items: &395 + items: &385 title: Autolink reference description: An autolink reference. type: object @@ -54615,8 +54830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -54655,9 +54870,9 @@ paths: description: response content: application/json: - schema: *395 + schema: *385 examples: - default: &396 + default: &386 value: id: 1 key_prefix: TICKET- @@ -54688,9 +54903,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 + - *320 + - *321 + - &387 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54702,9 +54917,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *385 examples: - default: *396 + default: *386 '404': *6 x-github: githubCloudOnly: false @@ -54724,9 +54939,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 + - *320 + - *321 + - *387 responses: '204': description: Response @@ -54750,8 +54965,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 + - *320 + - *321 responses: '200': description: Response if Dependabot is enabled @@ -54799,8 +55014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -54821,8 +55036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -54842,8 +55057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *330 - - *331 + - *320 + - *321 - 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 +55096,7 @@ paths: - url protected: type: boolean - protection: &399 + protection: &389 title: Branch Protection description: Branch Protection type: object @@ -54923,7 +55138,7 @@ paths: required: - contexts - checks - enforce_admins: &402 + enforce_admins: &392 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54938,7 +55153,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &404 + required_pull_request_reviews: &394 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -54959,7 +55174,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *169 + items: *172 apps: description: The list of apps with review dismissal access. @@ -54988,7 +55203,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *169 + items: *172 apps: description: The list of apps allowed to bypass pull request requirements. @@ -55014,7 +55229,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &401 + restrictions: &391 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55077,7 +55292,7 @@ paths: type: string teams: type: array - items: *169 + items: *172 apps: type: array items: @@ -55273,7 +55488,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 +55506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *330 - - *331 - - &400 + - *320 + - *321 + - &390 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 +55522,14 @@ paths: description: Response content: application/json: - schema: &410 + schema: &400 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &462 + commit: &452 title: Commit description: Commit type: object @@ -55348,7 +55563,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &398 + properties: &388 name: type: string example: '"Chris Wanstrath"' @@ -55363,7 +55578,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *388 nullable: true message: type: string @@ -55384,7 +55599,7 @@ paths: required: - sha - url - verification: &513 + verification: &503 title: Verification type: object properties: @@ -55418,12 +55633,12 @@ paths: nullable: true oneOf: - *4 - - *146 + - *145 committer: nullable: true oneOf: - *4 - - *146 + - *145 parents: type: array items: @@ -55454,7 +55669,7 @@ paths: type: integer files: type: array - items: &475 + items: &465 title: Diff Entry description: Diff Entry type: object @@ -55538,7 +55753,7 @@ paths: - self protected: type: boolean - protection: *399 + protection: *389 protection_url: type: string format: uri @@ -55645,7 +55860,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *339 + '301': *329 '404': *6 x-github: githubCloudOnly: false @@ -55667,15 +55882,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '200': description: Response content: application/json: - schema: *399 + schema: *389 examples: default: value: @@ -55869,9 +56084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: true content: @@ -56126,7 +56341,7 @@ paths: url: type: string format: uri - required_status_checks: &407 + required_status_checks: &397 title: Status Check Policy description: Status Check Policy type: object @@ -56202,7 +56417,7 @@ paths: items: *4 teams: type: array - items: *169 + items: *172 apps: type: array items: *5 @@ -56220,7 +56435,7 @@ paths: items: *4 teams: type: array - items: *169 + items: *172 apps: type: array items: *5 @@ -56278,7 +56493,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *401 + restrictions: *391 required_conversation_resolution: type: object properties: @@ -56390,9 +56605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '204': description: Response @@ -56417,17 +56632,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '200': description: Response content: application/json: - schema: *402 + schema: *392 examples: - default: &403 + default: &393 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56449,17 +56664,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '200': description: Response content: application/json: - schema: *402 + schema: *392 examples: - default: *403 + default: *393 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56478,9 +56693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '204': description: Response @@ -56505,17 +56720,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '200': description: Response content: application/json: - schema: *404 + schema: *394 examples: - default: &405 + default: &395 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56611,9 +56826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: false content: @@ -56711,9 +56926,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *394 examples: - default: *405 + default: *395 '422': *15 x-github: githubCloudOnly: false @@ -56734,9 +56949,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '204': description: Response @@ -56763,17 +56978,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '200': description: Response content: application/json: - schema: *402 + schema: *392 examples: - default: &406 + default: &396 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56796,17 +57011,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '200': description: Response content: application/json: - schema: *402 + schema: *392 examples: - default: *406 + default: *396 '404': *6 x-github: githubCloudOnly: false @@ -56826,9 +57041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '204': description: Response @@ -56853,17 +57068,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '200': description: Response content: application/json: - schema: *407 + schema: *397 examples: - default: &408 + default: &398 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56889,9 +57104,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: false content: @@ -56943,9 +57158,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *397 examples: - default: *408 + default: *398 '404': *6 '422': *15 x-github: @@ -56967,9 +57182,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '204': description: Response @@ -56993,9 +57208,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '200': description: Response @@ -57029,9 +57244,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: false content: @@ -57098,9 +57313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: false content: @@ -57164,9 +57379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: content: application/json: @@ -57232,15 +57447,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '200': description: Response content: application/json: - schema: *401 + schema: *391 examples: default: value: @@ -57331,9 +57546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '204': description: Response @@ -57356,9 +57571,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 + - *320 + - *321 + - *390 responses: '200': description: Response @@ -57368,7 +57583,7 @@ paths: type: array items: *5 examples: - default: &409 + default: &399 value: - id: 1 slug: octoapp @@ -57425,9 +57640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: true content: @@ -57461,7 +57676,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *399 '422': *15 x-github: githubCloudOnly: false @@ -57482,9 +57697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: true content: @@ -57518,7 +57733,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *399 '422': *15 x-github: githubCloudOnly: false @@ -57539,9 +57754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: true content: @@ -57575,7 +57790,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *399 '422': *15 x-github: githubCloudOnly: false @@ -57597,9 +57812,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 + - *320 + - *321 + - *390 responses: '200': description: Response @@ -57607,7 +57822,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: *227 '404': *6 @@ -57629,9 +57844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: false content: @@ -57667,7 +57882,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: *227 '422': *15 @@ -57690,9 +57905,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: false content: @@ -57728,7 +57943,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: *227 '422': *15 @@ -57751,9 +57966,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: content: application/json: @@ -57788,7 +58003,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: *227 '422': *15 @@ -57812,9 +58027,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 + - *320 + - *321 + - *390 responses: '200': description: Response @@ -57824,7 +58039,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '404': *6 x-github: githubCloudOnly: false @@ -57848,9 +58063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: true content: @@ -57883,7 +58098,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '422': *15 x-github: githubCloudOnly: false @@ -57908,9 +58123,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: true content: @@ -57943,7 +58158,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '422': *15 x-github: githubCloudOnly: false @@ -57968,9 +58183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: true content: @@ -58003,7 +58218,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '422': *15 x-github: githubCloudOnly: false @@ -58030,9 +58245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: true content: @@ -58054,7 +58269,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *400 examples: default: value: @@ -58170,8 +58385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -58450,7 +58665,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &401 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58561,16 +58776,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *76 - deployment: &713 + items: *75 + deployment: &710 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58637,8 +58852,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 required: - id - node_id @@ -58850,9 +59065,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *330 - - *331 - - &412 + - *320 + - *321 + - &402 name: check_run_id description: The unique identifier of the check run. in: path @@ -58864,9 +59079,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *401 examples: - default: &413 + default: &403 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58966,9 +59181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *330 - - *331 - - *412 + - *320 + - *321 + - *402 requestBody: required: true content: @@ -59208,9 +59423,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *401 examples: - default: *413 + default: *403 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59230,9 +59445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *330 - - *331 - - *412 + - *320 + - *321 + - *402 - *17 - *19 responses: @@ -59307,7 +59522,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 +59542,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *330 - - *331 - - *412 + - *320 + - *321 + - *402 responses: '201': description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -59373,8 +59588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -59396,7 +59611,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &416 + schema: &406 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59460,7 +59675,7 @@ paths: nullable: true pull_requests: type: array - items: *76 + items: *75 nullable: true app: title: GitHub app @@ -59471,9 +59686,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - repository: *137 + properties: *67 + required: *68 + repository: *136 created_at: type: string format: date-time @@ -59482,12 +59697,12 @@ paths: type: string format: date-time nullable: true - head_commit: &739 + head_commit: &736 title: Simple Commit description: A commit. type: object - properties: *414 - required: *415 + properties: *404 + required: *405 latest_check_runs_count: type: integer check_runs_url: @@ -59515,7 +59730,7 @@ paths: - check_runs_url - pull_requests examples: - default: &417 + default: &407 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59806,9 +60021,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *416 + schema: *406 examples: - default: *417 + default: *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59827,8 +60042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -59889,7 +60104,7 @@ paths: required: - app_id - setting - repository: *137 + repository: *136 examples: default: value: @@ -60137,9 +60352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *330 - - *331 - - &418 + - *320 + - *321 + - &408 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60151,9 +60366,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *406 examples: - default: *417 + default: *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60176,17 +60391,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 + - *320 + - *321 + - *408 + - &458 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &469 + - &459 name: status description: Returns check runs with the specified `status`. in: query @@ -60225,9 +60440,9 @@ paths: type: integer check_runs: type: array - items: *411 + items: *401 examples: - default: &470 + default: &460 value: total_count: 1 check_runs: @@ -60309,7 +60524,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 +60544,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *330 - - *331 - - *418 + - *320 + - *321 + - *408 responses: '201': description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -60364,21 +60579,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 + - *320 + - *321 + - *409 + - *410 - *19 - *17 - - &437 + - &427 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: *411 + - &428 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60403,13 +60618,13 @@ paths: be returned. in: query required: false - schema: *422 + schema: *412 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *423 + schema: *413 responses: '200': description: Response @@ -60420,14 +60635,14 @@ paths: items: type: object properties: - number: *54 - created_at: *55 - updated_at: *153 - url: *56 - html_url: *57 - instances_url: *424 - state: *158 - fixed_at: *154 + number: *152 + created_at: *153 + updated_at: *154 + url: *155 + html_url: *156 + instances_url: *414 + state: *161 + fixed_at: *157 dismissed_by: title: Simple User description: A GitHub user. @@ -60435,12 +60650,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *155 - dismissed_reason: *425 - dismissed_comment: *426 - rule: *427 - tool: *428 - most_recent_instance: *429 + dismissed_at: *158 + dismissed_reason: *415 + dismissed_comment: *416 + rule: *417 + tool: *418 + most_recent_instance: *419 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60566,14 +60781,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &430 + '403': &420 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60593,9 +60808,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 + - *320 + - *321 + - &421 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60603,23 +60818,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *54 + schema: *152 responses: '200': description: Response content: application/json: - schema: &432 + schema: &422 type: object properties: - number: *54 - created_at: *55 - updated_at: *153 - url: *56 - html_url: *57 - instances_url: *424 - state: *158 - fixed_at: *154 + number: *152 + created_at: *153 + updated_at: *154 + url: *155 + html_url: *156 + instances_url: *414 + state: *161 + fixed_at: *157 dismissed_by: title: Simple User description: A GitHub user. @@ -60627,9 +60842,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *155 - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_at: *158 + dismissed_reason: *415 + dismissed_comment: *416 rule: type: object properties: @@ -60683,8 +60898,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: *418 + most_recent_instance: *419 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60783,9 +60998,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *430 + '403': *420 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60803,9 +61018,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 + - *320 + - *321 + - *421 requestBody: required: true content: @@ -60820,8 +61035,8 @@ paths: enum: - open - dismissed - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_reason: *415 + dismissed_comment: *416 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60840,7 +61055,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *422 examples: default: value: @@ -60916,14 +61131,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &436 + '403': &426 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60943,15 +61158,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 + - *320 + - *321 + - *421 responses: '200': description: Response content: application/json: - schema: &433 + schema: &423 type: object properties: status: @@ -60977,13 +61192,13 @@ paths: - description - started_at examples: - default: &434 + default: &424 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &435 + '400': &425 description: Bad Request content: application/json: @@ -60994,9 +61209,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': *420 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61019,29 +61234,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 + - *320 + - *321 + - *421 responses: '200': description: OK content: application/json: - schema: *433 + schema: *423 examples: - default: *434 + default: *424 '202': description: Accepted content: application/json: - schema: *433 + schema: *423 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *435 + '400': *425 '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 +61266,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61073,9 +61288,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 + - *320 + - *321 + - *421 requestBody: required: false content: @@ -61120,12 +61335,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *435 - '403': *436 + '400': *425 + '403': *426 '404': *6 '422': description: Unprocessable Entity - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61145,13 +61360,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 + - *320 + - *321 + - *421 - *19 - *17 - - *437 - - *438 + - *427 + - *428 responses: '200': description: Response @@ -61159,7 +61374,7 @@ paths: application/json: schema: type: array - items: *429 + items: *419 examples: default: value: @@ -61198,9 +61413,9 @@ paths: end_column: 50 classifications: - source - '403': *430 + '403': *420 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61232,25 +61447,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 + - *320 + - *321 + - *409 + - *410 - *19 - *17 - - *438 + - *428 - 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: *411 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &441 + schema: &431 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -61271,23 +61486,23 @@ paths: application/json: schema: type: array - items: &442 + items: &432 type: object properties: - ref: *421 - commit_sha: &450 + ref: *411 + commit_sha: &440 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: *429 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *440 + category: *430 error: type: string example: error reading field xyz @@ -61311,8 +61526,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *441 - tool: *428 + sarif_id: *431 + tool: *418 deletable: type: boolean warning: @@ -61373,9 +61588,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *430 + '403': *420 '404': *6 - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61409,8 +61624,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 + - *320 + - *321 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61423,7 +61638,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *432 examples: response: summary: application/json response @@ -61477,14 +61692,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *430 + '403': *420 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61564,8 +61779,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 + - *320 + - *321 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61618,9 +61833,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': *426 '404': *6 - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61640,8 +61855,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 + - *320 + - *321 responses: '200': description: Response @@ -61649,7 +61864,7 @@ paths: application/json: schema: type: array - items: &443 + items: &433 title: CodeQL Database description: A CodeQL database. type: object @@ -61760,9 +61975,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': *420 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61789,8 +62004,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 + - *320 + - *321 - name: language in: path description: The language of the CodeQL database. @@ -61802,7 +62017,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *433 examples: default: value: @@ -61834,11 +62049,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': &467 description: Found - '403': *430 + '403': *420 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61858,8 +62073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *330 - - *331 + - *320 + - *321 - name: language in: path description: The language of the CodeQL database. @@ -61869,9 +62084,9 @@ paths: responses: '204': description: Response - '403': *436 + '403': *426 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61897,8 +62112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -61907,7 +62122,7 @@ paths: type: object additionalProperties: false properties: - language: &444 + language: &434 type: string description: The language targeted by the CodeQL query enum: @@ -61986,7 +62201,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &448 + schema: &438 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61996,7 +62211,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *444 + query_language: *434 query_pack_url: type: string description: The download url for the query pack. @@ -62043,7 +62258,7 @@ paths: items: type: object properties: - repository: &445 + repository: &435 title: Repository Identifier description: Repository Identifier type: object @@ -62079,7 +62294,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &449 + analysis_status: &439 type: string description: The new status of the CodeQL variant analysis repository task. @@ -62111,7 +62326,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: &436 type: object properties: repository_count: @@ -62125,7 +62340,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: *435 required: - repository_count - repositories @@ -62147,8 +62362,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *446 - over_limit_repos: *446 + no_codeql_db_repos: *436 + over_limit_repos: *436 required: - access_mismatch_repos - not_found_repos @@ -62164,7 +62379,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &447 + value: &437 summary: Default response value: id: 1 @@ -62316,17 +62531,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *447 + value: *437 repository_lists: summary: Response for a successful variant analysis submission - value: *447 + value: *437 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62347,8 +62562,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 + - *320 + - *321 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62360,11 +62575,11 @@ paths: description: Response content: application/json: - schema: *448 + schema: *438 examples: - default: *447 + default: *437 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62385,7 +62600,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 + - *320 - name: repo in: path description: The name of the controller repository. @@ -62420,7 +62635,7 @@ paths: type: object properties: repository: *53 - analysis_status: *449 + analysis_status: *439 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62524,7 +62739,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62545,8 +62760,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 + - *320 + - *321 responses: '200': description: Response @@ -62631,9 +62846,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *430 + '403': *420 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62652,8 +62867,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 + - *320 + - *321 requestBody: required: true content: @@ -62720,7 +62935,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -62745,7 +62960,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *436 + '403': *426 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62759,7 +62974,7 @@ paths: content: application/json: schema: *3 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62816,8 +63031,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 + - *320 + - *321 requestBody: required: true content: @@ -62825,7 +63040,7 @@ paths: schema: type: object properties: - commit_sha: *450 + commit_sha: *440 ref: type: string description: |- @@ -62883,7 +63098,7 @@ paths: schema: type: object properties: - id: *441 + id: *431 url: type: string description: The REST API URL for checking the status of the upload. @@ -62897,11 +63112,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': *426 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62920,8 +63135,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 + - *320 + - *321 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62967,10 +63182,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': *420 '404': description: Not Found if the sarif id does not match any upload - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62992,8 +63207,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 + - *320 + - *321 responses: '200': description: Response @@ -63049,7 +63264,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *163 + '204': *166 '304': *37 '403': *29 '404': *6 @@ -63074,8 +63289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *330 - - *331 + - *320 + - *321 - 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 +63410,8 @@ paths: parameters: - *17 - *19 - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -63212,7 +63427,7 @@ paths: type: integer codespaces: type: array - items: *214 + items: *215 examples: default: value: @@ -63488,7 +63703,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -63510,8 +63725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -63574,22 +63789,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *215 examples: - default: *451 + default: *441 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *215 examples: - default: *451 + default: *441 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63613,8 +63828,8 @@ paths: parameters: - *17 - *19 - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -63654,7 +63869,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *106 + '500': *104 '400': *14 '401': *25 '403': *29 @@ -63678,8 +63893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63714,14 +63929,14 @@ paths: type: integer machines: type: array - items: &661 + items: &659 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *442 + required: *443 examples: - default: &662 + default: &660 value: total_count: 2 machines: @@ -63738,7 +63953,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -63761,8 +63976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *330 - - *331 + - *320 + - *321 - 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 +64061,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 + - *320 + - *321 - 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 +64107,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63913,8 +64128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -63932,7 +64147,7 @@ paths: type: integer secrets: type: array - items: &457 + items: &447 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63952,9 +64167,9 @@ paths: - created_at - updated_at examples: - default: *454 + default: *444 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63975,16 +64190,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *455 + schema: *445 examples: - default: *456 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64004,17 +64219,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *320 + - *321 + - *144 responses: '200': description: Response content: application/json: - schema: *457 + schema: *447 examples: - default: *458 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64034,9 +64249,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 + - *320 + - *321 + - *144 requestBody: required: true content: @@ -64064,7 +64279,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -64088,9 +64303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *320 + - *321 + - *144 responses: '204': description: Response @@ -64118,8 +64333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *330 - - *331 + - *320 + - *321 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -64161,7 +64376,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &459 + properties: &449 login: type: string example: octocat @@ -64254,7 +64469,7 @@ paths: user_view_type: type: string example: public - required: &460 + required: &450 - avatar_url - events_url - followers_url @@ -64303,7 +64518,7 @@ paths: admin: false role_name: write headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -64328,9 +64543,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 + - *320 + - *321 + - *59 responses: '204': description: Response if user is a collaborator @@ -64376,9 +64591,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *330 - - *331 - - *63 + - *320 + - *321 + - *59 requestBody: required: false content: @@ -64404,7 +64619,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &526 + schema: &516 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64415,7 +64630,7 @@ paths: example: 42 type: integer format: int64 - repository: *137 + repository: *136 invitee: title: Simple User description: A GitHub user. @@ -64593,7 +64808,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *111 + schema: *110 '403': *29 x-github: triggersNotification: true @@ -64633,9 +64848,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *330 - - *331 - - *63 + - *320 + - *321 + - *59 responses: '204': description: No Content when collaborator was removed from the repository. @@ -64666,9 +64881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *330 - - *331 - - *63 + - *320 + - *321 + - *59 responses: '200': description: if user has admin permissions @@ -64688,8 +64903,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *459 - required: *460 + properties: *449 + required: *450 nullable: true required: - permission @@ -64744,8 +64959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -64755,7 +64970,7 @@ paths: application/json: schema: type: array - items: &461 + items: &451 title: Commit Comment description: Commit Comment type: object @@ -64796,8 +65011,8 @@ paths: updated_at: type: string format: date-time - author_association: *72 - reactions: *73 + author_association: *71 + reactions: *72 required: - url - html_url @@ -64813,7 +65028,7 @@ paths: - created_at - updated_at examples: - default: &464 + default: &454 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 +65062,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 +65087,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *320 + - *321 + - *86 responses: '200': description: Response content: application/json: - schema: *461 + schema: *451 examples: - default: &465 + default: &455 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 +65154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *320 + - *321 + - *86 requestBody: required: true content: @@ -64963,7 +65178,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *451 examples: default: value: @@ -65014,9 +65229,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *320 + - *321 + - *86 responses: '204': description: Response @@ -65037,9 +65252,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *320 + - *321 + - *86 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -65065,11 +65280,11 @@ paths: application/json: schema: type: array - items: *323 + items: *313 examples: - default: *325 + default: *315 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -65088,9 +65303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *320 + - *321 + - *86 requestBody: required: true content: @@ -65122,16 +65337,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '201': description: Reaction created content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '422': *15 x-github: githubCloudOnly: false @@ -65153,10 +65368,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *330 - - *331 - - *88 - - *326 + - *320 + - *321 + - *86 + - *316 responses: '204': description: Response @@ -65205,8 +65420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *330 - - *331 + - *320 + - *321 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65262,9 +65477,9 @@ paths: application/json: schema: type: array - items: *462 + items: *452 examples: - default: &575 + default: &565 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65334,8 +65549,8 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *58 - '500': *106 + Link: *54 + '500': *104 '400': *14 '404': *6 '409': *47 @@ -65358,9 +65573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *330 - - *331 - - &463 + - *320 + - *321 + - &453 name: commit_sha description: The SHA of the commit. in: path @@ -65432,9 +65647,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *330 - - *331 - - *463 + - *320 + - *321 + - *453 - *17 - *19 responses: @@ -65444,11 +65659,11 @@ paths: application/json: schema: type: array - items: *461 + items: *451 examples: - default: *464 + default: *454 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65474,9 +65689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *330 - - *331 - - *463 + - *320 + - *321 + - *453 requestBody: required: true content: @@ -65511,9 +65726,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *451 examples: - default: *465 + default: *455 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65541,9 +65756,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 + - *320 + - *321 + - *453 - *17 - *19 responses: @@ -65553,9 +65768,9 @@ paths: application/json: schema: type: array - items: *466 + items: *456 examples: - default: &567 + default: &557 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66034,7 +66249,7 @@ paths: auto_merge: draft: false headers: - Link: *58 + Link: *54 '409': *47 x-github: githubCloudOnly: false @@ -66092,11 +66307,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *330 - - *331 + - *320 + - *321 - *19 - *17 - - &467 + - &457 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 +66326,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *452 examples: - default: &554 + default: &544 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66199,8 +66414,8 @@ paths: ..... '422': *15 '404': *6 - '500': *106 - '503': *77 + '500': *104 + '503': *105 '409': *47 x-github: githubCloudOnly: false @@ -66226,11 +66441,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 + - *320 + - *321 + - *457 + - *458 + - *459 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66264,11 +66479,11 @@ paths: type: integer check_runs: type: array - items: *411 + items: *401 examples: - default: *470 + default: *460 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66291,9 +66506,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 + - *320 + - *321 + - *457 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -66301,7 +66516,7 @@ paths: schema: type: integer example: 1 - - *468 + - *458 - *17 - *19 responses: @@ -66319,7 +66534,7 @@ paths: type: integer check_suites: type: array - items: *416 + items: *406 examples: default: value: @@ -66494,7 +66709,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 +66734,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 + - *320 + - *321 + - *457 - *17 - *19 responses: @@ -66588,7 +66803,7 @@ paths: type: string total_count: type: integer - repository: *137 + repository: *136 commit_url: type: string format: uri @@ -66719,9 +66934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *330 - - *331 - - *467 + - *320 + - *321 + - *457 - *17 - *19 responses: @@ -66731,7 +66946,7 @@ paths: application/json: schema: type: array - items: &632 + items: &630 title: Status description: The status of a commit. type: object @@ -66811,8 +67026,8 @@ paths: type: User site_admin: false headers: - Link: *58 - '301': *339 + Link: *54 + '301': *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66840,8 +67055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -66870,20 +67085,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *471 - required: *472 + properties: *461 + required: *462 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &473 + properties: &463 url: type: string format: uri html_url: type: string format: uri - required: &474 + required: &464 - url - html_url nullable: true @@ -66891,32 +67106,32 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true contributing: title: Community Health File type: object - properties: *473 - required: *474 + properties: *463 + required: *464 nullable: true readme: title: Community Health File type: object - properties: *473 - required: *474 + properties: *463 + required: *464 nullable: true issue_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *463 + required: *464 nullable: true pull_request_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *463 + required: *464 nullable: true required: - code_of_conduct @@ -67043,8 +67258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *330 - - *331 + - *320 + - *321 - *19 - *17 - name: basehead @@ -67087,8 +67302,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: *452 + merge_base_commit: *452 status: type: string enum: @@ -67108,10 +67323,10 @@ paths: example: 6 commits: type: array - items: *462 + items: *452 files: type: array - items: *475 + items: *465 required: - url - html_url @@ -67354,8 +67569,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67397,8 +67612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *330 - - *331 + - *320 + - *321 - name: path description: path parameter in: path @@ -67541,7 +67756,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &476 + response-if-content-is-a-file: &466 summary: Response if content is a file value: type: file @@ -67673,7 +67888,7 @@ paths: - size - type - url - - &580 + - &570 title: Content File description: Content File type: object @@ -67874,7 +68089,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *476 + response-if-content-is-a-file: *466 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -67943,7 +68158,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *477 + '302': *467 '304': *37 x-github: githubCloudOnly: false @@ -67966,8 +68181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *330 - - *331 + - *320 + - *321 - name: path description: path parameter in: path @@ -68060,7 +68275,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &468 title: File Commit description: File Commit type: object @@ -68212,7 +68427,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *468 examples: example-for-creating-a-file: value: @@ -68266,7 +68481,7 @@ paths: schema: oneOf: - *3 - - &508 + - &498 description: Repository rule violation was detected type: object properties: @@ -68287,7 +68502,7 @@ paths: items: type: object properties: - placeholder_id: &624 + placeholder_id: &622 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68319,8 +68534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *330 - - *331 + - *320 + - *321 - name: path description: path parameter in: path @@ -68381,7 +68596,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *468 examples: default: value: @@ -68416,7 +68631,7 @@ paths: '422': *15 '404': *6 '409': *47 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68436,8 +68651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *330 - - *331 + - *320 + - *321 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68537,7 +68752,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *58 + Link: *54 '204': description: Response if repository is empty '403': *29 @@ -68560,31 +68775,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *330 - - *331 - - *170 - - *171 - - *172 + - *320 + - *321 - *173 + - *174 + - *175 + - *176 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *174 - - *479 - - *175 - - *176 + - *177 + - *469 + - *178 + - *179 - *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 +68802,6 @@ paths: default: 30 - *40 - *41 - - *177 - - *178 responses: '200': description: Response @@ -68604,11 +68809,11 @@ paths: application/json: schema: type: array - items: &482 + items: &472 type: object description: A Dependabot alert. properties: - number: *54 + number: *152 state: type: string description: The state of the Dependabot alert. @@ -68650,13 +68855,13 @@ paths: - unknown - direct - transitive - security_advisory: *480 + security_advisory: *470 security_vulnerability: *52 - url: *56 - html_url: *57 - created_at: *55 - updated_at: *153 - dismissed_at: *155 + url: *155 + html_url: *156 + created_at: *153 + updated_at: *154 + dismissed_at: *158 dismissed_by: title: Simple User description: A GitHub user. @@ -68680,8 +68885,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *154 - auto_dismissed_at: *481 + fixed_at: *157 + auto_dismissed_at: *471 required: - number - state @@ -68911,9 +69116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *330 - - *331 - - &483 + - *320 + - *321 + - &473 name: alert_number in: path description: |- @@ -68922,13 +69127,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *54 + schema: *152 responses: '200': description: Response content: application/json: - schema: *482 + schema: *472 examples: default: value: @@ -69041,9 +69246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *330 - - *331 - - *483 + - *320 + - *321 + - *473 requestBody: required: true content: @@ -69088,7 +69293,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *472 examples: default: value: @@ -69217,8 +69422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -69236,7 +69441,7 @@ paths: type: integer secrets: type: array - items: &486 + items: &476 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -69267,7 +69472,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 +69494,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *484 + schema: *474 examples: - default: *485 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69318,15 +69523,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *320 + - *321 + - *144 responses: '200': description: Response content: application/json: - schema: *486 + schema: *476 examples: default: value: @@ -69352,9 +69557,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *320 + - *321 + - *144 requestBody: required: true content: @@ -69382,7 +69587,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -69406,9 +69611,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *320 + - *321 + - *144 responses: '204': description: Response @@ -69430,8 +69635,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 + - *320 + - *321 - 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 +69772,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 +69796,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 + - *320 + - *321 responses: '200': description: Response @@ -69808,7 +70013,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *58 + Link: *54 '404': *6 '403': *29 x-github: @@ -69831,8 +70036,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 + - *320 + - *321 requestBody: required: true content: @@ -69907,7 +70112,7 @@ paths: - version - url additionalProperties: false - metadata: &487 + metadata: &477 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -69940,7 +70145,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *487 + metadata: *477 resolved: type: object description: A collection of resolved package dependencies. @@ -69953,7 +70158,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *487 + metadata: *477 relationship: type: string description: A notation of whether a dependency is requested @@ -70082,8 +70287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *330 - - *331 + - *320 + - *321 - name: sha description: The SHA recorded at creation time. in: query @@ -70123,11 +70328,11 @@ paths: application/json: schema: type: array - items: *488 + items: *478 examples: - default: *489 + default: *479 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70191,8 +70396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -70273,7 +70478,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *478 examples: simple-example: summary: Simple example @@ -70346,9 +70551,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *330 - - *331 - - &490 + - *320 + - *321 + - &480 name: deployment_id description: deployment_id parameter in: path @@ -70360,7 +70565,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *478 examples: default: value: @@ -70425,9 +70630,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *330 - - *331 - - *490 + - *320 + - *321 + - *480 responses: '204': description: Response @@ -70449,9 +70654,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *330 - - *331 - - *490 + - *320 + - *321 + - *480 - *17 - *19 responses: @@ -70461,7 +70666,7 @@ paths: application/json: schema: type: array - items: &491 + items: &481 title: Deployment Status description: The status of a deployment. type: object @@ -70552,8 +70757,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 required: - id - node_id @@ -70602,7 +70807,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 +70827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *330 - - *331 - - *490 + - *320 + - *321 + - *480 requestBody: required: true content: @@ -70699,9 +70904,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *481 examples: - default: &492 + default: &482 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70757,9 +70962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *330 - - *331 - - *490 + - *320 + - *321 + - *480 - name: status_id in: path required: true @@ -70770,9 +70975,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *481 examples: - default: *492 + default: *482 '404': *6 x-github: githubCloudOnly: false @@ -70797,8 +71002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -70855,8 +71060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -70873,7 +71078,7 @@ paths: type: integer environments: type: array - items: &494 + items: &484 title: Environment description: Details of a deployment environment type: object @@ -70925,7 +71130,7 @@ paths: type: type: string example: wait_timer - wait_timer: &496 + wait_timer: &486 type: integer example: 30 description: The amount of time to delay a job after @@ -70962,11 +71167,11 @@ paths: items: type: object properties: - type: *493 + type: *483 reviewer: anyOf: - *4 - - *169 + - *172 required: - id - node_id @@ -70986,7 +71191,7 @@ paths: - id - node_id - type - deployment_branch_policy: &497 + deployment_branch_policy: &487 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -71102,9 +71307,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *330 - - *331 - - &495 + - *320 + - *321 + - &485 name: environment_name in: path required: true @@ -71117,9 +71322,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *484 examples: - default: &498 + default: &488 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -71203,9 +71408,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *330 - - *331 - - *495 + - *320 + - *321 + - *485 requestBody: required: false content: @@ -71214,7 +71419,7 @@ paths: type: object nullable: true properties: - wait_timer: *496 + wait_timer: *486 prevent_self_review: type: boolean example: false @@ -71231,13 +71436,13 @@ paths: items: type: object properties: - type: *493 + type: *483 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: *487 additionalProperties: false examples: default: @@ -71257,9 +71462,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *484 examples: - default: *498 + default: *488 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -71283,9 +71488,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *330 - - *331 - - *495 + - *320 + - *321 + - *485 responses: '204': description: Default response @@ -71310,9 +71515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *330 - - *331 - - *495 + - *320 + - *321 + - *485 - *17 - *19 responses: @@ -71330,7 +71535,7 @@ paths: example: 2 branch_policies: type: array - items: &499 + items: &489 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71387,9 +71592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 + - *320 + - *321 + - *485 requestBody: required: true content: @@ -71435,9 +71640,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *489 examples: - example-wildcard: &500 + example-wildcard: &490 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71479,10 +71684,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 + - *320 + - *321 + - *485 + - &491 name: branch_policy_id in: path required: true @@ -71494,9 +71699,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *489 examples: - default: *500 + default: *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71515,10 +71720,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 + - *320 + - *321 + - *485 + - *491 requestBody: required: true content: @@ -71546,9 +71751,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *489 examples: - default: *500 + default: *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71567,10 +71772,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 + - *320 + - *321 + - *485 + - *491 responses: '204': description: Response @@ -71595,9 +71800,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 + - *485 + - *321 + - *320 responses: '200': description: List of deployment protection rules @@ -71613,7 +71818,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &502 + items: &492 title: Deployment protection rule description: Deployment protection rule type: object @@ -71632,7 +71837,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &503 + app: &493 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71731,9 +71936,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 + - *485 + - *321 + - *320 requestBody: content: application/json: @@ -71754,9 +71959,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *502 + schema: *492 examples: - default: &504 + default: &494 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71791,9 +71996,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 + - *485 + - *321 + - *320 - *19 - *17 responses: @@ -71812,7 +72017,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *503 + items: *493 examples: default: value: @@ -71847,10 +72052,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 + - *320 + - *321 + - *485 + - &495 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71862,9 +72067,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *492 examples: - default: *504 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71885,10 +72090,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: + - *485 + - *321 + - *320 - *495 - - *331 - - *330 - - *505 responses: '204': description: Response @@ -71914,9 +72119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *330 - - *331 - - *495 + - *320 + - *321 + - *485 - *17 - *19 responses: @@ -71934,11 +72139,11 @@ paths: type: integer secrets: type: array - items: *378 + items: *368 examples: - default: *379 + default: *369 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71961,17 +72166,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *330 - - *331 - - *495 + - *320 + - *321 + - *485 responses: '200': description: Response content: application/json: - schema: *380 + schema: *370 examples: - default: *381 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71993,18 +72198,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *330 - - *331 - - *495 - - *145 + - *320 + - *321 + - *485 + - *144 responses: '200': description: Response content: application/json: - schema: *378 + schema: *368 examples: - default: *506 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72026,10 +72231,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 + - *320 + - *321 + - *485 + - *144 requestBody: required: true content: @@ -72060,7 +72265,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -72086,10 +72291,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *330 - - *331 - - *495 - - *145 + - *320 + - *321 + - *485 + - *144 responses: '204': description: Default response @@ -72114,10 +72319,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *330 - - *331 - - *495 - - *349 + - *320 + - *321 + - *485 + - *339 - *19 responses: '200': @@ -72134,11 +72339,11 @@ paths: type: integer variables: type: array - items: *382 + items: *372 examples: - default: *383 + default: *373 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72159,9 +72364,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *330 - - *331 - - *495 + - *320 + - *321 + - *485 requestBody: required: true content: @@ -72188,7 +72393,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -72213,18 +72418,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *330 - - *331 - - *495 - - *148 + - *320 + - *321 + - *485 + - *147 responses: '200': description: Response content: application/json: - schema: *382 + schema: *372 examples: - default: *507 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72245,10 +72450,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *330 - - *331 - - *148 - - *495 + - *320 + - *321 + - *147 + - *485 requestBody: required: true content: @@ -72290,10 +72495,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *330 - - *331 - - *148 - - *495 + - *320 + - *321 + - *147 + - *485 responses: '204': description: Response @@ -72315,8 +72520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -72326,7 +72531,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: 200-response: value: @@ -72384,8 +72589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *330 - - *331 + - *320 + - *321 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72407,7 +72612,7 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: value: @@ -72520,7 +72725,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 +72749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: false content: @@ -72577,9 +72782,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *328 examples: - default: *340 + default: *330 '400': *14 '422': *15 '403': *29 @@ -72600,8 +72805,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -72660,8 +72865,8 @@ paths: application/json: schema: oneOf: - - *111 - - *508 + - *110 + - *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72686,8 +72891,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *330 - - *331 + - *320 + - *321 - name: file_sha in: path required: true @@ -72786,8 +72991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -72896,7 +73101,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &499 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73110,15 +73315,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *330 - - *331 - - *463 + - *320 + - *321 + - *453 responses: '200': description: Response content: application/json: - schema: *509 + schema: *499 examples: default: value: @@ -73174,9 +73379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *330 - - *331 - - &510 + - *320 + - *321 + - &500 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 +73398,7 @@ paths: application/json: schema: type: array - items: &511 + items: &501 title: Git Reference description: Git references within a repository type: object @@ -73246,7 +73451,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 +73473,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *330 - - *331 - - *510 + - *320 + - *321 + - *500 responses: '200': description: Response content: application/json: - schema: *511 + schema: *501 examples: - default: &512 + default: &502 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -73307,8 +73512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -73337,9 +73542,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *501 examples: - default: *512 + default: *502 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73365,9 +73570,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *330 - - *331 - - *510 + - *320 + - *321 + - *500 requestBody: required: true content: @@ -73396,9 +73601,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *501 examples: - default: *512 + default: *502 '422': *15 '409': *47 x-github: @@ -73416,9 +73621,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *330 - - *331 - - *510 + - *320 + - *321 + - *500 responses: '204': description: Response @@ -73473,8 +73678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -73541,7 +73746,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &504 title: Git Tag description: Metadata for a Git tag type: object @@ -73592,7 +73797,7 @@ paths: - sha - type - url - verification: *513 + verification: *503 required: - sha - url @@ -73602,7 +73807,7 @@ paths: - tag - message examples: - default: &515 + default: &505 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73675,8 +73880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *330 - - *331 + - *320 + - *321 - name: tag_sha in: path required: true @@ -73687,9 +73892,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *504 examples: - default: *515 + default: *505 '404': *6 '409': *47 x-github: @@ -73713,8 +73918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -73787,7 +73992,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &506 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -73883,8 +74088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *330 - - *331 + - *320 + - *321 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -73907,7 +74112,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *506 examples: default-response: summary: Default response @@ -73966,8 +74171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -73977,7 +74182,7 @@ paths: application/json: schema: type: array - items: &517 + items: &507 title: Webhook description: Webhooks for repositories. type: object @@ -74031,7 +74236,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &747 + last_response: &744 title: Hook Response type: object properties: @@ -74086,7 +74291,7 @@ paths: status: unused message: headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -74105,8 +74310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: false content: @@ -74158,9 +74363,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *507 examples: - default: &518 + default: &508 value: type: Repository id: 12345678 @@ -74208,17 +74413,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *320 + - *321 + - *187 responses: '200': description: Response content: application/json: - schema: *517 + schema: *507 examples: - default: *518 + default: *508 '404': *6 x-github: githubCloudOnly: false @@ -74238,9 +74443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *320 + - *321 + - *187 requestBody: required: true content: @@ -74285,9 +74490,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *507 examples: - default: *518 + default: *508 '422': *15 '404': *6 x-github: @@ -74308,9 +74513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *320 + - *321 + - *187 responses: '204': description: Response @@ -74334,9 +74539,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 + - *320 + - *321 + - *187 responses: '200': description: Response @@ -74363,9 +74568,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 + - *320 + - *321 + - *187 requestBody: required: false content: @@ -74409,11 +74614,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *330 - - *331 - - *186 - - *17 + - *320 + - *321 - *187 + - *17 + - *188 responses: '200': description: Response @@ -74421,9 +74626,9 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: - default: *189 + default: *190 '400': *14 '422': *15 x-github: @@ -74442,18 +74647,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 + - *320 + - *321 + - *187 - *16 responses: '200': description: Response content: application/json: - schema: *190 + schema: *191 examples: - default: *191 + default: *192 '400': *14 '422': *15 x-github: @@ -74472,9 +74677,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 + - *320 + - *321 + - *187 - *16 responses: '202': *39 @@ -74497,9 +74702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *320 + - *321 + - *187 responses: '204': description: Response @@ -74524,9 +74729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *330 - - *331 - - *186 + - *320 + - *321 + - *187 responses: '204': description: Response @@ -74549,8 +74754,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 + - *320 + - *321 responses: '200': description: Response if immutable releases are enabled @@ -74596,10 +74801,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *330 - - *331 + - *320 + - *321 responses: - '204': *163 + '204': *166 '409': *47 x-github: githubCloudOnly: false @@ -74617,10 +74822,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *330 - - *331 + - *320 + - *321 responses: - '204': *163 + '204': *166 '409': *47 x-github: githubCloudOnly: false @@ -74675,14 +74880,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: &519 + schema: &509 title: Import description: A repository import from an external source. type: object @@ -74781,7 +74986,7 @@ paths: - html_url - authors_url examples: - default: &522 + default: &512 value: vcs: subversion use_lfs: true @@ -74797,7 +75002,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': &510 description: Unavailable due to service under maintenance. content: application/json: @@ -74826,8 +75031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -74875,7 +75080,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *509 examples: default: value: @@ -74900,7 +75105,7 @@ paths: type: string '422': *15 '404': *6 - '503': *520 + '503': *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74928,8 +75133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: false content: @@ -74978,7 +75183,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *509 examples: example-1: summary: Example 1 @@ -75026,7 +75231,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': *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75049,12 +75254,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response - '503': *520 + '503': *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75080,9 +75285,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *330 - - *331 - - &684 + - *320 + - *321 + - &681 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75096,7 +75301,7 @@ paths: application/json: schema: type: array - items: &521 + items: &511 title: Porter Author description: Porter Author type: object @@ -75150,7 +75355,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': *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75175,8 +75380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *330 - - *331 + - *320 + - *321 - name: author_id in: path required: true @@ -75206,7 +75411,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *511 examples: default: value: @@ -75219,7 +75424,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *520 + '503': *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75243,8 +75448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -75285,7 +75490,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *520 + '503': *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75313,8 +75518,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -75341,11 +75546,11 @@ paths: description: Response content: application/json: - schema: *519 + schema: *509 examples: - default: *522 + default: *512 '422': *15 - '503': *520 + '503': *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75368,8 +75573,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 + - *320 + - *321 responses: '200': description: Response @@ -75377,8 +75582,8 @@ paths: application/json: schema: *22 examples: - default: *523 - '301': *339 + default: *513 + '301': *329 '404': *6 x-github: githubCloudOnly: false @@ -75398,8 +75603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -75407,12 +75612,12 @@ paths: application/json: schema: anyOf: - - *204 + - *205 - type: object properties: {} additionalProperties: false examples: - default: &525 + default: &515 value: limit: collaborators_only origin: repository @@ -75437,13 +75642,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: application/json: - schema: *524 + schema: *514 examples: default: summary: Example request body @@ -75455,9 +75660,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: *525 + default: *515 '409': description: Response x-github: @@ -75479,8 +75684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -75503,8 +75708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -75514,9 +75719,9 @@ paths: application/json: schema: type: array - items: *526 + items: *516 examples: - default: &677 + default: &674 value: - id: 1 repository: @@ -75630,7 +75835,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 +75852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *330 - - *331 - - *208 + - *320 + - *321 + - *209 requestBody: required: false content: @@ -75678,7 +75883,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *516 examples: default: value: @@ -75809,9 +76014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *330 - - *331 - - *208 + - *320 + - *321 + - *209 responses: '204': description: Response @@ -75842,8 +76047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *330 - - *331 + - *320 + - *321 - 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 +76096,7 @@ paths: required: false schema: type: string - - *212 + - *213 - name: sort description: What to sort results by. in: query @@ -75904,7 +76109,7 @@ paths: - comments default: created - *48 - - *79 + - *77 - *17 - *19 responses: @@ -75914,9 +76119,9 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: &535 + default: &525 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76063,8 +76268,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *58 - '301': *339 + Link: *54 + '301': *329 '422': *15 '404': *6 x-github: @@ -76093,8 +76298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -76176,9 +76381,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: &532 + default: &522 value: id: 1 node_id: MDU6SXNzdWUx @@ -76332,9 +76537,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *77 + '503': *105 '404': *6 - '410': *336 + '410': *326 x-github: triggersNotification: true githubCloudOnly: false @@ -76362,9 +76567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *330 - - *331 - - *96 + - *320 + - *321 + - *94 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -76374,7 +76579,7 @@ paths: enum: - asc - desc - - *79 + - *77 - *17 - *19 responses: @@ -76384,9 +76589,9 @@ paths: application/json: schema: type: array - items: *527 + items: *517 examples: - default: &534 + default: &524 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76417,7 +76622,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 +76649,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *320 + - *321 + - *86 responses: '200': description: Response content: application/json: - schema: *527 + schema: *517 examples: - default: &528 + default: &518 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76508,9 +76713,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *320 + - *321 + - *86 requestBody: required: true content: @@ -76532,9 +76737,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *517 examples: - default: *528 + default: *518 '422': *15 x-github: githubCloudOnly: false @@ -76552,9 +76757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *320 + - *321 + - *86 responses: '204': description: Response @@ -76574,9 +76779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *320 + - *321 + - *86 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -76602,11 +76807,11 @@ paths: application/json: schema: type: array - items: *323 + items: *313 examples: - default: *325 + default: *315 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -76625,9 +76830,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *320 + - *321 + - *86 requestBody: required: true content: @@ -76659,16 +76864,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '201': description: Reaction created content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '422': *15 x-github: githubCloudOnly: false @@ -76690,10 +76895,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *330 - - *331 - - *88 - - *326 + - *320 + - *321 + - *86 + - *316 responses: '204': description: Response @@ -76713,8 +76918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -76724,7 +76929,7 @@ paths: application/json: schema: type: array - items: &531 + items: &521 title: Issue Event description: Issue Event type: object @@ -76767,8 +76972,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: *519 + required: *520 nullable: true label: title: Issue Event Label @@ -76812,7 +77017,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *169 + requested_team: *172 dismissed_review: title: Issue Event Dismissed Review type: object @@ -76877,7 +77082,7 @@ paths: required: - from - to - author_association: *72 + author_association: *71 lock_reason: type: string nullable: true @@ -76890,8 +77095,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 required: - id - node_id @@ -77057,7 +77262,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -77075,8 +77280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *330 - - *331 + - *320 + - *321 - name: event_id in: path required: true @@ -77087,7 +77292,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *521 examples: default: value: @@ -77280,7 +77485,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *336 + '410': *326 '403': *29 x-github: githubCloudOnly: false @@ -77314,9 +77519,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *330 - - *331 - - &533 + - *320 + - *321 + - &523 name: issue_number description: The number that identifies the issue. in: path @@ -77328,12 +77533,12 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 - '301': *339 + default: *522 + '301': *329 '404': *6 - '410': *336 + '410': *326 '304': *37 x-github: githubCloudOnly: false @@ -77358,9 +77563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: required: false content: @@ -77464,15 +77669,15 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *522 '422': *15 - '503': *77 + '503': *105 '403': *29 - '301': *339 + '301': *329 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77490,9 +77695,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: required: false content: @@ -77518,9 +77723,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77536,9 +77741,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: content: application/json: @@ -77563,9 +77768,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77587,9 +77792,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 + - *320 + - *321 + - *523 - name: assignee in: path required: true @@ -77629,10 +77834,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *330 - - *331 - - *533 - - *79 + - *320 + - *321 + - *523 + - *77 - *17 - *19 responses: @@ -77642,13 +77847,13 @@ paths: application/json: schema: type: array - items: *527 + items: *517 examples: - default: *534 + default: *524 headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77677,9 +77882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: required: true content: @@ -77701,16 +77906,16 @@ paths: description: Response content: application/json: - schema: *527 + schema: *517 examples: - default: *528 + default: *518 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *336 + '410': *326 '422': *15 '404': *6 x-github: @@ -77738,9 +77943,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 + - *320 + - *321 + - *523 - *17 - *19 responses: @@ -77750,14 +77955,14 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: *535 + default: *525 headers: - Link: *58 - '301': *339 + Link: *54 + '301': *329 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77785,9 +77990,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 + - *320 + - *321 + - *523 requestBody: required: true content: @@ -77809,17 +78014,17 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *522 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *339 + '301': *329 '403': *29 - '410': *336 + '410': *326 '422': *15 '404': *6 x-github: @@ -77850,9 +78055,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 + - *320 + - *321 + - *523 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -77864,15 +78069,15 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 - '301': *339 + default: *522 + '301': *329 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *326 x-github: triggersNotification: true githubCloudOnly: false @@ -77898,9 +78103,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 + - *320 + - *321 + - *523 - *17 - *19 responses: @@ -77910,14 +78115,14 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: *535 + default: *525 headers: - Link: *58 - '301': *339 + Link: *54 + '301': *329 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77934,9 +78139,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 - *17 - *19 responses: @@ -77950,7 +78155,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &537 + - &527 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -77981,8 +78186,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 label: type: object properties: @@ -78004,7 +78209,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &528 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -78035,8 +78240,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 label: type: object properties: @@ -78124,8 +78329,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 assignee: *4 assigner: *4 required: @@ -78140,7 +78345,7 @@ paths: - performed_via_github_app - assignee - assigner - - &539 + - &529 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -78171,8 +78376,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 milestone: type: object properties: @@ -78191,7 +78396,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &530 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -78222,8 +78427,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 milestone: type: object properties: @@ -78242,7 +78447,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &531 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -78273,8 +78478,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 rename: type: object properties: @@ -78296,7 +78501,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &532 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78327,10 +78532,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 review_requester: *4 - requested_team: *169 + requested_team: *172 requested_reviewer: *4 required: - review_requester @@ -78343,7 +78548,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &533 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78374,10 +78579,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 review_requester: *4 - requested_team: *169 + requested_team: *172 requested_reviewer: *4 required: - review_requester @@ -78390,7 +78595,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &534 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78421,8 +78626,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 dismissed_review: type: object properties: @@ -78450,7 +78655,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &535 title: Locked Issue Event description: Locked Issue Event type: object @@ -78481,8 +78686,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 lock_reason: type: string example: '"off-topic"' @@ -78498,7 +78703,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &536 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78529,8 +78734,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 project_card: type: object properties: @@ -78564,7 +78769,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &537 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78595,8 +78800,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 project_card: type: object properties: @@ -78630,7 +78835,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &538 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78661,8 +78866,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 project_card: type: object properties: @@ -78696,7 +78901,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &539 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78786,8 +78991,8 @@ paths: name: label color: red headers: - Link: *58 - '410': *336 + Link: *54 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78804,9 +79009,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 - *17 - *19 responses: @@ -78816,9 +79021,9 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: - default: &536 + default: &526 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78835,10 +79040,10 @@ paths: color: a2eeef default: false headers: - Link: *58 - '301': *339 + Link: *54 + '301': *329 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78855,9 +79060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: required: false content: @@ -78916,12 +79121,12 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: - default: *536 - '301': *339 + default: *526 + '301': *329 '404': *6 - '410': *336 + '410': *326 '422': *15 x-github: githubCloudOnly: false @@ -78938,9 +79143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: required: false content: @@ -79000,12 +79205,12 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: - default: *536 - '301': *339 + default: *526 + '301': *329 '404': *6 - '410': *336 + '410': *326 '422': *15 x-github: githubCloudOnly: false @@ -79022,15 +79227,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 responses: '204': description: Response - '301': *339 + '301': *329 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79049,9 +79254,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 - name: name in: path required: true @@ -79064,7 +79269,7 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: default: value: @@ -79075,9 +79280,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *339 + '301': *329 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79097,9 +79302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: required: false content: @@ -79127,7 +79332,7 @@ paths: '204': description: Response '403': *29 - '410': *336 + '410': *326 '404': *6 '422': *15 x-github: @@ -79145,9 +79350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 responses: '204': description: Response @@ -79177,20 +79382,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 responses: '200': description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 - '301': *339 + default: *522 + '301': *329 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79207,9 +79412,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 - 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 +79440,13 @@ paths: application/json: schema: type: array - items: *323 + items: *313 examples: - default: *325 + default: *315 headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79259,9 +79464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: required: true content: @@ -79293,16 +79498,16 @@ paths: description: Response content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '201': description: Response content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '422': *15 x-github: githubCloudOnly: false @@ -79324,10 +79529,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *330 - - *331 - - *533 - - *326 + - *320 + - *321 + - *523 + - *316 responses: '204': description: Response @@ -79356,9 +79561,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: required: true content: @@ -79380,9 +79585,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *522 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79415,9 +79620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 - *17 - *19 responses: @@ -79427,13 +79632,13 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: *535 + default: *525 headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79461,9 +79666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: required: true content: @@ -79490,16 +79695,16 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *522 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *336 + '410': *326 '422': *15 '404': *6 x-github: @@ -79519,9 +79724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: required: true content: @@ -79552,13 +79757,13 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *522 '403': *29 '404': *6 '422': *7 - '503': *77 + '503': *105 x-github: triggersNotification: true githubCloudOnly: false @@ -79576,9 +79781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 - *17 - *19 responses: @@ -79593,19 +79798,19 @@ paths: description: Timeline Event type: object anyOf: + - *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 +79853,7 @@ paths: issue_url: type: string format: uri - author_association: *72 + author_association: *71 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -79658,9 +79863,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - reactions: *73 + properties: *67 + required: *68 + reactions: *72 required: - event - actor @@ -79691,7 +79896,7 @@ paths: properties: type: type: string - issue: *71 + issue: *70 required: - event - created_at @@ -79891,7 +80096,7 @@ paths: type: string body_text: type: string - author_association: *72 + author_association: *71 required: - event - id @@ -79914,7 +80119,7 @@ paths: type: string comments: type: array - items: &569 + items: &559 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -80003,7 +80208,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *72 + author_association: *71 _links: type: object properties: @@ -80087,7 +80292,7 @@ paths: enum: - line - file - reactions: *73 + reactions: *72 body_html: type: string example: '"

comment body

"' @@ -80123,7 +80328,7 @@ paths: type: string comments: type: array - items: *461 + items: *451 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80154,8 +80359,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 assignee: *4 required: - id @@ -80198,8 +80403,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 assignee: *4 required: - id @@ -80242,8 +80447,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 state_reason: type: string nullable: true @@ -80410,9 +80615,9 @@ paths: type: User site_admin: true headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80429,8 +80634,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -80440,7 +80645,7 @@ paths: application/json: schema: type: array - items: &550 + items: &540 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80490,7 +80695,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80506,8 +80711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -80543,9 +80748,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *540 examples: - default: &551 + default: &541 value: id: 1 key: ssh-rsa AAA... @@ -80579,9 +80784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *330 - - *331 - - &552 + - *320 + - *321 + - &542 name: key_id description: The unique identifier of the key. in: path @@ -80593,9 +80798,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *540 examples: - default: *551 + default: *541 '404': *6 x-github: githubCloudOnly: false @@ -80613,9 +80818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *330 - - *331 - - *552 + - *320 + - *321 + - *542 responses: '204': description: Response @@ -80635,8 +80840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -80646,11 +80851,11 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: - default: *536 + default: *526 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -80669,8 +80874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -80706,9 +80911,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *69 examples: - default: &553 + default: &543 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80740,8 +80945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *330 - - *331 + - *320 + - *321 - name: name in: path required: true @@ -80752,9 +80957,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *69 examples: - default: *553 + default: *543 '404': *6 x-github: githubCloudOnly: false @@ -80771,8 +80976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *330 - - *331 + - *320 + - *321 - name: name in: path required: true @@ -80811,7 +81016,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *69 examples: default: value: @@ -80837,8 +81042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *330 - - *331 + - *320 + - *321 - name: name in: path required: true @@ -80864,8 +81069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -80904,9 +81109,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *330 - - *331 - - *437 + - *320 + - *321 + - *427 responses: '200': description: Response @@ -80968,8 +81173,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true required: - _links @@ -81051,8 +81256,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 + - *320 + - *321 requestBody: required: true content: @@ -81117,8 +81322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -81152,9 +81357,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *462 + schema: *452 examples: - default: *554 + default: *544 '204': description: Response when already merged '404': @@ -81179,8 +81384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *330 - - *331 + - *320 + - *321 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81221,7 +81426,7 @@ paths: application/json: schema: type: array - items: &555 + items: &545 title: Milestone description: A collection of related issues and pull requests. type: object @@ -81265,7 +81470,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 +81487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -81323,9 +81528,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *545 examples: - default: &556 + default: &546 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 +81589,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *330 - - *331 - - &557 + - *320 + - *321 + - &547 name: milestone_number description: The number that identifies the milestone. in: path @@ -81398,9 +81603,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *545 examples: - default: *556 + default: *546 '404': *6 x-github: githubCloudOnly: false @@ -81417,9 +81622,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *330 - - *331 - - *557 + - *320 + - *321 + - *547 requestBody: required: false content: @@ -81457,9 +81662,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *545 examples: - default: *556 + default: *546 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81475,9 +81680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *330 - - *331 - - *557 + - *320 + - *321 + - *547 responses: '204': description: Response @@ -81498,9 +81703,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 + - *320 + - *321 + - *547 - *17 - *19 responses: @@ -81510,11 +81715,11 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: - default: *536 + default: *526 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81531,12 +81736,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 + - *320 + - *321 + - *548 + - *549 + - *77 + - *550 - *17 - *19 responses: @@ -81546,11 +81751,11 @@ paths: application/json: schema: type: array - items: *99 + items: *97 examples: - default: *561 + default: *551 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -81572,8 +81777,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: false content: @@ -81631,14 +81836,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: &562 + schema: &552 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81763,7 +81968,7 @@ paths: - custom_404 - public examples: - default: &563 + default: &553 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81804,8 +82009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -81859,9 +82064,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *552 examples: - default: *563 + default: *553 '422': *15 '409': *47 x-github: @@ -81884,8 +82089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -81984,8 +82189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -82011,8 +82216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -82022,7 +82227,7 @@ paths: application/json: schema: type: array - items: &564 + items: &554 title: Page Build description: Page Build type: object @@ -82097,7 +82302,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 +82321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *330 - - *331 + - *320 + - *321 responses: '201': description: Response @@ -82162,16 +82367,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *564 + schema: *554 examples: - default: &565 + default: &555 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -82219,8 +82424,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *330 - - *331 + - *320 + - *321 - name: build_id in: path required: true @@ -82231,9 +82436,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *554 examples: - default: *565 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82253,8 +82458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -82359,9 +82564,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 + - *320 + - *321 + - &556 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82419,11 +82624,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *330 - - *331 - - *566 + - *320 + - *321 + - *556 responses: - '204': *163 + '204': *166 '404': *6 x-github: githubCloudOnly: false @@ -82448,8 +82653,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 + - *320 + - *321 responses: '200': description: Response @@ -82680,7 +82885,7 @@ paths: description: Empty response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -82707,8 +82912,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 + - *320 + - *321 responses: '200': description: Private vulnerability reporting status @@ -82745,10 +82950,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: - '204': *163 + '204': *166 '422': *14 x-github: githubCloudOnly: false @@ -82767,10 +82972,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: - '204': *163 + '204': *166 '422': *14 x-github: githubCloudOnly: false @@ -82791,8 +82996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *330 - - *331 + - *320 + - *321 - name: state description: Indicates the state of the projects to return. in: query @@ -82849,11 +83054,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': *326 '422': *7 x-github: githubCloudOnly: false @@ -82876,8 +83081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -82905,11 +83110,11 @@ paths: application/json: schema: *244 examples: - default: *335 + default: *325 '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *326 '422': *7 x-github: githubCloudOnly: false @@ -82932,8 +83137,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 + - *320 + - *321 responses: '200': description: Response @@ -82972,8 +83177,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 + - *320 + - *321 requestBody: required: true content: @@ -83035,8 +83240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *330 - - *331 + - *320 + - *321 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83096,11 +83301,11 @@ paths: application/json: schema: type: array - items: *466 + items: *456 examples: - default: *567 + default: *557 headers: - Link: *58 + Link: *54 '304': *37 '422': *15 x-github: @@ -83130,8 +83335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -83196,7 +83401,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &561 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83353,7 +83558,7 @@ paths: nullable: true requested_teams: type: array - items: *308 + items: *298 nullable: true head: type: object @@ -83362,7 +83567,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *66 sha: type: string user: *4 @@ -83379,7 +83584,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *66 sha: type: string user: *4 @@ -83409,8 +83614,8 @@ paths: - review_comments - review_comment - self - author_association: *72 - auto_merge: *568 + author_association: *71 + auto_merge: *558 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -83502,7 +83707,7 @@ paths: - merged_by - review_comments examples: - default: &572 + default: &562 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -84029,8 +84234,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *330 - - *331 + - *320 + - *321 - name: sort in: query required: false @@ -84049,7 +84254,7 @@ paths: enum: - asc - desc - - *79 + - *77 - *17 - *19 responses: @@ -84059,9 +84264,9 @@ paths: application/json: schema: type: array - items: *569 + items: *559 examples: - default: &574 + default: &564 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84113,7 +84318,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84138,17 +84343,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 + - *320 + - *321 + - *86 responses: '200': description: Response content: application/json: - schema: *569 + schema: *559 examples: - default: &570 + default: &560 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84223,9 +84428,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 + - *320 + - *321 + - *86 requestBody: required: true content: @@ -84247,9 +84452,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *559 examples: - default: *570 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84265,9 +84470,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 + - *320 + - *321 + - *86 responses: '204': description: Response @@ -84288,9 +84493,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 + - *320 + - *321 + - *86 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -84316,11 +84521,11 @@ paths: application/json: schema: type: array - items: *323 + items: *313 examples: - default: *325 + default: *315 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -84339,9 +84544,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 + - *320 + - *321 + - *86 requestBody: required: true content: @@ -84373,16 +84578,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '201': description: Reaction created content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '422': *15 x-github: githubCloudOnly: false @@ -84404,10 +84609,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 + - *320 + - *321 + - *86 + - *316 responses: '204': description: Response @@ -84450,9 +84655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *330 - - *331 - - &573 + - *320 + - *321 + - &563 name: pull_number description: The number that identifies the pull request. in: path @@ -84465,9 +84670,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *571 + schema: *561 examples: - default: *572 + default: *562 '304': *37 '404': *6 '406': @@ -84475,8 +84680,8 @@ paths: content: application/json: schema: *3 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84502,9 +84707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *330 - - *331 - - *573 + - *320 + - *321 + - *563 requestBody: required: false content: @@ -84546,9 +84751,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *561 examples: - default: *572 + default: *562 '422': *15 '403': *29 x-github: @@ -84570,9 +84775,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 + - *320 + - *321 + - *563 requestBody: required: true content: @@ -84632,21 +84837,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *215 examples: - default: *451 + default: *441 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *215 examples: - default: *451 + default: *441 '401': *25 '403': *29 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -84672,10 +84877,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 + - *320 + - *321 + - *563 + - *94 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -84685,7 +84890,7 @@ paths: enum: - asc - desc - - *79 + - *77 - *17 - *19 responses: @@ -84695,11 +84900,11 @@ paths: application/json: schema: type: array - items: *569 + items: *559 examples: - default: *574 + default: *564 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84730,9 +84935,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 + - *320 + - *321 + - *563 requestBody: required: true content: @@ -84837,7 +85042,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *559 examples: example-for-a-multi-line-comment: value: @@ -84925,10 +85130,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 + - *320 + - *321 + - *563 + - *86 requestBody: required: true content: @@ -84950,7 +85155,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *559 examples: default: value: @@ -85036,9 +85241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *330 - - *331 - - *573 + - *320 + - *321 + - *563 - *17 - *19 responses: @@ -85048,11 +85253,11 @@ paths: application/json: schema: type: array - items: *462 + items: *452 examples: - default: *575 + default: *565 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85080,9 +85285,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *330 - - *331 - - *573 + - *320 + - *321 + - *563 - *17 - *19 responses: @@ -85092,7 +85297,7 @@ paths: application/json: schema: type: array - items: *475 + items: *465 examples: default: value: @@ -85108,10 +85313,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *58 + Link: *54 '422': *15 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85130,9 +85335,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 + - *320 + - *321 + - *563 responses: '204': description: Response if pull request has been merged @@ -85155,9 +85360,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *330 - - *331 - - *573 + - *320 + - *321 + - *563 requestBody: required: false content: @@ -85268,9 +85473,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 + - *320 + - *321 + - *563 responses: '200': description: Response @@ -85286,7 +85491,7 @@ paths: items: *4 teams: type: array - items: *169 + items: *172 required: - users - teams @@ -85327,7 +85532,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 +85550,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 + - *320 + - *321 + - *563 requestBody: required: false content: @@ -85384,7 +85589,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *456 examples: default: value: @@ -85920,9 +86125,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 + - *320 + - *321 + - *563 requestBody: required: true content: @@ -85956,7 +86161,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *456 examples: default: value: @@ -86461,9 +86666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *320 + - *321 + - *563 - *17 - *19 responses: @@ -86473,7 +86678,7 @@ paths: application/json: schema: type: array - items: &576 + items: &566 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86542,7 +86747,7 @@ paths: type: string body_text: type: string - author_association: *72 + author_association: *71 required: - id - node_id @@ -86591,7 +86796,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86624,9 +86829,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 + - *320 + - *321 + - *563 requestBody: required: false content: @@ -86712,9 +86917,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *566 examples: - default: &578 + default: &568 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86777,10 +86982,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 + - *320 + - *321 + - *563 + - &567 name: review_id description: The unique identifier of the review. in: path @@ -86792,9 +86997,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *566 examples: - default: &579 + default: &569 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86853,10 +87058,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 + - *320 + - *321 + - *563 + - *567 requestBody: required: true content: @@ -86879,7 +87084,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *566 examples: default: value: @@ -86941,18 +87146,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 + - *320 + - *321 + - *563 + - *567 responses: '200': description: Response content: application/json: - schema: *576 + schema: *566 examples: - default: *578 + default: *568 '422': *7 '404': *6 x-github: @@ -86979,10 +87184,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 + - *320 + - *321 + - *563 + - *567 - *17 - *19 responses: @@ -87061,7 +87266,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *72 + author_association: *71 _links: type: object properties: @@ -87076,7 +87281,7 @@ paths: type: string body_html: type: string - reactions: *73 + reactions: *72 side: description: The side of the first line of the range for a multi-line comment. @@ -87188,7 +87393,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 +87422,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 + - *320 + - *321 + - *563 + - *567 requestBody: required: true content: @@ -87248,7 +87453,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *566 examples: default: value: @@ -87311,10 +87516,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 + - *320 + - *321 + - *563 + - *567 requestBody: required: true content: @@ -87349,9 +87554,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *566 examples: - default: *579 + default: *569 '404': *6 '422': *7 '403': *29 @@ -87373,9 +87578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *330 - - *331 - - *573 + - *320 + - *321 + - *563 requestBody: required: false content: @@ -87438,8 +87643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *330 - - *331 + - *320 + - *321 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87452,9 +87657,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *570 examples: - default: &581 + default: &571 value: type: file encoding: base64 @@ -87496,8 +87701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *330 - - *331 + - *320 + - *321 - name: dir description: The alternate path to look for a README file in: path @@ -87517,9 +87722,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *570 examples: - default: *581 + default: *571 '404': *6 '422': *15 x-github: @@ -87541,8 +87746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -87552,7 +87757,7 @@ paths: application/json: schema: type: array - items: *582 + items: *572 examples: default: value: @@ -87626,7 +87831,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -87646,8 +87851,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -87723,9 +87928,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *572 examples: - default: &586 + default: &576 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 +88035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *330 - - *331 - - &584 + - *320 + - *321 + - &574 name: asset_id description: The unique identifier of the asset. in: path @@ -87844,9 +88049,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *573 examples: - default: &585 + default: &575 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 +88086,7 @@ paths: type: User site_admin: false '404': *6 - '302': *477 + '302': *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87897,9 +88102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *330 - - *331 - - *584 + - *320 + - *321 + - *574 requestBody: required: false content: @@ -87927,9 +88132,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *573 examples: - default: *585 + default: *575 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87945,9 +88150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *330 - - *331 - - *584 + - *320 + - *321 + - *574 responses: '204': description: Response @@ -87971,8 +88176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -88057,16 +88262,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *582 + schema: *572 examples: - default: *586 + default: *576 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88083,8 +88288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *330 - - *331 + - *320 + - *321 - name: tag description: tag parameter in: path @@ -88097,9 +88302,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *572 examples: - default: *586 + default: *576 '404': *6 x-github: githubCloudOnly: false @@ -88121,9 +88326,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *330 - - *331 - - &587 + - *320 + - *321 + - &577 name: release_id description: The unique identifier of the release. in: path @@ -88137,9 +88342,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: *572 examples: - default: *586 + default: *576 '401': description: Unauthorized x-github: @@ -88157,9 +88362,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *330 - - *331 - - *587 + - *320 + - *321 + - *577 requestBody: required: false content: @@ -88223,9 +88428,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *572 examples: - default: *586 + default: *576 '404': description: Not Found if the discussion category name is invalid content: @@ -88246,9 +88451,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *330 - - *331 - - *587 + - *320 + - *321 + - *577 responses: '204': description: Response @@ -88268,9 +88473,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *330 - - *331 - - *587 + - *320 + - *321 + - *577 - *17 - *19 responses: @@ -88280,7 +88485,7 @@ paths: application/json: schema: type: array - items: *583 + items: *573 examples: default: value: @@ -88317,7 +88522,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88361,9 +88566,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 + - *320 + - *321 + - *577 - name: name in: query required: true @@ -88389,7 +88594,7 @@ paths: description: Response for successful upload content: application/json: - schema: *583 + schema: *573 examples: response-for-successful-upload: value: @@ -88444,9 +88649,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *330 - - *331 - - *587 + - *320 + - *321 + - *577 - 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 +88675,11 @@ paths: application/json: schema: type: array - items: *323 + items: *313 examples: - default: *325 + default: *315 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -88493,9 +88698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *330 - - *331 - - *587 + - *320 + - *321 + - *577 requestBody: required: true content: @@ -88525,16 +88730,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '201': description: Reaction created content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '422': *15 x-github: githubCloudOnly: false @@ -88556,10 +88761,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *330 - - *331 - - *587 - - *326 + - *320 + - *321 + - *577 + - *316 responses: '204': description: Response @@ -88583,9 +88788,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 - *17 - *19 responses: @@ -88602,7 +88807,7 @@ paths: oneOf: - allOf: - *271 - - &588 + - &578 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88623,67 +88828,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *272 - - *588 + - *578 - allOf: - *273 - - *588 + - *578 - allOf: - *274 - - *588 + - *578 - allOf: - - *589 - - *588 + - *579 + - *578 - allOf: - *275 - - *588 + - *578 - allOf: - *276 - - *588 + - *578 - allOf: - *277 - - *588 + - *578 - allOf: - *278 - - *588 + - *578 - allOf: - *279 - - *588 + - *578 - allOf: - *280 - - *588 + - *578 - allOf: - *281 - - *588 + - *578 - allOf: - *282 - - *588 + - *578 - allOf: - *283 - - *588 + - *578 - allOf: - *284 - - *588 + - *578 - allOf: - *285 - - *588 + - *578 - allOf: - *286 - - *588 + - *578 - allOf: - *287 - - *588 + - *578 - allOf: - *288 - - *588 + - *578 - allOf: - *289 - - *588 + - *578 - allOf: - *290 - - *588 + - *578 - allOf: - - *590 - - *588 + - *580 + - *578 examples: default: value: @@ -88722,8 +88927,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 - name: includes_parents @@ -88734,7 +88939,7 @@ paths: schema: type: boolean default: true - - *591 + - *581 responses: '200': description: Response @@ -88773,7 +88978,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *106 + '500': *104 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -88789,8 +88994,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *320 + - *321 requestBody: description: Request body required: true @@ -88819,7 +89024,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *592 + items: *582 required: - name - enforcement @@ -88852,7 +89057,7 @@ paths: application/json: schema: *291 examples: - default: &602 + default: &592 value: id: 42 name: super cool ruleset @@ -88885,7 +89090,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *106 + '500': *104 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -88899,12 +89104,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 + - *320 + - *321 + - *583 + - *584 + - *585 + - *586 - *17 - *19 responses: @@ -88912,11 +89117,11 @@ paths: description: Response content: application/json: - schema: *597 + schema: *587 examples: - default: *598 + default: *588 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88935,19 +89140,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *330 - - *331 - - *599 + - *320 + - *321 + - *589 responses: '200': description: Response content: application/json: - schema: *600 + schema: *590 examples: - default: *601 + default: *591 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88973,8 +89178,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *320 + - *321 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88996,9 +89201,9 @@ paths: application/json: schema: *291 examples: - default: *602 + default: *592 '404': *6 - '500': *106 + '500': *104 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -89014,8 +89219,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *320 + - *321 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89049,7 +89254,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *592 + items: *582 examples: default: value: @@ -89079,9 +89284,9 @@ paths: application/json: schema: *291 examples: - default: *602 + default: *592 '404': *6 - '500': *106 + '500': *104 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -89097,8 +89302,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *320 + - *321 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89109,7 +89314,7 @@ paths: '204': description: Response '404': *6 - '500': *106 + '500': *104 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -89121,8 +89326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 - name: ruleset_id @@ -89140,9 +89345,9 @@ paths: type: array items: *294 examples: - default: *603 + default: *593 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89159,8 +89364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *330 - - *331 + - *320 + - *321 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89178,7 +89383,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *594 examples: default: value: @@ -89211,7 +89416,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89233,21 +89438,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 + - *320 + - *321 + - *595 + - *596 + - *597 + - *598 - *48 - *19 - *17 - - *605 - - *606 - - *299 - - *300 - - *301 - - *302 + - *599 + - *600 + - *601 + - *602 + - *603 + - *604 responses: '200': description: Response @@ -89255,11 +89460,11 @@ paths: application/json: schema: type: array - items: &610 + items: &608 type: object properties: - number: *54 - created_at: *55 + number: *152 + created_at: *153 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -89267,15 +89472,15 @@ paths: format: date-time readOnly: true nullable: true - url: *56 - html_url: *57 + url: *155 + html_url: *156 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *607 - resolution: *608 + state: *605 + resolution: *606 resolved_at: type: string format: date-time @@ -89371,7 +89576,7 @@ paths: pull request. ' - oneOf: *609 + oneOf: *607 nullable: true has_more_locations: type: boolean @@ -89498,7 +89703,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89520,16 +89725,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 + - *320 + - *321 + - *421 + - *604 responses: '200': description: Response content: application/json: - schema: *610 + schema: *608 examples: default: value: @@ -89560,7 +89765,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89581,9 +89786,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 + - *320 + - *321 + - *421 requestBody: required: true content: @@ -89591,8 +89796,8 @@ paths: schema: type: object properties: - state: *607 - resolution: *608 + state: *605 + resolution: *606 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89610,7 +89815,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *608 examples: default: value: @@ -89663,7 +89868,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89685,9 +89890,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 + - *320 + - *321 + - *421 - *19 - *17 responses: @@ -89698,7 +89903,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &769 + items: &766 type: object properties: type: @@ -89724,6 +89929,8 @@ paths: example: commit details: oneOf: + - *609 + - *610 - *611 - *612 - *613 @@ -89735,8 +89942,6 @@ paths: - *619 - *620 - *621 - - *622 - - *623 examples: default: value: @@ -89796,11 +90001,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *58 + Link: *54 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89822,8 +90027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -89831,14 +90036,14 @@ paths: schema: type: object properties: - reason: &625 + reason: &623 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *624 + placeholder_id: *622 required: - reason - placeholder_id @@ -89855,7 +90060,7 @@ paths: schema: type: object properties: - reason: *625 + reason: *623 expire_at: type: string format: date-time @@ -89878,7 +90083,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89890,6 +90095,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 +90106,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 + - *320 + - *321 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *77 + '503': *105 '200': description: Response content: @@ -89914,7 +90122,7 @@ paths: properties: incremental_scans: type: array - items: &626 + items: &624 description: Information on a single scan performed by secret scanning on the repository type: object @@ -89940,15 +90148,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *626 + items: *624 backfill_scans: type: array - items: *626 + items: *624 custom_pattern_backfill_scans: type: array items: allOf: - - *626 + - *624 - type: object properties: pattern_name: @@ -90018,8 +90226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *330 - - *331 + - *320 + - *321 - *48 - name: sort description: The property to sort the results by. @@ -90063,9 +90271,9 @@ paths: application/json: schema: type: array - items: *627 + items: *625 examples: - default: *628 + default: *626 '400': *14 '404': *6 x-github: @@ -90088,8 +90296,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -90162,7 +90370,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *297 required: - login - type @@ -90249,9 +90457,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *625 examples: - default: &630 + default: &628 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90484,8 +90692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -90589,7 +90797,7 @@ paths: description: Response content: application/json: - schema: *627 + schema: *625 examples: default: value: @@ -90736,17 +90944,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 + - *320 + - *321 + - *627 responses: '200': description: Response content: application/json: - schema: *627 + schema: *625 examples: - default: *630 + default: *628 '403': *29 '404': *6 x-github: @@ -90770,9 +90978,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 + - *320 + - *321 + - *627 requestBody: required: true content: @@ -90845,7 +91053,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *297 required: - login - type @@ -90931,17 +91139,17 @@ paths: description: Response content: application/json: - schema: *627 + schema: *625 examples: - default: *630 - add_credit: *630 + default: *628 + add_credit: *628 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *111 + schema: *110 examples: invalid_state_transition: value: @@ -90972,9 +91180,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 + - *320 + - *321 + - *627 responses: '202': *39 '400': *14 @@ -91001,17 +91209,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 + - *320 + - *321 + - *627 responses: '202': description: Response content: application/json: - schema: *338 + schema: *328 examples: - default: *340 + default: *330 '400': *14 '422': *15 '403': *29 @@ -91037,8 +91245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -91115,7 +91323,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -91137,8 +91345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91147,7 +91355,7 @@ paths: application/json: schema: type: array - items: &631 + items: &629 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91160,7 +91368,7 @@ paths: - 1124 - -435 '202': *39 - '204': *163 + '204': *166 '422': description: Repository contains more than 10,000 commits x-github: @@ -91180,8 +91388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -91230,7 +91438,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *163 + '204': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91257,8 +91465,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -91332,7 +91540,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *163 + '204': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91354,8 +91562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91509,8 +91717,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 + - *320 + - *321 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91520,7 +91728,7 @@ paths: application/json: schema: type: array - items: *631 + items: *629 examples: default: value: @@ -91533,7 +91741,7 @@ paths: - - 0 - 2 - 21 - '204': *163 + '204': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91553,8 +91761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *330 - - *331 + - *320 + - *321 - name: sha in: path required: true @@ -91608,7 +91816,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *630 examples: default: value: @@ -91662,8 +91870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -91675,9 +91883,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91695,14 +91903,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &633 + schema: &631 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91770,8 +91978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: false content: @@ -91797,7 +92005,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *631 examples: default: value: @@ -91824,8 +92032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -91845,8 +92053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -91902,7 +92110,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 +92133,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 + - *320 + - *321 responses: '200': description: Response @@ -91934,7 +92142,7 @@ paths: application/json: schema: type: array - items: &634 + items: &632 title: Tag protection description: Tag protection type: object @@ -91986,8 +92194,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 + - *320 + - *321 requestBody: required: true content: @@ -92010,7 +92218,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *632 examples: default: value: @@ -92041,8 +92249,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 + - *320 + - *321 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92079,8 +92287,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *330 - - *331 + - *320 + - *321 - name: ref in: path required: true @@ -92116,8 +92324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -92127,11 +92335,11 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: *227 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -92149,8 +92357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *330 - - *331 + - *320 + - *321 - *19 - *17 responses: @@ -92158,7 +92366,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &633 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92170,7 +92378,7 @@ paths: required: - names examples: - default: &636 + default: &634 value: names: - octocat @@ -92193,8 +92401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -92225,9 +92433,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *633 examples: - default: *636 + default: *634 '404': *6 '422': *7 x-github: @@ -92248,9 +92456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *330 - - *331 - - &637 + - *320 + - *321 + - &635 name: per description: The time frame to display results for. in: query @@ -92279,7 +92487,7 @@ paths: example: 128 clones: type: array - items: &638 + items: &636 title: Traffic type: object properties: @@ -92366,8 +92574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -92457,8 +92665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -92518,9 +92726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *330 - - *331 - - *637 + - *320 + - *321 + - *635 responses: '200': description: Response @@ -92539,7 +92747,7 @@ paths: example: 3782 views: type: array - items: *638 + items: *636 required: - uniques - count @@ -92616,8 +92824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -92653,7 +92861,7 @@ paths: description: Response content: application/json: - schema: *137 + schema: *136 examples: default: value: @@ -92891,8 +93099,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 + - *320 + - *321 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92915,8 +93123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -92938,8 +93146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -92965,8 +93173,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *330 - - *331 + - *320 + - *321 - name: ref in: path required: true @@ -93058,9 +93266,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *328 examples: - default: *340 + default: *330 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93101,7 +93309,7 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: value: @@ -93290,7 +93498,7 @@ paths: html_url: type: string format: uri - repository: *137 + repository: *136 score: type: number file_size: @@ -93308,7 +93516,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &639 + text_matches: &637 title: Search Result Text Matches type: array items: @@ -93422,7 +93630,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *77 + '503': *105 '422': *15 '403': *29 x-github: @@ -93470,7 +93678,7 @@ paths: enum: - author-date - committer-date - - &640 + - &638 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 +93749,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *388 nullable: true comment_count: type: integer @@ -93561,7 +93769,7 @@ paths: url: type: string format: uri - verification: *513 + verification: *503 required: - author - committer @@ -93580,7 +93788,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *388 nullable: true parents: type: array @@ -93593,12 +93801,12 @@ paths: type: string sha: type: string - repository: *137 + repository: *136 score: type: number node_id: type: string - text_matches: *639 + text_matches: *637 required: - sha - node_id @@ -93790,7 +93998,7 @@ paths: - interactions - created - updated - - *640 + - *638 - *17 - *19 - name: advanced_search @@ -93887,11 +94095,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: type: string state_reason: @@ -93923,7 +94131,7 @@ paths: type: string format: date-time nullable: true - text_matches: *639 + text_matches: *637 pull_request: type: object properties: @@ -93956,10 +94164,10 @@ paths: type: string score: type: number - author_association: *72 + author_association: *71 draft: type: boolean - repository: *67 + repository: *66 body_html: type: string body_text: @@ -93967,7 +94175,7 @@ paths: timeline_url: type: string format: uri - type: *209 + type: *210 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -93977,9 +94185,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - reactions: *73 + properties: *67 + required: *68 + reactions: *72 required: - assignee - closed_at @@ -94095,7 +94303,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *77 + '503': *105 '422': *15 '304': *37 '403': *29 @@ -94148,7 +94356,7 @@ paths: enum: - created - updated - - *640 + - *638 - *17 - *19 responses: @@ -94192,7 +94400,7 @@ paths: nullable: true score: type: number - text_matches: *639 + text_matches: *637 required: - id - node_id @@ -94277,7 +94485,7 @@ paths: - forks - help-wanted-issues - updated - - *640 + - *638 - *17 - *19 responses: @@ -94496,8 +94704,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true permissions: type: object @@ -94516,7 +94724,7 @@ paths: - admin - pull - push - text_matches: *639 + text_matches: *637 temp_clone_token: type: string allow_merge_commit: @@ -94718,7 +94926,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *77 + '503': *105 '422': *15 '304': *37 x-github: @@ -94816,7 +95024,7 @@ paths: type: string format: uri nullable: true - text_matches: *639 + text_matches: *637 related: type: array nullable: true @@ -95007,7 +95215,7 @@ paths: - followers - repositories - joined - - *640 + - *638 - *17 - *19 responses: @@ -95111,7 +95319,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *639 + text_matches: *637 blog: type: string nullable: true @@ -95170,7 +95378,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *77 + '503': *105 '422': *15 x-github: githubCloudOnly: false @@ -95190,7 +95398,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &644 + - &642 name: team_id description: The unique identifier of the team. in: path @@ -95202,9 +95410,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *305 examples: - default: *316 + default: *306 '404': *6 x-github: githubCloudOnly: false @@ -95231,7 +95439,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *644 + - *642 requestBody: required: true content: @@ -95294,16 +95502,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *315 + schema: *305 examples: - default: *316 + default: *306 '201': description: Response content: application/json: - schema: *315 + schema: *305 examples: - default: *316 + default: *306 '404': *6 '422': *15 '403': *29 @@ -95331,7 +95539,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *644 + - *642 responses: '204': description: Response @@ -95362,7 +95570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *644 + - *642 - *48 - *17 - *19 @@ -95373,11 +95581,11 @@ paths: application/json: schema: type: array - items: *317 + items: *307 examples: - default: *645 + default: *643 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95404,7 +95612,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *644 + - *642 requestBody: required: true content: @@ -95438,9 +95646,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *307 examples: - default: *318 + default: *308 x-github: triggersNotification: true githubCloudOnly: false @@ -95467,16 +95675,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *644 - - *319 + - *642 + - *309 responses: '200': description: Response content: application/json: - schema: *317 + schema: *307 examples: - default: *318 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95501,8 +95709,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *644 - - *319 + - *642 + - *309 requestBody: required: false content: @@ -95525,9 +95733,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *307 examples: - default: *646 + default: *644 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95552,8 +95760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *644 - - *319 + - *642 + - *309 responses: '204': description: Response @@ -95582,8 +95790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *644 - - *319 + - *642 + - *309 - *48 - *17 - *19 @@ -95594,11 +95802,11 @@ paths: application/json: schema: type: array - items: *320 + items: *310 examples: - default: *647 + default: *645 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95625,8 +95833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *644 - - *319 + - *642 + - *309 requestBody: required: true content: @@ -95648,9 +95856,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *310 examples: - default: *321 + default: *311 x-github: triggersNotification: true githubCloudOnly: false @@ -95677,17 +95885,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *642 + - *309 + - *312 responses: '200': description: Response content: application/json: - schema: *320 + schema: *310 examples: - default: *321 + default: *311 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95712,9 +95920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *642 + - *309 + - *312 requestBody: required: true content: @@ -95736,9 +95944,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *310 examples: - default: *648 + default: *646 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95763,9 +95971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *642 + - *309 + - *312 responses: '204': description: Response @@ -95794,9 +96002,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 + - *642 + - *309 + - *312 - 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 +96030,11 @@ paths: application/json: schema: type: array - items: *323 + items: *313 examples: - default: *325 + default: *315 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95853,9 +96061,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 + - *642 + - *309 + - *312 requestBody: required: true content: @@ -95887,9 +96095,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95915,8 +96123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *644 - - *319 + - *642 + - *309 - 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 +96150,11 @@ paths: application/json: schema: type: array - items: *323 + items: *313 examples: - default: *325 + default: *315 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95973,8 +96181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *644 - - *319 + - *642 + - *309 requestBody: required: true content: @@ -96006,9 +96214,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96032,7 +96240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *644 + - *642 - *17 - *19 responses: @@ -96042,11 +96250,11 @@ paths: application/json: schema: type: array - items: *206 + items: *207 examples: - default: *207 + default: *208 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96070,7 +96278,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *644 + - *642 - name: role description: Filters members returned by their role in the team. in: query @@ -96093,9 +96301,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -96121,8 +96329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *644 - - *63 + - *642 + - *59 responses: '204': description: if user is a member @@ -96158,8 +96366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *644 - - *63 + - *642 + - *59 responses: '204': description: Response @@ -96198,8 +96406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *644 - - *63 + - *642 + - *59 responses: '204': description: Response @@ -96235,16 +96443,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *644 - - *63 + - *642 + - *59 responses: '200': description: Response content: application/json: - schema: *327 + schema: *317 examples: - response-if-user-is-a-team-maintainer: *649 + response-if-user-is-a-team-maintainer: *647 '404': *6 x-github: githubCloudOnly: false @@ -96277,8 +96485,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 + - *642 + - *59 requestBody: required: false content: @@ -96303,9 +96511,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *317 examples: - response-if-users-membership-with-team-is-now-pending: *650 + response-if-users-membership-with-team-is-now-pending: *648 '403': description: Forbidden if team synchronization is set up '422': @@ -96339,8 +96547,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *644 - - *63 + - *642 + - *59 responses: '204': description: Response @@ -96368,7 +96576,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *644 + - *642 - *17 - *19 responses: @@ -96378,11 +96586,11 @@ paths: application/json: schema: type: array - items: *328 + items: *318 examples: - default: *651 + default: *649 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -96406,16 +96614,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *644 - - *329 + - *642 + - *319 responses: '200': description: Response content: application/json: - schema: *328 + schema: *318 examples: - default: *652 + default: *650 '404': description: Not Found if project is not managed by this team x-github: @@ -96439,8 +96647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *644 - - *329 + - *642 + - *319 requestBody: required: false content: @@ -96507,8 +96715,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *644 - - *329 + - *642 + - *319 responses: '204': description: Response @@ -96535,7 +96743,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *644 + - *642 - *17 - *19 responses: @@ -96545,11 +96753,11 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: *234 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -96577,15 +96785,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 + - *642 + - *320 + - *321 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *653 + schema: *651 examples: alternative-response-with-extra-repository-information: value: @@ -96736,9 +96944,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 + - *642 + - *320 + - *321 requestBody: required: false content: @@ -96788,9 +96996,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 + - *642 + - *320 + - *321 responses: '204': description: Response @@ -96815,7 +97023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *644 + - *642 - *17 - *19 responses: @@ -96825,11 +97033,11 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: - response-if-child-teams-exist: *654 + response-if-child-teams-exist: *652 headers: - Link: *58 + Link: *54 '404': *6 '403': *29 '422': *15 @@ -96860,7 +97068,7 @@ paths: application/json: schema: oneOf: - - &656 + - &654 title: Private User description: Private User type: object @@ -97063,7 +97271,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *655 + - *653 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97216,7 +97424,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *654 examples: default: value: @@ -97295,7 +97503,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '304': *37 '404': *6 '403': *29 @@ -97318,7 +97526,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 +97554,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 +97578,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 +97627,11 @@ paths: type: integer codespaces: type: array - items: *214 + items: *215 examples: - default: *215 + default: *216 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -97560,21 +97768,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *215 examples: - default: *451 + default: *441 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *215 examples: - default: *451 + default: *441 '401': *25 '403': *29 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97614,7 +97822,7 @@ paths: type: integer secrets: type: array - items: &657 + items: &655 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97654,9 +97862,9 @@ paths: - visibility - selected_repositories_url examples: - default: *454 + default: *444 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97724,13 +97932,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *145 + - *144 responses: '200': description: Response content: application/json: - schema: *657 + schema: *655 examples: default: value: @@ -97760,7 +97968,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 + - *144 requestBody: required: true content: @@ -97805,7 +98013,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -97833,7 +98041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *145 + - *144 responses: '204': description: Response @@ -97858,7 +98066,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *145 + - *144 responses: '200': description: Response @@ -97874,13 +98082,13 @@ paths: type: integer repositories: type: array - items: *137 + items: *136 examples: - default: *658 + default: *656 '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97901,7 +98109,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *145 + - *144 requestBody: required: true content: @@ -97933,7 +98141,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97955,7 +98163,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *145 + - *144 - name: repository_id in: path required: true @@ -97967,7 +98175,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97988,7 +98196,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *145 + - *144 - name: repository_id in: path required: true @@ -98000,7 +98208,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98020,17 +98228,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *216 + - *217 responses: '200': description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: *451 + default: *441 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -98054,7 +98262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *216 + - *217 requestBody: required: false content: @@ -98084,9 +98292,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: *451 + default: *441 '401': *25 '403': *29 '404': *6 @@ -98108,11 +98316,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *216 + - *217 responses: '202': *39 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -98137,13 +98345,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *216 + - *217 responses: '202': description: Response content: application/json: - schema: &659 + schema: &657 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98184,7 +98392,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &660 + default: &658 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98192,7 +98400,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -98216,7 +98424,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *216 + - *217 - name: export_id in: path required: true @@ -98229,9 +98437,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *657 examples: - default: *660 + default: *658 '404': *6 x-github: githubCloudOnly: false @@ -98252,7 +98460,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *216 + - *217 responses: '200': description: Response @@ -98268,11 +98476,11 @@ paths: type: integer machines: type: array - items: *661 + items: *659 examples: - default: *662 + default: *660 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -98299,7 +98507,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *216 + - *217 requestBody: required: true content: @@ -98349,13 +98557,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *338 + repository: *328 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *442 + required: *443 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -99129,17 +99337,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *216 + - *217 responses: '200': description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: *451 + default: *441 '304': *37 - '500': *106 + '500': *104 '400': *14 '401': *25 '402': @@ -99169,16 +99377,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *216 + - *217 responses: '200': description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: *451 - '500': *106 + default: *441 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -99209,7 +99417,7 @@ paths: type: array items: *228 examples: - default: &674 + default: &671 value: - id: 197 name: hello_docker @@ -99310,7 +99518,7 @@ paths: application/json: schema: type: array - items: &663 + items: &661 title: Email description: Email type: object @@ -99375,16 +99583,16 @@ paths: application/json: schema: type: array - items: *663 + items: *661 examples: - default: &676 + default: &673 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -99452,7 +99660,7 @@ paths: application/json: schema: type: array - items: *663 + items: *661 examples: default: value: @@ -99562,9 +99770,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -99595,9 +99803,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -99617,7 +99825,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 +99855,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 +99880,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 +99916,7 @@ paths: application/json: schema: type: array - items: &664 + items: &662 title: GPG Key description: A unique encryption key type: object @@ -99839,7 +100047,7 @@ paths: - subkeys - revoked examples: - default: &690 + default: &687 value: - id: 3 name: Octocat's GPG Key @@ -99871,7 +100079,7 @@ paths: revoked: false raw_key: string headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -99924,9 +100132,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *662 examples: - default: &665 + default: &663 value: id: 3 name: Octocat's GPG Key @@ -99983,7 +100191,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 + - &664 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99995,9 +100203,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *662 examples: - default: *665 + default: *663 '404': *6 '304': *37 '403': *29 @@ -100020,7 +100228,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 + - *664 responses: '204': description: Response @@ -100163,7 +100371,7 @@ paths: suspended_at: suspended_by: headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -100209,11 +100417,11 @@ paths: type: string repositories: type: array - items: *67 + items: *66 examples: - default: *129 + default: *128 headers: - Link: *58 + Link: *54 '404': *6 '403': *29 '304': *37 @@ -100236,7 +100444,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *126 + - *125 responses: '204': description: Response @@ -100262,7 +100470,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *126 + - *125 responses: '204': description: Response @@ -100296,12 +100504,12 @@ paths: application/json: schema: anyOf: - - *204 + - *205 - type: object properties: {} additionalProperties: false examples: - default: *205 + default: *206 '204': description: Response when there are no restrictions x-github: @@ -100325,7 +100533,7 @@ paths: required: true content: application/json: - schema: *524 + schema: *514 examples: default: value: @@ -100336,7 +100544,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: default: value: @@ -100417,7 +100625,7 @@ paths: - closed - all default: open - - *212 + - *213 - name: sort description: What to sort results by. in: query @@ -100430,7 +100638,7 @@ paths: - comments default: created - *48 - - *79 + - *77 - *17 - *19 responses: @@ -100440,11 +100648,11 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: *213 + default: *214 headers: - Link: *58 + Link: *54 '404': *6 '304': *37 x-github: @@ -100475,7 +100683,7 @@ paths: application/json: schema: type: array - items: &667 + items: &665 title: Key description: Key type: object @@ -100526,7 +100734,7 @@ paths: verified: false read_only: false headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -100576,9 +100784,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *665 examples: - default: &668 + default: &666 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100611,15 +100819,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 + - *542 responses: '200': description: Response content: application/json: - schema: *667 + schema: *665 examples: - default: *668 + default: *666 '404': *6 '304': *37 '403': *29 @@ -100642,7 +100850,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 + - *542 responses: '204': description: Response @@ -100675,7 +100883,7 @@ paths: application/json: schema: type: array - items: &669 + items: &667 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100732,7 +100940,7 @@ paths: - id - type - login - plan: *90 + plan: *88 required: - billing_cycle - next_billing_date @@ -100743,7 +100951,7 @@ paths: - account - plan examples: - default: &670 + default: &668 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100776,7 +100984,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *54 '304': *37 '401': *25 '404': *6 @@ -100805,11 +101013,11 @@ paths: application/json: schema: type: array - items: *669 + items: *667 examples: - default: *670 + default: *668 headers: - Link: *58 + Link: *54 '304': *37 '401': *25 x-github: @@ -100924,7 +101132,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -100949,7 +101157,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *105 + - *63 responses: '200': description: Response @@ -101013,7 +101221,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *105 + - *63 requestBody: required: true content: @@ -101259,7 +101467,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 @@ -101802,7 +102010,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *222 - - *671 + - *669 responses: '204': description: Response @@ -101836,11 +102044,11 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: *234 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -101873,11 +102081,11 @@ paths: application/json: schema: type: array - items: *218 + items: *61 examples: - default: *672 + default: *101 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -101917,7 +102125,7 @@ paths: - docker - nuget - container - - *673 + - *670 - *19 - *17 responses: @@ -101929,8 +102137,8 @@ paths: type: array items: *228 examples: - default: *674 - '400': *675 + default: *671 + '400': *672 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101959,7 +102167,7 @@ paths: application/json: schema: *228 examples: - default: &691 + default: &688 value: id: 40201 name: octo-name @@ -102412,11 +102620,11 @@ paths: application/json: schema: type: array - items: *663 + items: *661 examples: - default: *676 + default: *673 headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -102525,9 +102733,9 @@ paths: application/json: schema: type: array - items: *67 + items: *66 examples: - default: &683 + default: &680 summary: Default response value: - id: 1296269 @@ -102648,7 +102856,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *54 '422': *15 '304': *37 '403': *29 @@ -102831,9 +103039,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *328 examples: - default: *340 + default: *330 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102871,11 +103079,11 @@ paths: application/json: schema: type: array - items: *526 + items: *516 examples: - default: *677 + default: *674 headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -102896,7 +103104,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *208 + - *209 responses: '204': description: Response @@ -102919,7 +103127,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *208 + - *209 responses: '204': description: Response @@ -102952,7 +103160,7 @@ paths: application/json: schema: type: array - items: &678 + items: &675 title: Social account description: Social media account type: object @@ -102967,12 +103175,12 @@ paths: - provider - url examples: - default: &679 + default: &676 value: - provider: twitter url: https://twitter.com/github headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -103029,9 +103237,9 @@ paths: application/json: schema: type: array - items: *678 + items: *675 examples: - default: *679 + default: *676 '422': *15 '304': *37 '404': *6 @@ -103118,7 +103326,7 @@ paths: application/json: schema: type: array - items: &680 + items: &677 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -103138,7 +103346,7 @@ paths: - title - created_at examples: - default: &705 + default: &702 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103151,7 +103359,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 +103412,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *677 examples: - default: &681 + default: &678 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103237,7 +103445,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 + - &679 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103249,9 +103457,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *677 examples: - default: *681 + default: *678 '404': *6 '304': *37 '403': *29 @@ -103274,7 +103482,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 + - *679 responses: '204': description: Response @@ -103303,7 +103511,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &706 + - &703 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 +103534,13 @@ paths: application/json: schema: type: array - items: *67 + items: *66 examples: - default-response: *683 + default-response: *680 application/vnd.github.v3.star+json: schema: type: array - items: &707 + items: &704 title: Starred Repository description: Starred Repository type: object @@ -103340,7 +103548,7 @@ paths: starred_at: type: string format: date-time - repo: *67 + repo: *66 required: - starred_at - repo @@ -103468,7 +103676,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -103488,8 +103696,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 + - *320 + - *321 responses: '204': description: Response if this repository is starred by you @@ -103517,8 +103725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -103542,8 +103750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -103576,11 +103784,11 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: *234 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -103615,7 +103823,7 @@ paths: application/json: schema: type: array - items: *315 + items: *305 examples: default: value: @@ -103666,7 +103874,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -103693,7 +103901,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *92 + - *90 responses: '200': description: Response @@ -103701,10 +103909,10 @@ paths: application/json: schema: oneOf: - - *656 - - *655 + - *654 + - *653 examples: - default-response: &685 + default-response: &682 summary: Default response value: login: octocat @@ -103739,7 +103947,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: &683 summary: Response with GitHub plan information value: login: octocat @@ -103799,7 +104007,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *684 + - *681 - *17 responses: '200': @@ -103810,7 +104018,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: Link: example: ; rel="next" @@ -103840,7 +104048,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 +104056,11 @@ paths: application/json: schema: oneOf: - - *656 - - *655 + - *654 + - *653 examples: - default-response: *685 - response-with-git-hub-plan-information: *686 + default-response: *682 + response-with-git-hub-plan-information: *683 '404': *6 x-github: githubCloudOnly: false @@ -103878,7 +104086,7 @@ paths: - *17 - *40 - *41 - - *63 + - *59 requestBody: required: true content: @@ -103901,8 +104109,8 @@ paths: required: - subject_digests examples: - default: *687 - withPredicateType: *688 + default: *684 + withPredicateType: *685 responses: '200': description: Response @@ -103955,7 +104163,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *689 + default: *686 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103973,7 +104181,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 +104246,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 +104277,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 +104315,7 @@ paths: - *17 - *40 - *41 - - *63 + - *59 - name: subject_digest description: Subject Digest in: path @@ -104159,12 +104367,12 @@ paths: initiator: type: string examples: - default: *394 + default: *384 '201': description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -104190,7 +104398,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 @@ -104200,7 +104408,7 @@ paths: type: array items: *228 examples: - default: *674 + default: *671 '403': *29 '401': *25 x-github: @@ -104223,7 +104431,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 +104441,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -104295,8 +104503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: + - *59 - *63 - - *105 - *17 - *19 responses: @@ -104306,7 +104514,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -104383,7 +104591,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 +104601,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -104451,7 +104659,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 +104671,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104482,7 +104690,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 +104702,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104513,7 +104721,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 +104748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *63 - - *79 + - *59 + - *77 - *17 - *19 responses: @@ -104551,11 +104759,11 @@ paths: application/json: schema: type: array - items: *80 + items: *78 examples: - default: *81 + default: *79 headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -104574,7 +104782,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 +104792,11 @@ paths: application/json: schema: type: array - items: *664 + items: *662 examples: - default: *690 + default: *687 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104610,7 +104818,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 +104890,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 +104898,7 @@ paths: application/json: schema: *22 examples: - default: *523 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104708,7 +104916,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 +104951,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104763,7 +104971,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 +104981,11 @@ paths: application/json: schema: type: array - items: *218 + items: *61 examples: - default: *672 + default: *101 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104814,8 +105022,8 @@ paths: - docker - nuget - container - - *673 - - *63 + - *670 + - *59 - *19 - *17 responses: @@ -104827,10 +105035,10 @@ paths: type: array items: *228 examples: - default: *674 + default: *671 '403': *29 '401': *25 - '400': *675 + '400': *672 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104852,7 +105060,7 @@ paths: parameters: - *230 - *231 - - *63 + - *59 responses: '200': description: Response @@ -104860,7 +105068,7 @@ paths: application/json: schema: *228 examples: - default: *691 + default: *688 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104883,7 +105091,7 @@ paths: parameters: - *230 - *231 - - *63 + - *59 responses: '204': description: Response @@ -104917,7 +105125,7 @@ paths: parameters: - *230 - *231 - - *63 + - *59 - name: token description: package token schema: @@ -104951,7 +105159,7 @@ paths: parameters: - *230 - *231 - - *63 + - *59 responses: '200': description: Response @@ -105020,7 +105228,7 @@ paths: - *230 - *231 - *233 - - *63 + - *59 responses: '200': description: Response @@ -105063,7 +105271,7 @@ paths: parameters: - *230 - *231 - - *63 + - *59 - *233 responses: '204': @@ -105098,7 +105306,7 @@ paths: parameters: - *230 - *231 - - *63 + - *59 - *233 responses: '204': @@ -105125,7 +105333,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 @@ -105182,7 +105390,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 +105412,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 @@ -105225,7 +105433,7 @@ paths: examples: default: *246 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105246,7 +105454,7 @@ paths: url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - *247 - - *63 + - *59 responses: '200': description: Response @@ -105256,7 +105464,7 @@ paths: examples: default: *246 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105277,7 +105485,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - *247 - - *63 + - *59 - *17 - *40 - *41 @@ -105292,7 +105500,7 @@ paths: examples: default: *249 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105313,8 +105521,8 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *247 - - *692 - - *63 + - *689 + - *59 responses: '200': description: Response @@ -105324,7 +105532,7 @@ paths: examples: default: *249 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105346,7 +105554,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - *247 - - *63 + - *59 - *40 - *41 - *17 @@ -105358,16 +105566,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -105379,7 +105590,7 @@ paths: examples: default: *256 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105398,7 +105609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *63 + - *59 - *247 requestBody: required: true @@ -105436,7 +105647,7 @@ paths: description: Response content: application/json: - schema: *693 + schema: *690 examples: issue: *254 pull_request: *254 @@ -105460,19 +105671,22 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *247 - - *63 + - *59 - *257 - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -105482,7 +105696,7 @@ paths: examples: default: *256 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105502,7 +105716,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - *247 - - *63 + - *59 - *257 requestBody: required: true @@ -105600,7 +105814,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - *247 - - *63 + - *59 - *257 responses: '204': @@ -105628,7 +105842,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 +105852,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -105703,7 +105917,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 +105927,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -105776,7 +105990,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 +106033,11 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: *234 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105845,15 +106059,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: *691 examples: - default: *695 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105875,15 +106089,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: *693 examples: - default: *697 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105892,7 +106106,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 +106117,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 + - *59 + - *106 + - *695 - *107 - - *698 - - *108 - - *699 - - *700 + - *696 + - *697 responses: '200': description: Response when getting a billing premium request usage report @@ -105958,19 +106175,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -106012,8 +106229,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106035,15 +106252,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: *698 examples: - default: *702 + default: *699 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106063,11 +106280,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *63 + - *59 + - *106 + - *700 - *107 - - *703 - - *108 - - *704 + - *701 responses: '200': description: Response when getting a billing usage report @@ -106137,8 +106354,8 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106156,7 +106373,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 +106383,11 @@ paths: application/json: schema: type: array - items: *678 + items: *675 examples: - default: *679 + default: *676 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106188,7 +106405,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 +106415,11 @@ paths: application/json: schema: type: array - items: *680 + items: *677 examples: - default: *705 + default: *702 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106224,8 +106441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *63 - - *706 + - *59 + - *703 - *48 - *17 - *19 @@ -106237,13 +106454,13 @@ paths: schema: anyOf: - type: array - items: *707 + items: *704 - type: array - items: *67 + items: *66 examples: - default-response: *683 + default-response: *680 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106260,7 +106477,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 +106487,11 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: *234 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106400,7 +106617,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &708 + enterprise: &705 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106458,7 +106675,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &709 + installation: &706 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106477,7 +106694,7 @@ x-webhooks: required: - id - node_id - organization: &710 + organization: &707 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106537,13 +106754,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &711 + repository: &708 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: &738 id: description: Unique identifier of the repository example: 42 @@ -106563,8 +106780,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true organization: title: Simple User @@ -107226,7 +107443,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &742 + required: &739 - archive_url - assignees_url - blobs_url @@ -107377,10 +107594,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -107456,11 +107673,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: &712 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 + rule: &709 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 +107900,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: *712 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 + rule: *709 sender: *4 required: - action @@ -107870,11 +108087,11 @@ x-webhooks: - everyone required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: *712 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 + rule: *709 sender: *4 required: - action @@ -107958,7 +108175,7 @@ x-webhooks: type: string enum: - completed - check_run: &714 + check_run: &711 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108011,8 +108228,8 @@ x-webhooks: type: string pull_requests: type: array - items: *76 - repository: *137 + items: *75 + repository: *136 status: example: completed type: string @@ -108049,7 +108266,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *713 + deployment: *710 details_url: example: https://example.com type: string @@ -108099,7 +108316,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *76 + items: *75 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -108134,10 +108351,10 @@ x-webhooks: - output - app - pull_requests - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + installation: *706 + enterprise: *705 + organization: *707 + repository: *708 sender: *4 required: - check_run @@ -108530,11 +108747,11 @@ x-webhooks: type: string enum: - created - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *711 + installation: *706 + enterprise: *705 + organization: *707 + repository: *708 sender: *4 required: - check_run @@ -108930,11 +109147,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *711 + installation: *706 + enterprise: *705 + organization: *707 + repository: *708 requested_action: description: The action requested by the user. type: object @@ -109339,11 +109556,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *711 + installation: *706 + enterprise: *705 + organization: *707 + repository: *708 sender: *4 required: - check_run @@ -110320,10 +110537,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -110993,10 +111210,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -111660,10 +111877,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -111829,7 +112046,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *416 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111974,20 +112191,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &715 + commit_oid: &712 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: *705 + installation: *706 + organization: *707 + ref: &713 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: *708 sender: *4 required: - action @@ -112152,7 +112369,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *416 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112382,12 +112599,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *712 + enterprise: *705 + installation: *706 + organization: *707 + ref: *713 + repository: *708 sender: *4 required: - action @@ -112482,7 +112699,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *416 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 +112870,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *712 + enterprise: *705 + installation: *706 + organization: *707 + ref: *713 + repository: *708 sender: *4 required: - action @@ -112824,7 +113041,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *416 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112990,12 +113207,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *712 + enterprise: *705 + installation: *706 + organization: *707 + ref: *713 + repository: *708 sender: *4 required: - action @@ -113095,7 +113312,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *426 + dismissed_comment: *416 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 +113480,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 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: *708 sender: *4 required: - action @@ -113369,7 +113586,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *416 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 +113726,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *712 + enterprise: *705 + installation: *706 + organization: *707 + ref: *713 + repository: *708 sender: *4 required: - action @@ -113771,10 +113988,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -113854,18 +114071,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *710 - pusher_type: &717 + organization: *707 + pusher_type: &714 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &718 + ref: &715 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -113875,7 +114092,7 @@ x-webhooks: enum: - tag - branch - repository: *711 + repository: *708 sender: *4 required: - ref @@ -113958,9 +114175,9 @@ x-webhooks: enum: - created definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 sender: *4 required: - action @@ -114045,9 +114262,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 sender: *4 required: - action @@ -114125,9 +114342,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 sender: *4 required: - action @@ -114205,9 +114422,9 @@ x-webhooks: enum: - updated definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 sender: *4 required: - action @@ -114284,10 +114501,10 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - repository: *711 - organization: *710 + enterprise: *705 + installation: *706 + repository: *708 + organization: *707 sender: *4 new_property_values: type: array @@ -114372,18 +114589,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - pusher_type: *717 - ref: *718 + enterprise: *705 + installation: *706 + organization: *707 + pusher_type: *714 + ref: *715 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *711 + repository: *708 sender: *4 required: - ref @@ -114467,11 +114684,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *472 + installation: *706 + organization: *707 + enterprise: *705 + repository: *708 sender: *4 required: - action @@ -114555,11 +114772,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *472 + installation: *706 + organization: *707 + enterprise: *705 + repository: *708 sender: *4 required: - action @@ -114643,11 +114860,11 @@ x-webhooks: type: string enum: - created - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *472 + installation: *706 + organization: *707 + enterprise: *705 + repository: *708 sender: *4 required: - action @@ -114729,11 +114946,11 @@ x-webhooks: type: string enum: - dismissed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *472 + installation: *706 + organization: *707 + enterprise: *705 + repository: *708 sender: *4 required: - action @@ -114815,11 +115032,11 @@ x-webhooks: type: string enum: - fixed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *472 + installation: *706 + organization: *707 + enterprise: *705 + repository: *708 sender: *4 required: - action @@ -114902,11 +115119,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *472 + installation: *706 + organization: *707 + enterprise: *705 + repository: *708 sender: *4 required: - action @@ -114988,11 +115205,11 @@ x-webhooks: type: string enum: - reopened - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *472 + installation: *706 + organization: *707 + enterprise: *705 + repository: *708 sender: *4 required: - action @@ -115069,9 +115286,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - key: &719 + enterprise: *705 + installation: *706 + key: &716 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115107,8 +115324,8 @@ x-webhooks: - verified - created_at - read_only - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -115185,11 +115402,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - key: *719 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + key: *716 + organization: *707 + repository: *708 sender: *4 required: - action @@ -115750,12 +115967,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - workflow: &723 + workflow: &720 title: Workflow type: object nullable: true @@ -116481,13 +116698,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *488 + deployment: *478 pull_requests: type: array - items: *571 - repository: *711 - organization: *710 - installation: *709 + items: *561 + repository: *708 + organization: *707 + installation: *706 sender: *4 responses: '200': @@ -116558,7 +116775,7 @@ x-webhooks: type: string enum: - approved - approver: &720 + approver: &717 type: object properties: avatar_url: @@ -116601,11 +116818,11 @@ x-webhooks: type: string comment: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - reviewers: &721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 + reviewers: &718 type: array items: type: object @@ -116684,7 +116901,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &722 + workflow_job_run: &719 type: object properties: conclusion: @@ -117415,18 +117632,18 @@ x-webhooks: type: string enum: - rejected - approver: *720 + approver: *717 comment: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - reviewers: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 + reviewers: *718 sender: *4 since: type: string - workflow_job_run: *722 + workflow_job_run: *719 workflow_job_runs: type: array items: @@ -118130,13 +118347,13 @@ x-webhooks: type: string enum: - requested - enterprise: *708 + enterprise: *705 environment: type: string - installation: *709 - organization: *710 - repository: *711 - requestor: &728 + installation: *706 + organization: *707 + repository: *708 + requestor: &725 title: User type: object nullable: true @@ -120035,12 +120252,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - workflow: *723 + workflow: *720 workflow_run: title: Deployment Workflow Run type: object @@ -120720,7 +120937,7 @@ x-webhooks: type: string enum: - answered - answer: &726 + answer: &723 type: object properties: author_association: @@ -120877,11 +121094,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -121008,11 +121225,11 @@ x-webhooks: - from required: - category - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -121095,11 +121312,11 @@ x-webhooks: type: string enum: - closed - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -121181,7 +121398,7 @@ x-webhooks: type: string enum: - created - comment: &725 + comment: &722 type: object properties: author_association: @@ -121338,11 +121555,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -121425,12 +121642,12 @@ x-webhooks: type: string enum: - deleted - comment: *725 - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + comment: *722 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -121525,12 +121742,12 @@ x-webhooks: - from required: - body - comment: *725 - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + comment: *722 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -121614,11 +121831,11 @@ x-webhooks: type: string enum: - created - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -121700,11 +121917,11 @@ x-webhooks: type: string enum: - deleted - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -121804,11 +122021,11 @@ x-webhooks: type: string required: - from - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -121890,10 +122107,10 @@ x-webhooks: type: string enum: - labeled - discussion: *724 - enterprise: *708 - installation: *709 - label: &727 + discussion: *721 + enterprise: *705 + installation: *706 + label: &724 title: Label type: object properties: @@ -121925,8 +122142,8 @@ x-webhooks: - color - default - description - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -122009,11 +122226,11 @@ x-webhooks: type: string enum: - locked - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -122095,11 +122312,11 @@ x-webhooks: type: string enum: - pinned - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -122181,11 +122398,11 @@ x-webhooks: type: string enum: - reopened - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -122270,16 +122487,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *724 - new_repository: *711 + new_discussion: *721 + new_repository: *708 required: - new_discussion - new_repository - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -122362,10 +122579,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *724 - old_answer: *726 - organization: *710 - repository: *711 + discussion: *721 + old_answer: *723 + organization: *707 + repository: *708 sender: *4 required: - action @@ -122447,12 +122664,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *724 - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + label: *724 + organization: *707 + repository: *708 sender: *4 required: - action @@ -122535,11 +122752,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -122621,11 +122838,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -122698,7 +122915,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *708 + enterprise: *705 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -123358,9 +123575,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *709 - organization: *710 - repository: *711 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - forkee @@ -123506,9 +123723,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 pages: description: The pages that were updated. type: array @@ -123545,7 +123762,7 @@ x-webhooks: - action - sha - html_url - repository: *711 + repository: *708 sender: *4 required: - pages @@ -123621,10 +123838,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 + enterprise: *705 installation: *22 - organization: *710 - repositories: &729 + organization: *707 + repositories: &726 description: An array of repository objects that the installation can access. type: array @@ -123650,8 +123867,8 @@ x-webhooks: - name - full_name - private - repository: *711 - requester: *728 + repository: *708 + requester: *725 sender: *4 required: - action @@ -123726,11 +123943,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 + enterprise: *705 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *707 + repositories: *726 + repository: *708 requester: nullable: true sender: *4 @@ -123806,11 +124023,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *708 + enterprise: *705 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *707 + repositories: *726 + repository: *708 requester: nullable: true sender: *4 @@ -123886,10 +124103,10 @@ x-webhooks: type: string enum: - added - enterprise: *708 + enterprise: *705 installation: *22 - organization: *710 - repositories_added: &730 + organization: *707 + repositories_added: &727 description: An array of repository objects, which were added to the installation. type: array @@ -123935,15 +124152,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *711 - repository_selection: &731 + repository: *708 + repository_selection: &728 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *728 + requester: *725 sender: *4 required: - action @@ -124022,10 +124239,10 @@ x-webhooks: type: string enum: - removed - enterprise: *708 + enterprise: *705 installation: *22 - organization: *710 - repositories_added: *730 + organization: *707 + repositories_added: *727 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -124052,9 +124269,9 @@ x-webhooks: - name - full_name - private - repository: *711 - repository_selection: *731 - requester: *728 + repository: *708 + repository_selection: *728 + requester: *725 sender: *4 required: - action @@ -124133,11 +124350,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *708 + enterprise: *705 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *707 + repositories: *726 + repository: *708 requester: nullable: true sender: *4 @@ -124315,10 +124532,10 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 target_type: type: string @@ -124397,11 +124614,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *708 + enterprise: *705 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *707 + repositories: *726 + repository: *708 requester: nullable: true sender: *4 @@ -124525,8 +124742,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 reactions: title: Reactions type: object @@ -124653,8 +124870,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125448,8 +125665,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125465,7 +125682,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -125798,8 +126015,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -125879,7 +126096,7 @@ x-webhooks: type: string enum: - deleted - comment: &732 + comment: &729 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -126044,8 +126261,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126835,8 +127052,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126852,7 +127069,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -127187,8 +127404,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -127268,7 +127485,7 @@ x-webhooks: type: string enum: - edited - changes: &761 + changes: &758 description: The changes to the comment. type: object properties: @@ -127280,9 +127497,9 @@ x-webhooks: type: string required: - from - comment: *732 - enterprise: *708 - installation: *709 + comment: *729 + enterprise: *705 + installation: *706 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128075,8 +128292,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128092,7 +128309,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -128425,8 +128642,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -128510,15 +128727,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 + blocked_issue: *70 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - blocking_issue_repo: *67 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *70 + blocking_issue_repo: *66 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -128606,15 +128823,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 + blocked_issue: *70 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - blocking_issue_repo: *67 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *70 + blocking_issue_repo: *66 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -128701,15 +128918,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 - blocked_issue_repo: *67 + blocked_issue: *70 + blocked_issue_repo: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *70 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -128797,15 +129014,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 - blocked_issue_repo: *67 + blocked_issue: *70 + blocked_issue_repo: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *70 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -128890,10 +129107,10 @@ x-webhooks: type: string enum: - assigned - assignee: *728 - enterprise: *708 - installation: *709 - issue: &735 + assignee: *725 + enterprise: *705 + installation: *706 + issue: &732 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129682,11 +129899,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129702,7 +129919,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -129803,8 +130020,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -129884,8 +130101,8 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130679,11 +130896,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130699,7 +130916,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -130935,8 +131152,8 @@ x-webhooks: required: - state - closed_at - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -131015,8 +131232,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131801,11 +132018,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131821,7 +132038,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -131921,8 +132138,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -132001,8 +132218,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132809,11 +133026,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132829,7 +133046,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -132908,7 +133125,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &733 + milestone: &730 title: Milestone description: A collection of related issues and pull requests. type: object @@ -133046,8 +133263,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -133146,8 +133363,8 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133936,11 +134153,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133953,7 +134170,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *210 title: description: Title of the issue type: string @@ -134057,9 +134274,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *727 - organization: *710 - repository: *711 + label: *724 + organization: *707 + repository: *708 sender: *4 required: - action @@ -134139,8 +134356,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134928,11 +135145,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134945,7 +135162,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *210 title: description: Title of the issue type: string @@ -135049,9 +135266,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *727 - organization: *710 - repository: *711 + label: *724 + organization: *707 + repository: *708 sender: *4 required: - action @@ -135131,8 +135348,8 @@ x-webhooks: type: string enum: - locked - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135944,11 +136161,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135961,7 +136178,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *210 title: description: Title of the issue type: string @@ -136042,8 +136259,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -136122,8 +136339,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136929,11 +137146,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136949,7 +137166,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -137027,9 +137244,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *733 - organization: *710 - repository: *711 + milestone: *730 + organization: *707 + repository: *708 sender: *4 required: - action @@ -137897,11 +138114,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137994,7 +138211,7 @@ x-webhooks: required: - login - id - type: *209 + type: *210 required: - id - number @@ -138463,8 +138680,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139253,11 +139470,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139273,7 +139490,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -139373,8 +139590,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -139454,9 +139671,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *708 - installation: *709 - issue: &734 + enterprise: *705 + installation: *706 + issue: &731 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -140239,11 +140456,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140259,7 +140476,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -140359,8 +140576,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -140439,8 +140656,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141250,11 +141467,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141348,9 +141565,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *209 - organization: *710 - repository: *711 + type: *210 + organization: *707 + repository: *708 sender: *4 required: - action @@ -142216,11 +142433,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142236,7 +142453,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -142804,11 +143021,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *708 - installation: *709 - issue: *734 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + issue: *731 + organization: *707 + repository: *708 sender: *4 required: - action @@ -142888,12 +143105,12 @@ x-webhooks: type: string enum: - typed - enterprise: *708 - installation: *709 - issue: *735 - type: *209 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + issue: *732 + type: *210 + organization: *707 + repository: *708 sender: *4 required: - action @@ -142974,7 +143191,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &764 + assignee: &761 title: User type: object nullable: true @@ -143044,11 +143261,11 @@ x-webhooks: required: - login - id - enterprise: *708 - installation: *709 - issue: *735 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + issue: *732 + organization: *707 + repository: *708 sender: *4 required: - action @@ -143127,12 +143344,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *708 - installation: *709 - issue: *735 - label: *727 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + issue: *732 + label: *724 + organization: *707 + repository: *708 sender: *4 required: - action @@ -143212,8 +143429,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144023,11 +144240,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144043,7 +144260,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -144121,8 +144338,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -144202,11 +144419,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *708 - installation: *709 - issue: *734 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + issue: *731 + organization: *707 + repository: *708 sender: *4 required: - action @@ -144285,12 +144502,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *708 - installation: *709 - issue: *735 - type: *209 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + issue: *732 + type: *210 + organization: *707 + repository: *708 sender: *4 required: - action @@ -144370,11 +144587,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + label: *724 + organization: *707 + repository: *708 sender: *4 required: - action @@ -144452,11 +144669,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + label: *724 + organization: *707 + repository: *708 sender: *4 required: - action @@ -144566,11 +144783,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + label: *724 + organization: *707 + repository: *708 sender: *4 required: - action @@ -144652,9 +144869,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: &736 + enterprise: *705 + installation: *706 + marketplace_purchase: &733 title: Marketplace Purchase type: object required: @@ -144737,8 +144954,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *710 - previous_marketplace_purchase: &737 + organization: *707 + previous_marketplace_purchase: &734 title: Marketplace Purchase type: object properties: @@ -144818,7 +145035,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *708 sender: *4 required: - action @@ -144898,10 +145115,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 + enterprise: *705 + installation: *706 + marketplace_purchase: *733 + organization: *707 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144984,7 +145201,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *708 sender: *4 required: - action @@ -145066,10 +145283,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 + enterprise: *705 + installation: *706 + marketplace_purchase: *733 + organization: *707 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145151,7 +145368,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *708 sender: *4 required: - action @@ -145232,8 +145449,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 marketplace_purchase: title: Marketplace Purchase type: object @@ -145315,9 +145532,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *710 - previous_marketplace_purchase: *737 - repository: *711 + organization: *707 + previous_marketplace_purchase: *734 + repository: *708 sender: *4 required: - action @@ -145397,12 +145614,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 - previous_marketplace_purchase: *737 - repository: *711 + enterprise: *705 + installation: *706 + marketplace_purchase: *733 + organization: *707 + previous_marketplace_purchase: *734 + repository: *708 sender: *4 required: - action @@ -145504,11 +145721,11 @@ x-webhooks: type: string required: - to - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + member: *725 + organization: *707 + repository: *708 sender: *4 required: - action @@ -145608,11 +145825,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + member: *725 + organization: *707 + repository: *708 sender: *4 required: - action @@ -145691,11 +145908,11 @@ x-webhooks: type: string enum: - removed - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + member: *725 + organization: *707 + repository: *708 sender: *4 required: - action @@ -145773,11 +145990,11 @@ x-webhooks: type: string enum: - added - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + member: *725 + organization: *707 + repository: *708 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145853,7 +146070,7 @@ x-webhooks: required: - login - id - team: &738 + team: &735 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -146076,11 +146293,11 @@ x-webhooks: type: string enum: - removed - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + member: *725 + organization: *707 + repository: *708 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146157,7 +146374,7 @@ x-webhooks: required: - login - id - team: *738 + team: *735 required: - action - scope @@ -146239,8 +146456,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *709 - merge_group: &740 + installation: *706 + merge_group: &737 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -146259,15 +146476,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *739 + head_commit: *736 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -146353,10 +146570,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *709 - merge_group: *740 - organization: *710 - repository: *711 + installation: *706 + merge_group: *737 + organization: *707 + repository: *708 sender: *4 required: - action @@ -146429,7 +146646,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 + enterprise: *705 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146538,16 +146755,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *709 - organization: *710 + installation: *706 + organization: *707 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: *738 + required: *739 nullable: true sender: *4 required: @@ -146628,11 +146845,11 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + milestone: *730 + organization: *707 + repository: *708 sender: *4 required: - action @@ -146711,9 +146928,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - milestone: &743 + enterprise: *705 + installation: *706 + milestone: &740 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146850,8 +147067,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -146930,11 +147147,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + milestone: *730 + organization: *707 + repository: *708 sender: *4 required: - action @@ -147044,11 +147261,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + milestone: *730 + organization: *707 + repository: *708 sender: *4 required: - action @@ -147128,11 +147345,11 @@ x-webhooks: type: string enum: - opened - enterprise: *708 - installation: *709 - milestone: *743 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + milestone: *740 + organization: *707 + repository: *708 sender: *4 required: - action @@ -147211,11 +147428,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *728 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + blocked_user: *725 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -147294,11 +147511,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *728 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + blocked_user: *725 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -147377,9 +147594,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - membership: &744 + enterprise: *705 + installation: *706 + membership: &741 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147486,8 +147703,8 @@ x-webhooks: - role - organization_url - user - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -147565,11 +147782,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + membership: *741 + organization: *707 + repository: *708 sender: *4 required: - action @@ -147648,8 +147865,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147765,10 +147982,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 - user: *728 + user: *725 required: - action - invitation @@ -147846,11 +148063,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + membership: *741 + organization: *707 + repository: *708 sender: *4 required: - action @@ -147937,11 +148154,11 @@ x-webhooks: properties: from: type: string - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + membership: *741 + organization: *707 + repository: *708 sender: *4 required: - action @@ -148017,9 +148234,9 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 package: description: Information about the package. type: object @@ -148518,7 +148735,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &745 + items: &742 title: Ruby Gems metadata type: object properties: @@ -148613,7 +148830,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *708 sender: *4 required: - action @@ -148689,9 +148906,9 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 package: description: Information about the package. type: object @@ -149044,7 +149261,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *745 + items: *742 source_url: type: string format: uri @@ -149114,7 +149331,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *708 sender: *4 required: - action @@ -149291,12 +149508,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *708 + enterprise: *705 id: type: integer - installation: *709 - organization: *710 - repository: *711 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - id @@ -149373,7 +149590,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &746 + personal_access_token_request: &743 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149519,10 +149736,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *708 - organization: *710 + enterprise: *705 + organization: *707 sender: *4 - installation: *709 + installation: *706 required: - action - personal_access_token_request @@ -149599,11 +149816,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *746 - enterprise: *708 - organization: *710 + personal_access_token_request: *743 + enterprise: *705 + organization: *707 sender: *4 - installation: *709 + installation: *706 required: - action - personal_access_token_request @@ -149679,11 +149896,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *746 - enterprise: *708 - organization: *710 + personal_access_token_request: *743 + enterprise: *705 + organization: *707 sender: *4 - installation: *709 + installation: *706 required: - action - personal_access_token_request @@ -149758,11 +149975,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *746 - organization: *710 - enterprise: *708 + personal_access_token_request: *743 + organization: *707 + enterprise: *705 sender: *4 - installation: *709 + installation: *706 required: - action - personal_access_token_request @@ -149867,7 +150084,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *747 + last_response: *744 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149899,8 +150116,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 zen: description: Random string of GitHub zen. @@ -150145,10 +150362,10 @@ x-webhooks: - from required: - note - enterprise: *708 - installation: *709 - organization: *710 - project_card: &748 + enterprise: *705 + installation: *706 + organization: *707 + project_card: &745 title: Project Card type: object properties: @@ -150267,7 +150484,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *711 + repository: *708 sender: *4 required: - action @@ -150348,11 +150565,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project_card: *748 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + project_card: *745 + repository: *708 sender: *4 required: - action @@ -150432,9 +150649,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 project_card: title: Project Card type: object @@ -150562,8 +150779,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: *738 + required: *739 nullable: true sender: *4 required: @@ -150657,11 +150874,11 @@ x-webhooks: - from required: - note - enterprise: *708 - installation: *709 - organization: *710 - project_card: *748 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + project_card: *745 + repository: *708 sender: *4 required: - action @@ -150755,9 +150972,9 @@ x-webhooks: - from required: - column_id - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 project_card: allOf: - title: Project Card @@ -150947,7 +151164,7 @@ x-webhooks: type: string required: - after_id - repository: *711 + repository: *708 sender: *4 required: - action @@ -151027,10 +151244,10 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - organization: *710 - project: &750 + enterprise: *705 + installation: *706 + organization: *707 + project: &747 title: Project type: object properties: @@ -151154,7 +151371,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *711 + repository: *708 sender: *4 required: - action @@ -151234,10 +151451,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project_column: &749 + enterprise: *705 + installation: *706 + organization: *707 + project_column: &746 title: Project Column type: object properties: @@ -151276,7 +151493,7 @@ x-webhooks: - name - created_at - updated_at - repository: *711 + repository: *708 sender: *4 required: - action @@ -151355,18 +151572,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 + enterprise: *705 + installation: *706 + organization: *707 + project_column: *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: *738 + required: *739 nullable: true sender: *4 required: @@ -151456,11 +151673,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + project_column: *746 + repository: *708 sender: *4 required: - action @@ -151540,11 +151757,11 @@ x-webhooks: type: string enum: - moved - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + project_column: *746 + repository: *708 sender: *4 required: - action @@ -151624,11 +151841,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + project: *747 + repository: *708 sender: *4 required: - action @@ -151708,18 +151925,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - project: *750 + enterprise: *705 + installation: *706 + organization: *707 + project: *747 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: *738 + required: *739 nullable: true sender: *4 required: @@ -151821,11 +152038,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + project: *747 + repository: *708 sender: *4 required: - action @@ -151904,11 +152121,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + project: *747 + repository: *708 sender: *4 required: - action @@ -151989,8 +152206,8 @@ x-webhooks: type: string enum: - closed - installation: *709 - organization: *710 + installation: *706 + organization: *707 projects_v2: *245 sender: *4 required: @@ -152072,8 +152289,8 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 + installation: *706 + organization: *707 projects_v2: *245 sender: *4 required: @@ -152155,8 +152372,8 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 + installation: *706 + organization: *707 projects_v2: *245 sender: *4 required: @@ -152274,8 +152491,8 @@ x-webhooks: type: string to: type: string - installation: *709 - organization: *710 + installation: *706 + organization: *707 projects_v2: *245 sender: *4 required: @@ -152359,7 +152576,7 @@ x-webhooks: type: string enum: - archived - changes: &754 + changes: &751 type: object properties: archived_at: @@ -152373,9 +152590,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *709 - organization: *710 - projects_v2_item: &751 + installation: *706 + organization: *707 + projects_v2_item: &748 title: Projects v2 Item description: An item belonging to a project type: object @@ -152510,9 +152727,9 @@ x-webhooks: nullable: true to: type: string - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *706 + organization: *707 + projects_v2_item: *748 sender: *4 required: - action @@ -152594,9 +152811,9 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *706 + organization: *707 + projects_v2_item: *748 sender: *4 required: - action @@ -152677,9 +152894,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *706 + organization: *707 + projects_v2_item: *748 sender: *4 required: - action @@ -152785,7 +153002,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &752 + - &749 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152807,7 +153024,7 @@ x-webhooks: required: - id - name - - &753 + - &750 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152841,8 +153058,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *752 - - *753 + - *749 + - *750 required: - field_value - type: object @@ -152858,9 +153075,9 @@ x-webhooks: nullable: true required: - body - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *706 + organization: *707 + projects_v2_item: *748 sender: *4 required: - action @@ -152955,9 +153172,9 @@ x-webhooks: to: type: string nullable: true - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *706 + organization: *707 + projects_v2_item: *748 sender: *4 required: - action @@ -153040,10 +153257,10 @@ x-webhooks: type: string enum: - restored - changes: *754 - installation: *709 - organization: *710 - projects_v2_item: *751 + changes: *751 + installation: *706 + organization: *707 + projects_v2_item: *748 sender: *4 required: - action @@ -153125,8 +153342,8 @@ x-webhooks: type: string enum: - reopened - installation: *709 - organization: *710 + installation: *706 + organization: *707 projects_v2: *245 sender: *4 required: @@ -153208,14 +153425,14 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2_status_update: &757 + installation: *706 + organization: *707 + projects_v2_status_update: &754 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *755 - required: *756 + properties: *752 + required: *753 sender: *4 required: - action @@ -153296,9 +153513,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2_status_update: *757 + installation: *706 + organization: *707 + projects_v2_status_update: *754 sender: *4 required: - action @@ -153434,9 +153651,9 @@ x-webhooks: type: string format: date nullable: true - installation: *709 - organization: *710 - projects_v2_status_update: *757 + installation: *706 + organization: *707 + projects_v2_status_update: *754 sender: *4 required: - action @@ -153507,10 +153724,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - repository @@ -153587,13 +153804,13 @@ x-webhooks: type: string enum: - assigned - assignee: *728 - enterprise: *708 - installation: *709 - number: &758 + assignee: *725 + enterprise: *705 + installation: *706 + number: &755 description: The pull request number. type: integer - organization: *710 + organization: *707 pull_request: title: Pull Request type: object @@ -155876,7 +156093,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 sender: *4 required: - action @@ -155958,11 +156175,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 number: type: integer - organization: *710 + organization: *707 pull_request: title: Pull Request type: object @@ -158240,7 +158457,7 @@ x-webhooks: - draft reason: type: string - repository: *711 + repository: *708 sender: *4 required: - action @@ -158322,11 +158539,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 number: type: integer - organization: *710 + organization: *707 pull_request: title: Pull Request type: object @@ -160604,7 +160821,7 @@ x-webhooks: - draft reason: type: string - repository: *711 + repository: *708 sender: *4 required: - action @@ -160686,13 +160903,13 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: &759 + enterprise: *705 + installation: *706 + number: *755 + organization: *707 + pull_request: &756 allOf: - - *571 + - *561 - type: object properties: allow_auto_merge: @@ -160754,7 +160971,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *711 + repository: *708 sender: *4 required: - action @@ -160835,12 +161052,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *705 + installation: *706 + number: *755 + organization: *707 + pull_request: *756 + repository: *708 sender: *4 required: - action @@ -160920,11 +161137,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *708 - milestone: *555 - number: *758 - organization: *710 - pull_request: &760 + enterprise: *705 + milestone: *545 + number: *755 + organization: *707 + pull_request: &757 title: Pull Request type: object properties: @@ -163187,7 +163404,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 sender: *4 required: - action @@ -163266,11 +163483,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 number: type: integer - organization: *710 + organization: *707 pull_request: title: Pull Request type: object @@ -165552,7 +165769,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *711 + repository: *708 sender: *4 required: - action @@ -165676,12 +165893,12 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *705 + installation: *706 + number: *755 + organization: *707 + pull_request: *756 + repository: *708 sender: *4 required: - action @@ -165761,11 +165978,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 number: type: integer - organization: *710 + organization: *707 pull_request: title: Pull Request type: object @@ -168032,7 +168249,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 sender: *4 required: - action @@ -168112,11 +168329,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *708 - installation: *709 - label: *727 - number: *758 - organization: *710 + enterprise: *705 + installation: *706 + label: *724 + number: *755 + organization: *707 pull_request: title: Pull Request type: object @@ -170398,7 +170615,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 sender: *4 required: - action @@ -170479,10 +170696,10 @@ x-webhooks: type: string enum: - locked - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *705 + installation: *706 + number: *755 + organization: *707 pull_request: title: Pull Request type: object @@ -172762,7 +172979,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 sender: *4 required: - action @@ -172842,12 +173059,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *708 - milestone: *555 - number: *758 - organization: *710 - pull_request: *760 - repository: *711 + enterprise: *705 + milestone: *545 + number: *755 + organization: *707 + pull_request: *757 + repository: *708 sender: *4 required: - action @@ -172926,12 +173143,12 @@ x-webhooks: type: string enum: - opened - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *705 + installation: *706 + number: *755 + organization: *707 + pull_request: *756 + repository: *708 sender: *4 required: - action @@ -173012,12 +173229,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *705 + installation: *706 + number: *755 + organization: *707 + pull_request: *756 + repository: *708 sender: *4 required: - action @@ -173097,12 +173314,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *705 + installation: *706 + number: *755 + organization: *707 + pull_request: *756 + repository: *708 sender: *4 required: - action @@ -173468,9 +173685,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 pull_request: type: object properties: @@ -175640,7 +175857,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *708 sender: *4 required: - action @@ -175720,7 +175937,7 @@ x-webhooks: type: string enum: - deleted - comment: &762 + comment: &759 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 +176222,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 pull_request: type: object properties: @@ -178165,7 +178382,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *708 sender: *4 required: - action @@ -178245,11 +178462,11 @@ x-webhooks: type: string enum: - edited - changes: *761 - comment: *762 - enterprise: *708 - installation: *709 - organization: *710 + changes: *758 + comment: *759 + enterprise: *705 + installation: *706 + organization: *707 pull_request: type: object properties: @@ -180410,7 +180627,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *708 sender: *4 required: - action @@ -180491,9 +180708,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 pull_request: title: Simple Pull Request type: object @@ -182666,7 +182883,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *708 review: description: The review that was affected. type: object @@ -182913,9 +183130,9 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 pull_request: title: Simple Pull Request type: object @@ -184969,8 +185186,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 - review: &763 + repository: *708 + review: &760 description: The review that was affected. type: object properties: @@ -185203,12 +185420,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 number: description: The pull request number. type: integer - organization: *710 + organization: *707 pull_request: title: Pull Request type: object @@ -187491,7 +187708,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 requested_reviewer: title: User type: object @@ -187575,12 +187792,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 number: description: The pull request number. type: integer - organization: *710 + organization: *707 pull_request: title: Pull Request type: object @@ -189870,7 +190087,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 requested_team: title: Team description: Groups of organization members that gives permissions @@ -190062,12 +190279,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 number: description: The pull request number. type: integer - organization: *710 + organization: *707 pull_request: title: Pull Request type: object @@ -192352,7 +192569,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 requested_reviewer: title: User type: object @@ -192437,12 +192654,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 number: description: The pull request number. type: integer - organization: *710 + organization: *707 pull_request: title: Pull Request type: object @@ -194718,7 +194935,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194899,9 +195116,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 pull_request: title: Simple Pull Request type: object @@ -197076,8 +197293,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 - review: *763 + repository: *708 + review: *760 sender: *4 required: - action @@ -197157,9 +197374,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 pull_request: title: Simple Pull Request type: object @@ -199229,7 +199446,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *708 sender: *4 thread: type: object @@ -199616,9 +199833,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 pull_request: title: Simple Pull Request type: object @@ -201674,7 +201891,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *708 sender: *4 thread: type: object @@ -202064,10 +202281,10 @@ x-webhooks: type: string before: type: string - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *705 + installation: *706 + number: *755 + organization: *707 pull_request: title: Pull Request type: object @@ -204338,7 +204555,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 sender: *4 required: - action @@ -204420,11 +204637,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *764 - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + assignee: *761 + enterprise: *705 + installation: *706 + number: *755 + organization: *707 pull_request: title: Pull Request type: object @@ -206707,7 +206924,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 sender: *4 required: - action @@ -206786,11 +207003,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *708 - installation: *709 - label: *727 - number: *758 - organization: *710 + enterprise: *705 + installation: *706 + label: *724 + number: *755 + organization: *707 pull_request: title: Pull Request type: object @@ -209063,7 +209280,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 sender: *4 required: - action @@ -209144,10 +209361,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *705 + installation: *706 + number: *755 + organization: *707 pull_request: title: Pull Request type: object @@ -211412,7 +211629,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 sender: *4 required: - action @@ -211612,7 +211829,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *708 + enterprise: *705 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -211704,8 +211921,8 @@ x-webhooks: - url - author - committer - installation: *709 - organization: *710 + installation: *706 + organization: *707 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -212280,9 +212497,9 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 registry_package: type: object properties: @@ -212728,7 +212945,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *745 + items: *742 summary: type: string tag_name: @@ -212782,7 +212999,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *708 sender: *4 required: - action @@ -212860,9 +213077,9 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 registry_package: type: object properties: @@ -213170,7 +213387,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *745 + items: *742 summary: type: string tag_name: @@ -213219,7 +213436,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *708 sender: *4 required: - action @@ -213296,10 +213513,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - release: &765 + enterprise: *705 + installation: *706 + organization: *707 + release: &762 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213617,7 +213834,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *711 + repository: *708 sender: *4 required: - action @@ -213694,11 +213911,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + release: *762 + repository: *708 sender: *4 required: - action @@ -213815,11 +214032,11 @@ x-webhooks: type: boolean required: - to - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + release: *762 + repository: *708 sender: *4 required: - action @@ -213897,9 +214114,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -214221,7 +214438,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *711 + repository: *708 sender: *4 required: - action @@ -214297,10 +214514,10 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - release: &766 + enterprise: *705 + installation: *706 + organization: *707 + release: &763 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214619,7 +214836,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *711 + repository: *708 sender: *4 required: - action @@ -214695,11 +214912,11 @@ x-webhooks: type: string enum: - released - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + release: *762 + repository: *708 sender: *4 required: - action @@ -214775,11 +214992,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *708 - installation: *709 - organization: *710 - release: *766 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + release: *763 + repository: *708 sender: *4 required: - action @@ -214855,11 +215072,11 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_advisory: *627 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 + repository_advisory: *625 sender: *4 required: - action @@ -214935,11 +215152,11 @@ x-webhooks: type: string enum: - reported - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_advisory: *627 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 + repository_advisory: *625 sender: *4 required: - action @@ -215015,10 +215232,10 @@ x-webhooks: type: string enum: - archived - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -215095,10 +215312,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -215176,10 +215393,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -215263,10 +215480,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: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -215378,10 +215595,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -215453,10 +215670,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 status: type: string @@ -215537,10 +215754,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -215617,10 +215834,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -215714,10 +215931,10 @@ x-webhooks: - name required: - repository - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -215797,10 +216014,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 repository_ruleset: *291 sender: *4 required: @@ -215879,10 +216096,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 repository_ruleset: *291 sender: *4 required: @@ -215961,10 +216178,10 @@ x-webhooks: type: string enum: - edited - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 repository_ruleset: *291 changes: type: object @@ -216026,16 +216243,16 @@ x-webhooks: properties: added: type: array - items: *592 + items: *582 deleted: type: array - items: *592 + items: *582 updated: type: array items: type: object properties: - rule: *592 + rule: *582 changes: type: object properties: @@ -216269,10 +216486,10 @@ x-webhooks: - from required: - owner - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -216350,10 +216567,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -216431,7 +216648,7 @@ x-webhooks: type: string enum: - create - alert: &767 + alert: &764 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -216552,10 +216769,10 @@ x-webhooks: type: string enum: - open - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -216761,10 +216978,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -216842,11 +217059,11 @@ x-webhooks: type: string enum: - reopen - alert: *767 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *764 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -217045,10 +217262,10 @@ x-webhooks: enum: - fixed - open - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -217126,11 +217343,11 @@ x-webhooks: type: string enum: - created - alert: &768 + alert: &765 type: object properties: - number: *54 - created_at: *55 + number: *152 + created_at: *153 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -217138,8 +217355,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *56 - html_url: *57 + url: *155 + html_url: *156 locations_url: type: string format: uri @@ -217244,10 +217461,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -217328,11 +217545,11 @@ x-webhooks: type: string enum: - created - alert: *768 - installation: *709 - location: *769 - organization: *710 - repository: *711 + alert: *765 + installation: *706 + location: *766 + organization: *707 + repository: *708 sender: *4 required: - location @@ -217570,11 +217787,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *765 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -217652,11 +217869,11 @@ x-webhooks: type: string enum: - reopened - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *765 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -217734,11 +217951,11 @@ x-webhooks: type: string enum: - resolved - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *765 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -217816,11 +218033,11 @@ x-webhooks: type: string enum: - validated - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *765 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -217946,10 +218163,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *711 - enterprise: *708 - installation: *709 - organization: *710 + repository: *708 + enterprise: *705 + installation: *706 + organization: *707 sender: *4 required: - action @@ -218027,11 +218244,11 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - security_advisory: &770 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 + security_advisory: &767 description: The details of the security advisory, including summary, description, and severity. type: object @@ -218214,11 +218431,11 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - security_advisory: *770 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 + security_advisory: *767 sender: *4 required: - action @@ -218291,10 +218508,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -218479,10 +218696,10 @@ x-webhooks: type: object properties: security_and_analysis: *265 - enterprise: *708 - installation: *709 - organization: *710 - repository: *338 + enterprise: *705 + installation: *706 + organization: *707 + repository: *328 sender: *4 required: - changes @@ -218560,12 +218777,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - sponsorship: &771 + sponsorship: &768 type: object properties: created_at: @@ -218866,12 +219083,12 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - sponsorship: *771 + sponsorship: *768 required: - action - sponsorship @@ -218959,12 +219176,12 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - sponsorship: *771 + sponsorship: *768 required: - action - changes @@ -219041,17 +219258,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &772 + effective_date: &769 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: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - sponsorship: *771 + sponsorship: *768 required: - action - sponsorship @@ -219125,7 +219342,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &773 + changes: &770 type: object properties: tier: @@ -219169,13 +219386,13 @@ x-webhooks: - from required: - tier - effective_date: *772 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + effective_date: *769 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - sponsorship: *771 + sponsorship: *768 required: - action - changes @@ -219252,13 +219469,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *773 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + changes: *770 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - sponsorship: *771 + sponsorship: *768 required: - action - changes @@ -219332,10 +219549,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219418,10 +219635,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219841,15 +220058,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *708 + enterprise: *705 id: description: The unique identifier of the status. type: integer - installation: *709 + installation: *706 name: type: string - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 sha: description: The Commit SHA. @@ -219958,15 +220175,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - parent_issue_repo: *67 + parent_issue: *70 + parent_issue_repo: *66 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - installation: *709 - organization: *710 - repository: *711 + sub_issue: *70 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -220050,15 +220267,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - parent_issue_repo: *67 + parent_issue: *70 + parent_issue_repo: *66 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - installation: *709 - organization: *710 - repository: *711 + sub_issue: *70 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -220142,15 +220359,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - sub_issue_repo: *67 + sub_issue: *70 + sub_issue_repo: *66 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - installation: *709 - organization: *710 - repository: *711 + parent_issue: *70 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -220234,15 +220451,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - sub_issue_repo: *67 + sub_issue: *70 + sub_issue_repo: *66 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - installation: *709 - organization: *710 - repository: *711 + parent_issue: *70 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -220319,12 +220536,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - team: &774 + team: &771 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -220547,9 +220764,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 repository: title: Repository description: A git repository @@ -221007,7 +221224,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *771 required: - action - team @@ -221083,9 +221300,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 repository: title: Repository description: A git repository @@ -221543,7 +221760,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *771 required: - action - team @@ -221620,9 +221837,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 repository: title: Repository description: A git repository @@ -222080,7 +222297,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *771 required: - action - team @@ -222224,9 +222441,9 @@ x-webhooks: - from required: - permissions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 repository: title: Repository description: A git repository @@ -222684,7 +222901,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *771 required: - action - changes @@ -222762,9 +222979,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 repository: title: Repository description: A git repository @@ -223222,7 +223439,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *771 required: - action - team @@ -223298,10 +223515,10 @@ x-webhooks: type: string enum: - started - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -223374,16 +223591,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *708 + enterprise: *705 inputs: type: object nullable: true additionalProperties: true - installation: *709 - organization: *710 + installation: *706 + organization: *707 ref: type: string - repository: *711 + repository: *708 sender: *4 workflow: type: string @@ -223465,10 +223682,10 @@ x-webhooks: type: string enum: - completed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 workflow_job: allOf: @@ -223705,7 +223922,7 @@ x-webhooks: type: string required: - conclusion - deployment: *488 + deployment: *478 required: - action - repository @@ -223784,10 +224001,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 workflow_job: allOf: @@ -224047,7 +224264,7 @@ x-webhooks: required: - status - steps - deployment: *488 + deployment: *478 required: - action - repository @@ -224126,10 +224343,10 @@ x-webhooks: type: string enum: - queued - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 workflow_job: type: object @@ -224264,7 +224481,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *478 required: - action - repository @@ -224343,10 +224560,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 workflow_job: type: object @@ -224482,7 +224699,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *478 required: - action - repository @@ -224562,12 +224779,12 @@ x-webhooks: type: string enum: - completed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - workflow: *723 + workflow: *720 workflow_run: title: Workflow Run type: object @@ -225566,12 +225783,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - workflow: *723 + workflow: *720 workflow_run: title: Workflow Run type: object @@ -226555,12 +226772,12 @@ x-webhooks: type: string enum: - requested - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - workflow: *723 + workflow: *720 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..5acd27acd 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -172,6 +172,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -20480,29 +20484,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -22110,1758 +22091,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "in": "query", - "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "resolved" - ] - } - }, - { - "name": "secret_type", - "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "resolution", - "in": "query", - "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "sort", - "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated" - ], - "default": "created" - } - }, - { - "name": "direction", - "description": "The direction to sort the results by.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ], - "default": "desc" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "validity", - "in": "query", - "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "is_publicly_leaked", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "is_multi_repo", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "hide_secret", - "in": "query", - "description": "A boolean value representing whether or not to hide literal secrets in the results.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "number": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - }, - "created_at": { - "type": "string", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "updated_at": { - "type": "string", - "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "url": { - "type": "string", - "description": "The REST API URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "html_url": { - "type": "string", - "description": "The GitHub URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", - "type": "string", - "enum": [ - "open", - "resolved" - ] - }, - "resolution": { - "type": "string", - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "nullable": true, - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests" - ] - }, - "resolved_at": { - "type": "string", - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "resolved_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "example": 1296269, - "description": "A unique identifier of the repository." - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "description": "The GraphQL identifier of the repository." - }, - "name": { - "type": "string", - "example": "Hello-World", - "description": "The name of the repository." - }, - "full_name": { - "type": "string", - "example": "octocat/Hello-World", - "description": "The full, globally unique, name of the repository." - }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World", - "description": "The URL to view the repository on GitHub.com." - }, - "description": { - "type": "string", - "example": "This your first repo!", - "nullable": true, - "description": "The repository description." - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World", - "description": "The URL to get more information about the repository from the GitHub API." - }, - "archive_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "description": "A template for the API URL to download the repository as an archive." - }, - "assignees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "description": "A template for the API URL to list the available assignees for issues in the repository." - }, - "blobs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." - }, - "branches_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "description": "A template for the API URL to get information about branches in the repository." - }, - "collaborators_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "description": "A template for the API URL to get information about collaborators of the repository." - }, - "comments_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "description": "A template for the API URL to get information about comments on the repository." - }, - "commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "description": "A template for the API URL to get information about commits on the repository." - }, - "compare_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "description": "A template for the API URL to compare two commits or refs." - }, - "contents_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "description": "A template for the API URL to get the contents of the repository." - }, - "contributors_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/contributors", - "description": "A template for the API URL to list the contributors to the repository." - }, - "deployments_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/deployments", - "description": "The API URL to list the deployments of the repository." - }, - "downloads_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/downloads", - "description": "The API URL to list the downloads on the repository." - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/events", - "description": "The API URL to list the events of the repository." - }, - "forks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/forks", - "description": "The API URL to list the forks of the repository." - }, - "git_commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "description": "A template for the API URL to get information about Git commits of the repository." - }, - "git_refs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "description": "A template for the API URL to get information about Git refs of the repository." - }, - "git_tags_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "description": "A template for the API URL to get information about Git tags of the repository." - }, - "issue_comment_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "description": "A template for the API URL to get information about issue comments on the repository." - }, - "issue_events_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "description": "A template for the API URL to get information about issue events on the repository." - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "description": "A template for the API URL to get information about issues on the repository." - }, - "keys_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "description": "A template for the API URL to get information about deploy keys on the repository." - }, - "labels_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "description": "A template for the API URL to get information about labels of the repository." - }, - "languages_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/languages", - "description": "The API URL to get information about the languages of the repository." - }, - "merges_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/merges", - "description": "The API URL to merge branches in the repository." - }, - "milestones_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "description": "A template for the API URL to get information about milestones of the repository." - }, - "notifications_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "description": "A template for the API URL to get information about notifications on the repository." - }, - "pulls_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "description": "A template for the API URL to get information about pull requests on the repository." - }, - "releases_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "description": "A template for the API URL to get information about releases on the repository." - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "description": "The API URL to list the stargazers on the repository." - }, - "statuses_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "description": "A template for the API URL to get information about statuses of a commit." - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "description": "The API URL to list the subscribers on the repository." - }, - "subscription_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscription", - "description": "The API URL to subscribe to notifications for this repository." - }, - "tags_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/tags", - "description": "The API URL to get information about tags on the repository." - }, - "teams_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." - }, - "trees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." - }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the repository." - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ] - }, - "push_protection_bypassed": { - "type": "boolean", - "description": "Whether push protection was bypassed for the detected secret.", - "nullable": true - }, - "push_protection_bypassed_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "push_protection_bypassed_at": { - "type": "string", - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "push_protection_bypass_request_reviewer": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "push_protection_bypass_request_reviewer_comment": { - "type": "string", - "description": "An optional comment when reviewing a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_comment": { - "type": "string", - "description": "An optional comment when requesting a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_html_url": { - "type": "string", - "format": "uri", - "description": "The URL to a push protection bypass request.", - "nullable": true - }, - "resolution_comment": { - "type": "string", - "description": "The comment that was optionally added when this alert was closed", - "nullable": true - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": "boolean", - "description": "Whether the secret was publicly leaked.", - "nullable": true - }, - "multi_repo": { - "type": "boolean", - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", - "nullable": true - }, - "is_base64_encoded": { - "type": "boolean", - "description": "A boolean value representing whether or not alert is base64 encoded", - "nullable": true - }, - "first_location_detected": { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "example": "/example/secrets.txt" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "example": "/example/Home.md" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_title_url" - ] - }, - { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_body_url" - ] - }, - { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "issue_comment_url" - ] - }, - { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082" - } - }, - "required": [ - "discussion_title_url" - ] - }, - { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussion-4566270" - } - }, - "required": [ - "discussion_body_url" - ] - }, - { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - } - }, - "required": [ - "discussion_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_title_url" - ] - }, - { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - "required": [ - "pull_request_body_url" - ] - }, - { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - } - }, - "required": [ - "pull_request_review_url" - ] - }, - { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - } - ], - "nullable": true - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - } - } - } - }, - "examples": { - "default": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true, - "assigned_to": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -24092,6 +22321,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "nullable": true, "type": "string", @@ -25358,8 +23597,800 @@ } }, { - "name": "username", - "description": "The handle for the GitHub user account.", + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "201": { + "description": "Successfully assigned the enterprise team to the organization.", + "content": { + "application/json": { + "schema": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "delete": { + "summary": "Delete an organization assignment", + "description": "Unassign an enterprise team from an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/delete", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", "in": "path", "required": true, "schema": { @@ -25369,40 +24400,14 @@ ], "responses": { "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "description": "Successfully unassigned the enterprise team from the organization." } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "subcategory": "enterprise-team-organizations" } } }, @@ -25634,6 +24639,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "nullable": true, "type": "string", @@ -65205,7 +64220,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -65349,7 +64364,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -65357,7 +64372,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -65365,7 +64380,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -83791,6 +82806,110 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -100085,29 +99204,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -148274,16 +147370,22 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } }, { @@ -155438,16 +154540,22 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -304039,16 +303147,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 +303174,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 +487965,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -624057,16 +623132,22 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -631194,16 +630275,22 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -655215,7 +654302,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -655346,7 +654433,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -655354,7 +654441,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -655362,7 +654449,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index f6e9af8bd..811c62bff 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -91,6 +91,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -855,7 +857,7 @@ paths: - subscriptions_url - type - url - type: &307 + type: &297 type: string description: The type of credit the user is receiving. enum: @@ -988,7 +990,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &112 + schema: &111 title: Validation Error Simple description: Validation Error Simple type: object @@ -1021,7 +1023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &629 + - &627 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1139,7 +1141,7 @@ paths: GitHub. type: object nullable: true - properties: &68 + properties: &67 id: description: Unique identifier of the GitHub app example: 37 @@ -1272,7 +1274,7 @@ paths: about itself. example: 5 type: integer - required: &69 + required: &68 - id - node_id - owner @@ -1577,7 +1579,7 @@ paths: schema: type: integer default: 30 - - &187 + - &188 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1593,7 +1595,7 @@ paths: application/json: schema: type: array - items: &188 + items: &189 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1673,7 +1675,7 @@ paths: - installation_id - repository_id examples: - default: &189 + default: &190 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1732,7 +1734,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &111 + schema: &110 title: Validation Error description: Validation Error type: object @@ -1801,7 +1803,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &191 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1915,7 +1917,7 @@ paths: - request - response examples: - default: &191 + default: &192 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2116,7 +2118,7 @@ paths: parameters: - *17 - *19 - - &79 + - &77 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2653,7 +2655,7 @@ paths: suspended_at: suspended_by: headers: - Link: &58 + Link: &54 example: ; rel="next", ; rel="last" schema: @@ -2842,7 +2844,7 @@ paths: - selected repositories: type: array - items: &67 + items: &66 title: Repository description: A repository on GitHub. type: object @@ -2866,7 +2868,7 @@ paths: title: License Simple description: License Simple type: object - properties: &74 + properties: &73 key: type: string example: mit @@ -2888,7 +2890,7 @@ paths: html_url: type: string format: uri - required: &75 + required: &74 - key - name - url @@ -5071,7 +5073,7 @@ paths: responses: '202': *39 '422': *7 - '500': &106 + '500': &104 description: Internal Error content: application/json: @@ -7395,7 +7397,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &159 + code_scanning_options: &162 type: object description: Security Configuration feature options for code scanning nullable: true @@ -7589,7 +7591,7 @@ paths: description: Response content: application/json: - schema: &161 + schema: &164 type: array description: A list of default code security configurations items: @@ -7605,7 +7607,7 @@ paths: default configuration: *43 examples: - default: &162 + default: &165 value: - default_for_new_repos: public configuration: @@ -7936,7 +7938,7 @@ paths: - *42 - *45 responses: - '204': &163 + '204': &166 description: A header with no content is returned. '400': *14 '403': *29 @@ -8063,7 +8065,7 @@ paths: default: value: default_for_new_repos: all - configuration: &160 + configuration: &163 value: id: 1325 target_type: organization @@ -8148,7 +8150,7 @@ paths: application/json: schema: type: array - items: &164 + items: &167 type: object description: Repositories associated with a code security configuration and attachment status @@ -8170,7 +8172,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &103 + properties: &102 id: type: integer format: int64 @@ -8397,7 +8399,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &104 + required: &103 - archive_url - assignees_url - blobs_url @@ -8449,7 +8451,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &165 + repository: &168 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8543,7 +8545,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *42 - - &170 + - &173 name: state in: query description: |- @@ -8552,7 +8554,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &171 + - &174 name: severity in: query description: |- @@ -8561,7 +8563,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &172 + - &175 name: ecosystem in: query description: |- @@ -8570,14 +8572,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &173 + - &176 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &174 + - &177 name: epss_percentage in: query description: |- @@ -8589,7 +8591,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &479 + - &469 name: has in: query description: |- @@ -8603,7 +8605,7 @@ paths: type: string enum: - patch - - &175 + - &178 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8613,7 +8615,7 @@ paths: enum: - development - runtime - - &176 + - &179 name: sort in: query description: |- @@ -8631,31 +8633,6 @@ paths: - *48 - *40 - *41 - - &177 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &178 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - *17 responses: '200': @@ -8664,11 +8641,11 @@ paths: application/json: schema: type: array - items: &179 + items: &180 type: object description: A Dependabot alert. properties: - number: &54 + number: &152 type: integer description: The security alert number. readOnly: true @@ -8730,7 +8707,7 @@ paths: - unknown - direct - transitive - security_advisory: &480 + security_advisory: &470 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8933,29 +8910,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *52 - url: &56 + url: &155 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &57 + html_url: &156 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &55 + created_at: &153 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: &154 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &155 + dismissed_at: &158 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8985,14 +8962,14 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &154 + fixed_at: &157 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &481 + auto_dismissed_at: &471 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9018,7 +8995,7 @@ paths: - repository additionalProperties: false examples: - default: &180 + default: &181 value: - number: 2 state: dismissed @@ -9346,718 +9323,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - *42 - - &295 - name: state - in: query - description: Set to `open` or `resolved` to only list secret scanning alerts - in a specific state. - required: false - schema: - type: string - enum: - - open - - resolved - - &296 - name: secret_type - in: query - description: A comma-separated list of secret types to return. All default - secret patterns are returned. To return generic patterns, pass the token - name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" - for a complete list of secret types. - required: false - schema: - type: string - - &297 - name: resolution - in: query - description: A comma-separated list of resolutions. Only secret scanning alerts - with one of these resolutions are listed. Valid resolutions are `false_positive`, - `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. - required: false - schema: - type: string - - &298 - name: sort - description: The property to sort the results by. `created` means when the - alert was created. `updated` means when the alert was updated or resolved. - in: query - required: false - schema: - type: string - enum: - - created - - updated - default: created - - *48 - - *17 - - *40 - - *41 - - &299 - name: validity - in: query - description: A comma-separated list of validities that, when present, will - return alerts that match the validities in this list. Valid options are - `active`, `inactive`, and `unknown`. - required: false - schema: - type: string - - &300 - name: is_publicly_leaked - in: query - description: A boolean value representing whether or not to filter alerts - by the publicly-leaked tag being present. - required: false - schema: - type: boolean - default: false - - &301 - name: is_multi_repo - in: query - description: A boolean value representing whether or not to filter alerts - by the multi-repo tag being present. - required: false - schema: - type: boolean - default: false - - &302 - name: hide_secret - in: query - description: A boolean value representing whether or not to hide literal secrets - in the results. - required: false - schema: - type: boolean - default: false - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &303 - type: object - properties: - number: *54 - created_at: *55 - updated_at: - type: string - description: 'The time that the alert was last updated in ISO - 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - format: date-time - readOnly: true - nullable: true - url: *56 - html_url: *57 - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this - alert. - state: &607 - description: Sets the state of the secret scanning alert. You - must provide `resolution` when you set the state to `resolved`. - type: string - enum: - - open - - resolved - resolution: &608 - type: string - description: "**Required when the `state` is `resolved`.** The - reason for resolving the alert." - nullable: true - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - resolved_at: - type: string - format: date-time - description: 'The time that the alert was resolved in ISO 8601 - format: `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - resolved_by: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: *53 - push_protection_bypassed: - type: boolean - description: Whether push protection was bypassed for the detected - secret. - nullable: true - push_protection_bypassed_by: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - push_protection_bypassed_at: - type: string - format: date-time - description: 'The time that push protection was bypassed in - ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - push_protection_bypass_request_reviewer: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - push_protection_bypass_request_reviewer_comment: - type: string - description: An optional comment when reviewing a push protection - bypass. - nullable: true - push_protection_bypass_request_comment: - type: string - description: An optional comment when requesting a push protection - bypass. - nullable: true - push_protection_bypass_request_html_url: - type: string - format: uri - description: The URL to a push protection bypass request. - nullable: true - resolution_comment: - type: string - description: The comment that was optionally added when this - alert was closed - nullable: true - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: boolean - description: Whether the secret was publicly leaked. - nullable: true - multi_repo: - type: boolean - description: Whether the detected secret was found in multiple - repositories in the same organization or enterprise. - nullable: true - is_base64_encoded: - type: boolean - description: A boolean value representing whether or not alert - is base64 encoded - nullable: true - first_location_detected: - description: 'Details on the location where the token was initially - detected. This can be a commit, wiki commit, issue, discussion, - pull request. - - ' - oneOf: &609 - - &611 - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - &612 - description: Represents a 'wiki_commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in - the file - end_line: - type: number - description: Line number at which the secret ends in the - file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - example: https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - &613 - description: Represents an 'issue_title' secret scanning location - type. This location type shows that a secret was detected - in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - &614 - description: Represents an 'issue_body' secret scanning location - type. This location type shows that a secret was detected - in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - &615 - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - &616 - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - &617 - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - &618 - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - &619 - description: Represents a 'pull_request_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a pull request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - &620 - description: Represents a 'pull_request_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a pull request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - &621 - description: Represents a 'pull_request_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a pull request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - &622 - description: Represents a 'pull_request_review' secret scanning - location type. This location type shows that a secret was - detected in a review on a pull request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - &623 - description: Represents a 'pull_request_review_comment' secret - scanning location type. This location type shows that a - secret was detected in a review comment on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - nullable: true - has_more_locations: - type: boolean - description: A boolean value representing whether or not the - token in the alert was detected in more than one location. - assigned_to: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - examples: - default: &304 - value: - - number: 2 - created_at: '2020-11-06T18:48:51Z' - url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 - html_url: https://github.com/owner/private-repo/security/secret-scanning/2 - locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations - state: resolved - resolution: false_positive - resolved_at: '2020-11-07T02:47:13Z' - resolved_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - secret_type: adafruit_io_key - secret_type_display_name: Adafruit IO Key - secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - push_protection_bypassed_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - push_protection_bypassed: true - push_protection_bypassed_at: '2020-11-06T21:48:51Z' - push_protection_bypass_request_reviewer: - login: octocat - id: 3 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/3? - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true - push_protection_bypass_request_reviewer_comment: Example response - push_protection_bypass_request_comment: Example comment - push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 - resolution_comment: Example comment - validity: active - publicly_leaked: false - multi_repo: false - is_base64_encoded: false - first_location_detected: - path: "/example/secrets.txt" - start_line: 1 - end_line: 1 - start_column: 1 - end_column: 64 - blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b - commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b - has_more_locations: true - assigned_to: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - headers: - Link: *58 - '404': *6 - '503': &77 - description: Service unavailable - content: - application/json: - schema: - type: object - properties: - code: - type: string - message: - type: string - documentation_url: - type: string - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -10079,7 +9344,7 @@ paths: application/json: schema: type: array - items: &59 + items: &55 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10137,7 +9402,7 @@ paths: - updated_at - group_id examples: - default: &60 + default: &56 value: - id: 1 name: Justice League @@ -10150,7 +9415,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -10193,6 +9458,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: nullable: true type: string @@ -10211,9 +9488,9 @@ paths: description: Response content: application/json: - schema: *59 + schema: *55 examples: - default: *60 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10231,7 +9508,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *42 - - &61 + - &57 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10250,7 +9527,7 @@ paths: type: array items: *4 examples: - default: &62 + default: &58 value: - login: octocat id: 1 @@ -10271,7 +9548,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10289,7 +9566,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *42 - - *61 + - *57 requestBody: required: true content: @@ -10320,7 +9597,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10338,7 +9615,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *42 - - *61 + - *57 requestBody: required: true content: @@ -10369,7 +9646,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10387,8 +9664,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *42 - - *61 - - &63 + - *57 + - &59 name: username description: The handle for the GitHub user account. in: path @@ -10402,7 +9679,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &64 + exampleKey1: &60 value: login: octocat id: 1 @@ -10438,8 +9715,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *42 - - *61 - - *63 + - *57 + - *59 responses: '201': description: Successfully added team member @@ -10447,7 +9724,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *64 + exampleKey1: *60 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10465,8 +9742,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *42 - - *61 - - *63 + - *57 + - *59 responses: '204': description: Response @@ -10476,6 +9753,290 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - *42 + - *57 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: &61 + title: Organization Simple + description: A GitHub organization. + type: object + properties: &170 + login: + type: string + example: github + id: + type: integer + example: 1 + node_id: + type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github + repos_url: + type: string + format: uri + example: https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + example: https://api.github.com/orgs/github/events + hooks_url: + type: string + example: https://api.github.com/orgs/github/hooks + issues_url: + type: string + example: https://api.github.com/orgs/github/issues + members_url: + type: string + example: https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + example: https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + example: https://github.com/images/error/octocat_happy.gif + description: + type: string + example: A great organization + nullable: true + required: &171 + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description + examples: + default: &62 + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - *42 + - *57 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: *61 + examples: + default: &101 + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - *42 + - *57 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - *42 + - *57 + - &63 + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: *61 + examples: + default: *62 + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - *42 + - *57 + - *63 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *61 + examples: + default: *62 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - *42 + - *57 + - *63 + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -10491,7 +10052,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *42 - - &65 + - &64 name: team_slug description: The slug of the team name. in: path @@ -10503,11 +10064,11 @@ paths: description: Response content: application/json: - schema: *59 + schema: *55 examples: - default: *60 + default: *56 headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -10525,7 +10086,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *42 - - *65 + - *64 requestBody: required: true content: @@ -10551,6 +10112,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: nullable: true type: string @@ -10568,11 +10141,11 @@ paths: description: Response content: application/json: - schema: *59 + schema: *55 examples: - default: *60 + default: *56 headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -10593,7 +10166,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *42 - - *65 + - *64 responses: '204': description: Response @@ -10631,7 +10204,7 @@ paths: application/json: schema: type: array - items: &98 + items: &96 title: Event description: Event type: object @@ -10641,7 +10214,7 @@ paths: type: type: string nullable: true - actor: &66 + actor: &65 title: Actor description: Actor type: object @@ -10681,7 +10254,7 @@ paths: - id - name - url - org: *66 + org: *65 payload: oneOf: - title: CreateEvent @@ -10727,7 +10300,7 @@ paths: properties: action: type: string - discussion: &724 + discussion: &721 title: Discussion description: A Discussion in a repository. type: object @@ -11014,7 +10587,7 @@ paths: - id labels: type: array - items: &70 + items: &69 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11089,12 +10662,12 @@ paths: properties: action: type: string - issue: &71 + issue: &70 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &529 + properties: &519 id: type: integer format: int64 @@ -11357,7 +10930,7 @@ paths: timeline_url: type: string format: uri - type: &209 + type: &210 title: Issue Type description: The type of issue. type: object @@ -11407,7 +10980,7 @@ paths: - node_id - name - description - repository: *67 + repository: *66 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11418,9 +10991,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - author_association: &72 + properties: *67 + required: *68 + author_association: &71 title: author_association type: string example: OWNER @@ -11435,7 +11008,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &73 + reactions: &72 title: Reaction Rollup type: object properties: @@ -11471,7 +11044,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &641 + sub_issues_summary: &639 title: Sub-issues Summary type: object properties: @@ -11491,7 +11064,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &642 + issue_dependencies_summary: &640 title: Issue Dependencies Summary type: object properties: @@ -11510,7 +11083,7 @@ paths: - total_blocking issue_field_values: type: array - items: &643 + items: &641 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11571,7 +11144,7 @@ paths: - node_id - data_type - value - required: &530 + required: &520 - assignee - closed_at - comments @@ -11596,10 +11169,10 @@ paths: assignees: type: array items: *4 - label: *70 + label: *69 labels: type: array - items: *70 + items: *69 required: - action - issue @@ -11608,8 +11181,8 @@ paths: properties: action: type: string - issue: *71 - comment: &527 + issue: *70 + comment: &517 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11657,7 +11230,7 @@ paths: issue_url: type: string format: uri - author_association: *72 + author_association: *71 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11668,9 +11241,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - reactions: *73 + properties: *67 + required: *68 + reactions: *72 required: - id - node_id @@ -11843,8 +11416,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true allow_forking: type: boolean @@ -11933,7 +11506,7 @@ paths: type: string number: type: integer - pull_request: &76 + pull_request: &75 title: Pull Request Minimal type: object properties: @@ -12004,10 +11577,10 @@ paths: assignees: type: array items: *4 - label: *70 + label: *69 labels: type: array - items: *70 + items: *69 required: - action - number @@ -12017,7 +11590,7 @@ paths: properties: action: type: string - pull_request: *76 + pull_request: *75 comment: type: object properties: @@ -12268,7 +11841,7 @@ paths: - pull_request updated_at: type: string - pull_request: *76 + pull_request: *75 required: - action - review @@ -12317,7 +11890,7 @@ paths: updated_at: type: string format: date-time - reactions: *73 + reactions: *72 required: - action - comment @@ -12328,7 +11901,7 @@ paths: type: string release: allOf: - - &582 + - &572 title: Release description: A release. type: object @@ -12399,7 +11972,7 @@ paths: author: *4 assets: type: array - items: &583 + items: &573 title: Release Asset description: Data related to a release. type: object @@ -12474,7 +12047,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *73 + reactions: *72 required: - assets_url - upload_url @@ -12566,7 +12139,19 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *77 + '503': &105 + description: Service unavailable + content: + application/json: + schema: + type: object + properties: + code: + type: string + message: + type: string + documentation_url: + type: string x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -12647,7 +12232,7 @@ paths: _links: type: object properties: - timeline: &78 + timeline: &76 title: Link With Type description: Hypermedia Link with Type type: object @@ -12659,17 +12244,17 @@ paths: required: - href - type - user: *78 - security_advisories: *78 - current_user: *78 - current_user_public: *78 - current_user_actor: *78 - current_user_organization: *78 + user: *76 + security_advisories: *76 + current_user: *76 + current_user_public: *76 + current_user_actor: *76 + current_user_organization: *76 current_user_organizations: type: array - items: *78 - repository_discussions: *78 - repository_discussions_category: *78 + items: *76 + repository_discussions: *76 + repository_discussions_category: *76 required: - timeline - user @@ -12731,7 +12316,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *79 + - *77 - *17 - *19 responses: @@ -12741,7 +12326,7 @@ paths: application/json: schema: type: array - items: &80 + items: &78 title: Base Gist description: Base Gist type: object @@ -12840,7 +12425,7 @@ paths: - created_at - updated_at examples: - default: &81 + default: &79 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -12885,7 +12470,7 @@ paths: site_admin: false truncated: false headers: - Link: *58 + Link: *54 '304': *37 '403': *29 x-github: @@ -12961,7 +12546,7 @@ paths: description: Response content: application/json: - schema: &82 + schema: &80 title: Gist Simple description: Gist Simple type: object @@ -12978,7 +12563,7 @@ paths: url: type: string format: uri - user: &655 + user: &653 title: Public User description: Public User type: object @@ -13340,7 +12925,7 @@ paths: truncated: type: boolean examples: - default: &83 + default: &81 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13444,7 +13029,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *79 + - *77 - *17 - *19 responses: @@ -13454,11 +13039,11 @@ paths: application/json: schema: type: array - items: *80 + items: *78 examples: - default: *81 + default: *79 headers: - Link: *58 + Link: *54 '422': *15 '304': *37 '403': *29 @@ -13478,7 +13063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *79 + - *77 - *17 - *19 responses: @@ -13488,11 +13073,11 @@ paths: application/json: schema: type: array - items: *80 + items: *78 examples: - default: *81 + default: *79 headers: - Link: *58 + Link: *54 '401': *25 '304': *37 '403': *29 @@ -13518,7 +13103,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &84 + - &82 name: gist_id description: The unique identifier of the gist. in: path @@ -13530,10 +13115,10 @@ paths: description: Response content: application/json: - schema: *82 + schema: *80 examples: - default: *83 - '403': &87 + default: *81 + '403': &85 description: Forbidden Gist content: application/json: @@ -13581,7 +13166,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *84 + - *82 requestBody: required: true content: @@ -13641,9 +13226,9 @@ paths: description: Response content: application/json: - schema: *82 + schema: *80 examples: - updateGist: *83 + updateGist: *81 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -13801,7 +13386,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *84 + - *82 responses: '204': description: Response @@ -13830,7 +13415,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *84 + - *82 - *17 - *19 responses: @@ -13840,7 +13425,7 @@ paths: application/json: schema: type: array - items: &85 + items: &83 title: Gist Comment description: A comment made to a gist. type: object @@ -13875,7 +13460,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *72 + author_association: *71 required: - url - id @@ -13915,7 +13500,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -13940,7 +13525,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *84 + - *82 requestBody: required: true content: @@ -13965,9 +13550,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *83 examples: - default: &86 + default: &84 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14025,8 +13610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *84 - - &88 + - *82 + - &86 name: comment_id description: The unique identifier of the comment. in: path @@ -14039,12 +13624,12 @@ paths: description: Response content: application/json: - schema: *85 + schema: *83 examples: - default: *86 + default: *84 '304': *37 '404': *6 - '403': *87 + '403': *85 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14066,8 +13651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *84 - - *88 + - *82 + - *86 requestBody: required: true content: @@ -14092,9 +13677,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *83 examples: - default: *86 + default: *84 '404': *6 x-github: githubCloudOnly: false @@ -14111,8 +13696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *84 - - *88 + - *82 + - *86 responses: '204': description: Response @@ -14135,7 +13720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *84 + - *82 - *17 - *19 responses: @@ -14236,7 +13821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *84 + - *82 - *17 - *19 responses: @@ -14246,7 +13831,7 @@ paths: application/json: schema: type: array - items: *82 + items: *80 examples: default: value: @@ -14292,7 +13877,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '404': *6 '304': *37 '403': *29 @@ -14311,13 +13896,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *84 + - *82 responses: '201': description: Response content: application/json: - schema: *80 + schema: *78 examples: default: value: @@ -14388,7 +13973,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *84 + - *82 responses: '204': description: Response if gist is starred @@ -14418,7 +14003,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *84 + - *82 responses: '204': description: Response @@ -14440,7 +14025,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *84 + - *82 responses: '204': description: Response @@ -14469,7 +14054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *84 + - *82 - name: sha in: path required: true @@ -14480,9 +14065,9 @@ paths: description: Response content: application/json: - schema: *82 + schema: *80 examples: - default: *83 + default: *81 '422': *15 '404': *6 '403': *29 @@ -14641,7 +14226,7 @@ paths: type: integer repositories: type: array - items: *67 + items: *66 repository_selection: type: string example: selected @@ -14764,7 +14349,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *54 '403': *29 '304': *37 '401': *25 @@ -14848,7 +14433,7 @@ paths: - closed - all default: open - - &212 + - &213 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -14867,7 +14452,7 @@ paths: - comments default: created - *48 - - *79 + - *77 - name: collab in: query required: false @@ -14897,9 +14482,9 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: &213 + default: &214 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15144,7 +14729,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *58 + Link: *54 '422': *15 '304': *37 '404': *6 @@ -15183,8 +14768,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 examples: default: value: @@ -15469,7 +15054,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &89 + X-CommonMarker-Version: &87 example: 0.17.4 schema: type: string @@ -15524,7 +15109,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *89 + X-CommonMarker-Version: *87 content: text/html: schema: @@ -15553,7 +15138,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &92 + - &90 name: account_id description: account_id parameter in: path @@ -15565,7 +15150,7 @@ paths: description: Response content: application/json: - schema: &91 + schema: &89 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -15595,7 +15180,7 @@ paths: nullable: true id: type: integer - plan: &90 + plan: &88 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -15684,7 +15269,7 @@ paths: nullable: true updated_at: type: string - plan: *90 + plan: *88 required: - url - id @@ -15692,7 +15277,7 @@ paths: - login - marketplace_purchase examples: - default: &93 + default: &91 value: url: https://api.github.com/orgs/github type: Organization @@ -15777,9 +15362,9 @@ paths: application/json: schema: type: array - items: *90 + items: *88 examples: - default: &94 + default: &92 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -15797,7 +15382,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *54 '404': *6 '401': *25 x-github: @@ -15819,14 +15404,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &95 + - &93 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &96 + - &94 name: sort description: The property to sort the results by. in: query @@ -15856,9 +15441,9 @@ paths: application/json: schema: type: array - items: *91 + items: *89 examples: - default: &97 + default: &95 value: - url: https://api.github.com/orgs/github type: Organization @@ -15909,7 +15494,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *54 '404': *6 '422': *15 '401': *25 @@ -15932,15 +15517,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *92 + - *90 responses: '200': description: Response content: application/json: - schema: *91 + schema: *89 examples: - default: *93 + default: *91 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -15972,11 +15557,11 @@ paths: application/json: schema: type: array - items: *90 + items: *88 examples: - default: *94 + default: *92 headers: - Link: *58 + Link: *54 '401': *25 x-github: githubCloudOnly: false @@ -15997,8 +15582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *95 - - *96 + - *93 + - *94 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16018,11 +15603,11 @@ paths: application/json: schema: type: array - items: *91 + items: *89 examples: - default: *97 + default: *95 headers: - Link: *58 + Link: *54 '401': *25 x-github: githubCloudOnly: false @@ -16284,14 +15869,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &330 + - &320 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &331 + - &321 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16308,7 +15893,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -16353,7 +15938,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &339 + '301': &329 description: Moved permanently content: application/json: @@ -16375,7 +15960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &558 + - &548 name: all description: If `true`, show notifications marked as read. in: query @@ -16383,7 +15968,7 @@ paths: schema: type: boolean default: false - - &559 + - &549 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16392,8 +15977,8 @@ paths: schema: type: boolean default: false - - *79 - - &560 + - *77 + - &550 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -16418,18 +16003,18 @@ paths: application/json: schema: type: array - items: &99 + items: &97 title: Thread description: Thread type: object properties: id: type: string - repository: &137 + repository: &136 title: Minimal Repository description: Minimal Repository type: object - properties: &182 + properties: &183 id: type: integer format: int64 @@ -16779,7 +16364,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &183 + required: &184 - archive_url - assignees_url - blobs_url @@ -16867,7 +16452,7 @@ paths: - url - subscription_url examples: - default: &561 + default: &551 value: - id: '1' repository: @@ -16949,7 +16534,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -17033,7 +16618,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &100 + - &98 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -17047,7 +16632,7 @@ paths: description: Response content: application/json: - schema: *99 + schema: *97 examples: default: value: @@ -17149,7 +16734,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *100 + - *98 responses: '205': description: Reset Content @@ -17171,7 +16756,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *100 + - *98 responses: '204': description: No content @@ -17194,13 +16779,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *100 + - *98 responses: '200': description: Response content: application/json: - schema: &101 + schema: &99 title: Thread Subscription description: Thread Subscription type: object @@ -17237,7 +16822,7 @@ paths: - url - subscribed examples: - default: &102 + default: &100 value: subscribed: true ignored: false @@ -17268,7 +16853,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *100 + - *98 requestBody: required: false content: @@ -17289,9 +16874,9 @@ paths: description: Response content: application/json: - schema: *101 + schema: *99 examples: - default: *102 + default: *100 '304': *37 '403': *29 '401': *25 @@ -17314,7 +16899,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *100 + - *98 responses: '204': description: Response @@ -17409,79 +16994,9 @@ paths: application/json: schema: type: array - items: &218 - title: Organization Simple - description: A GitHub organization. - type: object - properties: &167 - login: - type: string - example: github - id: - type: integer - example: 1 - node_id: - type: string - example: MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - example: https://api.github.com/orgs/github - repos_url: - type: string - format: uri - example: https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - example: https://api.github.com/orgs/github/events - hooks_url: - type: string - example: https://api.github.com/orgs/github/hooks - issues_url: - type: string - example: https://api.github.com/orgs/github/issues - members_url: - type: string - example: https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - example: https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - example: https://github.com/images/error/octocat_happy.gif - description: - type: string - example: A great organization - nullable: true - required: &168 - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description + items: *61 examples: - default: &672 - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization + default: *101 headers: Link: example: ; rel="next" @@ -17508,13 +17023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - &105 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string + - *63 - name: page in: query description: The page number of results to fetch. @@ -17558,8 +17067,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *103 - required: *104 + properties: *102 + required: *103 nullable: true additionalProperties: false examples: @@ -17665,7 +17174,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -17731,7 +17240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *105 + - *63 requestBody: required: true content: @@ -17767,9 +17276,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -17777,8 +17287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization parameters: - - *105 - - &107 + - *63 + - &106 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -17787,7 +17297,7 @@ paths: required: false schema: type: integer - - &698 + - &695 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -17796,7 +17306,7 @@ paths: required: false schema: type: integer - - &108 + - &107 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -17811,14 +17321,14 @@ paths: required: false schema: type: string - - &699 + - &696 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &700 + - &697 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -17880,19 +17390,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -17934,8 +17444,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17955,9 +17465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *105 - - *107 - - &703 + - *63 + - *106 + - &700 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -17966,8 +17476,8 @@ paths: required: false schema: type: integer - - *108 - - &704 + - *107 + - &701 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18050,8 +17560,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18077,13 +17587,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &109 + schema: &108 title: Organization Full description: Organization Full type: object @@ -18402,7 +17912,7 @@ paths: - updated_at - archived_at examples: - default-response: &110 + default-response: &109 value: login: github id: 1 @@ -18502,7 +18012,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *105 + - *63 requestBody: required: false content: @@ -18718,17 +18228,17 @@ paths: description: Response content: application/json: - schema: *109 + schema: *108 examples: - default: *110 + default: *109 '422': description: Validation failed content: application/json: schema: oneOf: + - *110 - *111 - - *112 '409': *47 x-github: githubCloudOnly: false @@ -18752,7 +18262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *105 + - *63 responses: '202': *39 '404': *6 @@ -18777,7 +18287,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -18803,7 +18313,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18824,7 +18334,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -18842,7 +18352,7 @@ paths: type: integer repository_cache_usages: type: array - items: &344 + items: &334 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -18877,7 +18387,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18897,7 +18407,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -18915,7 +18425,7 @@ paths: type: integer runners: type: array - items: &113 + items: &112 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -18964,7 +18474,7 @@ paths: - display_name - source nullable: true - machine_size_details: &116 + machine_size_details: &115 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19056,7 +18566,7 @@ paths: - public_ip_enabled - platform examples: - default: &136 + default: &135 value: total_count: 2 runners: @@ -19098,7 +18608,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 +18626,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -19183,9 +18693,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *112 examples: - default: &117 + default: &116 value: id: 5 name: My hosted ubuntu runner @@ -19224,7 +18734,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -19240,7 +18750,7 @@ paths: type: integer images: type: array - items: &114 + items: &113 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -19276,7 +18786,7 @@ paths: - display_name - source examples: - default: &115 + default: &114 value: id: ubuntu-20.04 platform: linux-x64 @@ -19300,7 +18810,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -19316,9 +18826,9 @@ paths: type: integer images: type: array - items: *114 + items: *113 examples: - default: *115 + default: *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19335,7 +18845,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -19388,7 +18898,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -19404,7 +18914,7 @@ paths: type: integer machine_specs: type: array - items: *116 + items: *115 examples: default: value: @@ -19429,7 +18939,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -19473,8 +18983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *105 - - &118 + - *63 + - &117 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -19486,11 +18996,11 @@ paths: description: Response content: application/json: - schema: *113 + schema: *112 examples: - default: *117 + default: *116 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19508,8 +19018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *105 - - *118 + - *63 + - *117 requestBody: required: true content: @@ -19547,9 +19057,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *112 examples: - default: *117 + default: *116 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19565,16 +19075,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *105 - - *118 + - *63 + - *117 responses: '202': description: Response content: application/json: - schema: *113 + schema: *112 examples: - default: *117 + default: *116 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -19594,13 +19104,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *105 + - *63 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &119 + schema: &118 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -19614,7 +19124,7 @@ paths: required: - include_claim_keys examples: - default: &120 + default: &119 value: include_claim_keys: - repo @@ -19636,20 +19146,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: application/json: - schema: *119 + schema: *118 examples: - default: *120 + default: *119 responses: '201': description: Empty response content: application/json: - schema: &146 + schema: &145 title: Empty Object description: An object without any properties. type: object @@ -19679,7 +19189,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -19688,7 +19198,7 @@ paths: schema: type: object properties: - enabled_repositories: &121 + enabled_repositories: &120 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -19701,7 +19211,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: &121 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -19709,12 +19219,12 @@ paths: - all - local_only - selected - selected_actions_url: &350 + selected_actions_url: &340 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: &122 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -19745,7 +19255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -19756,9 +19266,9 @@ paths: schema: type: object properties: - enabled_repositories: *121 - allowed_actions: *122 - sha_pinning_required: *123 + enabled_repositories: *120 + allowed_actions: *121 + sha_pinning_required: *122 required: - enabled_repositories examples: @@ -19786,13 +19296,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &354 + schema: &344 type: object properties: days: @@ -19829,12 +19339,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: application/json: - schema: &355 + schema: &345 type: object properties: days: @@ -19871,13 +19381,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &124 + schema: &123 type: object properties: approval_policy: @@ -19891,7 +19401,7 @@ paths: required: - approval_policy examples: - default: &356 + default: &346 value: approval_policy: first_time_contributors '404': *6 @@ -19912,7 +19422,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -19922,7 +19432,7 @@ paths: required: true content: application/json: - schema: *124 + schema: *123 examples: default: summary: Set approval policy to first time contributors @@ -19944,13 +19454,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &357 + schema: &347 type: object required: - run_workflows_from_fork_pull_requests @@ -19976,7 +19486,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &125 + default: &124 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -19999,12 +19509,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: application/json: - schema: &358 + schema: &348 type: object required: - run_workflows_from_fork_pull_requests @@ -20027,7 +19537,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *125 + default: *124 responses: '204': description: Empty response for successful settings update @@ -20057,7 +19567,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -20075,9 +19585,9 @@ paths: type: number repositories: type: array - items: *67 + items: *66 examples: - default: &129 + default: &128 value: total_count: 1 repositories: @@ -20217,7 +19727,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -20261,8 +19771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *105 - - &126 + - *63 + - &125 name: repository_id description: The unique identifier of the repository. in: path @@ -20290,8 +19800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *105 - - *126 + - *63 + - *125 responses: '204': description: Response @@ -20314,13 +19824,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &127 + schema: &126 type: object properties: github_owned_allowed: @@ -20342,7 +19852,7 @@ paths: items: type: string examples: - default: &128 + default: &127 value: github_owned_allowed: true verified_allowed: false @@ -20367,7 +19877,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -20375,9 +19885,9 @@ paths: required: false content: application/json: - schema: *127 + schema: *126 examples: - selected_actions: *128 + selected_actions: *127 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20397,7 +19907,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -20445,7 +19955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -20492,7 +20002,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -20507,9 +20017,9 @@ paths: type: integer repositories: type: array - items: *67 + items: *66 examples: - default: *129 + default: *128 '403': *29 '404': *6 x-github: @@ -20529,7 +20039,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -20577,8 +20087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *105 - - *126 + - *63 + - *125 responses: '204': description: No content @@ -20604,8 +20114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *105 - - *126 + - *63 + - *125 responses: '204': description: No content @@ -20633,23 +20143,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &359 + schema: &349 type: object properties: - default_workflow_permissions: &130 + default_workflow_permissions: &129 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: &130 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -20657,7 +20167,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &132 + default: &131 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -20682,7 +20192,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Success response @@ -20690,13 +20200,13 @@ paths: required: false content: application/json: - schema: &360 + schema: &350 type: object properties: - default_workflow_permissions: *130 - can_approve_pull_request_reviews: *131 + default_workflow_permissions: *129 + can_approve_pull_request_reviews: *130 examples: - default: *132 + default: *131 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20716,7 +20226,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *105 + - *63 - *17 - *19 - name: visible_to_repository @@ -20741,7 +20251,7 @@ paths: type: number runner_groups: type: array - items: &133 + items: &132 type: object properties: id: @@ -20857,7 +20367,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -20929,9 +20439,9 @@ paths: description: Response content: application/json: - schema: *133 + schema: *132 examples: - default: &135 + default: &134 value: id: 2 name: octo-runner-group @@ -20966,8 +20476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *105 - - &134 + - *63 + - &133 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -20979,7 +20489,7 @@ paths: description: Response content: application/json: - schema: *133 + schema: *132 examples: default: value: @@ -21015,8 +20525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *105 - - *134 + - *63 + - *133 requestBody: required: true content: @@ -21070,9 +20580,9 @@ paths: description: Response content: application/json: - schema: *133 + schema: *132 examples: - default: *135 + default: *134 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21091,8 +20601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *105 - - *134 + - *63 + - *133 responses: '204': description: Response @@ -21115,8 +20625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *105 - - *134 + - *63 + - *133 - *17 - *19 responses: @@ -21134,11 +20644,11 @@ paths: type: number runners: type: array - items: *113 + items: *112 examples: - default: *136 + default: *135 headers: - Link: *58 + Link: *54 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21158,8 +20668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *105 - - *134 + - *63 + - *133 - *19 - *17 responses: @@ -21177,9 +20687,9 @@ paths: type: number repositories: type: array - items: *137 + items: *136 examples: - default: &658 + default: &656 value: total_count: 1 repositories: @@ -21431,8 +20941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *105 - - *134 + - *63 + - *133 requestBody: required: true content: @@ -21476,9 +20986,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *105 - - *134 - - *126 + - *63 + - *133 + - *125 responses: '204': description: Response @@ -21500,9 +21010,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *105 - - *134 - - *126 + - *63 + - *133 + - *125 responses: '204': description: Response @@ -21525,8 +21035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *105 - - *134 + - *63 + - *133 - *17 - *19 responses: @@ -21544,7 +21054,7 @@ paths: type: number runners: type: array - items: &139 + items: &138 title: Self hosted runners description: A self hosted runner type: object @@ -21573,7 +21083,7 @@ paths: type: boolean labels: type: array - items: &142 + items: &141 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -21603,7 +21113,7 @@ paths: - busy - labels examples: - default: &140 + default: &139 value: total_count: 2 runners: @@ -21643,7 +21153,7 @@ paths: name: no-gpu type: custom headers: - Link: *58 + Link: *54 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21662,8 +21172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *105 - - *134 + - *63 + - *133 requestBody: required: true content: @@ -21707,9 +21217,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *105 - - *134 - - &138 + - *63 + - *133 + - &137 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -21737,9 +21247,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *105 - - *134 - - *138 + - *63 + - *133 + - *137 responses: '204': description: Response @@ -21769,7 +21279,7 @@ paths: in: query schema: type: string - - *105 + - *63 - *17 - *19 responses: @@ -21787,11 +21297,11 @@ paths: type: integer runners: type: array - items: *139 + items: *138 examples: - default: *140 + default: *139 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21813,7 +21323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -21821,7 +21331,7 @@ paths: application/json: schema: type: array - items: &361 + items: &351 title: Runner Application description: Runner Application type: object @@ -21846,7 +21356,7 @@ paths: - download_url - filename examples: - default: &362 + default: &352 value: - os: osx architecture: x64 @@ -21889,7 +21399,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -21932,7 +21442,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &363 + '201': &353 description: Response content: application/json: @@ -21942,7 +21452,7 @@ paths: - runner - encoded_jit_config properties: - runner: *139 + runner: *138 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -21999,13 +21509,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *105 + - *63 responses: '201': description: Response content: application/json: - schema: &141 + schema: &140 title: Authentication Token description: Authentication Token type: object @@ -22027,7 +21537,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *67 + items: *66 single_file: type: string example: config.yaml @@ -22043,7 +21553,7 @@ paths: - token - expires_at examples: - default: &364 + default: &354 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22074,15 +21584,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *105 + - *63 responses: '201': description: Response content: application/json: - schema: *141 + schema: *140 examples: - default: &365 + default: &355 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22107,16 +21617,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 + - *63 + - *137 responses: '200': description: Response content: application/json: - schema: *139 + schema: *138 examples: - default: &366 + default: &356 value: id: 23 name: MBP @@ -22157,8 +21667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *105 - - *138 + - *63 + - *137 responses: '204': description: Response @@ -22184,10 +21694,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 + - *63 + - *137 responses: - '200': &143 + '200': &142 description: Response content: application/json: @@ -22201,7 +21711,7 @@ paths: type: integer labels: type: array - items: *142 + items: *141 examples: default: value: @@ -22240,8 +21750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 + - *63 + - *137 requestBody: required: true content: @@ -22265,7 +21775,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *142 '404': *6 '422': *7 x-github: @@ -22289,8 +21799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 + - *63 + - *137 requestBody: required: true content: @@ -22315,7 +21825,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *142 '404': *6 '422': *7 x-github: @@ -22339,10 +21849,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 + - *63 + - *137 responses: - '200': &367 + '200': &357 description: Response content: application/json: @@ -22356,7 +21866,7 @@ paths: type: integer labels: type: array - items: *142 + items: *141 examples: default: value: @@ -22397,9 +21907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *105 - - *138 - - &368 + - *63 + - *137 + - &358 name: name description: The name of a self-hosted runner's custom label. in: path @@ -22407,7 +21917,7 @@ paths: schema: type: string responses: - '200': *143 + '200': *142 '404': *6 '422': *7 x-github: @@ -22432,7 +21942,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *105 + - *63 - *17 - *19 responses: @@ -22450,7 +21960,7 @@ paths: type: integer secrets: type: array - items: &144 + items: &143 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -22500,7 +22010,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 +22033,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &380 + schema: &370 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22558,7 +22068,7 @@ paths: - key_id - key examples: - default: &381 + default: &371 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22583,8 +22093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *105 - - &145 + - *63 + - &144 name: secret_name description: The name of the secret. in: path @@ -22596,7 +22106,7 @@ paths: description: Response content: application/json: - schema: *144 + schema: *143 examples: default: value: @@ -22626,8 +22136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 requestBody: required: true content: @@ -22684,7 +22194,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -22710,8 +22220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 responses: '204': description: Response @@ -22737,8 +22247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 - *19 - *17 responses: @@ -22756,9 +22266,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *136 examples: - default: &149 + default: &148 value: total_count: 1 repositories: @@ -22850,8 +22360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 requestBody: required: true content: @@ -22903,8 +22413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 - name: repository_id in: path required: true @@ -22937,8 +22447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 - name: repository_id in: path required: true @@ -22970,8 +22480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *105 - - &349 + - *63 + - &339 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 +22505,7 @@ paths: type: integer variables: type: array - items: &147 + items: &146 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23059,7 +22569,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 +22590,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *105 + - *63 requestBody: required: true content: @@ -23128,7 +22638,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -23153,8 +22663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *105 - - &148 + - *63 + - &147 name: name description: The name of the variable. in: path @@ -23166,7 +22676,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *146 examples: default: value: @@ -23196,8 +22706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *147 requestBody: required: true content: @@ -23259,8 +22769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *147 responses: '204': description: Response @@ -23286,8 +22796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *147 - *19 - *17 responses: @@ -23305,9 +22815,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *136 examples: - default: *149 + default: *148 '409': description: Response when the visibility of the variable is not set to `selected` @@ -23333,8 +22843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *147 requestBody: required: true content: @@ -23383,8 +22893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *147 - name: repository_id in: path required: true @@ -23418,8 +22928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *147 - name: repository_id in: path required: true @@ -23450,7 +22960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *105 + - *63 requestBody: required: true content: @@ -23582,7 +23092,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *105 + - *63 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -23667,7 +23177,7 @@ paths: - *17 - *40 - *41 - - *105 + - *63 requestBody: required: true content: @@ -23690,12 +23200,12 @@ paths: required: - subject_digests examples: - default: &687 + default: &684 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &688 + withPredicateType: &685 value: subject_digests: - sha256:abc123 @@ -23753,7 +23263,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &689 + default: &686 value: attestations_subject_digests: - sha256:abc: @@ -23862,7 +23372,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *105 + - *63 requestBody: required: true content: @@ -23927,7 +23437,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *105 + - *63 - name: subject_digest description: Subject Digest in: path @@ -23946,6 +23456,57 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories + parameters: + - *17 + - *40 + - *41 + - *63 + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + value: + - id: 123 + name: foo + - id: 456 + name: bar + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -23958,7 +23519,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *105 + - *63 - name: attestation_id description: Attestation ID in: path @@ -23996,7 +23557,7 @@ paths: - *17 - *40 - *41 - - *105 + - *63 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24049,7 +23610,7 @@ paths: initiator: type: string examples: - default: &394 + default: &384 value: attestations: - bundle: @@ -24156,7 +23717,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -24168,7 +23729,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24187,8 +23748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *105 - *63 + - *59 responses: '204': description: If the user is blocked @@ -24213,8 +23774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -24234,8 +23795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -24260,7 +23821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *105 + - *63 - *19 - *17 - *48 @@ -24268,7 +23829,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &150 + schema: &149 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -24294,7 +23855,7 @@ paths: application/json: schema: type: array - items: &151 + items: &150 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -24325,7 +23886,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &169 + items: &172 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -24515,7 +24076,7 @@ paths: type: string format: date-time nullable: true - state: *150 + state: *149 contact_link: description: The contact link of the campaign. type: string @@ -24610,9 +24171,9 @@ paths: closed_at: state: open headers: - Link: *58 + Link: *54 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24636,7 +24197,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -24730,9 +24291,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *150 examples: - default: &152 + default: &151 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -24781,7 +24342,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24803,7 +24364,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *105 + - *63 - name: campaign_number description: The campaign number. in: path @@ -24815,16 +24376,16 @@ paths: description: Response content: application/json: - schema: *151 + schema: *150 examples: - default: *152 + default: *151 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24845,7 +24406,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *105 + - *63 - name: campaign_number description: The campaign number. in: path @@ -24894,7 +24455,7 @@ paths: type: string format: uri nullable: true - state: *150 + state: *149 examples: default: value: @@ -24904,9 +24465,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *150 examples: - default: *152 + default: *151 '400': description: Bad Request content: @@ -24918,7 +24479,7 @@ paths: content: application/json: schema: *3 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24939,7 +24500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *105 + - *63 - name: campaign_number description: The campaign number. in: path @@ -24950,7 +24511,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24972,18 +24533,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *105 - - &419 + - *63 + - &409 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. in: query required: false - schema: &156 + schema: &159 type: string description: The name of the tool used to generate the code scanning analysis. - - &420 + - &410 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -24991,7 +24552,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &157 + schema: &160 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -25006,7 +24567,7 @@ paths: be returned. in: query required: false - schema: &422 + schema: &412 type: string description: State of a code scanning alert. enum: @@ -25029,7 +24590,7 @@ paths: be returned. in: query required: false - schema: &423 + schema: &413 type: string description: Severity of a code scanning alert. enum: @@ -25050,18 +24611,18 @@ paths: items: type: object properties: - number: *54 - created_at: *55 - updated_at: *153 - url: *56 - html_url: *57 - instances_url: &424 + number: *152 + created_at: *153 + updated_at: *154 + url: *155 + html_url: *156 + instances_url: &414 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &158 + state: &161 type: string description: State of a code scanning alert. nullable: true @@ -25069,7 +24630,7 @@ paths: - open - dismissed - fixed - fixed_at: *154 + fixed_at: *157 dismissed_by: title: Simple User description: A GitHub user. @@ -25077,8 +24638,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *155 - dismissed_reason: &425 + dismissed_at: *158 + dismissed_reason: &415 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -25087,13 +24648,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &426 + dismissed_comment: &416 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &427 + rule: &417 type: object properties: id: @@ -25146,25 +24707,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &428 + tool: &418 type: object properties: - name: *156 + name: *159 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *157 - most_recent_instance: &429 + guid: *160 + most_recent_instance: &419 type: object properties: - ref: &421 + ref: &411 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &439 + analysis_key: &429 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25175,13 +24736,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &440 + category: &430 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *158 + state: *161 commit_sha: type: string message: @@ -25475,9 +25036,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *58 + Link: *54 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25499,7 +25060,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *105 + - *63 - name: target_type in: query description: The target type of the code security configuration @@ -25610,7 +25171,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *105 + - *63 requestBody: required: true content: @@ -25688,7 +25249,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *159 + code_scanning_options: *162 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -25831,7 +25392,7 @@ paths: application/json: schema: *43 examples: - default: *160 + default: *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25853,15 +25414,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: *161 + schema: *164 examples: - default: *162 + default: *165 '304': *37 '403': *29 '404': *6 @@ -25887,7 +25448,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *105 + - *63 requestBody: required: true content: @@ -25913,7 +25474,7 @@ paths: - 32 - 91 responses: - '204': *163 + '204': *166 '400': *14 '403': *29 '404': *6 @@ -25939,7 +25500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *105 + - *63 - *45 responses: '200': @@ -25948,7 +25509,7 @@ paths: application/json: schema: *43 examples: - default: *160 + default: *163 '304': *37 '403': *29 '404': *6 @@ -25972,7 +25533,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *105 + - *63 - *45 requestBody: required: true @@ -26229,10 +25790,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *105 + - *63 - *45 responses: - '204': *163 + '204': *166 '400': *14 '403': *29 '404': *6 @@ -26260,7 +25821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *105 + - *63 - *45 requestBody: required: true @@ -26324,7 +25885,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *105 + - *63 - *45 requestBody: required: true @@ -26370,7 +25931,7 @@ paths: default: value: default_for_new_repos: all - configuration: *160 + configuration: *163 '403': *29 '404': *6 x-github: @@ -26394,7 +25955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *105 + - *63 - *45 - name: per_page description: The number of results per page (max 100). For more information, @@ -26423,13 +25984,13 @@ paths: application/json: schema: type: array - items: *164 + items: *167 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *165 + repository: *168 '403': *29 '404': *6 x-github: @@ -26453,7 +26014,7 @@ paths: parameters: - *17 - *19 - - *105 + - *63 responses: '200': description: Response @@ -26469,7 +26030,7 @@ paths: type: integer codespaces: type: array - items: &214 + items: &215 type: object title: Codespace description: A codespace. @@ -26494,12 +26055,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *137 + repository: *136 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &452 + properties: &442 name: type: string description: The name of the machine. @@ -26541,7 +26102,7 @@ paths: - ready - in_progress nullable: true - required: &453 + required: &443 - name - display_name - operating_system @@ -26746,7 +26307,7 @@ paths: - pulls_url - recent_folders examples: - default: &215 + default: &216 value: total_count: 3 codespaces: @@ -27156,7 +26717,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -27178,7 +26739,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *105 + - *63 deprecated: true requestBody: required: true @@ -27222,7 +26783,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27245,7 +26806,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *105 + - *63 deprecated: true requestBody: required: true @@ -27277,7 +26838,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27300,7 +26861,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *105 + - *63 requestBody: required: true content: @@ -27331,7 +26892,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27352,7 +26913,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *105 + - *63 - *17 - *19 responses: @@ -27370,7 +26931,7 @@ paths: type: integer secrets: type: array - items: &166 + items: &169 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -27409,7 +26970,7 @@ paths: - updated_at - visibility examples: - default: &454 + default: &444 value: total_count: 2 secrets: @@ -27422,7 +26983,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27441,13 +27002,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &455 + schema: &445 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27476,7 +27037,7 @@ paths: - key_id - key examples: - default: &456 + default: &446 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27499,23 +27060,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 responses: '200': description: Response content: application/json: - schema: *166 + schema: *169 examples: - default: &458 + default: &448 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 +27096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 requestBody: required: true content: @@ -27591,7 +27152,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -27617,8 +27178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 responses: '204': description: Response @@ -27643,8 +27204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 - *19 - *17 responses: @@ -27662,9 +27223,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *136 examples: - default: *149 + default: *148 '404': *6 x-github: githubCloudOnly: false @@ -27686,8 +27247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 requestBody: required: true content: @@ -27737,8 +27298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 - name: repository_id in: path required: true @@ -27771,8 +27332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 - name: repository_id in: path required: true @@ -27811,7 +27372,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *105 + - *63 responses: '200': description: OK @@ -27920,7 +27481,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -27952,7 +27513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *105 + - *63 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -27975,7 +27536,7 @@ paths: currently being billed. seats: type: array - items: &217 + items: &218 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -27992,15 +27553,15 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *167 - required: *168 + properties: *170 + required: *171 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *169 - - *59 + - *172 + - *55 nullable: true pending_cancellation_date: type: string @@ -28124,8 +27685,8 @@ paths: type: User site_admin: false headers: - Link: *58 - '500': *106 + Link: *54 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -28158,7 +27719,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *105 + - *63 requestBody: content: application/json: @@ -28200,7 +27761,7 @@ paths: default: value: seats_created: 5 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -28236,7 +27797,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *105 + - *63 requestBody: content: application/json: @@ -28278,7 +27839,7 @@ paths: default: value: seats_cancelled: 5 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -28316,7 +27877,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *105 + - *63 requestBody: content: application/json: @@ -28357,7 +27918,7 @@ paths: default: value: seats_created: 5 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -28393,7 +27954,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *105 + - *63 requestBody: content: application/json: @@ -28435,7 +27996,7 @@ paths: default: value: seats_cancelled: 5 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -28474,7 +28035,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *105 + - *63 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -28506,7 +28067,7 @@ paths: application/json: schema: type: array - items: &312 + items: &302 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -28813,7 +28374,7 @@ paths: - date additionalProperties: true examples: - default: &313 + default: &303 value: - date: '2024-06-24' total_active_users: 24 @@ -28912,10 +28473,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *106 + '500': *104 '403': *29 '404': *6 - '422': &314 + '422': &304 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -28942,12 +28503,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *105 - - *170 - - *171 - - *172 + - *63 - *173 - *174 + - *175 + - *176 + - *177 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -28985,13 +28546,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *175 - - *176 + - *178 + - *179 - *48 - *40 - *41 - - *177 - - *178 - *17 responses: '200': @@ -29000,9 +28559,9 @@ paths: application/json: schema: type: array - items: *179 + items: *180 examples: - default: *180 + default: *181 '304': *37 '400': *14 '403': *29 @@ -29028,7 +28587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *105 + - *63 - *17 - *19 responses: @@ -29046,7 +28605,7 @@ paths: type: integer secrets: type: array - items: &181 + items: &182 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -29096,7 +28655,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 +28676,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &484 + schema: &474 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -29140,7 +28699,7 @@ paths: - key_id - key examples: - default: &485 + default: &475 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29163,14 +28722,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 responses: '200': description: Response content: application/json: - schema: *181 + schema: *182 examples: default: value: @@ -29198,8 +28757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 requestBody: required: true content: @@ -29258,7 +28817,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -29282,8 +28841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 responses: '204': description: Response @@ -29307,8 +28866,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 - *19 - *17 responses: @@ -29326,9 +28885,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *136 examples: - default: *149 + default: *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29349,8 +28908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 requestBody: required: true content: @@ -29400,8 +28959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 - name: repository_id in: path required: true @@ -29432,8 +28991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *144 - name: repository_id in: path required: true @@ -29463,7 +29022,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -29521,8 +29080,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *182 - required: *183 + properties: *183 + required: *184 nullable: true created_at: type: string @@ -29619,7 +29178,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *105 + - *63 - *17 - *19 responses: @@ -29629,7 +29188,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: 200-response: value: @@ -29701,7 +29260,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *105 + - *63 - *17 - *19 responses: @@ -29711,7 +29270,7 @@ paths: application/json: schema: type: array - items: &206 + items: &207 title: Organization Invitation description: Organization Invitation type: object @@ -29758,7 +29317,7 @@ paths: - invitation_teams_url - node_id examples: - default: &207 + default: &208 value: - id: 1 login: monalisa @@ -29791,7 +29350,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 +29374,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *105 + - *63 - *17 - *19 responses: @@ -29825,7 +29384,7 @@ paths: application/json: schema: type: array - items: &184 + items: &185 title: Org Hook description: Org Hook type: object @@ -29913,7 +29472,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -29936,7 +29495,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *105 + - *63 requestBody: required: true content: @@ -29996,9 +29555,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: - default: &185 + default: &186 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -30045,8 +29604,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *105 - - &186 + - *63 + - &187 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 +29618,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: - default: *185 + default: *186 '404': *6 x-github: githubCloudOnly: false @@ -30088,8 +29647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *187 requestBody: required: false content: @@ -30134,7 +29693,7 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: default: value: @@ -30175,8 +29734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *187 responses: '204': description: Response @@ -30203,8 +29762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *105 - - *186 + - *63 + - *187 responses: '200': description: Response @@ -30234,8 +29793,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *105 - - *186 + - *63 + - *187 requestBody: required: false content: @@ -30285,10 +29844,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *105 - - *186 - - *17 + - *63 - *187 + - *17 + - *188 responses: '200': description: Response @@ -30296,9 +29855,9 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: - default: *189 + default: *190 '400': *14 '422': *15 x-github: @@ -30323,17 +29882,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *187 - *16 responses: '200': description: Response content: application/json: - schema: *190 + schema: *191 examples: - default: *191 + default: *192 '400': *14 '422': *15 x-github: @@ -30358,8 +29917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *187 - *16 responses: '202': *39 @@ -30388,8 +29947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *187 responses: '204': description: Response @@ -30411,8 +29970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *105 - - &196 + - *63 + - &197 name: actor_type in: path description: The type of the actor @@ -30425,14 +29984,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &197 + - &198 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &192 + - &193 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 +29999,7 @@ paths: required: true schema: type: string - - &193 + - &194 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 +30092,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *105 - - *192 + - *63 - *193 + - *194 - *19 - *17 - *48 - - &202 + - &203 name: sort description: The property to sort the results by. in: query @@ -30617,15 +30176,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *105 - - *192 + - *63 - *193 + - *194 responses: '200': description: Response content: application/json: - schema: &194 + schema: &195 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30641,7 +30200,7 @@ paths: type: integer format: int64 examples: - default: &195 + default: &196 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30661,24 +30220,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *105 - - &198 + - *63 + - &199 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *192 - *193 + - *194 responses: '200': description: Response content: application/json: - schema: *194 + schema: *195 examples: - default: *195 + default: *196 x-github: enabledForGitHubApps: true category: orgs @@ -30696,19 +30255,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *105 - - *192 + - *63 - *193 - - *196 + - *194 - *197 + - *198 responses: '200': description: Response content: application/json: - schema: *194 + schema: *195 examples: - default: *195 + default: *196 x-github: enabledForGitHubApps: true category: orgs @@ -30725,10 +30284,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *105 - - *192 + - *63 - *193 - - &199 + - *194 + - &200 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30741,7 +30300,7 @@ paths: description: Response content: application/json: - schema: &200 + schema: &201 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30757,7 +30316,7 @@ paths: type: integer format: int64 examples: - default: &201 + default: &202 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30793,19 +30352,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 + - *63 - *199 + - *193 + - *194 + - *200 responses: '200': description: Response content: application/json: - schema: *200 + schema: *201 examples: - default: *201 + default: *202 x-github: enabledForGitHubApps: true category: orgs @@ -30822,20 +30381,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *105 - - *196 + - *63 - *197 - - *192 + - *198 - *193 - - *199 + - *194 + - *200 responses: '200': description: Response content: application/json: - schema: *200 + schema: *201 examples: - default: *201 + default: *202 x-github: enabledForGitHubApps: true category: orgs @@ -30852,14 +30411,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *105 - - *198 - - *192 + - *63 + - *199 - *193 + - *194 - *19 - *17 - *48 - - *202 + - *203 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -30932,7 +30491,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *105 + - *63 responses: '200': description: Response @@ -30940,7 +30499,7 @@ paths: application/json: schema: *22 examples: - default: &523 + default: &513 value: id: 1 account: @@ -31009,7 +30568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -31079,7 +30638,7 @@ paths: suspended_at: suspended_by: headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31098,7 +30657,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -31106,12 +30665,12 @@ paths: application/json: schema: anyOf: - - &204 + - &205 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &203 + limit: &204 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -31136,7 +30695,7 @@ paths: properties: {} additionalProperties: false examples: - default: &205 + default: &206 value: limit: collaborators_only origin: organization @@ -31160,18 +30719,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: application/json: - schema: &524 + schema: &514 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *203 + limit: *204 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -31195,9 +30754,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: *205 + default: *206 '422': *15 x-github: githubCloudOnly: false @@ -31215,7 +30774,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -31239,7 +30798,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *105 + - *63 - *17 - *19 - name: role @@ -31273,11 +30832,11 @@ paths: application/json: schema: type: array - items: *206 + items: *207 examples: - default: *207 + default: *208 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -31298,7 +30857,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *105 + - *63 requestBody: required: false content: @@ -31352,7 +30911,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *207 examples: default: value: @@ -31406,8 +30965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *105 - - &208 + - *63 + - &209 name: invitation_id description: The unique identifier of the invitation. in: path @@ -31437,8 +30996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *105 - - *208 + - *63 + - *209 - *17 - *19 responses: @@ -31448,7 +31007,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: &227 value: @@ -31466,7 +31025,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 +31044,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -31493,7 +31052,7 @@ paths: application/json: schema: type: array - items: *209 + items: *210 examples: default: value: @@ -31531,7 +31090,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -31578,9 +31137,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *210 examples: - default: &210 + default: &211 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -31612,8 +31171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *105 - - &211 + - *63 + - &212 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -31666,9 +31225,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *210 examples: - default: *210 + default: *211 '404': *6 '422': *7 x-github: @@ -31692,8 +31251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *105 - - *211 + - *63 + - *212 responses: '204': description: Response @@ -31726,7 +31285,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *105 + - *63 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -31756,7 +31315,7 @@ paths: - closed - all default: open - - *212 + - *213 - name: type description: Can be the name of an issue type. in: query @@ -31775,7 +31334,7 @@ paths: - comments default: created - *48 - - *79 + - *77 - *17 - *19 responses: @@ -31785,11 +31344,11 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: *213 + default: *214 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -31809,7 +31368,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *105 + - *63 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -31847,9 +31406,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -31867,8 +31426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response if requester is an organization member and user is @@ -31902,8 +31461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -31929,8 +31488,8 @@ paths: parameters: - *17 - *19 - - *105 - *63 + - *59 responses: '200': description: Response @@ -31946,11 +31505,11 @@ paths: type: integer codespaces: type: array - items: *214 + items: *215 examples: - default: *215 + default: *216 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -31973,9 +31532,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *105 - *63 - - &216 + - *59 + - &217 name: codespace_name in: path required: true @@ -31985,7 +31544,7 @@ paths: responses: '202': *39 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -32008,17 +31567,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *105 - *63 - - *216 + - *59 + - *217 responses: '200': description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: &451 + default: &441 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -32160,7 +31719,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -32191,14 +31750,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *105 - *63 + - *59 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *217 + schema: *218 examples: default: value: @@ -32242,7 +31801,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -32267,8 +31826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *105 - *63 + - *59 responses: '200': description: Response @@ -32318,7 +31877,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *218 + organization: *61 user: title: Simple User description: A GitHub user. @@ -32409,8 +31968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *105 - *63 + - *59 requestBody: required: false content: @@ -32464,8 +32023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -32490,7 +32049,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *105 + - *63 - *17 - *19 - name: exclude @@ -32552,7 +32111,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *67 + items: *66 url: type: string format: uri @@ -32748,7 +32307,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 +32323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *105 + - *63 requestBody: required: true content: @@ -33018,7 +32577,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *105 + - *63 - &222 name: migration_id description: The unique identifier of the migration. @@ -33215,7 +32774,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *105 + - *63 - *222 responses: '302': @@ -33237,7 +32796,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *105 + - *63 - *222 responses: '204': @@ -33261,9 +32820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *105 + - *63 - *222 - - &671 + - &669 name: repo_name description: repo_name parameter in: path @@ -33290,7 +32849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *105 + - *63 - *222 - *17 - *19 @@ -33301,7 +32860,7 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: &234 value: @@ -33414,7 +32973,7 @@ paths: secret_scanning_non_provider_patterns: status: disabled headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -33440,7 +32999,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response - list of organization roles @@ -33603,8 +33162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *105 - - *65 + - *63 + - *64 responses: '204': description: Response @@ -33629,8 +33188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *105 - - *65 + - *63 + - *64 - &223 name: role_id description: The unique identifier of the role. @@ -33666,8 +33225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *105 - - *65 + - *63 + - *64 - *223 responses: '204': @@ -33693,8 +33252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -33719,8 +33278,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *105 - *63 + - *59 - *223 responses: '204': @@ -33751,8 +33310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *105 - *63 + - *59 - *223 responses: '204': @@ -33781,7 +33340,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *105 + - *63 - *223 responses: '200': @@ -33838,7 +33397,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *105 + - *63 - *223 - *17 - *19 @@ -33952,7 +33511,7 @@ paths: examples: default: *227 headers: - Link: *58 + Link: *54 '404': description: Response if the organization or role does not exist. '422': @@ -33979,7 +33538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *105 + - *63 - *223 - *17 - *19 @@ -34008,7 +33567,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &308 + items: &298 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -34109,9 +33668,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 +33692,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *105 + - *63 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -34160,9 +33719,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34185,8 +33744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *105 - *63 + - *59 requestBody: required: false content: @@ -34243,8 +33802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -34301,8 +33860,8 @@ paths: - docker - nuget - container - - *105 - - &673 + - *63 + - &670 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34343,7 +33902,7 @@ paths: default: *229 '403': *29 '401': *25 - '400': &675 + '400': &672 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34390,7 +33949,7 @@ paths: required: true schema: type: string - - *105 + - *63 responses: '200': description: Response @@ -34450,7 +34009,7 @@ paths: parameters: - *230 - *231 - - *105 + - *63 responses: '204': description: Response @@ -34484,7 +34043,7 @@ paths: parameters: - *230 - *231 - - *105 + - *63 - name: token description: package token schema: @@ -34518,7 +34077,7 @@ paths: parameters: - *230 - *231 - - *105 + - *63 - *19 - *17 - name: state @@ -34665,7 +34224,7 @@ paths: parameters: - *230 - *231 - - *105 + - *63 - &233 name: package_version_id description: Unique identifier of the package version. @@ -34716,7 +34275,7 @@ paths: parameters: - *230 - *231 - - *105 + - *63 - *233 responses: '204': @@ -34751,7 +34310,7 @@ paths: parameters: - *230 - *231 - - *105 + - *63 - *233 responses: '204': @@ -34779,7 +34338,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *105 + - *63 - *17 - *19 - &235 @@ -34852,7 +34411,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *106 + '500': *104 '422': *15 '404': *6 '403': *29 @@ -34984,7 +34543,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 +34563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *105 + - *63 requestBody: required: true content: @@ -35045,7 +34604,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *106 + '500': *104 '422': *15 '404': *6 '403': *29 @@ -35070,7 +34629,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *105 + - *63 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -35106,11 +34665,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *106 + '500': *104 '422': *15 '404': *6 '403': *29 - '204': *163 + '204': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35131,7 +34690,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *105 + - *63 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -35142,7 +34701,7 @@ paths: - *17 - *19 responses: - '500': *106 + '500': *104 '404': *6 '403': *29 '200': @@ -35151,11 +34710,11 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: *234 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35176,7 +34735,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *105 + - *63 - *17 - *19 - *235 @@ -35188,7 +34747,7 @@ paths: - *240 - *241 responses: - '500': *106 + '500': *104 '422': *15 '404': *6 '403': *29 @@ -35315,7 +34874,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 +34894,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *105 + - *63 requestBody: required: true content: @@ -35370,7 +34929,7 @@ paths: - 1296269 - 1296280 responses: - '500': *106 + '500': *104 '404': *6 '202': *39 '403': *29 @@ -35395,7 +34954,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *105 + - *63 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -35423,9 +34982,9 @@ paths: value: action: revoke responses: - '500': *106 + '500': *104 '404': *6 - '204': *163 + '204': *166 '403': *29 '422': *15 x-github: @@ -35447,7 +35006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *105 + - *63 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -35457,7 +35016,7 @@ paths: - *17 - *19 responses: - '500': *106 + '500': *104 '404': *6 '403': *29 '200': @@ -35466,11 +35025,11 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: *234 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35492,7 +35051,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -35576,7 +35135,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *58 + Link: *54 '400': *14 '404': *6 x-github: @@ -35598,7 +35157,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -35804,7 +35363,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -35830,7 +35389,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -35852,8 +35411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *105 - - *145 + - *63 + - *144 responses: '200': description: The specified private registry configuration for the organization @@ -35882,8 +35441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *105 - - *145 + - *63 + - *144 requestBody: required: true content: @@ -35978,8 +35537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *105 - - *145 + - *63 + - *144 responses: '204': description: Response @@ -36004,7 +35563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects parameters: - - *105 + - *63 - name: state description: Indicates the state of the projects to return. in: query @@ -36149,7 +35708,7 @@ paths: organization_permission: write private: true headers: - Link: *58 + Link: *54 '422': *7 x-github: githubCloudOnly: false @@ -36172,7 +35731,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project parameters: - - *105 + - *63 requestBody: required: true content: @@ -36236,7 +35795,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &336 + '410': &326 description: Gone content: application/json: @@ -36262,7 +35821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *105 + - *63 - name: q description: Limit results to projects of the specified type. in: query @@ -36349,7 +35908,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &755 + properties: &752 id: type: number description: The unique identifier of the status update. @@ -36397,7 +35956,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &756 + required: &753 - id - node_id - created_at @@ -36505,7 +36064,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36532,7 +36091,7 @@ paths: required: true schema: type: integer - - *105 + - *63 responses: '200': description: Response @@ -36542,7 +36101,7 @@ paths: examples: default: *246 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36563,7 +36122,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - *247 - - *105 + - *63 - *17 - *40 - *41 @@ -36744,7 +36303,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 @@ -36765,14 +36324,14 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *247 - - &692 + - &689 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *105 + - *63 responses: '200': description: Response @@ -36782,7 +36341,7 @@ paths: examples: default: *249 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36804,7 +36363,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - *247 - - *105 + - *63 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -36813,16 +36372,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string - *40 - *41 - *17 @@ -37573,7 +37135,7 @@ paths: type: sub_issues_progress value: headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -37593,7 +37155,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *105 + - *63 - *247 requestBody: required: true @@ -37631,7 +37193,7 @@ paths: description: Response content: application/json: - schema: &693 + schema: &690 title: Projects v2 Item description: An item belonging to a project type: object @@ -37644,8 +37206,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *71 - - &466 + - *70 + - &456 title: Pull Request Simple description: Pull Request Simple type: object @@ -37797,7 +37359,7 @@ paths: nullable: true requested_teams: type: array - items: *169 + items: *172 nullable: true head: type: object @@ -37806,7 +37368,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *66 sha: type: string user: @@ -37829,7 +37391,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *66 sha: type: string user: @@ -37873,8 +37435,8 @@ paths: - review_comments - review_comment - self - author_association: *72 - auto_merge: &568 + author_association: *71 + auto_merge: &558 title: Auto merge description: The status of auto merging a pull request. type: object @@ -38085,7 +37647,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - *247 - - *105 + - *63 - &257 name: item_id description: The unique identifier of the project item. @@ -38094,16 +37656,19 @@ paths: schema: type: integer - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -38113,7 +37678,7 @@ paths: examples: default: *256 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -38133,7 +37698,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - *247 - - *105 + - *63 - *257 requestBody: required: true @@ -38231,7 +37796,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - *247 - - *105 + - *63 - *257 responses: '204': @@ -38256,7 +37821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -38378,7 +37943,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -38442,7 +38007,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *105 + - *63 - &260 name: custom_property_name description: The custom property name @@ -38491,7 +38056,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *105 + - *63 - *260 requestBody: required: true @@ -38586,10 +38151,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *105 + - *63 - *260 responses: - '204': *163 + '204': *166 '403': *29 '404': *6 x-github: @@ -38610,7 +38175,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *105 + - *63 - *17 - *19 - name: repository_query @@ -38687,7 +38252,7 @@ paths: - property_name: team value: octocat headers: - Link: *58 + Link: *54 '403': *29 '404': *6 x-github: @@ -38715,7 +38280,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *105 + - *63 requestBody: required: true content: @@ -38776,7 +38341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *105 + - *63 - *17 - *19 responses: @@ -38788,9 +38353,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38807,8 +38372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response if user is a public member @@ -38832,8 +38397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -38854,8 +38419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -38879,7 +38444,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *105 + - *63 - name: type description: Specifies the types of repositories you want returned. in: query @@ -38925,11 +38490,11 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: *234 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38948,7 +38513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *105 + - *63 requestBody: required: true content: @@ -39129,7 +38694,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &328 title: Full Repository description: Full Repository type: object @@ -39494,8 +39059,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true organization: title: Simple User @@ -39504,8 +39069,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *67 - source: *67 + parent: *66 + source: *66 forks: type: integer master_branch: @@ -39522,7 +39087,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &471 + properties: &461 url: type: string format: uri @@ -39538,7 +39103,7 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &472 + required: &462 - url - key - name @@ -39627,7 +39192,7 @@ paths: - network_count - subscribers_count examples: - default: &340 + default: &330 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40145,10 +39710,10 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *63 - *17 - *19 - - &591 + - &581 name: targets description: | A comma-separated list of rule targets to filter by. @@ -40429,7 +39994,7 @@ paths: - repository_property rules: type: array - items: &592 + items: &582 title: Repository Rule type: object description: A repository rule. @@ -40491,7 +40056,7 @@ paths: type: string enum: - required_linear_history - - &589 + - &579 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -41115,7 +40680,7 @@ paths: - tool required: - code_scanning_tools - - &590 + - &580 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -41176,7 +40741,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *106 + '500': *104 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -41192,7 +40757,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *63 requestBody: description: Request body required: true @@ -41326,7 +40891,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *106 + '500': *104 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -41340,8 +40905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *105 - - &593 + - *63 + - &583 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 +40921,7 @@ paths: in: query schema: type: string - - &594 + - &584 name: time_period description: |- The time period to filter by. @@ -41372,14 +40937,14 @@ paths: - week - month default: day - - &595 + - &585 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 + - &586 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -41399,7 +40964,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &587 title: Rule Suites description: Response type: array @@ -41454,7 +41019,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &598 + default: &588 value: - id: 21 actor_id: 12 @@ -41478,7 +41043,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41497,8 +41062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *105 - - &599 + - *63 + - &589 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41514,7 +41079,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &590 title: Rule Suite description: Response type: object @@ -41613,7 +41178,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &601 + default: &591 value: id: 21 actor_id: 12 @@ -41648,7 +41213,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41674,7 +41239,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *63 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41690,7 +41255,7 @@ paths: examples: default: *292 '404': *6 - '500': *106 + '500': *104 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -41706,7 +41271,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *63 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41780,7 +41345,7 @@ paths: examples: default: *292 '404': *6 - '500': *106 + '500': *104 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -41796,7 +41361,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *63 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41807,7 +41372,7 @@ paths: '204': description: Response '404': *6 - '500': *106 + '500': *104 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -41819,7 +41384,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *105 + - *63 - *17 - *19 - name: ruleset_id @@ -41859,7 +41424,7 @@ paths: type: string format: date-time examples: - default: &603 + default: &593 value: - version_id: 3 actor: @@ -41877,7 +41442,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41894,7 +41459,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *105 + - *63 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41912,7 +41477,7 @@ paths: description: Response content: application/json: - schema: &604 + schema: &594 allOf: - *294 - type: object @@ -41961,7 +41526,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41983,15 +41548,53 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *105 - - *295 - - *296 - - *297 - - *298 + - *63 + - &595 + 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 + - &596 + 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 + - &597 + 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 + - &598 + 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 + - &599 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 +41604,7 @@ paths: required: false schema: type: string - - &606 + - &600 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 +41614,42 @@ paths: required: false schema: type: string - - *299 - - *300 - - *301 - - *302 + - &601 + 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 + - &602 + 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 + - &603 + 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 + - &604 + 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 +41657,593 @@ paths: application/json: schema: type: array - items: *303 + items: + type: object + properties: + number: *152 + created_at: *153 + 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: *155 + html_url: *156 + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this + alert. + state: &605 + 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: &606 + 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: &607 + - &609 + 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 + - &610 + 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 + - &611 + 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 + - &612 + 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 + - &613 + 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 + - &614 + 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 + - &615 + 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 + - &616 + 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 + - &617 + 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 + - &618 + 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 + - &619 + 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 + - &620 + 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 + - &621 + description: Represents a 'pull_request_review_comment' secret + scanning location type. This location type shows that a + secret was detected in a review comment on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable: true + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. + assigned_to: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true examples: - default: *304 + default: + value: + - number: 2 + created_at: '2020-11-06T18:48:51Z' + url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 + html_url: https://github.com/owner/private-repo/security/secret-scanning/2 + locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations + state: resolved + resolution: false_positive + resolved_at: '2020-11-07T02:47:13Z' + resolved_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + secret_type: adafruit_io_key + secret_type_display_name: Adafruit IO Key + secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + push_protection_bypassed_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + push_protection_bypassed: true + push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_reviewer_comment: Example response + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 + resolution_comment: Example comment + validity: active + publicly_leaked: false + multi_repo: false + is_base64_encoded: false + first_location_detected: + path: "/example/secrets.txt" + start_line: 1 + end_line: 1 + start_column: 1 + end_column: 64 + blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b + commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b + has_more_locations: true + assigned_to: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false headers: - Link: *58 + Link: *54 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42053,7 +42268,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *105 + - *63 responses: '200': description: Response @@ -42065,7 +42280,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &306 + pattern_config_version: &296 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 +42289,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &305 + items: &295 type: object properties: token_type: @@ -42140,7 +42355,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *305 + items: *295 examples: default: value: @@ -42189,7 +42404,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *105 + - *63 requestBody: required: true content: @@ -42197,7 +42412,7 @@ paths: schema: type: object properties: - pattern_config_version: *306 + pattern_config_version: *296 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -42223,7 +42438,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *306 + custom_pattern_version: *296 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -42277,7 +42492,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *105 + - *63 - *48 - name: sort description: The property to sort the results by. @@ -42321,7 +42536,7 @@ paths: application/json: schema: type: array - items: &627 + items: &625 description: A repository security advisory. type: object properties: @@ -42541,7 +42756,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *297 credits_detailed: type: array nullable: true @@ -42551,7 +42766,7 @@ paths: type: object properties: user: *4 - type: *307 + type: *297 state: type: string description: The state of the user's acceptance of the @@ -42575,7 +42790,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *169 + items: *172 private_fork: readOnly: true nullable: true @@ -42612,7 +42827,7 @@ paths: - private_fork additionalProperties: false examples: - default: &628 + default: &626 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42991,7 +43206,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *105 + - *63 responses: '200': description: Response @@ -42999,7 +43214,7 @@ paths: application/json: schema: type: array - items: *308 + items: *298 examples: default: *227 x-github: @@ -43024,8 +43239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *105 - - *65 + - *63 + - *64 responses: '204': description: Response @@ -43050,8 +43265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *105 - - *65 + - *63 + - *64 responses: '204': description: Response @@ -43080,13 +43295,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &694 + schema: &691 type: object properties: total_minutes_used: @@ -43156,7 +43371,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &695 + default: &692 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -43186,13 +43401,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &696 + schema: &693 type: object properties: total_gigabytes_bandwidth_used: @@ -43210,7 +43425,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &697 + default: &694 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -43236,13 +43451,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &701 + schema: &698 type: object properties: days_left_in_billing_cycle: @@ -43260,7 +43475,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &702 + default: &699 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -43284,7 +43499,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Immutable releases settings response @@ -43333,7 +43548,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -43390,7 +43605,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *105 + - *63 - *19 - *17 responses: @@ -43408,9 +43623,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *136 examples: - default: *149 + default: *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43429,7 +43644,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *105 + - *63 requestBody: required: true content: @@ -43478,8 +43693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *105 - - *126 + - *63 + - *125 responses: '204': description: Response @@ -43501,8 +43716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *105 - - *126 + - *63 + - *125 responses: '204': description: Response @@ -43525,7 +43740,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -43543,7 +43758,7 @@ paths: type: integer network_configurations: type: array - items: &309 + items: &299 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -43602,7 +43817,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43621,7 +43836,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -43663,9 +43878,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *299 examples: - default: &310 + default: &300 value: id: 123456789ABCDEF name: My network configuration @@ -43693,8 +43908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *105 - - &311 + - *63 + - &301 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -43706,11 +43921,11 @@ paths: description: Response content: application/json: - schema: *309 + schema: *299 examples: - default: *310 + default: *300 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43729,8 +43944,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *105 - - *311 + - *63 + - *301 requestBody: required: true content: @@ -43769,9 +43984,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *299 examples: - default: *310 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43790,8 +44005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *105 - - *311 + - *63 + - *301 responses: '204': description: Response @@ -43814,7 +44029,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *105 + - *63 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -43868,7 +44083,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 +44113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *105 - - *65 + - *63 + - *64 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -43931,13 +44146,13 @@ paths: application/json: schema: type: array - items: *312 + items: *302 examples: - default: *313 - '500': *106 + default: *303 + '500': *104 '403': *29 '404': *6 - '422': *314 + '422': *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43955,7 +44170,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *105 + - *63 - *17 - *19 responses: @@ -43965,11 +44180,11 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: *227 headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -43989,7 +44204,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *105 + - *63 requestBody: required: true content: @@ -44061,7 +44276,7 @@ paths: description: Response content: application/json: - schema: &315 + schema: &305 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -44388,7 +44603,7 @@ paths: - repos_count - organization examples: - default: &316 + default: &306 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44458,16 +44673,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *105 - - *65 + - *63 + - *64 responses: '200': description: Response content: application/json: - schema: *315 + schema: *305 examples: - default: *316 + default: *306 '404': *6 x-github: githubCloudOnly: false @@ -44488,8 +44703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *105 - - *65 + - *63 + - *64 requestBody: required: false content: @@ -44551,16 +44766,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *315 + schema: *305 examples: - default: *316 + default: *306 '201': description: Response content: application/json: - schema: *315 + schema: *305 examples: - default: *316 + default: *306 '404': *6 '422': *15 '403': *29 @@ -44585,8 +44800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *105 - - *65 + - *63 + - *64 responses: '204': description: Response @@ -44612,8 +44827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *105 - - *65 + - *63 + - *64 - *48 - *17 - *19 @@ -44630,7 +44845,7 @@ paths: application/json: schema: type: array - items: &317 + items: &307 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44709,7 +44924,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *73 + reactions: *72 required: - author - body @@ -44729,7 +44944,7 @@ paths: - updated_at - url examples: - default: &645 + default: &643 value: - author: login: octocat @@ -44779,7 +44994,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44803,8 +45018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *105 - - *65 + - *63 + - *64 requestBody: required: true content: @@ -44838,9 +45053,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *307 examples: - default: &318 + default: &308 value: author: login: octocat @@ -44912,9 +45127,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *105 - - *65 - - &319 + - *63 + - *64 + - &309 name: discussion_number description: The number that identifies the discussion. in: path @@ -44926,9 +45141,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *307 examples: - default: *318 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44950,9 +45165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *309 requestBody: required: false content: @@ -44975,9 +45190,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *307 examples: - default: &646 + default: &644 value: author: login: octocat @@ -45047,9 +45262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *309 responses: '204': description: Response @@ -45075,9 +45290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *309 - *48 - *17 - *19 @@ -45088,7 +45303,7 @@ paths: application/json: schema: type: array - items: &320 + items: &310 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -45145,7 +45360,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *73 + reactions: *72 required: - author - body @@ -45160,7 +45375,7 @@ paths: - updated_at - url examples: - default: &647 + default: &645 value: - author: login: octocat @@ -45204,7 +45419,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45228,9 +45443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *309 requestBody: required: true content: @@ -45252,9 +45467,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *310 examples: - default: &321 + default: &311 value: author: login: octocat @@ -45320,10 +45535,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *105 - - *65 - - *319 - - &322 + - *63 + - *64 + - *309 + - &312 name: comment_number description: The number that identifies the comment. in: path @@ -45335,9 +45550,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *310 examples: - default: *321 + default: *311 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45359,10 +45574,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *63 + - *64 + - *309 + - *312 requestBody: required: true content: @@ -45384,9 +45599,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *310 examples: - default: &648 + default: &646 value: author: login: octocat @@ -45450,10 +45665,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *63 + - *64 + - *309 + - *312 responses: '204': description: Response @@ -45479,10 +45694,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *63 + - *64 + - *309 + - *312 - 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 +45723,7 @@ paths: application/json: schema: type: array - items: &323 + items: &313 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -45551,7 +45766,7 @@ paths: - content - created_at examples: - default: &325 + default: &315 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45577,7 +45792,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45601,10 +45816,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *63 + - *64 + - *309 + - *312 requestBody: required: true content: @@ -45637,9 +45852,9 @@ paths: team discussion comment content: application/json: - schema: *323 + schema: *313 examples: - default: &324 + default: &314 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45668,9 +45883,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45693,11 +45908,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *105 - - *65 - - *319 - - *322 - - &326 + - *63 + - *64 + - *309 + - *312 + - &316 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45729,9 +45944,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *309 - 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 +45972,11 @@ paths: application/json: schema: type: array - items: *323 + items: *313 examples: - default: *325 + default: *315 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45785,9 +46000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *309 requestBody: required: true content: @@ -45819,16 +46034,16 @@ paths: description: Response content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '201': description: Response content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45851,10 +46066,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *105 - - *65 - - *319 - - *326 + - *63 + - *64 + - *309 + - *316 responses: '204': description: Response @@ -45878,8 +46093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *105 - - *65 + - *63 + - *64 - *17 - *19 responses: @@ -45889,11 +46104,11 @@ paths: application/json: schema: type: array - items: *206 + items: *207 examples: - default: *207 + default: *208 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45913,8 +46128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *105 - - *65 + - *63 + - *64 - name: role description: Filters members returned by their role in the team. in: query @@ -45937,9 +46152,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45967,15 +46182,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *105 - - *65 - *63 + - *64 + - *59 responses: '200': description: Response content: application/json: - schema: &327 + schema: &317 title: Team Membership description: Team Membership type: object @@ -46002,7 +46217,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &649 + response-if-user-is-a-team-maintainer: &647 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -46038,9 +46253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *105 - - *65 - *63 + - *64 + - *59 requestBody: required: false content: @@ -46065,9 +46280,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *317 examples: - response-if-users-membership-with-team-is-now-pending: &650 + response-if-users-membership-with-team-is-now-pending: &648 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -46102,9 +46317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *105 - - *65 - *63 + - *64 + - *59 responses: '204': description: Response @@ -46129,8 +46344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *105 - - *65 + - *63 + - *64 - *17 - *19 responses: @@ -46140,7 +46355,7 @@ paths: application/json: schema: type: array - items: &328 + items: &318 title: Team Project description: A team's access to a project. type: object @@ -46208,7 +46423,7 @@ paths: - updated_at - permissions examples: - default: &651 + default: &649 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46248,7 +46463,7 @@ paths: write: true admin: false headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46271,9 +46486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *105 - - *65 - - &329 + - *63 + - *64 + - &319 name: project_id description: The unique identifier of the project. in: path @@ -46285,9 +46500,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *318 examples: - default: &652 + default: &650 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46349,9 +46564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *105 - - *65 - - *329 + - *63 + - *64 + - *319 requestBody: required: false content: @@ -46417,9 +46632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *105 - - *65 - - *329 + - *63 + - *64 + - *319 responses: '204': description: Response @@ -46446,8 +46661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *105 - - *65 + - *63 + - *64 - *17 - *19 responses: @@ -46457,11 +46672,11 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: *234 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46488,16 +46703,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *105 - - *65 - - *330 - - *331 + - *63 + - *64 + - *320 + - *321 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &653 + schema: &651 title: Team Repository description: A team's access to a repository. type: object @@ -46520,8 +46735,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true forks: type: integer @@ -47066,10 +47281,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *105 - - *65 - - *330 - - *331 + - *63 + - *64 + - *320 + - *321 requestBody: required: false content: @@ -47114,10 +47329,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *105 - - *65 - - *330 - - *331 + - *63 + - *64 + - *320 + - *321 responses: '204': description: Response @@ -47141,8 +47356,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *105 - - *65 + - *63 + - *64 - *17 - *19 responses: @@ -47152,9 +47367,9 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: - response-if-child-teams-exist: &654 + response-if-child-teams-exist: &652 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -47182,7 +47397,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 +47422,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *105 + - *63 - name: security_product in: path description: The security feature to enable or disable. @@ -47281,7 +47496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &332 + - &322 name: column_id description: The unique identifier of the column. in: path @@ -47293,7 +47508,7 @@ paths: description: Response content: application/json: - schema: &333 + schema: &323 title: Project Column description: Project columns contain cards of work. type: object @@ -47339,7 +47554,7 @@ paths: - created_at - updated_at examples: - default: &334 + default: &324 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -47374,7 +47589,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *332 + - *322 requestBody: required: true content: @@ -47398,9 +47613,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *323 examples: - default: *334 + default: *324 '304': *37 '403': *29 '401': *25 @@ -47425,7 +47640,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *332 + - *322 responses: '204': description: Response @@ -47454,7 +47669,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *332 + - *322 requestBody: required: true content: @@ -47514,7 +47729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *329 + - *319 responses: '200': description: Response @@ -47522,7 +47737,7 @@ paths: application/json: schema: *244 examples: - default: &335 + default: &325 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -47579,7 +47794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *329 + - *319 requestBody: required: false content: @@ -47627,7 +47842,7 @@ paths: application/json: schema: *244 examples: - default: *335 + default: *325 '404': description: Not Found if the authenticated user does not have access to the project @@ -47648,7 +47863,7 @@ paths: items: type: string '401': *25 - '410': *336 + '410': *326 '422': *7 x-github: githubCloudOnly: false @@ -47671,7 +47886,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *329 + - *319 responses: '204': description: Delete Success @@ -47692,7 +47907,7 @@ paths: items: type: string '401': *25 - '410': *336 + '410': *326 '404': *6 x-github: githubCloudOnly: false @@ -47716,7 +47931,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *329 + - *319 - 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 +47958,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': *6 '422': *15 '304': *37 @@ -47773,8 +47988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *329 - - *63 + - *319 + - *59 requestBody: required: false content: @@ -47826,8 +48041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *329 - - *63 + - *319 + - *59 responses: '204': description: Response @@ -47858,8 +48073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *329 - - *63 + - *319 + - *59 responses: '200': description: Response @@ -47932,7 +48147,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *329 + - *319 - *17 - *19 responses: @@ -47942,7 +48157,7 @@ paths: application/json: schema: type: array - items: *333 + items: *323 examples: default: value: @@ -47955,7 +48170,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 +48195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *329 + - *319 requestBody: required: true content: @@ -48003,7 +48218,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *323 examples: default: value: @@ -48068,7 +48283,7 @@ paths: resources: type: object properties: - core: &337 + core: &327 title: Rate Limit type: object properties: @@ -48085,21 +48300,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: *327 + search: *327 + code_search: *327 + source_import: *327 + integration_manifest: *327 + code_scanning_upload: *327 + actions_runner_registration: *327 + scim: *327 + dependency_snapshots: *327 + dependency_sbom: *327 + code_scanning_autofix: *327 required: - core - search - rate: *337 + rate: *327 required: - rate - resources @@ -48204,14 +48419,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *338 + schema: *328 examples: default-response: summary: Default response @@ -48712,7 +48927,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *339 + '301': *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48730,8 +48945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: false content: @@ -48978,10 +49193,10 @@ paths: description: Response content: application/json: - schema: *338 + schema: *328 examples: - default: *340 - '307': &341 + default: *330 + '307': &331 description: Temporary Redirect content: application/json: @@ -49010,8 +49225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -49033,7 +49248,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *341 + '307': *331 '404': *6 '409': *47 x-github: @@ -49057,11 +49272,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 - - &372 + - &362 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -49084,7 +49299,7 @@ paths: type: integer artifacts: type: array - items: &342 + items: &332 title: Artifact description: An artifact type: object @@ -49162,7 +49377,7 @@ paths: - expires_at - updated_at examples: - default: &373 + default: &363 value: total_count: 2 artifacts: @@ -49201,7 +49416,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49223,9 +49438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *330 - - *331 - - &343 + - *320 + - *321 + - &333 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49237,7 +49452,7 @@ paths: description: Response content: application/json: - schema: *342 + schema: *332 examples: default: value: @@ -49275,9 +49490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *330 - - *331 - - *343 + - *320 + - *321 + - *333 responses: '204': description: Response @@ -49301,9 +49516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *330 - - *331 - - *343 + - *320 + - *321 + - *333 - name: archive_format in: path required: true @@ -49317,7 +49532,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': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49340,14 +49555,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 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *344 + schema: *334 examples: default: value: @@ -49373,11 +49588,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 - - &345 + - &335 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 +49626,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &336 title: Repository actions caches description: Repository actions caches type: object @@ -49453,7 +49668,7 @@ paths: - total_count - actions_caches examples: - default: &347 + default: &337 value: total_count: 1 actions_caches: @@ -49465,7 +49680,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 +49700,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 + - *320 + - *321 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *345 + - *335 responses: '200': description: Response content: application/json: - schema: *346 + schema: *336 examples: - default: *347 + default: *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49521,8 +49736,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 + - *320 + - *321 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49553,9 +49768,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 + - *320 + - *321 + - &338 name: job_id description: The unique identifier of the job. in: path @@ -49567,7 +49782,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &366 title: Job description: Information of a job execution in a workflow run type: object @@ -49874,9 +50089,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 + - *320 + - *321 + - *338 responses: '302': description: Response @@ -49904,9 +50119,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 + - *320 + - *321 + - *338 requestBody: required: false content: @@ -49927,7 +50142,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -49951,8 +50166,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 + - *320 + - *321 responses: '200': description: Status response @@ -50002,8 +50217,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 + - *320 + - *321 requestBody: required: true content: @@ -50037,7 +50252,7 @@ paths: description: Empty response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -50066,8 +50281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -50085,7 +50300,7 @@ paths: type: integer secrets: type: array - items: &378 + items: &368 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -50105,7 +50320,7 @@ paths: - created_at - updated_at examples: - default: &379 + default: &369 value: total_count: 2 secrets: @@ -50116,7 +50331,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 +50353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *330 - - *331 - - *349 + - *320 + - *321 + - *339 - *19 responses: '200': @@ -50157,7 +50372,7 @@ paths: type: integer variables: type: array - items: &382 + items: &372 title: Actions Variable type: object properties: @@ -50187,7 +50402,7 @@ paths: - created_at - updated_at examples: - default: &383 + default: &373 value: total_count: 2 variables: @@ -50200,7 +50415,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 +50435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -50230,12 +50445,12 @@ paths: schema: type: object properties: - enabled: &351 + enabled: &341 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *122 - selected_actions_url: *350 - sha_pinning_required: *123 + allowed_actions: *121 + selected_actions_url: *340 + sha_pinning_required: *122 required: - enabled examples: @@ -50263,8 +50478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -50275,9 +50490,9 @@ paths: schema: type: object properties: - enabled: *351 - allowed_actions: *122 - sha_pinning_required: *123 + enabled: *341 + allowed_actions: *121 + sha_pinning_required: *122 required: - enabled examples: @@ -50307,14 +50522,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 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: &352 + schema: &342 type: object properties: access_level: @@ -50331,7 +50546,7 @@ paths: required: - access_level examples: - default: &353 + default: &343 value: access_level: organization x-github: @@ -50355,15 +50570,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 + - *320 + - *321 requestBody: required: true content: application/json: - schema: *352 + schema: *342 examples: - default: *353 + default: *343 responses: '204': description: Response @@ -50387,14 +50602,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 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *354 + schema: *344 examples: default: value: @@ -50418,8 +50633,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 + - *320 + - *321 responses: '204': description: Empty response for successful settings update @@ -50429,7 +50644,7 @@ paths: required: true content: application/json: - schema: *355 + schema: *345 examples: default: summary: Set retention days @@ -50453,16 +50668,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 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *124 + schema: *123 examples: - default: *356 + default: *346 '404': *6 x-github: enabledForGitHubApps: true @@ -50481,8 +50696,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 + - *320 + - *321 responses: '204': description: Response @@ -50492,7 +50707,7 @@ paths: required: true content: application/json: - schema: *124 + schema: *123 examples: default: summary: Set approval policy to first time contributors @@ -50516,16 +50731,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 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *357 + schema: *347 examples: - default: *125 + default: *124 '403': *29 '404': *6 x-github: @@ -50545,15 +50760,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 + - *320 + - *321 requestBody: required: true content: application/json: - schema: *358 + schema: *348 examples: - default: *125 + default: *124 responses: '204': description: Empty response for successful settings update @@ -50577,16 +50792,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 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *127 + schema: *126 examples: - default: *128 + default: *127 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -50605,8 +50820,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 + - *320 + - *321 responses: '204': description: Response @@ -50614,9 +50829,9 @@ paths: required: false content: application/json: - schema: *127 + schema: *126 examples: - selected_actions: *128 + selected_actions: *127 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -50638,16 +50853,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *359 + schema: *349 examples: - default: *132 + default: *131 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50668,8 +50883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Success response @@ -50680,9 +50895,9 @@ paths: required: true content: application/json: - schema: *360 + schema: *350 examples: - default: *132 + default: *131 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50709,8 +50924,8 @@ paths: in: query schema: type: string - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -50728,11 +50943,11 @@ paths: type: integer runners: type: array - items: *139 + items: *138 examples: - default: *140 + default: *139 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50754,8 +50969,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 + - *320 + - *321 responses: '200': description: Response @@ -50763,9 +50978,9 @@ paths: application/json: schema: type: array - items: *361 + items: *351 examples: - default: *362 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50787,8 +51002,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 + - *320 + - *321 requestBody: required: true content: @@ -50831,7 +51046,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *363 + '201': *353 '404': *6 '422': *7 '409': *47 @@ -50862,16 +51077,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 + - *320 + - *321 responses: '201': description: Response content: application/json: - schema: *141 + schema: *140 examples: - default: *364 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50899,16 +51114,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 + - *320 + - *321 responses: '201': description: Response content: application/json: - schema: *141 + schema: *140 examples: - default: *365 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50930,17 +51145,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 + - *320 + - *321 + - *137 responses: '200': description: Response content: application/json: - schema: *139 + schema: *138 examples: - default: *366 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50961,9 +51176,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 + - *320 + - *321 + - *137 responses: '204': description: Response @@ -50989,11 +51204,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 + - *320 + - *321 + - *137 responses: - '200': *143 + '200': *142 '404': *6 x-github: githubCloudOnly: false @@ -51015,9 +51230,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 + - *320 + - *321 + - *137 requestBody: required: true content: @@ -51041,7 +51256,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *142 '404': *6 '422': *7 x-github: @@ -51065,9 +51280,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 + - *320 + - *321 + - *137 requestBody: required: true content: @@ -51092,7 +51307,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *142 '404': *6 '422': *7 x-github: @@ -51116,11 +51331,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 + - *320 + - *321 + - *137 responses: - '200': *367 + '200': *357 '404': *6 x-github: githubCloudOnly: false @@ -51147,12 +51362,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 + - *320 + - *321 + - *137 + - *358 responses: - '200': *143 + '200': *142 '404': *6 '422': *7 x-github: @@ -51178,9 +51393,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 + - *320 + - *321 + - &376 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 +51403,7 @@ paths: required: false schema: type: string - - &387 + - &377 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -51196,7 +51411,7 @@ paths: required: false schema: type: string - - &388 + - &378 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 +51420,7 @@ paths: required: false schema: type: string - - &389 + - &379 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 +51447,7 @@ paths: - pending - *17 - *19 - - &390 + - &380 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 +51456,7 @@ paths: schema: type: string format: date-time - - &369 + - &359 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -51250,13 +51465,13 @@ paths: schema: type: boolean default: false - - &391 + - &381 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &392 + - &382 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -51279,7 +51494,7 @@ paths: type: integer workflow_runs: type: array - items: &370 + items: &360 title: Workflow Run description: An invocation of a workflow type: object @@ -51374,7 +51589,7 @@ paths: that triggered the run. type: array nullable: true - items: *76 + items: *75 created_at: type: string format: date-time @@ -51427,7 +51642,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &414 + properties: &404 id: type: string description: SHA for the commit @@ -51478,7 +51693,7 @@ paths: - name - email nullable: true - required: &415 + required: &405 - id - tree_id - message @@ -51486,8 +51701,8 @@ paths: - author - committer nullable: true - repository: *137 - head_repository: *137 + repository: *136 + head_repository: *136 head_repository_id: type: integer example: 5 @@ -51525,7 +51740,7 @@ paths: - workflow_url - pull_requests examples: - default: &393 + default: &383 value: total_count: 1 workflow_runs: @@ -51739,7 +51954,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 +51976,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *330 - - *331 - - &371 + - *320 + - *321 + - &361 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *369 + - *359 responses: '200': description: Response content: application/json: - schema: *370 + schema: *360 examples: - default: &374 + default: &364 value: id: 30433642 name: Build @@ -52019,9 +52234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *320 + - *321 + - *361 responses: '204': description: Response @@ -52044,9 +52259,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 + - *320 + - *321 + - *361 responses: '200': description: Response @@ -52165,15 +52380,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 + - *320 + - *321 + - *361 responses: '201': description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -52200,12 +52415,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *330 - - *331 - - *371 + - *320 + - *321 + - *361 - *17 - *19 - - *372 + - *362 responses: '200': description: Response @@ -52221,11 +52436,11 @@ paths: type: integer artifacts: type: array - items: *342 + items: *332 examples: - default: *373 + default: *363 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52247,25 +52462,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 + - *320 + - *321 + - *361 + - &365 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *369 + - *359 responses: '200': description: Response content: application/json: - schema: *370 + schema: *360 examples: - default: *374 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52288,10 +52503,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 + - *320 + - *321 + - *361 + - *365 - *17 - *19 responses: @@ -52309,9 +52524,9 @@ paths: type: integer jobs: type: array - items: *376 + items: *366 examples: - default: &377 + default: &367 value: total_count: 1 jobs: @@ -52400,7 +52615,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -52424,10 +52639,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 + - *320 + - *321 + - *361 + - *365 responses: '302': description: Response @@ -52455,15 +52670,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *320 + - *321 + - *361 responses: '202': description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -52490,9 +52705,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 + - *320 + - *321 + - *361 requestBody: required: true content: @@ -52559,15 +52774,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *320 + - *321 + - *361 responses: '202': description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -52594,9 +52809,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 + - *320 + - *321 + - *361 - 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 +52841,11 @@ paths: type: integer jobs: type: array - items: *376 + items: *366 examples: - default: *377 + default: *367 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52653,9 +52868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *330 - - *331 - - *371 + - *320 + - *321 + - *361 responses: '302': description: Response @@ -52682,14 +52897,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *330 - - *331 - - *371 + - *320 + - *321 + - *361 responses: '204': description: Response '403': *29 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52711,9 +52926,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 + - *320 + - *321 + - *361 responses: '200': description: Response @@ -52773,7 +52988,7 @@ paths: items: type: object properties: - type: &493 + type: &483 type: string description: The type of reviewer. enum: @@ -52783,7 +52998,7 @@ paths: reviewer: anyOf: - *4 - - *169 + - *172 required: - environment - wait_timer @@ -52858,9 +53073,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 + - *320 + - *321 + - *361 requestBody: required: true content: @@ -52907,7 +53122,7 @@ paths: application/json: schema: type: array - items: &488 + items: &478 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52995,8 +53210,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 required: - id - node_id @@ -53013,7 +53228,7 @@ paths: - created_at - updated_at examples: - default: &489 + default: &479 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -53069,9 +53284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *330 - - *331 - - *371 + - *320 + - *321 + - *361 requestBody: required: false content: @@ -53092,7 +53307,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -53115,9 +53330,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 + - *320 + - *321 + - *361 requestBody: required: false content: @@ -53138,7 +53353,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -53170,9 +53385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *330 - - *331 - - *371 + - *320 + - *321 + - *361 responses: '200': description: Response @@ -53309,8 +53524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -53328,11 +53543,11 @@ paths: type: integer secrets: type: array - items: *378 + items: *368 examples: - default: *379 + default: *369 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53355,16 +53570,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *380 + schema: *370 examples: - default: *381 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53386,17 +53601,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *320 + - *321 + - *144 responses: '200': description: Response content: application/json: - schema: *378 + schema: *368 examples: - default: &506 + default: &496 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53422,9 +53637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *320 + - *321 + - *144 requestBody: required: true content: @@ -53455,7 +53670,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -53481,9 +53696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *320 + - *321 + - *144 responses: '204': description: Response @@ -53508,9 +53723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *330 - - *331 - - *349 + - *320 + - *321 + - *339 - *19 responses: '200': @@ -53527,11 +53742,11 @@ paths: type: integer variables: type: array - items: *382 + items: *372 examples: - default: *383 + default: *373 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53552,8 +53767,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -53580,7 +53795,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -53605,17 +53820,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *330 - - *331 - - *148 + - *320 + - *321 + - *147 responses: '200': description: Response content: application/json: - schema: *382 + schema: *372 examples: - default: &507 + default: &497 value: name: USERNAME value: octocat @@ -53641,9 +53856,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *330 - - *331 - - *148 + - *320 + - *321 + - *147 requestBody: required: true content: @@ -53685,9 +53900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *330 - - *331 - - *148 + - *320 + - *321 + - *147 responses: '204': description: Response @@ -53712,8 +53927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -53731,7 +53946,7 @@ paths: type: integer workflows: type: array - items: &384 + items: &374 title: Workflow description: A GitHub Actions workflow type: object @@ -53815,7 +54030,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 +54053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *330 - - *331 - - &385 + - *320 + - *321 + - &375 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53855,7 +54070,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *374 examples: default: value: @@ -53888,9 +54103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *330 - - *331 - - *385 + - *320 + - *321 + - *375 responses: '204': description: Response @@ -53915,9 +54130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *330 - - *331 - - *385 + - *320 + - *321 + - *375 responses: '204': description: Response @@ -53968,9 +54183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *330 - - *331 - - *385 + - *320 + - *321 + - *375 responses: '204': description: Response @@ -53997,19 +54212,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 + - *320 + - *321 + - *375 + - *376 + - *377 + - *378 + - *379 - *17 - *19 - - *390 - - *369 - - *391 - - *392 + - *380 + - *359 + - *381 + - *382 responses: '200': description: Response @@ -54025,11 +54240,11 @@ paths: type: integer workflow_runs: type: array - items: *370 + items: *360 examples: - default: *393 + default: *383 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54059,9 +54274,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *330 - - *331 - - *385 + - *320 + - *321 + - *375 responses: '200': description: Response @@ -54122,8 +54337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *330 - - *331 + - *320 + - *321 - *48 - *17 - *40 @@ -54268,7 +54483,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '422': *7 x-github: githubCloudOnly: false @@ -54287,8 +54502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -54300,9 +54515,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -54325,8 +54540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *330 - - *331 + - *320 + - *321 - name: assignee in: path required: true @@ -54362,8 +54577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -54475,8 +54690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *40 - *41 @@ -54532,7 +54747,7 @@ paths: initiator: type: string examples: - default: *394 + default: *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54552,8 +54767,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -54561,7 +54776,7 @@ paths: application/json: schema: type: array - items: &395 + items: &385 title: Autolink reference description: An autolink reference. type: object @@ -54615,8 +54830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -54655,9 +54870,9 @@ paths: description: response content: application/json: - schema: *395 + schema: *385 examples: - default: &396 + default: &386 value: id: 1 key_prefix: TICKET- @@ -54688,9 +54903,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 + - *320 + - *321 + - &387 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54702,9 +54917,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *385 examples: - default: *396 + default: *386 '404': *6 x-github: githubCloudOnly: false @@ -54724,9 +54939,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 + - *320 + - *321 + - *387 responses: '204': description: Response @@ -54750,8 +54965,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 + - *320 + - *321 responses: '200': description: Response if Dependabot is enabled @@ -54799,8 +55014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -54821,8 +55036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -54842,8 +55057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *330 - - *331 + - *320 + - *321 - 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 +55096,7 @@ paths: - url protected: type: boolean - protection: &399 + protection: &389 title: Branch Protection description: Branch Protection type: object @@ -54923,7 +55138,7 @@ paths: required: - contexts - checks - enforce_admins: &402 + enforce_admins: &392 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54938,7 +55153,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &404 + required_pull_request_reviews: &394 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -54959,7 +55174,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *169 + items: *172 apps: description: The list of apps with review dismissal access. @@ -54988,7 +55203,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *169 + items: *172 apps: description: The list of apps allowed to bypass pull request requirements. @@ -55014,7 +55229,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &401 + restrictions: &391 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55077,7 +55292,7 @@ paths: type: string teams: type: array - items: *169 + items: *172 apps: type: array items: @@ -55273,7 +55488,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 +55506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *330 - - *331 - - &400 + - *320 + - *321 + - &390 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 +55522,14 @@ paths: description: Response content: application/json: - schema: &410 + schema: &400 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &462 + commit: &452 title: Commit description: Commit type: object @@ -55348,7 +55563,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &398 + properties: &388 name: type: string example: '"Chris Wanstrath"' @@ -55363,7 +55578,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *388 nullable: true message: type: string @@ -55384,7 +55599,7 @@ paths: required: - sha - url - verification: &513 + verification: &503 title: Verification type: object properties: @@ -55418,12 +55633,12 @@ paths: nullable: true oneOf: - *4 - - *146 + - *145 committer: nullable: true oneOf: - *4 - - *146 + - *145 parents: type: array items: @@ -55454,7 +55669,7 @@ paths: type: integer files: type: array - items: &475 + items: &465 title: Diff Entry description: Diff Entry type: object @@ -55538,7 +55753,7 @@ paths: - self protected: type: boolean - protection: *399 + protection: *389 protection_url: type: string format: uri @@ -55645,7 +55860,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *339 + '301': *329 '404': *6 x-github: githubCloudOnly: false @@ -55667,15 +55882,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '200': description: Response content: application/json: - schema: *399 + schema: *389 examples: default: value: @@ -55869,9 +56084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: true content: @@ -56126,7 +56341,7 @@ paths: url: type: string format: uri - required_status_checks: &407 + required_status_checks: &397 title: Status Check Policy description: Status Check Policy type: object @@ -56202,7 +56417,7 @@ paths: items: *4 teams: type: array - items: *169 + items: *172 apps: type: array items: *5 @@ -56220,7 +56435,7 @@ paths: items: *4 teams: type: array - items: *169 + items: *172 apps: type: array items: *5 @@ -56278,7 +56493,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *401 + restrictions: *391 required_conversation_resolution: type: object properties: @@ -56390,9 +56605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '204': description: Response @@ -56417,17 +56632,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '200': description: Response content: application/json: - schema: *402 + schema: *392 examples: - default: &403 + default: &393 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56449,17 +56664,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '200': description: Response content: application/json: - schema: *402 + schema: *392 examples: - default: *403 + default: *393 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56478,9 +56693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '204': description: Response @@ -56505,17 +56720,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '200': description: Response content: application/json: - schema: *404 + schema: *394 examples: - default: &405 + default: &395 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56611,9 +56826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: false content: @@ -56711,9 +56926,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *394 examples: - default: *405 + default: *395 '422': *15 x-github: githubCloudOnly: false @@ -56734,9 +56949,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '204': description: Response @@ -56763,17 +56978,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '200': description: Response content: application/json: - schema: *402 + schema: *392 examples: - default: &406 + default: &396 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56796,17 +57011,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '200': description: Response content: application/json: - schema: *402 + schema: *392 examples: - default: *406 + default: *396 '404': *6 x-github: githubCloudOnly: false @@ -56826,9 +57041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '204': description: Response @@ -56853,17 +57068,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '200': description: Response content: application/json: - schema: *407 + schema: *397 examples: - default: &408 + default: &398 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56889,9 +57104,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: false content: @@ -56943,9 +57158,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *397 examples: - default: *408 + default: *398 '404': *6 '422': *15 x-github: @@ -56967,9 +57182,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '204': description: Response @@ -56993,9 +57208,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '200': description: Response @@ -57029,9 +57244,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: false content: @@ -57098,9 +57313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: false content: @@ -57164,9 +57379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: content: application/json: @@ -57232,15 +57447,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '200': description: Response content: application/json: - schema: *401 + schema: *391 examples: default: value: @@ -57331,9 +57546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 responses: '204': description: Response @@ -57356,9 +57571,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 + - *320 + - *321 + - *390 responses: '200': description: Response @@ -57368,7 +57583,7 @@ paths: type: array items: *5 examples: - default: &409 + default: &399 value: - id: 1 slug: octoapp @@ -57425,9 +57640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: true content: @@ -57461,7 +57676,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *399 '422': *15 x-github: githubCloudOnly: false @@ -57482,9 +57697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: true content: @@ -57518,7 +57733,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *399 '422': *15 x-github: githubCloudOnly: false @@ -57539,9 +57754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: true content: @@ -57575,7 +57790,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *399 '422': *15 x-github: githubCloudOnly: false @@ -57597,9 +57812,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 + - *320 + - *321 + - *390 responses: '200': description: Response @@ -57607,7 +57822,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: *227 '404': *6 @@ -57629,9 +57844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: false content: @@ -57667,7 +57882,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: *227 '422': *15 @@ -57690,9 +57905,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: false content: @@ -57728,7 +57943,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: *227 '422': *15 @@ -57751,9 +57966,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: content: application/json: @@ -57788,7 +58003,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: *227 '422': *15 @@ -57812,9 +58027,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 + - *320 + - *321 + - *390 responses: '200': description: Response @@ -57824,7 +58039,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '404': *6 x-github: githubCloudOnly: false @@ -57848,9 +58063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: true content: @@ -57883,7 +58098,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '422': *15 x-github: githubCloudOnly: false @@ -57908,9 +58123,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: true content: @@ -57943,7 +58158,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '422': *15 x-github: githubCloudOnly: false @@ -57968,9 +58183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: true content: @@ -58003,7 +58218,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '422': *15 x-github: githubCloudOnly: false @@ -58030,9 +58245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 requestBody: required: true content: @@ -58054,7 +58269,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *400 examples: default: value: @@ -58170,8 +58385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -58450,7 +58665,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &401 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58561,16 +58776,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *76 - deployment: &713 + items: *75 + deployment: &710 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58637,8 +58852,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 required: - id - node_id @@ -58850,9 +59065,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *330 - - *331 - - &412 + - *320 + - *321 + - &402 name: check_run_id description: The unique identifier of the check run. in: path @@ -58864,9 +59079,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *401 examples: - default: &413 + default: &403 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58966,9 +59181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *330 - - *331 - - *412 + - *320 + - *321 + - *402 requestBody: required: true content: @@ -59208,9 +59423,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *401 examples: - default: *413 + default: *403 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59230,9 +59445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *330 - - *331 - - *412 + - *320 + - *321 + - *402 - *17 - *19 responses: @@ -59307,7 +59522,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 +59542,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *330 - - *331 - - *412 + - *320 + - *321 + - *402 responses: '201': description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -59373,8 +59588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -59396,7 +59611,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &416 + schema: &406 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59460,7 +59675,7 @@ paths: nullable: true pull_requests: type: array - items: *76 + items: *75 nullable: true app: title: GitHub app @@ -59471,9 +59686,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - repository: *137 + properties: *67 + required: *68 + repository: *136 created_at: type: string format: date-time @@ -59482,12 +59697,12 @@ paths: type: string format: date-time nullable: true - head_commit: &739 + head_commit: &736 title: Simple Commit description: A commit. type: object - properties: *414 - required: *415 + properties: *404 + required: *405 latest_check_runs_count: type: integer check_runs_url: @@ -59515,7 +59730,7 @@ paths: - check_runs_url - pull_requests examples: - default: &417 + default: &407 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59806,9 +60021,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *416 + schema: *406 examples: - default: *417 + default: *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59827,8 +60042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -59889,7 +60104,7 @@ paths: required: - app_id - setting - repository: *137 + repository: *136 examples: default: value: @@ -60137,9 +60352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *330 - - *331 - - &418 + - *320 + - *321 + - &408 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60151,9 +60366,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *406 examples: - default: *417 + default: *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60176,17 +60391,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 + - *320 + - *321 + - *408 + - &458 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &469 + - &459 name: status description: Returns check runs with the specified `status`. in: query @@ -60225,9 +60440,9 @@ paths: type: integer check_runs: type: array - items: *411 + items: *401 examples: - default: &470 + default: &460 value: total_count: 1 check_runs: @@ -60309,7 +60524,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 +60544,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *330 - - *331 - - *418 + - *320 + - *321 + - *408 responses: '201': description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -60364,21 +60579,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 + - *320 + - *321 + - *409 + - *410 - *19 - *17 - - &437 + - &427 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: *411 + - &428 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60403,13 +60618,13 @@ paths: be returned. in: query required: false - schema: *422 + schema: *412 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *423 + schema: *413 responses: '200': description: Response @@ -60420,14 +60635,14 @@ paths: items: type: object properties: - number: *54 - created_at: *55 - updated_at: *153 - url: *56 - html_url: *57 - instances_url: *424 - state: *158 - fixed_at: *154 + number: *152 + created_at: *153 + updated_at: *154 + url: *155 + html_url: *156 + instances_url: *414 + state: *161 + fixed_at: *157 dismissed_by: title: Simple User description: A GitHub user. @@ -60435,12 +60650,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *155 - dismissed_reason: *425 - dismissed_comment: *426 - rule: *427 - tool: *428 - most_recent_instance: *429 + dismissed_at: *158 + dismissed_reason: *415 + dismissed_comment: *416 + rule: *417 + tool: *418 + most_recent_instance: *419 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60566,14 +60781,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &430 + '403': &420 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60593,9 +60808,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 + - *320 + - *321 + - &421 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60603,23 +60818,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *54 + schema: *152 responses: '200': description: Response content: application/json: - schema: &432 + schema: &422 type: object properties: - number: *54 - created_at: *55 - updated_at: *153 - url: *56 - html_url: *57 - instances_url: *424 - state: *158 - fixed_at: *154 + number: *152 + created_at: *153 + updated_at: *154 + url: *155 + html_url: *156 + instances_url: *414 + state: *161 + fixed_at: *157 dismissed_by: title: Simple User description: A GitHub user. @@ -60627,9 +60842,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *155 - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_at: *158 + dismissed_reason: *415 + dismissed_comment: *416 rule: type: object properties: @@ -60683,8 +60898,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: *418 + most_recent_instance: *419 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60783,9 +60998,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *430 + '403': *420 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60803,9 +61018,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 + - *320 + - *321 + - *421 requestBody: required: true content: @@ -60820,8 +61035,8 @@ paths: enum: - open - dismissed - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_reason: *415 + dismissed_comment: *416 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60840,7 +61055,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *422 examples: default: value: @@ -60916,14 +61131,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &436 + '403': &426 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60943,15 +61158,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 + - *320 + - *321 + - *421 responses: '200': description: Response content: application/json: - schema: &433 + schema: &423 type: object properties: status: @@ -60977,13 +61192,13 @@ paths: - description - started_at examples: - default: &434 + default: &424 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &435 + '400': &425 description: Bad Request content: application/json: @@ -60994,9 +61209,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': *420 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61019,29 +61234,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 + - *320 + - *321 + - *421 responses: '200': description: OK content: application/json: - schema: *433 + schema: *423 examples: - default: *434 + default: *424 '202': description: Accepted content: application/json: - schema: *433 + schema: *423 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *435 + '400': *425 '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 +61266,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61073,9 +61288,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 + - *320 + - *321 + - *421 requestBody: required: false content: @@ -61120,12 +61335,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *435 - '403': *436 + '400': *425 + '403': *426 '404': *6 '422': description: Unprocessable Entity - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61145,13 +61360,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 + - *320 + - *321 + - *421 - *19 - *17 - - *437 - - *438 + - *427 + - *428 responses: '200': description: Response @@ -61159,7 +61374,7 @@ paths: application/json: schema: type: array - items: *429 + items: *419 examples: default: value: @@ -61198,9 +61413,9 @@ paths: end_column: 50 classifications: - source - '403': *430 + '403': *420 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61232,25 +61447,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 + - *320 + - *321 + - *409 + - *410 - *19 - *17 - - *438 + - *428 - 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: *411 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &441 + schema: &431 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -61271,23 +61486,23 @@ paths: application/json: schema: type: array - items: &442 + items: &432 type: object properties: - ref: *421 - commit_sha: &450 + ref: *411 + commit_sha: &440 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: *429 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *440 + category: *430 error: type: string example: error reading field xyz @@ -61311,8 +61526,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *441 - tool: *428 + sarif_id: *431 + tool: *418 deletable: type: boolean warning: @@ -61373,9 +61588,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *430 + '403': *420 '404': *6 - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61409,8 +61624,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 + - *320 + - *321 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61423,7 +61638,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *432 examples: response: summary: application/json response @@ -61477,14 +61692,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *430 + '403': *420 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61564,8 +61779,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 + - *320 + - *321 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61618,9 +61833,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': *426 '404': *6 - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61640,8 +61855,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 + - *320 + - *321 responses: '200': description: Response @@ -61649,7 +61864,7 @@ paths: application/json: schema: type: array - items: &443 + items: &433 title: CodeQL Database description: A CodeQL database. type: object @@ -61760,9 +61975,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': *420 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61789,8 +62004,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 + - *320 + - *321 - name: language in: path description: The language of the CodeQL database. @@ -61802,7 +62017,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *433 examples: default: value: @@ -61834,11 +62049,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': &467 description: Found - '403': *430 + '403': *420 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61858,8 +62073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *330 - - *331 + - *320 + - *321 - name: language in: path description: The language of the CodeQL database. @@ -61869,9 +62084,9 @@ paths: responses: '204': description: Response - '403': *436 + '403': *426 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61897,8 +62112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -61907,7 +62122,7 @@ paths: type: object additionalProperties: false properties: - language: &444 + language: &434 type: string description: The language targeted by the CodeQL query enum: @@ -61986,7 +62201,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &448 + schema: &438 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61996,7 +62211,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *444 + query_language: *434 query_pack_url: type: string description: The download url for the query pack. @@ -62043,7 +62258,7 @@ paths: items: type: object properties: - repository: &445 + repository: &435 title: Repository Identifier description: Repository Identifier type: object @@ -62079,7 +62294,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &449 + analysis_status: &439 type: string description: The new status of the CodeQL variant analysis repository task. @@ -62111,7 +62326,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: &436 type: object properties: repository_count: @@ -62125,7 +62340,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: *435 required: - repository_count - repositories @@ -62147,8 +62362,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *446 - over_limit_repos: *446 + no_codeql_db_repos: *436 + over_limit_repos: *436 required: - access_mismatch_repos - not_found_repos @@ -62164,7 +62379,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &447 + value: &437 summary: Default response value: id: 1 @@ -62316,17 +62531,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *447 + value: *437 repository_lists: summary: Response for a successful variant analysis submission - value: *447 + value: *437 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62347,8 +62562,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 + - *320 + - *321 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62360,11 +62575,11 @@ paths: description: Response content: application/json: - schema: *448 + schema: *438 examples: - default: *447 + default: *437 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62385,7 +62600,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 + - *320 - name: repo in: path description: The name of the controller repository. @@ -62420,7 +62635,7 @@ paths: type: object properties: repository: *53 - analysis_status: *449 + analysis_status: *439 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62524,7 +62739,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62545,8 +62760,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 + - *320 + - *321 responses: '200': description: Response @@ -62631,9 +62846,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *430 + '403': *420 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62652,8 +62867,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 + - *320 + - *321 requestBody: required: true content: @@ -62720,7 +62935,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -62745,7 +62960,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *436 + '403': *426 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62759,7 +62974,7 @@ paths: content: application/json: schema: *3 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62816,8 +63031,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 + - *320 + - *321 requestBody: required: true content: @@ -62825,7 +63040,7 @@ paths: schema: type: object properties: - commit_sha: *450 + commit_sha: *440 ref: type: string description: |- @@ -62883,7 +63098,7 @@ paths: schema: type: object properties: - id: *441 + id: *431 url: type: string description: The REST API URL for checking the status of the upload. @@ -62897,11 +63112,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': *426 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62920,8 +63135,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 + - *320 + - *321 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62967,10 +63182,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': *420 '404': description: Not Found if the sarif id does not match any upload - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62992,8 +63207,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 + - *320 + - *321 responses: '200': description: Response @@ -63049,7 +63264,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *163 + '204': *166 '304': *37 '403': *29 '404': *6 @@ -63074,8 +63289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *330 - - *331 + - *320 + - *321 - 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 +63410,8 @@ paths: parameters: - *17 - *19 - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -63212,7 +63427,7 @@ paths: type: integer codespaces: type: array - items: *214 + items: *215 examples: default: value: @@ -63488,7 +63703,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -63510,8 +63725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -63574,22 +63789,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *215 examples: - default: *451 + default: *441 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *215 examples: - default: *451 + default: *441 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63613,8 +63828,8 @@ paths: parameters: - *17 - *19 - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -63654,7 +63869,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *106 + '500': *104 '400': *14 '401': *25 '403': *29 @@ -63678,8 +63893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63714,14 +63929,14 @@ paths: type: integer machines: type: array - items: &661 + items: &659 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *442 + required: *443 examples: - default: &662 + default: &660 value: total_count: 2 machines: @@ -63738,7 +63953,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -63761,8 +63976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *330 - - *331 + - *320 + - *321 - 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 +64061,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 + - *320 + - *321 - 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 +64107,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63913,8 +64128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -63932,7 +64147,7 @@ paths: type: integer secrets: type: array - items: &457 + items: &447 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63952,9 +64167,9 @@ paths: - created_at - updated_at examples: - default: *454 + default: *444 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63975,16 +64190,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *455 + schema: *445 examples: - default: *456 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64004,17 +64219,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *320 + - *321 + - *144 responses: '200': description: Response content: application/json: - schema: *457 + schema: *447 examples: - default: *458 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64034,9 +64249,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 + - *320 + - *321 + - *144 requestBody: required: true content: @@ -64064,7 +64279,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -64088,9 +64303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *320 + - *321 + - *144 responses: '204': description: Response @@ -64118,8 +64333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *330 - - *331 + - *320 + - *321 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -64161,7 +64376,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &459 + properties: &449 login: type: string example: octocat @@ -64254,7 +64469,7 @@ paths: user_view_type: type: string example: public - required: &460 + required: &450 - avatar_url - events_url - followers_url @@ -64303,7 +64518,7 @@ paths: admin: false role_name: write headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -64328,9 +64543,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 + - *320 + - *321 + - *59 responses: '204': description: Response if user is a collaborator @@ -64376,9 +64591,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *330 - - *331 - - *63 + - *320 + - *321 + - *59 requestBody: required: false content: @@ -64404,7 +64619,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &526 + schema: &516 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64415,7 +64630,7 @@ paths: example: 42 type: integer format: int64 - repository: *137 + repository: *136 invitee: title: Simple User description: A GitHub user. @@ -64593,7 +64808,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *111 + schema: *110 '403': *29 x-github: triggersNotification: true @@ -64633,9 +64848,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *330 - - *331 - - *63 + - *320 + - *321 + - *59 responses: '204': description: No Content when collaborator was removed from the repository. @@ -64666,9 +64881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *330 - - *331 - - *63 + - *320 + - *321 + - *59 responses: '200': description: if user has admin permissions @@ -64688,8 +64903,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *459 - required: *460 + properties: *449 + required: *450 nullable: true required: - permission @@ -64744,8 +64959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -64755,7 +64970,7 @@ paths: application/json: schema: type: array - items: &461 + items: &451 title: Commit Comment description: Commit Comment type: object @@ -64796,8 +65011,8 @@ paths: updated_at: type: string format: date-time - author_association: *72 - reactions: *73 + author_association: *71 + reactions: *72 required: - url - html_url @@ -64813,7 +65028,7 @@ paths: - created_at - updated_at examples: - default: &464 + default: &454 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 +65062,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 +65087,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *320 + - *321 + - *86 responses: '200': description: Response content: application/json: - schema: *461 + schema: *451 examples: - default: &465 + default: &455 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 +65154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *320 + - *321 + - *86 requestBody: required: true content: @@ -64963,7 +65178,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *451 examples: default: value: @@ -65014,9 +65229,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *320 + - *321 + - *86 responses: '204': description: Response @@ -65037,9 +65252,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *320 + - *321 + - *86 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -65065,11 +65280,11 @@ paths: application/json: schema: type: array - items: *323 + items: *313 examples: - default: *325 + default: *315 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -65088,9 +65303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *320 + - *321 + - *86 requestBody: required: true content: @@ -65122,16 +65337,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '201': description: Reaction created content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '422': *15 x-github: githubCloudOnly: false @@ -65153,10 +65368,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *330 - - *331 - - *88 - - *326 + - *320 + - *321 + - *86 + - *316 responses: '204': description: Response @@ -65205,8 +65420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *330 - - *331 + - *320 + - *321 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65262,9 +65477,9 @@ paths: application/json: schema: type: array - items: *462 + items: *452 examples: - default: &575 + default: &565 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65334,8 +65549,8 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *58 - '500': *106 + Link: *54 + '500': *104 '400': *14 '404': *6 '409': *47 @@ -65358,9 +65573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *330 - - *331 - - &463 + - *320 + - *321 + - &453 name: commit_sha description: The SHA of the commit. in: path @@ -65432,9 +65647,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *330 - - *331 - - *463 + - *320 + - *321 + - *453 - *17 - *19 responses: @@ -65444,11 +65659,11 @@ paths: application/json: schema: type: array - items: *461 + items: *451 examples: - default: *464 + default: *454 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65474,9 +65689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *330 - - *331 - - *463 + - *320 + - *321 + - *453 requestBody: required: true content: @@ -65511,9 +65726,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *451 examples: - default: *465 + default: *455 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65541,9 +65756,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 + - *320 + - *321 + - *453 - *17 - *19 responses: @@ -65553,9 +65768,9 @@ paths: application/json: schema: type: array - items: *466 + items: *456 examples: - default: &567 + default: &557 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66034,7 +66249,7 @@ paths: auto_merge: draft: false headers: - Link: *58 + Link: *54 '409': *47 x-github: githubCloudOnly: false @@ -66092,11 +66307,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *330 - - *331 + - *320 + - *321 - *19 - *17 - - &467 + - &457 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 +66326,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *452 examples: - default: &554 + default: &544 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66199,8 +66414,8 @@ paths: ..... '422': *15 '404': *6 - '500': *106 - '503': *77 + '500': *104 + '503': *105 '409': *47 x-github: githubCloudOnly: false @@ -66226,11 +66441,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 + - *320 + - *321 + - *457 + - *458 + - *459 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66264,11 +66479,11 @@ paths: type: integer check_runs: type: array - items: *411 + items: *401 examples: - default: *470 + default: *460 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66291,9 +66506,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 + - *320 + - *321 + - *457 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -66301,7 +66516,7 @@ paths: schema: type: integer example: 1 - - *468 + - *458 - *17 - *19 responses: @@ -66319,7 +66534,7 @@ paths: type: integer check_suites: type: array - items: *416 + items: *406 examples: default: value: @@ -66494,7 +66709,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 +66734,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 + - *320 + - *321 + - *457 - *17 - *19 responses: @@ -66588,7 +66803,7 @@ paths: type: string total_count: type: integer - repository: *137 + repository: *136 commit_url: type: string format: uri @@ -66719,9 +66934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *330 - - *331 - - *467 + - *320 + - *321 + - *457 - *17 - *19 responses: @@ -66731,7 +66946,7 @@ paths: application/json: schema: type: array - items: &632 + items: &630 title: Status description: The status of a commit. type: object @@ -66811,8 +67026,8 @@ paths: type: User site_admin: false headers: - Link: *58 - '301': *339 + Link: *54 + '301': *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66840,8 +67055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -66870,20 +67085,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *471 - required: *472 + properties: *461 + required: *462 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &473 + properties: &463 url: type: string format: uri html_url: type: string format: uri - required: &474 + required: &464 - url - html_url nullable: true @@ -66891,32 +67106,32 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true contributing: title: Community Health File type: object - properties: *473 - required: *474 + properties: *463 + required: *464 nullable: true readme: title: Community Health File type: object - properties: *473 - required: *474 + properties: *463 + required: *464 nullable: true issue_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *463 + required: *464 nullable: true pull_request_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *463 + required: *464 nullable: true required: - code_of_conduct @@ -67043,8 +67258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *330 - - *331 + - *320 + - *321 - *19 - *17 - name: basehead @@ -67087,8 +67302,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: *452 + merge_base_commit: *452 status: type: string enum: @@ -67108,10 +67323,10 @@ paths: example: 6 commits: type: array - items: *462 + items: *452 files: type: array - items: *475 + items: *465 required: - url - html_url @@ -67354,8 +67569,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67397,8 +67612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *330 - - *331 + - *320 + - *321 - name: path description: path parameter in: path @@ -67541,7 +67756,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &476 + response-if-content-is-a-file: &466 summary: Response if content is a file value: type: file @@ -67673,7 +67888,7 @@ paths: - size - type - url - - &580 + - &570 title: Content File description: Content File type: object @@ -67874,7 +68089,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *476 + response-if-content-is-a-file: *466 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -67943,7 +68158,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *477 + '302': *467 '304': *37 x-github: githubCloudOnly: false @@ -67966,8 +68181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *330 - - *331 + - *320 + - *321 - name: path description: path parameter in: path @@ -68060,7 +68275,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &468 title: File Commit description: File Commit type: object @@ -68212,7 +68427,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *468 examples: example-for-creating-a-file: value: @@ -68266,7 +68481,7 @@ paths: schema: oneOf: - *3 - - &508 + - &498 description: Repository rule violation was detected type: object properties: @@ -68287,7 +68502,7 @@ paths: items: type: object properties: - placeholder_id: &624 + placeholder_id: &622 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68319,8 +68534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *330 - - *331 + - *320 + - *321 - name: path description: path parameter in: path @@ -68381,7 +68596,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *468 examples: default: value: @@ -68416,7 +68631,7 @@ paths: '422': *15 '404': *6 '409': *47 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68436,8 +68651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *330 - - *331 + - *320 + - *321 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68537,7 +68752,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *58 + Link: *54 '204': description: Response if repository is empty '403': *29 @@ -68560,31 +68775,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *330 - - *331 - - *170 - - *171 - - *172 + - *320 + - *321 - *173 + - *174 + - *175 + - *176 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *174 - - *479 - - *175 - - *176 + - *177 + - *469 + - *178 + - *179 - *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 +68802,6 @@ paths: default: 30 - *40 - *41 - - *177 - - *178 responses: '200': description: Response @@ -68604,11 +68809,11 @@ paths: application/json: schema: type: array - items: &482 + items: &472 type: object description: A Dependabot alert. properties: - number: *54 + number: *152 state: type: string description: The state of the Dependabot alert. @@ -68650,13 +68855,13 @@ paths: - unknown - direct - transitive - security_advisory: *480 + security_advisory: *470 security_vulnerability: *52 - url: *56 - html_url: *57 - created_at: *55 - updated_at: *153 - dismissed_at: *155 + url: *155 + html_url: *156 + created_at: *153 + updated_at: *154 + dismissed_at: *158 dismissed_by: title: Simple User description: A GitHub user. @@ -68680,8 +68885,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *154 - auto_dismissed_at: *481 + fixed_at: *157 + auto_dismissed_at: *471 required: - number - state @@ -68911,9 +69116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *330 - - *331 - - &483 + - *320 + - *321 + - &473 name: alert_number in: path description: |- @@ -68922,13 +69127,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *54 + schema: *152 responses: '200': description: Response content: application/json: - schema: *482 + schema: *472 examples: default: value: @@ -69041,9 +69246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *330 - - *331 - - *483 + - *320 + - *321 + - *473 requestBody: required: true content: @@ -69088,7 +69293,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *472 examples: default: value: @@ -69217,8 +69422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -69236,7 +69441,7 @@ paths: type: integer secrets: type: array - items: &486 + items: &476 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -69267,7 +69472,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 +69494,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *484 + schema: *474 examples: - default: *485 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69318,15 +69523,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *320 + - *321 + - *144 responses: '200': description: Response content: application/json: - schema: *486 + schema: *476 examples: default: value: @@ -69352,9 +69557,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *320 + - *321 + - *144 requestBody: required: true content: @@ -69382,7 +69587,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -69406,9 +69611,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *320 + - *321 + - *144 responses: '204': description: Response @@ -69430,8 +69635,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 + - *320 + - *321 - 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 +69772,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 +69796,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 + - *320 + - *321 responses: '200': description: Response @@ -69808,7 +70013,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *58 + Link: *54 '404': *6 '403': *29 x-github: @@ -69831,8 +70036,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 + - *320 + - *321 requestBody: required: true content: @@ -69907,7 +70112,7 @@ paths: - version - url additionalProperties: false - metadata: &487 + metadata: &477 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -69940,7 +70145,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *487 + metadata: *477 resolved: type: object description: A collection of resolved package dependencies. @@ -69953,7 +70158,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *487 + metadata: *477 relationship: type: string description: A notation of whether a dependency is requested @@ -70082,8 +70287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *330 - - *331 + - *320 + - *321 - name: sha description: The SHA recorded at creation time. in: query @@ -70123,11 +70328,11 @@ paths: application/json: schema: type: array - items: *488 + items: *478 examples: - default: *489 + default: *479 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70191,8 +70396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -70273,7 +70478,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *478 examples: simple-example: summary: Simple example @@ -70346,9 +70551,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *330 - - *331 - - &490 + - *320 + - *321 + - &480 name: deployment_id description: deployment_id parameter in: path @@ -70360,7 +70565,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *478 examples: default: value: @@ -70425,9 +70630,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *330 - - *331 - - *490 + - *320 + - *321 + - *480 responses: '204': description: Response @@ -70449,9 +70654,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *330 - - *331 - - *490 + - *320 + - *321 + - *480 - *17 - *19 responses: @@ -70461,7 +70666,7 @@ paths: application/json: schema: type: array - items: &491 + items: &481 title: Deployment Status description: The status of a deployment. type: object @@ -70552,8 +70757,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 required: - id - node_id @@ -70602,7 +70807,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 +70827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *330 - - *331 - - *490 + - *320 + - *321 + - *480 requestBody: required: true content: @@ -70699,9 +70904,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *481 examples: - default: &492 + default: &482 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70757,9 +70962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *330 - - *331 - - *490 + - *320 + - *321 + - *480 - name: status_id in: path required: true @@ -70770,9 +70975,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *481 examples: - default: *492 + default: *482 '404': *6 x-github: githubCloudOnly: false @@ -70797,8 +71002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -70855,8 +71060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -70873,7 +71078,7 @@ paths: type: integer environments: type: array - items: &494 + items: &484 title: Environment description: Details of a deployment environment type: object @@ -70925,7 +71130,7 @@ paths: type: type: string example: wait_timer - wait_timer: &496 + wait_timer: &486 type: integer example: 30 description: The amount of time to delay a job after @@ -70962,11 +71167,11 @@ paths: items: type: object properties: - type: *493 + type: *483 reviewer: anyOf: - *4 - - *169 + - *172 required: - id - node_id @@ -70986,7 +71191,7 @@ paths: - id - node_id - type - deployment_branch_policy: &497 + deployment_branch_policy: &487 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -71102,9 +71307,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *330 - - *331 - - &495 + - *320 + - *321 + - &485 name: environment_name in: path required: true @@ -71117,9 +71322,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *484 examples: - default: &498 + default: &488 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -71203,9 +71408,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *330 - - *331 - - *495 + - *320 + - *321 + - *485 requestBody: required: false content: @@ -71214,7 +71419,7 @@ paths: type: object nullable: true properties: - wait_timer: *496 + wait_timer: *486 prevent_self_review: type: boolean example: false @@ -71231,13 +71436,13 @@ paths: items: type: object properties: - type: *493 + type: *483 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: *487 additionalProperties: false examples: default: @@ -71257,9 +71462,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *484 examples: - default: *498 + default: *488 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -71283,9 +71488,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *330 - - *331 - - *495 + - *320 + - *321 + - *485 responses: '204': description: Default response @@ -71310,9 +71515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *330 - - *331 - - *495 + - *320 + - *321 + - *485 - *17 - *19 responses: @@ -71330,7 +71535,7 @@ paths: example: 2 branch_policies: type: array - items: &499 + items: &489 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71387,9 +71592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 + - *320 + - *321 + - *485 requestBody: required: true content: @@ -71435,9 +71640,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *489 examples: - example-wildcard: &500 + example-wildcard: &490 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71479,10 +71684,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 + - *320 + - *321 + - *485 + - &491 name: branch_policy_id in: path required: true @@ -71494,9 +71699,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *489 examples: - default: *500 + default: *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71515,10 +71720,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 + - *320 + - *321 + - *485 + - *491 requestBody: required: true content: @@ -71546,9 +71751,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *489 examples: - default: *500 + default: *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71567,10 +71772,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 + - *320 + - *321 + - *485 + - *491 responses: '204': description: Response @@ -71595,9 +71800,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 + - *485 + - *321 + - *320 responses: '200': description: List of deployment protection rules @@ -71613,7 +71818,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &502 + items: &492 title: Deployment protection rule description: Deployment protection rule type: object @@ -71632,7 +71837,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &503 + app: &493 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71731,9 +71936,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 + - *485 + - *321 + - *320 requestBody: content: application/json: @@ -71754,9 +71959,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *502 + schema: *492 examples: - default: &504 + default: &494 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71791,9 +71996,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 + - *485 + - *321 + - *320 - *19 - *17 responses: @@ -71812,7 +72017,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *503 + items: *493 examples: default: value: @@ -71847,10 +72052,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 + - *320 + - *321 + - *485 + - &495 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71862,9 +72067,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *492 examples: - default: *504 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71885,10 +72090,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: + - *485 + - *321 + - *320 - *495 - - *331 - - *330 - - *505 responses: '204': description: Response @@ -71914,9 +72119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *330 - - *331 - - *495 + - *320 + - *321 + - *485 - *17 - *19 responses: @@ -71934,11 +72139,11 @@ paths: type: integer secrets: type: array - items: *378 + items: *368 examples: - default: *379 + default: *369 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71961,17 +72166,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *330 - - *331 - - *495 + - *320 + - *321 + - *485 responses: '200': description: Response content: application/json: - schema: *380 + schema: *370 examples: - default: *381 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71993,18 +72198,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *330 - - *331 - - *495 - - *145 + - *320 + - *321 + - *485 + - *144 responses: '200': description: Response content: application/json: - schema: *378 + schema: *368 examples: - default: *506 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72026,10 +72231,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 + - *320 + - *321 + - *485 + - *144 requestBody: required: true content: @@ -72060,7 +72265,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -72086,10 +72291,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *330 - - *331 - - *495 - - *145 + - *320 + - *321 + - *485 + - *144 responses: '204': description: Default response @@ -72114,10 +72319,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *330 - - *331 - - *495 - - *349 + - *320 + - *321 + - *485 + - *339 - *19 responses: '200': @@ -72134,11 +72339,11 @@ paths: type: integer variables: type: array - items: *382 + items: *372 examples: - default: *383 + default: *373 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72159,9 +72364,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *330 - - *331 - - *495 + - *320 + - *321 + - *485 requestBody: required: true content: @@ -72188,7 +72393,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -72213,18 +72418,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *330 - - *331 - - *495 - - *148 + - *320 + - *321 + - *485 + - *147 responses: '200': description: Response content: application/json: - schema: *382 + schema: *372 examples: - default: *507 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72245,10 +72450,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *330 - - *331 - - *148 - - *495 + - *320 + - *321 + - *147 + - *485 requestBody: required: true content: @@ -72290,10 +72495,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *330 - - *331 - - *148 - - *495 + - *320 + - *321 + - *147 + - *485 responses: '204': description: Response @@ -72315,8 +72520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -72326,7 +72531,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: 200-response: value: @@ -72384,8 +72589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *330 - - *331 + - *320 + - *321 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72407,7 +72612,7 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: value: @@ -72520,7 +72725,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 +72749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: false content: @@ -72577,9 +72782,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *328 examples: - default: *340 + default: *330 '400': *14 '422': *15 '403': *29 @@ -72600,8 +72805,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -72660,8 +72865,8 @@ paths: application/json: schema: oneOf: - - *111 - - *508 + - *110 + - *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72686,8 +72891,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *330 - - *331 + - *320 + - *321 - name: file_sha in: path required: true @@ -72786,8 +72991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -72896,7 +73101,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &499 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73110,15 +73315,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *330 - - *331 - - *463 + - *320 + - *321 + - *453 responses: '200': description: Response content: application/json: - schema: *509 + schema: *499 examples: default: value: @@ -73174,9 +73379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *330 - - *331 - - &510 + - *320 + - *321 + - &500 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 +73398,7 @@ paths: application/json: schema: type: array - items: &511 + items: &501 title: Git Reference description: Git references within a repository type: object @@ -73246,7 +73451,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 +73473,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *330 - - *331 - - *510 + - *320 + - *321 + - *500 responses: '200': description: Response content: application/json: - schema: *511 + schema: *501 examples: - default: &512 + default: &502 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -73307,8 +73512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -73337,9 +73542,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *501 examples: - default: *512 + default: *502 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73365,9 +73570,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *330 - - *331 - - *510 + - *320 + - *321 + - *500 requestBody: required: true content: @@ -73396,9 +73601,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *501 examples: - default: *512 + default: *502 '422': *15 '409': *47 x-github: @@ -73416,9 +73621,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *330 - - *331 - - *510 + - *320 + - *321 + - *500 responses: '204': description: Response @@ -73473,8 +73678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -73541,7 +73746,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &504 title: Git Tag description: Metadata for a Git tag type: object @@ -73592,7 +73797,7 @@ paths: - sha - type - url - verification: *513 + verification: *503 required: - sha - url @@ -73602,7 +73807,7 @@ paths: - tag - message examples: - default: &515 + default: &505 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73675,8 +73880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *330 - - *331 + - *320 + - *321 - name: tag_sha in: path required: true @@ -73687,9 +73892,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *504 examples: - default: *515 + default: *505 '404': *6 '409': *47 x-github: @@ -73713,8 +73918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -73787,7 +73992,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &506 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -73883,8 +74088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *330 - - *331 + - *320 + - *321 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -73907,7 +74112,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *506 examples: default-response: summary: Default response @@ -73966,8 +74171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -73977,7 +74182,7 @@ paths: application/json: schema: type: array - items: &517 + items: &507 title: Webhook description: Webhooks for repositories. type: object @@ -74031,7 +74236,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &747 + last_response: &744 title: Hook Response type: object properties: @@ -74086,7 +74291,7 @@ paths: status: unused message: headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -74105,8 +74310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: false content: @@ -74158,9 +74363,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *507 examples: - default: &518 + default: &508 value: type: Repository id: 12345678 @@ -74208,17 +74413,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *320 + - *321 + - *187 responses: '200': description: Response content: application/json: - schema: *517 + schema: *507 examples: - default: *518 + default: *508 '404': *6 x-github: githubCloudOnly: false @@ -74238,9 +74443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *320 + - *321 + - *187 requestBody: required: true content: @@ -74285,9 +74490,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *507 examples: - default: *518 + default: *508 '422': *15 '404': *6 x-github: @@ -74308,9 +74513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *320 + - *321 + - *187 responses: '204': description: Response @@ -74334,9 +74539,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 + - *320 + - *321 + - *187 responses: '200': description: Response @@ -74363,9 +74568,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 + - *320 + - *321 + - *187 requestBody: required: false content: @@ -74409,11 +74614,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *330 - - *331 - - *186 - - *17 + - *320 + - *321 - *187 + - *17 + - *188 responses: '200': description: Response @@ -74421,9 +74626,9 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: - default: *189 + default: *190 '400': *14 '422': *15 x-github: @@ -74442,18 +74647,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 + - *320 + - *321 + - *187 - *16 responses: '200': description: Response content: application/json: - schema: *190 + schema: *191 examples: - default: *191 + default: *192 '400': *14 '422': *15 x-github: @@ -74472,9 +74677,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 + - *320 + - *321 + - *187 - *16 responses: '202': *39 @@ -74497,9 +74702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *320 + - *321 + - *187 responses: '204': description: Response @@ -74524,9 +74729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *330 - - *331 - - *186 + - *320 + - *321 + - *187 responses: '204': description: Response @@ -74549,8 +74754,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 + - *320 + - *321 responses: '200': description: Response if immutable releases are enabled @@ -74596,10 +74801,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *330 - - *331 + - *320 + - *321 responses: - '204': *163 + '204': *166 '409': *47 x-github: githubCloudOnly: false @@ -74617,10 +74822,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *330 - - *331 + - *320 + - *321 responses: - '204': *163 + '204': *166 '409': *47 x-github: githubCloudOnly: false @@ -74675,14 +74880,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: &519 + schema: &509 title: Import description: A repository import from an external source. type: object @@ -74781,7 +74986,7 @@ paths: - html_url - authors_url examples: - default: &522 + default: &512 value: vcs: subversion use_lfs: true @@ -74797,7 +75002,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': &510 description: Unavailable due to service under maintenance. content: application/json: @@ -74826,8 +75031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -74875,7 +75080,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *509 examples: default: value: @@ -74900,7 +75105,7 @@ paths: type: string '422': *15 '404': *6 - '503': *520 + '503': *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74928,8 +75133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: false content: @@ -74978,7 +75183,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *509 examples: example-1: summary: Example 1 @@ -75026,7 +75231,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': *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75049,12 +75254,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response - '503': *520 + '503': *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75080,9 +75285,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *330 - - *331 - - &684 + - *320 + - *321 + - &681 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75096,7 +75301,7 @@ paths: application/json: schema: type: array - items: &521 + items: &511 title: Porter Author description: Porter Author type: object @@ -75150,7 +75355,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': *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75175,8 +75380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *330 - - *331 + - *320 + - *321 - name: author_id in: path required: true @@ -75206,7 +75411,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *511 examples: default: value: @@ -75219,7 +75424,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *520 + '503': *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75243,8 +75448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -75285,7 +75490,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *520 + '503': *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75313,8 +75518,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -75341,11 +75546,11 @@ paths: description: Response content: application/json: - schema: *519 + schema: *509 examples: - default: *522 + default: *512 '422': *15 - '503': *520 + '503': *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75368,8 +75573,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 + - *320 + - *321 responses: '200': description: Response @@ -75377,8 +75582,8 @@ paths: application/json: schema: *22 examples: - default: *523 - '301': *339 + default: *513 + '301': *329 '404': *6 x-github: githubCloudOnly: false @@ -75398,8 +75603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -75407,12 +75612,12 @@ paths: application/json: schema: anyOf: - - *204 + - *205 - type: object properties: {} additionalProperties: false examples: - default: &525 + default: &515 value: limit: collaborators_only origin: repository @@ -75437,13 +75642,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: application/json: - schema: *524 + schema: *514 examples: default: summary: Example request body @@ -75455,9 +75660,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: - default: *525 + default: *515 '409': description: Response x-github: @@ -75479,8 +75684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -75503,8 +75708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -75514,9 +75719,9 @@ paths: application/json: schema: type: array - items: *526 + items: *516 examples: - default: &677 + default: &674 value: - id: 1 repository: @@ -75630,7 +75835,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 +75852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *330 - - *331 - - *208 + - *320 + - *321 + - *209 requestBody: required: false content: @@ -75678,7 +75883,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *516 examples: default: value: @@ -75809,9 +76014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *330 - - *331 - - *208 + - *320 + - *321 + - *209 responses: '204': description: Response @@ -75842,8 +76047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *330 - - *331 + - *320 + - *321 - 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 +76096,7 @@ paths: required: false schema: type: string - - *212 + - *213 - name: sort description: What to sort results by. in: query @@ -75904,7 +76109,7 @@ paths: - comments default: created - *48 - - *79 + - *77 - *17 - *19 responses: @@ -75914,9 +76119,9 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: &535 + default: &525 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76063,8 +76268,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *58 - '301': *339 + Link: *54 + '301': *329 '422': *15 '404': *6 x-github: @@ -76093,8 +76298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -76176,9 +76381,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: &532 + default: &522 value: id: 1 node_id: MDU6SXNzdWUx @@ -76332,9 +76537,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *77 + '503': *105 '404': *6 - '410': *336 + '410': *326 x-github: triggersNotification: true githubCloudOnly: false @@ -76362,9 +76567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *330 - - *331 - - *96 + - *320 + - *321 + - *94 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -76374,7 +76579,7 @@ paths: enum: - asc - desc - - *79 + - *77 - *17 - *19 responses: @@ -76384,9 +76589,9 @@ paths: application/json: schema: type: array - items: *527 + items: *517 examples: - default: &534 + default: &524 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76417,7 +76622,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 +76649,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *320 + - *321 + - *86 responses: '200': description: Response content: application/json: - schema: *527 + schema: *517 examples: - default: &528 + default: &518 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76508,9 +76713,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *320 + - *321 + - *86 requestBody: required: true content: @@ -76532,9 +76737,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *517 examples: - default: *528 + default: *518 '422': *15 x-github: githubCloudOnly: false @@ -76552,9 +76757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *320 + - *321 + - *86 responses: '204': description: Response @@ -76574,9 +76779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *320 + - *321 + - *86 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -76602,11 +76807,11 @@ paths: application/json: schema: type: array - items: *323 + items: *313 examples: - default: *325 + default: *315 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -76625,9 +76830,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *320 + - *321 + - *86 requestBody: required: true content: @@ -76659,16 +76864,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '201': description: Reaction created content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '422': *15 x-github: githubCloudOnly: false @@ -76690,10 +76895,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *330 - - *331 - - *88 - - *326 + - *320 + - *321 + - *86 + - *316 responses: '204': description: Response @@ -76713,8 +76918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -76724,7 +76929,7 @@ paths: application/json: schema: type: array - items: &531 + items: &521 title: Issue Event description: Issue Event type: object @@ -76767,8 +76972,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: *519 + required: *520 nullable: true label: title: Issue Event Label @@ -76812,7 +77017,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *169 + requested_team: *172 dismissed_review: title: Issue Event Dismissed Review type: object @@ -76877,7 +77082,7 @@ paths: required: - from - to - author_association: *72 + author_association: *71 lock_reason: type: string nullable: true @@ -76890,8 +77095,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 required: - id - node_id @@ -77057,7 +77262,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -77075,8 +77280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *330 - - *331 + - *320 + - *321 - name: event_id in: path required: true @@ -77087,7 +77292,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *521 examples: default: value: @@ -77280,7 +77485,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *336 + '410': *326 '403': *29 x-github: githubCloudOnly: false @@ -77314,9 +77519,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *330 - - *331 - - &533 + - *320 + - *321 + - &523 name: issue_number description: The number that identifies the issue. in: path @@ -77328,12 +77533,12 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 - '301': *339 + default: *522 + '301': *329 '404': *6 - '410': *336 + '410': *326 '304': *37 x-github: githubCloudOnly: false @@ -77358,9 +77563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: required: false content: @@ -77464,15 +77669,15 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *522 '422': *15 - '503': *77 + '503': *105 '403': *29 - '301': *339 + '301': *329 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77490,9 +77695,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: required: false content: @@ -77518,9 +77723,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77536,9 +77741,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: content: application/json: @@ -77563,9 +77768,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77587,9 +77792,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 + - *320 + - *321 + - *523 - name: assignee in: path required: true @@ -77629,10 +77834,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *330 - - *331 - - *533 - - *79 + - *320 + - *321 + - *523 + - *77 - *17 - *19 responses: @@ -77642,13 +77847,13 @@ paths: application/json: schema: type: array - items: *527 + items: *517 examples: - default: *534 + default: *524 headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77677,9 +77882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: required: true content: @@ -77701,16 +77906,16 @@ paths: description: Response content: application/json: - schema: *527 + schema: *517 examples: - default: *528 + default: *518 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *336 + '410': *326 '422': *15 '404': *6 x-github: @@ -77738,9 +77943,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 + - *320 + - *321 + - *523 - *17 - *19 responses: @@ -77750,14 +77955,14 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: *535 + default: *525 headers: - Link: *58 - '301': *339 + Link: *54 + '301': *329 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77785,9 +77990,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 + - *320 + - *321 + - *523 requestBody: required: true content: @@ -77809,17 +78014,17 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *522 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *339 + '301': *329 '403': *29 - '410': *336 + '410': *326 '422': *15 '404': *6 x-github: @@ -77850,9 +78055,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 + - *320 + - *321 + - *523 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -77864,15 +78069,15 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 - '301': *339 + default: *522 + '301': *329 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *326 x-github: triggersNotification: true githubCloudOnly: false @@ -77898,9 +78103,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 + - *320 + - *321 + - *523 - *17 - *19 responses: @@ -77910,14 +78115,14 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: *535 + default: *525 headers: - Link: *58 - '301': *339 + Link: *54 + '301': *329 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77934,9 +78139,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 - *17 - *19 responses: @@ -77950,7 +78155,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &537 + - &527 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -77981,8 +78186,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 label: type: object properties: @@ -78004,7 +78209,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &528 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -78035,8 +78240,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 label: type: object properties: @@ -78124,8 +78329,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 assignee: *4 assigner: *4 required: @@ -78140,7 +78345,7 @@ paths: - performed_via_github_app - assignee - assigner - - &539 + - &529 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -78171,8 +78376,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 milestone: type: object properties: @@ -78191,7 +78396,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &530 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -78222,8 +78427,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 milestone: type: object properties: @@ -78242,7 +78447,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &531 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -78273,8 +78478,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 rename: type: object properties: @@ -78296,7 +78501,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &532 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78327,10 +78532,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 review_requester: *4 - requested_team: *169 + requested_team: *172 requested_reviewer: *4 required: - review_requester @@ -78343,7 +78548,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &533 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78374,10 +78579,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 review_requester: *4 - requested_team: *169 + requested_team: *172 requested_reviewer: *4 required: - review_requester @@ -78390,7 +78595,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &534 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78421,8 +78626,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 dismissed_review: type: object properties: @@ -78450,7 +78655,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &535 title: Locked Issue Event description: Locked Issue Event type: object @@ -78481,8 +78686,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 lock_reason: type: string example: '"off-topic"' @@ -78498,7 +78703,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &536 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78529,8 +78734,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 project_card: type: object properties: @@ -78564,7 +78769,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &537 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78595,8 +78800,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 project_card: type: object properties: @@ -78630,7 +78835,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &538 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78661,8 +78866,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 project_card: type: object properties: @@ -78696,7 +78901,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &539 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78786,8 +78991,8 @@ paths: name: label color: red headers: - Link: *58 - '410': *336 + Link: *54 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78804,9 +79009,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 - *17 - *19 responses: @@ -78816,9 +79021,9 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: - default: &536 + default: &526 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78835,10 +79040,10 @@ paths: color: a2eeef default: false headers: - Link: *58 - '301': *339 + Link: *54 + '301': *329 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78855,9 +79060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: required: false content: @@ -78916,12 +79121,12 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: - default: *536 - '301': *339 + default: *526 + '301': *329 '404': *6 - '410': *336 + '410': *326 '422': *15 x-github: githubCloudOnly: false @@ -78938,9 +79143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: required: false content: @@ -79000,12 +79205,12 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: - default: *536 - '301': *339 + default: *526 + '301': *329 '404': *6 - '410': *336 + '410': *326 '422': *15 x-github: githubCloudOnly: false @@ -79022,15 +79227,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 responses: '204': description: Response - '301': *339 + '301': *329 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79049,9 +79254,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 - name: name in: path required: true @@ -79064,7 +79269,7 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: default: value: @@ -79075,9 +79280,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *339 + '301': *329 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79097,9 +79302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: required: false content: @@ -79127,7 +79332,7 @@ paths: '204': description: Response '403': *29 - '410': *336 + '410': *326 '404': *6 '422': *15 x-github: @@ -79145,9 +79350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 responses: '204': description: Response @@ -79177,20 +79382,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 responses: '200': description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 - '301': *339 + default: *522 + '301': *329 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79207,9 +79412,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 - 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 +79440,13 @@ paths: application/json: schema: type: array - items: *323 + items: *313 examples: - default: *325 + default: *315 headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79259,9 +79464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: required: true content: @@ -79293,16 +79498,16 @@ paths: description: Response content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '201': description: Response content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '422': *15 x-github: githubCloudOnly: false @@ -79324,10 +79529,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *330 - - *331 - - *533 - - *326 + - *320 + - *321 + - *523 + - *316 responses: '204': description: Response @@ -79356,9 +79561,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: required: true content: @@ -79380,9 +79585,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *522 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79415,9 +79620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 - *17 - *19 responses: @@ -79427,13 +79632,13 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: *535 + default: *525 headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79461,9 +79666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: required: true content: @@ -79490,16 +79695,16 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *522 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *336 + '410': *326 '422': *15 '404': *6 x-github: @@ -79519,9 +79724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 requestBody: required: true content: @@ -79552,13 +79757,13 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *522 '403': *29 '404': *6 '422': *7 - '503': *77 + '503': *105 x-github: triggersNotification: true githubCloudOnly: false @@ -79576,9 +79781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *330 - - *331 - - *533 + - *320 + - *321 + - *523 - *17 - *19 responses: @@ -79593,19 +79798,19 @@ paths: description: Timeline Event type: object anyOf: + - *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 +79853,7 @@ paths: issue_url: type: string format: uri - author_association: *72 + author_association: *71 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -79658,9 +79863,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - reactions: *73 + properties: *67 + required: *68 + reactions: *72 required: - event - actor @@ -79691,7 +79896,7 @@ paths: properties: type: type: string - issue: *71 + issue: *70 required: - event - created_at @@ -79891,7 +80096,7 @@ paths: type: string body_text: type: string - author_association: *72 + author_association: *71 required: - event - id @@ -79914,7 +80119,7 @@ paths: type: string comments: type: array - items: &569 + items: &559 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -80003,7 +80208,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *72 + author_association: *71 _links: type: object properties: @@ -80087,7 +80292,7 @@ paths: enum: - line - file - reactions: *73 + reactions: *72 body_html: type: string example: '"

comment body

"' @@ -80123,7 +80328,7 @@ paths: type: string comments: type: array - items: *461 + items: *451 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80154,8 +80359,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 assignee: *4 required: - id @@ -80198,8 +80403,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 assignee: *4 required: - id @@ -80242,8 +80447,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 state_reason: type: string nullable: true @@ -80410,9 +80615,9 @@ paths: type: User site_admin: true headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80429,8 +80634,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -80440,7 +80645,7 @@ paths: application/json: schema: type: array - items: &550 + items: &540 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80490,7 +80695,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80506,8 +80711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -80543,9 +80748,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *540 examples: - default: &551 + default: &541 value: id: 1 key: ssh-rsa AAA... @@ -80579,9 +80784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *330 - - *331 - - &552 + - *320 + - *321 + - &542 name: key_id description: The unique identifier of the key. in: path @@ -80593,9 +80798,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *540 examples: - default: *551 + default: *541 '404': *6 x-github: githubCloudOnly: false @@ -80613,9 +80818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *330 - - *331 - - *552 + - *320 + - *321 + - *542 responses: '204': description: Response @@ -80635,8 +80840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -80646,11 +80851,11 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: - default: *536 + default: *526 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -80669,8 +80874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -80706,9 +80911,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *69 examples: - default: &553 + default: &543 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80740,8 +80945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *330 - - *331 + - *320 + - *321 - name: name in: path required: true @@ -80752,9 +80957,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *69 examples: - default: *553 + default: *543 '404': *6 x-github: githubCloudOnly: false @@ -80771,8 +80976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *330 - - *331 + - *320 + - *321 - name: name in: path required: true @@ -80811,7 +81016,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *69 examples: default: value: @@ -80837,8 +81042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *330 - - *331 + - *320 + - *321 - name: name in: path required: true @@ -80864,8 +81069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -80904,9 +81109,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *330 - - *331 - - *437 + - *320 + - *321 + - *427 responses: '200': description: Response @@ -80968,8 +81173,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true required: - _links @@ -81051,8 +81256,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 + - *320 + - *321 requestBody: required: true content: @@ -81117,8 +81322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -81152,9 +81357,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *462 + schema: *452 examples: - default: *554 + default: *544 '204': description: Response when already merged '404': @@ -81179,8 +81384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *330 - - *331 + - *320 + - *321 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81221,7 +81426,7 @@ paths: application/json: schema: type: array - items: &555 + items: &545 title: Milestone description: A collection of related issues and pull requests. type: object @@ -81265,7 +81470,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 +81487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -81323,9 +81528,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *545 examples: - default: &556 + default: &546 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 +81589,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *330 - - *331 - - &557 + - *320 + - *321 + - &547 name: milestone_number description: The number that identifies the milestone. in: path @@ -81398,9 +81603,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *545 examples: - default: *556 + default: *546 '404': *6 x-github: githubCloudOnly: false @@ -81417,9 +81622,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *330 - - *331 - - *557 + - *320 + - *321 + - *547 requestBody: required: false content: @@ -81457,9 +81662,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *545 examples: - default: *556 + default: *546 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81475,9 +81680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *330 - - *331 - - *557 + - *320 + - *321 + - *547 responses: '204': description: Response @@ -81498,9 +81703,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 + - *320 + - *321 + - *547 - *17 - *19 responses: @@ -81510,11 +81715,11 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: - default: *536 + default: *526 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81531,12 +81736,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 + - *320 + - *321 + - *548 + - *549 + - *77 + - *550 - *17 - *19 responses: @@ -81546,11 +81751,11 @@ paths: application/json: schema: type: array - items: *99 + items: *97 examples: - default: *561 + default: *551 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -81572,8 +81777,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: false content: @@ -81631,14 +81836,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: &562 + schema: &552 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81763,7 +81968,7 @@ paths: - custom_404 - public examples: - default: &563 + default: &553 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81804,8 +82009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -81859,9 +82064,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *552 examples: - default: *563 + default: *553 '422': *15 '409': *47 x-github: @@ -81884,8 +82089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -81984,8 +82189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -82011,8 +82216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -82022,7 +82227,7 @@ paths: application/json: schema: type: array - items: &564 + items: &554 title: Page Build description: Page Build type: object @@ -82097,7 +82302,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 +82321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *330 - - *331 + - *320 + - *321 responses: '201': description: Response @@ -82162,16 +82367,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *564 + schema: *554 examples: - default: &565 + default: &555 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -82219,8 +82424,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *330 - - *331 + - *320 + - *321 - name: build_id in: path required: true @@ -82231,9 +82436,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *554 examples: - default: *565 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82253,8 +82458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -82359,9 +82564,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 + - *320 + - *321 + - &556 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82419,11 +82624,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *330 - - *331 - - *566 + - *320 + - *321 + - *556 responses: - '204': *163 + '204': *166 '404': *6 x-github: githubCloudOnly: false @@ -82448,8 +82653,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 + - *320 + - *321 responses: '200': description: Response @@ -82680,7 +82885,7 @@ paths: description: Empty response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -82707,8 +82912,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 + - *320 + - *321 responses: '200': description: Private vulnerability reporting status @@ -82745,10 +82950,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: - '204': *163 + '204': *166 '422': *14 x-github: githubCloudOnly: false @@ -82767,10 +82972,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *330 - - *331 + - *320 + - *321 responses: - '204': *163 + '204': *166 '422': *14 x-github: githubCloudOnly: false @@ -82791,8 +82996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *330 - - *331 + - *320 + - *321 - name: state description: Indicates the state of the projects to return. in: query @@ -82849,11 +83054,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': *326 '422': *7 x-github: githubCloudOnly: false @@ -82876,8 +83081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -82905,11 +83110,11 @@ paths: application/json: schema: *244 examples: - default: *335 + default: *325 '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *326 '422': *7 x-github: githubCloudOnly: false @@ -82932,8 +83137,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 + - *320 + - *321 responses: '200': description: Response @@ -82972,8 +83177,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 + - *320 + - *321 requestBody: required: true content: @@ -83035,8 +83240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *330 - - *331 + - *320 + - *321 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83096,11 +83301,11 @@ paths: application/json: schema: type: array - items: *466 + items: *456 examples: - default: *567 + default: *557 headers: - Link: *58 + Link: *54 '304': *37 '422': *15 x-github: @@ -83130,8 +83335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -83196,7 +83401,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &561 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83353,7 +83558,7 @@ paths: nullable: true requested_teams: type: array - items: *308 + items: *298 nullable: true head: type: object @@ -83362,7 +83567,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *66 sha: type: string user: *4 @@ -83379,7 +83584,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *66 sha: type: string user: *4 @@ -83409,8 +83614,8 @@ paths: - review_comments - review_comment - self - author_association: *72 - auto_merge: *568 + author_association: *71 + auto_merge: *558 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -83502,7 +83707,7 @@ paths: - merged_by - review_comments examples: - default: &572 + default: &562 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -84029,8 +84234,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *330 - - *331 + - *320 + - *321 - name: sort in: query required: false @@ -84049,7 +84254,7 @@ paths: enum: - asc - desc - - *79 + - *77 - *17 - *19 responses: @@ -84059,9 +84264,9 @@ paths: application/json: schema: type: array - items: *569 + items: *559 examples: - default: &574 + default: &564 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84113,7 +84318,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84138,17 +84343,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 + - *320 + - *321 + - *86 responses: '200': description: Response content: application/json: - schema: *569 + schema: *559 examples: - default: &570 + default: &560 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84223,9 +84428,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 + - *320 + - *321 + - *86 requestBody: required: true content: @@ -84247,9 +84452,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *559 examples: - default: *570 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84265,9 +84470,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 + - *320 + - *321 + - *86 responses: '204': description: Response @@ -84288,9 +84493,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 + - *320 + - *321 + - *86 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -84316,11 +84521,11 @@ paths: application/json: schema: type: array - items: *323 + items: *313 examples: - default: *325 + default: *315 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -84339,9 +84544,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 + - *320 + - *321 + - *86 requestBody: required: true content: @@ -84373,16 +84578,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '201': description: Reaction created content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '422': *15 x-github: githubCloudOnly: false @@ -84404,10 +84609,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 + - *320 + - *321 + - *86 + - *316 responses: '204': description: Response @@ -84450,9 +84655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *330 - - *331 - - &573 + - *320 + - *321 + - &563 name: pull_number description: The number that identifies the pull request. in: path @@ -84465,9 +84670,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *571 + schema: *561 examples: - default: *572 + default: *562 '304': *37 '404': *6 '406': @@ -84475,8 +84680,8 @@ paths: content: application/json: schema: *3 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84502,9 +84707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *330 - - *331 - - *573 + - *320 + - *321 + - *563 requestBody: required: false content: @@ -84546,9 +84751,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *561 examples: - default: *572 + default: *562 '422': *15 '403': *29 x-github: @@ -84570,9 +84775,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 + - *320 + - *321 + - *563 requestBody: required: true content: @@ -84632,21 +84837,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *215 examples: - default: *451 + default: *441 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *215 examples: - default: *451 + default: *441 '401': *25 '403': *29 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -84672,10 +84877,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 + - *320 + - *321 + - *563 + - *94 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -84685,7 +84890,7 @@ paths: enum: - asc - desc - - *79 + - *77 - *17 - *19 responses: @@ -84695,11 +84900,11 @@ paths: application/json: schema: type: array - items: *569 + items: *559 examples: - default: *574 + default: *564 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84730,9 +84935,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 + - *320 + - *321 + - *563 requestBody: required: true content: @@ -84837,7 +85042,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *559 examples: example-for-a-multi-line-comment: value: @@ -84925,10 +85130,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 + - *320 + - *321 + - *563 + - *86 requestBody: required: true content: @@ -84950,7 +85155,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *559 examples: default: value: @@ -85036,9 +85241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *330 - - *331 - - *573 + - *320 + - *321 + - *563 - *17 - *19 responses: @@ -85048,11 +85253,11 @@ paths: application/json: schema: type: array - items: *462 + items: *452 examples: - default: *575 + default: *565 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85080,9 +85285,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *330 - - *331 - - *573 + - *320 + - *321 + - *563 - *17 - *19 responses: @@ -85092,7 +85297,7 @@ paths: application/json: schema: type: array - items: *475 + items: *465 examples: default: value: @@ -85108,10 +85313,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *58 + Link: *54 '422': *15 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85130,9 +85335,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 + - *320 + - *321 + - *563 responses: '204': description: Response if pull request has been merged @@ -85155,9 +85360,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *330 - - *331 - - *573 + - *320 + - *321 + - *563 requestBody: required: false content: @@ -85268,9 +85473,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 + - *320 + - *321 + - *563 responses: '200': description: Response @@ -85286,7 +85491,7 @@ paths: items: *4 teams: type: array - items: *169 + items: *172 required: - users - teams @@ -85327,7 +85532,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 +85550,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 + - *320 + - *321 + - *563 requestBody: required: false content: @@ -85384,7 +85589,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *456 examples: default: value: @@ -85920,9 +86125,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 + - *320 + - *321 + - *563 requestBody: required: true content: @@ -85956,7 +86161,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *456 examples: default: value: @@ -86461,9 +86666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *320 + - *321 + - *563 - *17 - *19 responses: @@ -86473,7 +86678,7 @@ paths: application/json: schema: type: array - items: &576 + items: &566 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86542,7 +86747,7 @@ paths: type: string body_text: type: string - author_association: *72 + author_association: *71 required: - id - node_id @@ -86591,7 +86796,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86624,9 +86829,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 + - *320 + - *321 + - *563 requestBody: required: false content: @@ -86712,9 +86917,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *566 examples: - default: &578 + default: &568 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86777,10 +86982,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 + - *320 + - *321 + - *563 + - &567 name: review_id description: The unique identifier of the review. in: path @@ -86792,9 +86997,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *566 examples: - default: &579 + default: &569 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86853,10 +87058,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 + - *320 + - *321 + - *563 + - *567 requestBody: required: true content: @@ -86879,7 +87084,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *566 examples: default: value: @@ -86941,18 +87146,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 + - *320 + - *321 + - *563 + - *567 responses: '200': description: Response content: application/json: - schema: *576 + schema: *566 examples: - default: *578 + default: *568 '422': *7 '404': *6 x-github: @@ -86979,10 +87184,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 + - *320 + - *321 + - *563 + - *567 - *17 - *19 responses: @@ -87061,7 +87266,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *72 + author_association: *71 _links: type: object properties: @@ -87076,7 +87281,7 @@ paths: type: string body_html: type: string - reactions: *73 + reactions: *72 side: description: The side of the first line of the range for a multi-line comment. @@ -87188,7 +87393,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 +87422,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 + - *320 + - *321 + - *563 + - *567 requestBody: required: true content: @@ -87248,7 +87453,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *566 examples: default: value: @@ -87311,10 +87516,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 + - *320 + - *321 + - *563 + - *567 requestBody: required: true content: @@ -87349,9 +87554,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *566 examples: - default: *579 + default: *569 '404': *6 '422': *7 '403': *29 @@ -87373,9 +87578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *330 - - *331 - - *573 + - *320 + - *321 + - *563 requestBody: required: false content: @@ -87438,8 +87643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *330 - - *331 + - *320 + - *321 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87452,9 +87657,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *570 examples: - default: &581 + default: &571 value: type: file encoding: base64 @@ -87496,8 +87701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *330 - - *331 + - *320 + - *321 - name: dir description: The alternate path to look for a README file in: path @@ -87517,9 +87722,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *570 examples: - default: *581 + default: *571 '404': *6 '422': *15 x-github: @@ -87541,8 +87746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -87552,7 +87757,7 @@ paths: application/json: schema: type: array - items: *582 + items: *572 examples: default: value: @@ -87626,7 +87831,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -87646,8 +87851,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -87723,9 +87928,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *572 examples: - default: &586 + default: &576 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 +88035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *330 - - *331 - - &584 + - *320 + - *321 + - &574 name: asset_id description: The unique identifier of the asset. in: path @@ -87844,9 +88049,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *573 examples: - default: &585 + default: &575 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 +88086,7 @@ paths: type: User site_admin: false '404': *6 - '302': *477 + '302': *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87897,9 +88102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *330 - - *331 - - *584 + - *320 + - *321 + - *574 requestBody: required: false content: @@ -87927,9 +88132,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *573 examples: - default: *585 + default: *575 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87945,9 +88150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *330 - - *331 - - *584 + - *320 + - *321 + - *574 responses: '204': description: Response @@ -87971,8 +88176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -88057,16 +88262,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *582 + schema: *572 examples: - default: *586 + default: *576 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88083,8 +88288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *330 - - *331 + - *320 + - *321 - name: tag description: tag parameter in: path @@ -88097,9 +88302,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *572 examples: - default: *586 + default: *576 '404': *6 x-github: githubCloudOnly: false @@ -88121,9 +88326,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *330 - - *331 - - &587 + - *320 + - *321 + - &577 name: release_id description: The unique identifier of the release. in: path @@ -88137,9 +88342,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: *572 examples: - default: *586 + default: *576 '401': description: Unauthorized x-github: @@ -88157,9 +88362,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *330 - - *331 - - *587 + - *320 + - *321 + - *577 requestBody: required: false content: @@ -88223,9 +88428,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *572 examples: - default: *586 + default: *576 '404': description: Not Found if the discussion category name is invalid content: @@ -88246,9 +88451,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *330 - - *331 - - *587 + - *320 + - *321 + - *577 responses: '204': description: Response @@ -88268,9 +88473,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *330 - - *331 - - *587 + - *320 + - *321 + - *577 - *17 - *19 responses: @@ -88280,7 +88485,7 @@ paths: application/json: schema: type: array - items: *583 + items: *573 examples: default: value: @@ -88317,7 +88522,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88361,9 +88566,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 + - *320 + - *321 + - *577 - name: name in: query required: true @@ -88389,7 +88594,7 @@ paths: description: Response for successful upload content: application/json: - schema: *583 + schema: *573 examples: response-for-successful-upload: value: @@ -88444,9 +88649,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *330 - - *331 - - *587 + - *320 + - *321 + - *577 - 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 +88675,11 @@ paths: application/json: schema: type: array - items: *323 + items: *313 examples: - default: *325 + default: *315 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -88493,9 +88698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *330 - - *331 - - *587 + - *320 + - *321 + - *577 requestBody: required: true content: @@ -88525,16 +88730,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '201': description: Reaction created content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 '422': *15 x-github: githubCloudOnly: false @@ -88556,10 +88761,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *330 - - *331 - - *587 - - *326 + - *320 + - *321 + - *577 + - *316 responses: '204': description: Response @@ -88583,9 +88788,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *330 - - *331 - - *400 + - *320 + - *321 + - *390 - *17 - *19 responses: @@ -88602,7 +88807,7 @@ paths: oneOf: - allOf: - *271 - - &588 + - &578 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88623,67 +88828,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *272 - - *588 + - *578 - allOf: - *273 - - *588 + - *578 - allOf: - *274 - - *588 + - *578 - allOf: - - *589 - - *588 + - *579 + - *578 - allOf: - *275 - - *588 + - *578 - allOf: - *276 - - *588 + - *578 - allOf: - *277 - - *588 + - *578 - allOf: - *278 - - *588 + - *578 - allOf: - *279 - - *588 + - *578 - allOf: - *280 - - *588 + - *578 - allOf: - *281 - - *588 + - *578 - allOf: - *282 - - *588 + - *578 - allOf: - *283 - - *588 + - *578 - allOf: - *284 - - *588 + - *578 - allOf: - *285 - - *588 + - *578 - allOf: - *286 - - *588 + - *578 - allOf: - *287 - - *588 + - *578 - allOf: - *288 - - *588 + - *578 - allOf: - *289 - - *588 + - *578 - allOf: - *290 - - *588 + - *578 - allOf: - - *590 - - *588 + - *580 + - *578 examples: default: value: @@ -88722,8 +88927,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 - name: includes_parents @@ -88734,7 +88939,7 @@ paths: schema: type: boolean default: true - - *591 + - *581 responses: '200': description: Response @@ -88773,7 +88978,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *106 + '500': *104 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -88789,8 +88994,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *320 + - *321 requestBody: description: Request body required: true @@ -88819,7 +89024,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *592 + items: *582 required: - name - enforcement @@ -88852,7 +89057,7 @@ paths: application/json: schema: *291 examples: - default: &602 + default: &592 value: id: 42 name: super cool ruleset @@ -88885,7 +89090,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *106 + '500': *104 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -88899,12 +89104,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 + - *320 + - *321 + - *583 + - *584 + - *585 + - *586 - *17 - *19 responses: @@ -88912,11 +89117,11 @@ paths: description: Response content: application/json: - schema: *597 + schema: *587 examples: - default: *598 + default: *588 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88935,19 +89140,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *330 - - *331 - - *599 + - *320 + - *321 + - *589 responses: '200': description: Response content: application/json: - schema: *600 + schema: *590 examples: - default: *601 + default: *591 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88973,8 +89178,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *320 + - *321 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88996,9 +89201,9 @@ paths: application/json: schema: *291 examples: - default: *602 + default: *592 '404': *6 - '500': *106 + '500': *104 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -89014,8 +89219,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *320 + - *321 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89049,7 +89254,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *592 + items: *582 examples: default: value: @@ -89079,9 +89284,9 @@ paths: application/json: schema: *291 examples: - default: *602 + default: *592 '404': *6 - '500': *106 + '500': *104 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -89097,8 +89302,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *320 + - *321 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89109,7 +89314,7 @@ paths: '204': description: Response '404': *6 - '500': *106 + '500': *104 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -89121,8 +89326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 - name: ruleset_id @@ -89140,9 +89345,9 @@ paths: type: array items: *294 examples: - default: *603 + default: *593 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89159,8 +89364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *330 - - *331 + - *320 + - *321 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89178,7 +89383,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *594 examples: default: value: @@ -89211,7 +89416,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89233,21 +89438,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 + - *320 + - *321 + - *595 + - *596 + - *597 + - *598 - *48 - *19 - *17 - - *605 - - *606 - - *299 - - *300 - - *301 - - *302 + - *599 + - *600 + - *601 + - *602 + - *603 + - *604 responses: '200': description: Response @@ -89255,11 +89460,11 @@ paths: application/json: schema: type: array - items: &610 + items: &608 type: object properties: - number: *54 - created_at: *55 + number: *152 + created_at: *153 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -89267,15 +89472,15 @@ paths: format: date-time readOnly: true nullable: true - url: *56 - html_url: *57 + url: *155 + html_url: *156 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *607 - resolution: *608 + state: *605 + resolution: *606 resolved_at: type: string format: date-time @@ -89371,7 +89576,7 @@ paths: pull request. ' - oneOf: *609 + oneOf: *607 nullable: true has_more_locations: type: boolean @@ -89498,7 +89703,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89520,16 +89725,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 + - *320 + - *321 + - *421 + - *604 responses: '200': description: Response content: application/json: - schema: *610 + schema: *608 examples: default: value: @@ -89560,7 +89765,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89581,9 +89786,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 + - *320 + - *321 + - *421 requestBody: required: true content: @@ -89591,8 +89796,8 @@ paths: schema: type: object properties: - state: *607 - resolution: *608 + state: *605 + resolution: *606 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89610,7 +89815,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *608 examples: default: value: @@ -89663,7 +89868,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89685,9 +89890,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 + - *320 + - *321 + - *421 - *19 - *17 responses: @@ -89698,7 +89903,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &769 + items: &766 type: object properties: type: @@ -89724,6 +89929,8 @@ paths: example: commit details: oneOf: + - *609 + - *610 - *611 - *612 - *613 @@ -89735,8 +89942,6 @@ paths: - *619 - *620 - *621 - - *622 - - *623 examples: default: value: @@ -89796,11 +90001,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *58 + Link: *54 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89822,8 +90027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -89831,14 +90036,14 @@ paths: schema: type: object properties: - reason: &625 + reason: &623 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *624 + placeholder_id: *622 required: - reason - placeholder_id @@ -89855,7 +90060,7 @@ paths: schema: type: object properties: - reason: *625 + reason: *623 expire_at: type: string format: date-time @@ -89878,7 +90083,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89890,6 +90095,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 +90106,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 + - *320 + - *321 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *77 + '503': *105 '200': description: Response content: @@ -89914,7 +90122,7 @@ paths: properties: incremental_scans: type: array - items: &626 + items: &624 description: Information on a single scan performed by secret scanning on the repository type: object @@ -89940,15 +90148,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *626 + items: *624 backfill_scans: type: array - items: *626 + items: *624 custom_pattern_backfill_scans: type: array items: allOf: - - *626 + - *624 - type: object properties: pattern_name: @@ -90018,8 +90226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *330 - - *331 + - *320 + - *321 - *48 - name: sort description: The property to sort the results by. @@ -90063,9 +90271,9 @@ paths: application/json: schema: type: array - items: *627 + items: *625 examples: - default: *628 + default: *626 '400': *14 '404': *6 x-github: @@ -90088,8 +90296,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -90162,7 +90370,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *297 required: - login - type @@ -90249,9 +90457,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *625 examples: - default: &630 + default: &628 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90484,8 +90692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -90589,7 +90797,7 @@ paths: description: Response content: application/json: - schema: *627 + schema: *625 examples: default: value: @@ -90736,17 +90944,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 + - *320 + - *321 + - *627 responses: '200': description: Response content: application/json: - schema: *627 + schema: *625 examples: - default: *630 + default: *628 '403': *29 '404': *6 x-github: @@ -90770,9 +90978,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 + - *320 + - *321 + - *627 requestBody: required: true content: @@ -90845,7 +91053,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *297 required: - login - type @@ -90931,17 +91139,17 @@ paths: description: Response content: application/json: - schema: *627 + schema: *625 examples: - default: *630 - add_credit: *630 + default: *628 + add_credit: *628 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *111 + schema: *110 examples: invalid_state_transition: value: @@ -90972,9 +91180,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 + - *320 + - *321 + - *627 responses: '202': *39 '400': *14 @@ -91001,17 +91209,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 + - *320 + - *321 + - *627 responses: '202': description: Response content: application/json: - schema: *338 + schema: *328 examples: - default: *340 + default: *330 '400': *14 '422': *15 '403': *29 @@ -91037,8 +91245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -91115,7 +91323,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -91137,8 +91345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91147,7 +91355,7 @@ paths: application/json: schema: type: array - items: &631 + items: &629 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91160,7 +91368,7 @@ paths: - 1124 - -435 '202': *39 - '204': *163 + '204': *166 '422': description: Repository contains more than 10,000 commits x-github: @@ -91180,8 +91388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -91230,7 +91438,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *163 + '204': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91257,8 +91465,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -91332,7 +91540,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *163 + '204': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91354,8 +91562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91509,8 +91717,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 + - *320 + - *321 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91520,7 +91728,7 @@ paths: application/json: schema: type: array - items: *631 + items: *629 examples: default: value: @@ -91533,7 +91741,7 @@ paths: - - 0 - 2 - 21 - '204': *163 + '204': *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91553,8 +91761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *330 - - *331 + - *320 + - *321 - name: sha in: path required: true @@ -91608,7 +91816,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *630 examples: default: value: @@ -91662,8 +91870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -91675,9 +91883,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91695,14 +91903,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &633 + schema: &631 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91770,8 +91978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: false content: @@ -91797,7 +92005,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *631 examples: default: value: @@ -91824,8 +92032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -91845,8 +92053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -91902,7 +92110,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 +92133,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 + - *320 + - *321 responses: '200': description: Response @@ -91934,7 +92142,7 @@ paths: application/json: schema: type: array - items: &634 + items: &632 title: Tag protection description: Tag protection type: object @@ -91986,8 +92194,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 + - *320 + - *321 requestBody: required: true content: @@ -92010,7 +92218,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *632 examples: default: value: @@ -92041,8 +92249,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 + - *320 + - *321 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92079,8 +92287,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *330 - - *331 + - *320 + - *321 - name: ref in: path required: true @@ -92116,8 +92324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *330 - - *331 + - *320 + - *321 - *17 - *19 responses: @@ -92127,11 +92335,11 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: *227 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -92149,8 +92357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *330 - - *331 + - *320 + - *321 - *19 - *17 responses: @@ -92158,7 +92366,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &633 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92170,7 +92378,7 @@ paths: required: - names examples: - default: &636 + default: &634 value: names: - octocat @@ -92193,8 +92401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -92225,9 +92433,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *633 examples: - default: *636 + default: *634 '404': *6 '422': *7 x-github: @@ -92248,9 +92456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *330 - - *331 - - &637 + - *320 + - *321 + - &635 name: per description: The time frame to display results for. in: query @@ -92279,7 +92487,7 @@ paths: example: 128 clones: type: array - items: &638 + items: &636 title: Traffic type: object properties: @@ -92366,8 +92574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -92457,8 +92665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *330 - - *331 + - *320 + - *321 responses: '200': description: Response @@ -92518,9 +92726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *330 - - *331 - - *637 + - *320 + - *321 + - *635 responses: '200': description: Response @@ -92539,7 +92747,7 @@ paths: example: 3782 views: type: array - items: *638 + items: *636 required: - uniques - count @@ -92616,8 +92824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *330 - - *331 + - *320 + - *321 requestBody: required: true content: @@ -92653,7 +92861,7 @@ paths: description: Response content: application/json: - schema: *137 + schema: *136 examples: default: value: @@ -92891,8 +93099,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 + - *320 + - *321 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92915,8 +93123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -92938,8 +93146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -92965,8 +93173,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *330 - - *331 + - *320 + - *321 - name: ref in: path required: true @@ -93058,9 +93266,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *328 examples: - default: *340 + default: *330 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93101,7 +93309,7 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: value: @@ -93290,7 +93498,7 @@ paths: html_url: type: string format: uri - repository: *137 + repository: *136 score: type: number file_size: @@ -93308,7 +93516,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &639 + text_matches: &637 title: Search Result Text Matches type: array items: @@ -93422,7 +93630,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *77 + '503': *105 '422': *15 '403': *29 x-github: @@ -93470,7 +93678,7 @@ paths: enum: - author-date - committer-date - - &640 + - &638 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 +93749,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *388 nullable: true comment_count: type: integer @@ -93561,7 +93769,7 @@ paths: url: type: string format: uri - verification: *513 + verification: *503 required: - author - committer @@ -93580,7 +93788,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *388 nullable: true parents: type: array @@ -93593,12 +93801,12 @@ paths: type: string sha: type: string - repository: *137 + repository: *136 score: type: number node_id: type: string - text_matches: *639 + text_matches: *637 required: - sha - node_id @@ -93790,7 +93998,7 @@ paths: - interactions - created - updated - - *640 + - *638 - *17 - *19 - name: advanced_search @@ -93887,11 +94095,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: type: string state_reason: @@ -93923,7 +94131,7 @@ paths: type: string format: date-time nullable: true - text_matches: *639 + text_matches: *637 pull_request: type: object properties: @@ -93956,10 +94164,10 @@ paths: type: string score: type: number - author_association: *72 + author_association: *71 draft: type: boolean - repository: *67 + repository: *66 body_html: type: string body_text: @@ -93967,7 +94175,7 @@ paths: timeline_url: type: string format: uri - type: *209 + type: *210 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -93977,9 +94185,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - reactions: *73 + properties: *67 + required: *68 + reactions: *72 required: - assignee - closed_at @@ -94095,7 +94303,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *77 + '503': *105 '422': *15 '304': *37 '403': *29 @@ -94148,7 +94356,7 @@ paths: enum: - created - updated - - *640 + - *638 - *17 - *19 responses: @@ -94192,7 +94400,7 @@ paths: nullable: true score: type: number - text_matches: *639 + text_matches: *637 required: - id - node_id @@ -94277,7 +94485,7 @@ paths: - forks - help-wanted-issues - updated - - *640 + - *638 - *17 - *19 responses: @@ -94496,8 +94704,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true permissions: type: object @@ -94516,7 +94724,7 @@ paths: - admin - pull - push - text_matches: *639 + text_matches: *637 temp_clone_token: type: string allow_merge_commit: @@ -94718,7 +94926,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *77 + '503': *105 '422': *15 '304': *37 x-github: @@ -94816,7 +95024,7 @@ paths: type: string format: uri nullable: true - text_matches: *639 + text_matches: *637 related: type: array nullable: true @@ -95007,7 +95215,7 @@ paths: - followers - repositories - joined - - *640 + - *638 - *17 - *19 responses: @@ -95111,7 +95319,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *639 + text_matches: *637 blog: type: string nullable: true @@ -95170,7 +95378,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *77 + '503': *105 '422': *15 x-github: githubCloudOnly: false @@ -95190,7 +95398,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &644 + - &642 name: team_id description: The unique identifier of the team. in: path @@ -95202,9 +95410,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *305 examples: - default: *316 + default: *306 '404': *6 x-github: githubCloudOnly: false @@ -95231,7 +95439,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *644 + - *642 requestBody: required: true content: @@ -95294,16 +95502,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *315 + schema: *305 examples: - default: *316 + default: *306 '201': description: Response content: application/json: - schema: *315 + schema: *305 examples: - default: *316 + default: *306 '404': *6 '422': *15 '403': *29 @@ -95331,7 +95539,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *644 + - *642 responses: '204': description: Response @@ -95362,7 +95570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *644 + - *642 - *48 - *17 - *19 @@ -95373,11 +95581,11 @@ paths: application/json: schema: type: array - items: *317 + items: *307 examples: - default: *645 + default: *643 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95404,7 +95612,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *644 + - *642 requestBody: required: true content: @@ -95438,9 +95646,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *307 examples: - default: *318 + default: *308 x-github: triggersNotification: true githubCloudOnly: false @@ -95467,16 +95675,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *644 - - *319 + - *642 + - *309 responses: '200': description: Response content: application/json: - schema: *317 + schema: *307 examples: - default: *318 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95501,8 +95709,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *644 - - *319 + - *642 + - *309 requestBody: required: false content: @@ -95525,9 +95733,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *307 examples: - default: *646 + default: *644 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95552,8 +95760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *644 - - *319 + - *642 + - *309 responses: '204': description: Response @@ -95582,8 +95790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *644 - - *319 + - *642 + - *309 - *48 - *17 - *19 @@ -95594,11 +95802,11 @@ paths: application/json: schema: type: array - items: *320 + items: *310 examples: - default: *647 + default: *645 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95625,8 +95833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *644 - - *319 + - *642 + - *309 requestBody: required: true content: @@ -95648,9 +95856,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *310 examples: - default: *321 + default: *311 x-github: triggersNotification: true githubCloudOnly: false @@ -95677,17 +95885,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *642 + - *309 + - *312 responses: '200': description: Response content: application/json: - schema: *320 + schema: *310 examples: - default: *321 + default: *311 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95712,9 +95920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *642 + - *309 + - *312 requestBody: required: true content: @@ -95736,9 +95944,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *310 examples: - default: *648 + default: *646 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95763,9 +95971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *642 + - *309 + - *312 responses: '204': description: Response @@ -95794,9 +96002,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 + - *642 + - *309 + - *312 - 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 +96030,11 @@ paths: application/json: schema: type: array - items: *323 + items: *313 examples: - default: *325 + default: *315 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95853,9 +96061,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 + - *642 + - *309 + - *312 requestBody: required: true content: @@ -95887,9 +96095,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95915,8 +96123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *644 - - *319 + - *642 + - *309 - 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 +96150,11 @@ paths: application/json: schema: type: array - items: *323 + items: *313 examples: - default: *325 + default: *315 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95973,8 +96181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *644 - - *319 + - *642 + - *309 requestBody: required: true content: @@ -96006,9 +96214,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *313 examples: - default: *324 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96032,7 +96240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *644 + - *642 - *17 - *19 responses: @@ -96042,11 +96250,11 @@ paths: application/json: schema: type: array - items: *206 + items: *207 examples: - default: *207 + default: *208 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96070,7 +96278,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *644 + - *642 - name: role description: Filters members returned by their role in the team. in: query @@ -96093,9 +96301,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -96121,8 +96329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *644 - - *63 + - *642 + - *59 responses: '204': description: if user is a member @@ -96158,8 +96366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *644 - - *63 + - *642 + - *59 responses: '204': description: Response @@ -96198,8 +96406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *644 - - *63 + - *642 + - *59 responses: '204': description: Response @@ -96235,16 +96443,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *644 - - *63 + - *642 + - *59 responses: '200': description: Response content: application/json: - schema: *327 + schema: *317 examples: - response-if-user-is-a-team-maintainer: *649 + response-if-user-is-a-team-maintainer: *647 '404': *6 x-github: githubCloudOnly: false @@ -96277,8 +96485,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 + - *642 + - *59 requestBody: required: false content: @@ -96303,9 +96511,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *317 examples: - response-if-users-membership-with-team-is-now-pending: *650 + response-if-users-membership-with-team-is-now-pending: *648 '403': description: Forbidden if team synchronization is set up '422': @@ -96339,8 +96547,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *644 - - *63 + - *642 + - *59 responses: '204': description: Response @@ -96368,7 +96576,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *644 + - *642 - *17 - *19 responses: @@ -96378,11 +96586,11 @@ paths: application/json: schema: type: array - items: *328 + items: *318 examples: - default: *651 + default: *649 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -96406,16 +96614,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *644 - - *329 + - *642 + - *319 responses: '200': description: Response content: application/json: - schema: *328 + schema: *318 examples: - default: *652 + default: *650 '404': description: Not Found if project is not managed by this team x-github: @@ -96439,8 +96647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *644 - - *329 + - *642 + - *319 requestBody: required: false content: @@ -96507,8 +96715,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *644 - - *329 + - *642 + - *319 responses: '204': description: Response @@ -96535,7 +96743,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *644 + - *642 - *17 - *19 responses: @@ -96545,11 +96753,11 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: *234 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -96577,15 +96785,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 + - *642 + - *320 + - *321 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *653 + schema: *651 examples: alternative-response-with-extra-repository-information: value: @@ -96736,9 +96944,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 + - *642 + - *320 + - *321 requestBody: required: false content: @@ -96788,9 +96996,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 + - *642 + - *320 + - *321 responses: '204': description: Response @@ -96815,7 +97023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *644 + - *642 - *17 - *19 responses: @@ -96825,11 +97033,11 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: - response-if-child-teams-exist: *654 + response-if-child-teams-exist: *652 headers: - Link: *58 + Link: *54 '404': *6 '403': *29 '422': *15 @@ -96860,7 +97068,7 @@ paths: application/json: schema: oneOf: - - &656 + - &654 title: Private User description: Private User type: object @@ -97063,7 +97271,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *655 + - *653 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97216,7 +97424,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *654 examples: default: value: @@ -97295,7 +97503,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '304': *37 '404': *6 '403': *29 @@ -97318,7 +97526,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 +97554,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 +97578,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 +97627,11 @@ paths: type: integer codespaces: type: array - items: *214 + items: *215 examples: - default: *215 + default: *216 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -97560,21 +97768,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *215 examples: - default: *451 + default: *441 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *215 examples: - default: *451 + default: *441 '401': *25 '403': *29 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97614,7 +97822,7 @@ paths: type: integer secrets: type: array - items: &657 + items: &655 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97654,9 +97862,9 @@ paths: - visibility - selected_repositories_url examples: - default: *454 + default: *444 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97724,13 +97932,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *145 + - *144 responses: '200': description: Response content: application/json: - schema: *657 + schema: *655 examples: default: value: @@ -97760,7 +97968,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 + - *144 requestBody: required: true content: @@ -97805,7 +98013,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -97833,7 +98041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *145 + - *144 responses: '204': description: Response @@ -97858,7 +98066,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *145 + - *144 responses: '200': description: Response @@ -97874,13 +98082,13 @@ paths: type: integer repositories: type: array - items: *137 + items: *136 examples: - default: *658 + default: *656 '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97901,7 +98109,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *145 + - *144 requestBody: required: true content: @@ -97933,7 +98141,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97955,7 +98163,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *145 + - *144 - name: repository_id in: path required: true @@ -97967,7 +98175,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97988,7 +98196,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *145 + - *144 - name: repository_id in: path required: true @@ -98000,7 +98208,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98020,17 +98228,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *216 + - *217 responses: '200': description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: *451 + default: *441 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -98054,7 +98262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *216 + - *217 requestBody: required: false content: @@ -98084,9 +98292,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: *451 + default: *441 '401': *25 '403': *29 '404': *6 @@ -98108,11 +98316,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *216 + - *217 responses: '202': *39 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -98137,13 +98345,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *216 + - *217 responses: '202': description: Response content: application/json: - schema: &659 + schema: &657 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98184,7 +98392,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &660 + default: &658 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98192,7 +98400,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -98216,7 +98424,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *216 + - *217 - name: export_id in: path required: true @@ -98229,9 +98437,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *657 examples: - default: *660 + default: *658 '404': *6 x-github: githubCloudOnly: false @@ -98252,7 +98460,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *216 + - *217 responses: '200': description: Response @@ -98268,11 +98476,11 @@ paths: type: integer machines: type: array - items: *661 + items: *659 examples: - default: *662 + default: *660 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -98299,7 +98507,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *216 + - *217 requestBody: required: true content: @@ -98349,13 +98557,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *338 + repository: *328 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *442 + required: *443 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -99129,17 +99337,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *216 + - *217 responses: '200': description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: *451 + default: *441 '304': *37 - '500': *106 + '500': *104 '400': *14 '401': *25 '402': @@ -99169,16 +99377,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *216 + - *217 responses: '200': description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: *451 - '500': *106 + default: *441 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -99209,7 +99417,7 @@ paths: type: array items: *228 examples: - default: &674 + default: &671 value: - id: 197 name: hello_docker @@ -99310,7 +99518,7 @@ paths: application/json: schema: type: array - items: &663 + items: &661 title: Email description: Email type: object @@ -99375,16 +99583,16 @@ paths: application/json: schema: type: array - items: *663 + items: *661 examples: - default: &676 + default: &673 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -99452,7 +99660,7 @@ paths: application/json: schema: type: array - items: *663 + items: *661 examples: default: value: @@ -99562,9 +99770,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -99595,9 +99803,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -99617,7 +99825,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 +99855,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 +99880,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 +99916,7 @@ paths: application/json: schema: type: array - items: &664 + items: &662 title: GPG Key description: A unique encryption key type: object @@ -99839,7 +100047,7 @@ paths: - subkeys - revoked examples: - default: &690 + default: &687 value: - id: 3 name: Octocat's GPG Key @@ -99871,7 +100079,7 @@ paths: revoked: false raw_key: string headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -99924,9 +100132,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *662 examples: - default: &665 + default: &663 value: id: 3 name: Octocat's GPG Key @@ -99983,7 +100191,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 + - &664 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99995,9 +100203,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *662 examples: - default: *665 + default: *663 '404': *6 '304': *37 '403': *29 @@ -100020,7 +100228,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 + - *664 responses: '204': description: Response @@ -100163,7 +100371,7 @@ paths: suspended_at: suspended_by: headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -100209,11 +100417,11 @@ paths: type: string repositories: type: array - items: *67 + items: *66 examples: - default: *129 + default: *128 headers: - Link: *58 + Link: *54 '404': *6 '403': *29 '304': *37 @@ -100236,7 +100444,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *126 + - *125 responses: '204': description: Response @@ -100262,7 +100470,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *126 + - *125 responses: '204': description: Response @@ -100296,12 +100504,12 @@ paths: application/json: schema: anyOf: - - *204 + - *205 - type: object properties: {} additionalProperties: false examples: - default: *205 + default: *206 '204': description: Response when there are no restrictions x-github: @@ -100325,7 +100533,7 @@ paths: required: true content: application/json: - schema: *524 + schema: *514 examples: default: value: @@ -100336,7 +100544,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *205 examples: default: value: @@ -100417,7 +100625,7 @@ paths: - closed - all default: open - - *212 + - *213 - name: sort description: What to sort results by. in: query @@ -100430,7 +100638,7 @@ paths: - comments default: created - *48 - - *79 + - *77 - *17 - *19 responses: @@ -100440,11 +100648,11 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: *213 + default: *214 headers: - Link: *58 + Link: *54 '404': *6 '304': *37 x-github: @@ -100475,7 +100683,7 @@ paths: application/json: schema: type: array - items: &667 + items: &665 title: Key description: Key type: object @@ -100526,7 +100734,7 @@ paths: verified: false read_only: false headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -100576,9 +100784,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *665 examples: - default: &668 + default: &666 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100611,15 +100819,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 + - *542 responses: '200': description: Response content: application/json: - schema: *667 + schema: *665 examples: - default: *668 + default: *666 '404': *6 '304': *37 '403': *29 @@ -100642,7 +100850,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 + - *542 responses: '204': description: Response @@ -100675,7 +100883,7 @@ paths: application/json: schema: type: array - items: &669 + items: &667 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100732,7 +100940,7 @@ paths: - id - type - login - plan: *90 + plan: *88 required: - billing_cycle - next_billing_date @@ -100743,7 +100951,7 @@ paths: - account - plan examples: - default: &670 + default: &668 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100776,7 +100984,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *54 '304': *37 '401': *25 '404': *6 @@ -100805,11 +101013,11 @@ paths: application/json: schema: type: array - items: *669 + items: *667 examples: - default: *670 + default: *668 headers: - Link: *58 + Link: *54 '304': *37 '401': *25 x-github: @@ -100924,7 +101132,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -100949,7 +101157,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *105 + - *63 responses: '200': description: Response @@ -101013,7 +101221,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *105 + - *63 requestBody: required: true content: @@ -101259,7 +101467,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 @@ -101802,7 +102010,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *222 - - *671 + - *669 responses: '204': description: Response @@ -101836,11 +102044,11 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: *234 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -101873,11 +102081,11 @@ paths: application/json: schema: type: array - items: *218 + items: *61 examples: - default: *672 + default: *101 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -101917,7 +102125,7 @@ paths: - docker - nuget - container - - *673 + - *670 - *19 - *17 responses: @@ -101929,8 +102137,8 @@ paths: type: array items: *228 examples: - default: *674 - '400': *675 + default: *671 + '400': *672 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101959,7 +102167,7 @@ paths: application/json: schema: *228 examples: - default: &691 + default: &688 value: id: 40201 name: octo-name @@ -102412,11 +102620,11 @@ paths: application/json: schema: type: array - items: *663 + items: *661 examples: - default: *676 + default: *673 headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -102525,9 +102733,9 @@ paths: application/json: schema: type: array - items: *67 + items: *66 examples: - default: &683 + default: &680 summary: Default response value: - id: 1296269 @@ -102648,7 +102856,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *54 '422': *15 '304': *37 '403': *29 @@ -102831,9 +103039,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *328 examples: - default: *340 + default: *330 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102871,11 +103079,11 @@ paths: application/json: schema: type: array - items: *526 + items: *516 examples: - default: *677 + default: *674 headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -102896,7 +103104,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *208 + - *209 responses: '204': description: Response @@ -102919,7 +103127,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *208 + - *209 responses: '204': description: Response @@ -102952,7 +103160,7 @@ paths: application/json: schema: type: array - items: &678 + items: &675 title: Social account description: Social media account type: object @@ -102967,12 +103175,12 @@ paths: - provider - url examples: - default: &679 + default: &676 value: - provider: twitter url: https://twitter.com/github headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -103029,9 +103237,9 @@ paths: application/json: schema: type: array - items: *678 + items: *675 examples: - default: *679 + default: *676 '422': *15 '304': *37 '404': *6 @@ -103118,7 +103326,7 @@ paths: application/json: schema: type: array - items: &680 + items: &677 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -103138,7 +103346,7 @@ paths: - title - created_at examples: - default: &705 + default: &702 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103151,7 +103359,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 +103412,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *677 examples: - default: &681 + default: &678 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103237,7 +103445,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 + - &679 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103249,9 +103457,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *677 examples: - default: *681 + default: *678 '404': *6 '304': *37 '403': *29 @@ -103274,7 +103482,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 + - *679 responses: '204': description: Response @@ -103303,7 +103511,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &706 + - &703 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 +103534,13 @@ paths: application/json: schema: type: array - items: *67 + items: *66 examples: - default-response: *683 + default-response: *680 application/vnd.github.v3.star+json: schema: type: array - items: &707 + items: &704 title: Starred Repository description: Starred Repository type: object @@ -103340,7 +103548,7 @@ paths: starred_at: type: string format: date-time - repo: *67 + repo: *66 required: - starred_at - repo @@ -103468,7 +103676,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -103488,8 +103696,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 + - *320 + - *321 responses: '204': description: Response if this repository is starred by you @@ -103517,8 +103725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -103542,8 +103750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *330 - - *331 + - *320 + - *321 responses: '204': description: Response @@ -103576,11 +103784,11 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: *234 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -103615,7 +103823,7 @@ paths: application/json: schema: type: array - items: *315 + items: *305 examples: default: value: @@ -103666,7 +103874,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -103693,7 +103901,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *92 + - *90 responses: '200': description: Response @@ -103701,10 +103909,10 @@ paths: application/json: schema: oneOf: - - *656 - - *655 + - *654 + - *653 examples: - default-response: &685 + default-response: &682 summary: Default response value: login: octocat @@ -103739,7 +103947,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: &683 summary: Response with GitHub plan information value: login: octocat @@ -103799,7 +104007,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *684 + - *681 - *17 responses: '200': @@ -103810,7 +104018,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: Link: example: ; rel="next" @@ -103840,7 +104048,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 +104056,11 @@ paths: application/json: schema: oneOf: - - *656 - - *655 + - *654 + - *653 examples: - default-response: *685 - response-with-git-hub-plan-information: *686 + default-response: *682 + response-with-git-hub-plan-information: *683 '404': *6 x-github: githubCloudOnly: false @@ -103878,7 +104086,7 @@ paths: - *17 - *40 - *41 - - *63 + - *59 requestBody: required: true content: @@ -103901,8 +104109,8 @@ paths: required: - subject_digests examples: - default: *687 - withPredicateType: *688 + default: *684 + withPredicateType: *685 responses: '200': description: Response @@ -103955,7 +104163,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *689 + default: *686 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103973,7 +104181,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 +104246,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 +104277,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 +104315,7 @@ paths: - *17 - *40 - *41 - - *63 + - *59 - name: subject_digest description: Subject Digest in: path @@ -104159,12 +104367,12 @@ paths: initiator: type: string examples: - default: *394 + default: *384 '201': description: Response content: application/json: - schema: *146 + schema: *145 examples: default: value: @@ -104190,7 +104398,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 @@ -104200,7 +104408,7 @@ paths: type: array items: *228 examples: - default: *674 + default: *671 '403': *29 '401': *25 x-github: @@ -104223,7 +104431,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 +104441,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -104295,8 +104503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: + - *59 - *63 - - *105 - *17 - *19 responses: @@ -104306,7 +104514,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -104383,7 +104591,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 +104601,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -104451,7 +104659,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 +104671,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104482,7 +104690,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 +104702,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104513,7 +104721,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 +104748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *63 - - *79 + - *59 + - *77 - *17 - *19 responses: @@ -104551,11 +104759,11 @@ paths: application/json: schema: type: array - items: *80 + items: *78 examples: - default: *81 + default: *79 headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -104574,7 +104782,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 +104792,11 @@ paths: application/json: schema: type: array - items: *664 + items: *662 examples: - default: *690 + default: *687 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104610,7 +104818,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 +104890,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 +104898,7 @@ paths: application/json: schema: *22 examples: - default: *523 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104708,7 +104916,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 +104951,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104763,7 +104971,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 +104981,11 @@ paths: application/json: schema: type: array - items: *218 + items: *61 examples: - default: *672 + default: *101 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104814,8 +105022,8 @@ paths: - docker - nuget - container - - *673 - - *63 + - *670 + - *59 - *19 - *17 responses: @@ -104827,10 +105035,10 @@ paths: type: array items: *228 examples: - default: *674 + default: *671 '403': *29 '401': *25 - '400': *675 + '400': *672 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104852,7 +105060,7 @@ paths: parameters: - *230 - *231 - - *63 + - *59 responses: '200': description: Response @@ -104860,7 +105068,7 @@ paths: application/json: schema: *228 examples: - default: *691 + default: *688 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104883,7 +105091,7 @@ paths: parameters: - *230 - *231 - - *63 + - *59 responses: '204': description: Response @@ -104917,7 +105125,7 @@ paths: parameters: - *230 - *231 - - *63 + - *59 - name: token description: package token schema: @@ -104951,7 +105159,7 @@ paths: parameters: - *230 - *231 - - *63 + - *59 responses: '200': description: Response @@ -105020,7 +105228,7 @@ paths: - *230 - *231 - *233 - - *63 + - *59 responses: '200': description: Response @@ -105063,7 +105271,7 @@ paths: parameters: - *230 - *231 - - *63 + - *59 - *233 responses: '204': @@ -105098,7 +105306,7 @@ paths: parameters: - *230 - *231 - - *63 + - *59 - *233 responses: '204': @@ -105125,7 +105333,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 @@ -105182,7 +105390,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 +105412,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 @@ -105225,7 +105433,7 @@ paths: examples: default: *246 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105246,7 +105454,7 @@ paths: url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - *247 - - *63 + - *59 responses: '200': description: Response @@ -105256,7 +105464,7 @@ paths: examples: default: *246 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105277,7 +105485,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - *247 - - *63 + - *59 - *17 - *40 - *41 @@ -105292,7 +105500,7 @@ paths: examples: default: *249 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105313,8 +105521,8 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *247 - - *692 - - *63 + - *689 + - *59 responses: '200': description: Response @@ -105324,7 +105532,7 @@ paths: examples: default: *249 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105346,7 +105554,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - *247 - - *63 + - *59 - *40 - *41 - *17 @@ -105358,16 +105566,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -105379,7 +105590,7 @@ paths: examples: default: *256 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105398,7 +105609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *63 + - *59 - *247 requestBody: required: true @@ -105436,7 +105647,7 @@ paths: description: Response content: application/json: - schema: *693 + schema: *690 examples: issue: *254 pull_request: *254 @@ -105460,19 +105671,22 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *247 - - *63 + - *59 - *257 - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -105482,7 +105696,7 @@ paths: examples: default: *256 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105502,7 +105716,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - *247 - - *63 + - *59 - *257 requestBody: required: true @@ -105600,7 +105814,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - *247 - - *63 + - *59 - *257 responses: '204': @@ -105628,7 +105842,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 +105852,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -105703,7 +105917,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 +105927,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -105776,7 +105990,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 +106033,11 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: *234 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105845,15 +106059,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: *691 examples: - default: *695 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105875,15 +106089,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: *693 examples: - default: *697 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105892,7 +106106,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 +106117,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 + - *59 + - *106 + - *695 - *107 - - *698 - - *108 - - *699 - - *700 + - *696 + - *697 responses: '200': description: Response when getting a billing premium request usage report @@ -105958,19 +106175,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -106012,8 +106229,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106035,15 +106252,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: *698 examples: - default: *702 + default: *699 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106063,11 +106280,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *63 + - *59 + - *106 + - *700 - *107 - - *703 - - *108 - - *704 + - *701 responses: '200': description: Response when getting a billing usage report @@ -106137,8 +106354,8 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106156,7 +106373,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 +106383,11 @@ paths: application/json: schema: type: array - items: *678 + items: *675 examples: - default: *679 + default: *676 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106188,7 +106405,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 +106415,11 @@ paths: application/json: schema: type: array - items: *680 + items: *677 examples: - default: *705 + default: *702 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106224,8 +106441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *63 - - *706 + - *59 + - *703 - *48 - *17 - *19 @@ -106237,13 +106454,13 @@ paths: schema: anyOf: - type: array - items: *707 + items: *704 - type: array - items: *67 + items: *66 examples: - default-response: *683 + default-response: *680 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106260,7 +106477,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 +106487,11 @@ paths: application/json: schema: type: array - items: *137 + items: *136 examples: default: *234 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106400,7 +106617,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &708 + enterprise: &705 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106458,7 +106675,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &709 + installation: &706 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106477,7 +106694,7 @@ x-webhooks: required: - id - node_id - organization: &710 + organization: &707 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106537,13 +106754,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &711 + repository: &708 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: &738 id: description: Unique identifier of the repository example: 42 @@ -106563,8 +106780,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true organization: title: Simple User @@ -107226,7 +107443,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &742 + required: &739 - archive_url - assignees_url - blobs_url @@ -107377,10 +107594,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -107456,11 +107673,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: &712 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 + rule: &709 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 +107900,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: *712 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 + rule: *709 sender: *4 required: - action @@ -107870,11 +108087,11 @@ x-webhooks: - everyone required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: *712 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 + rule: *709 sender: *4 required: - action @@ -107958,7 +108175,7 @@ x-webhooks: type: string enum: - completed - check_run: &714 + check_run: &711 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108011,8 +108228,8 @@ x-webhooks: type: string pull_requests: type: array - items: *76 - repository: *137 + items: *75 + repository: *136 status: example: completed type: string @@ -108049,7 +108266,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *713 + deployment: *710 details_url: example: https://example.com type: string @@ -108099,7 +108316,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *76 + items: *75 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -108134,10 +108351,10 @@ x-webhooks: - output - app - pull_requests - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + installation: *706 + enterprise: *705 + organization: *707 + repository: *708 sender: *4 required: - check_run @@ -108530,11 +108747,11 @@ x-webhooks: type: string enum: - created - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *711 + installation: *706 + enterprise: *705 + organization: *707 + repository: *708 sender: *4 required: - check_run @@ -108930,11 +109147,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *711 + installation: *706 + enterprise: *705 + organization: *707 + repository: *708 requested_action: description: The action requested by the user. type: object @@ -109339,11 +109556,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *711 + installation: *706 + enterprise: *705 + organization: *707 + repository: *708 sender: *4 required: - check_run @@ -110320,10 +110537,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -110993,10 +111210,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -111660,10 +111877,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -111829,7 +112046,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *416 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111974,20 +112191,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &715 + commit_oid: &712 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: *705 + installation: *706 + organization: *707 + ref: &713 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: *708 sender: *4 required: - action @@ -112152,7 +112369,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *416 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112382,12 +112599,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *712 + enterprise: *705 + installation: *706 + organization: *707 + ref: *713 + repository: *708 sender: *4 required: - action @@ -112482,7 +112699,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *416 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 +112870,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *712 + enterprise: *705 + installation: *706 + organization: *707 + ref: *713 + repository: *708 sender: *4 required: - action @@ -112824,7 +113041,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *416 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112990,12 +113207,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *712 + enterprise: *705 + installation: *706 + organization: *707 + ref: *713 + repository: *708 sender: *4 required: - action @@ -113095,7 +113312,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *426 + dismissed_comment: *416 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 +113480,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 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: *708 sender: *4 required: - action @@ -113369,7 +113586,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *416 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 +113726,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *712 + enterprise: *705 + installation: *706 + organization: *707 + ref: *713 + repository: *708 sender: *4 required: - action @@ -113771,10 +113988,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -113854,18 +114071,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *710 - pusher_type: &717 + organization: *707 + pusher_type: &714 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &718 + ref: &715 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -113875,7 +114092,7 @@ x-webhooks: enum: - tag - branch - repository: *711 + repository: *708 sender: *4 required: - ref @@ -113958,9 +114175,9 @@ x-webhooks: enum: - created definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 sender: *4 required: - action @@ -114045,9 +114262,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 sender: *4 required: - action @@ -114125,9 +114342,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 sender: *4 required: - action @@ -114205,9 +114422,9 @@ x-webhooks: enum: - updated definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 sender: *4 required: - action @@ -114284,10 +114501,10 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - repository: *711 - organization: *710 + enterprise: *705 + installation: *706 + repository: *708 + organization: *707 sender: *4 new_property_values: type: array @@ -114372,18 +114589,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - pusher_type: *717 - ref: *718 + enterprise: *705 + installation: *706 + organization: *707 + pusher_type: *714 + ref: *715 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *711 + repository: *708 sender: *4 required: - ref @@ -114467,11 +114684,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *472 + installation: *706 + organization: *707 + enterprise: *705 + repository: *708 sender: *4 required: - action @@ -114555,11 +114772,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *472 + installation: *706 + organization: *707 + enterprise: *705 + repository: *708 sender: *4 required: - action @@ -114643,11 +114860,11 @@ x-webhooks: type: string enum: - created - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *472 + installation: *706 + organization: *707 + enterprise: *705 + repository: *708 sender: *4 required: - action @@ -114729,11 +114946,11 @@ x-webhooks: type: string enum: - dismissed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *472 + installation: *706 + organization: *707 + enterprise: *705 + repository: *708 sender: *4 required: - action @@ -114815,11 +115032,11 @@ x-webhooks: type: string enum: - fixed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *472 + installation: *706 + organization: *707 + enterprise: *705 + repository: *708 sender: *4 required: - action @@ -114902,11 +115119,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *472 + installation: *706 + organization: *707 + enterprise: *705 + repository: *708 sender: *4 required: - action @@ -114988,11 +115205,11 @@ x-webhooks: type: string enum: - reopened - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *472 + installation: *706 + organization: *707 + enterprise: *705 + repository: *708 sender: *4 required: - action @@ -115069,9 +115286,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - key: &719 + enterprise: *705 + installation: *706 + key: &716 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115107,8 +115324,8 @@ x-webhooks: - verified - created_at - read_only - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -115185,11 +115402,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - key: *719 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + key: *716 + organization: *707 + repository: *708 sender: *4 required: - action @@ -115750,12 +115967,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - workflow: &723 + workflow: &720 title: Workflow type: object nullable: true @@ -116481,13 +116698,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *488 + deployment: *478 pull_requests: type: array - items: *571 - repository: *711 - organization: *710 - installation: *709 + items: *561 + repository: *708 + organization: *707 + installation: *706 sender: *4 responses: '200': @@ -116558,7 +116775,7 @@ x-webhooks: type: string enum: - approved - approver: &720 + approver: &717 type: object properties: avatar_url: @@ -116601,11 +116818,11 @@ x-webhooks: type: string comment: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - reviewers: &721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 + reviewers: &718 type: array items: type: object @@ -116684,7 +116901,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &722 + workflow_job_run: &719 type: object properties: conclusion: @@ -117415,18 +117632,18 @@ x-webhooks: type: string enum: - rejected - approver: *720 + approver: *717 comment: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - reviewers: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 + reviewers: *718 sender: *4 since: type: string - workflow_job_run: *722 + workflow_job_run: *719 workflow_job_runs: type: array items: @@ -118130,13 +118347,13 @@ x-webhooks: type: string enum: - requested - enterprise: *708 + enterprise: *705 environment: type: string - installation: *709 - organization: *710 - repository: *711 - requestor: &728 + installation: *706 + organization: *707 + repository: *708 + requestor: &725 title: User type: object nullable: true @@ -120035,12 +120252,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - workflow: *723 + workflow: *720 workflow_run: title: Deployment Workflow Run type: object @@ -120720,7 +120937,7 @@ x-webhooks: type: string enum: - answered - answer: &726 + answer: &723 type: object properties: author_association: @@ -120877,11 +121094,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -121008,11 +121225,11 @@ x-webhooks: - from required: - category - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -121095,11 +121312,11 @@ x-webhooks: type: string enum: - closed - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -121181,7 +121398,7 @@ x-webhooks: type: string enum: - created - comment: &725 + comment: &722 type: object properties: author_association: @@ -121338,11 +121555,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -121425,12 +121642,12 @@ x-webhooks: type: string enum: - deleted - comment: *725 - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + comment: *722 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -121525,12 +121742,12 @@ x-webhooks: - from required: - body - comment: *725 - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + comment: *722 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -121614,11 +121831,11 @@ x-webhooks: type: string enum: - created - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -121700,11 +121917,11 @@ x-webhooks: type: string enum: - deleted - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -121804,11 +122021,11 @@ x-webhooks: type: string required: - from - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -121890,10 +122107,10 @@ x-webhooks: type: string enum: - labeled - discussion: *724 - enterprise: *708 - installation: *709 - label: &727 + discussion: *721 + enterprise: *705 + installation: *706 + label: &724 title: Label type: object properties: @@ -121925,8 +122142,8 @@ x-webhooks: - color - default - description - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -122009,11 +122226,11 @@ x-webhooks: type: string enum: - locked - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -122095,11 +122312,11 @@ x-webhooks: type: string enum: - pinned - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -122181,11 +122398,11 @@ x-webhooks: type: string enum: - reopened - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -122270,16 +122487,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *724 - new_repository: *711 + new_discussion: *721 + new_repository: *708 required: - new_discussion - new_repository - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -122362,10 +122579,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *724 - old_answer: *726 - organization: *710 - repository: *711 + discussion: *721 + old_answer: *723 + organization: *707 + repository: *708 sender: *4 required: - action @@ -122447,12 +122664,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *724 - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + label: *724 + organization: *707 + repository: *708 sender: *4 required: - action @@ -122535,11 +122752,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -122621,11 +122838,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *721 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -122698,7 +122915,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *708 + enterprise: *705 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -123358,9 +123575,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *709 - organization: *710 - repository: *711 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - forkee @@ -123506,9 +123723,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 pages: description: The pages that were updated. type: array @@ -123545,7 +123762,7 @@ x-webhooks: - action - sha - html_url - repository: *711 + repository: *708 sender: *4 required: - pages @@ -123621,10 +123838,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 + enterprise: *705 installation: *22 - organization: *710 - repositories: &729 + organization: *707 + repositories: &726 description: An array of repository objects that the installation can access. type: array @@ -123650,8 +123867,8 @@ x-webhooks: - name - full_name - private - repository: *711 - requester: *728 + repository: *708 + requester: *725 sender: *4 required: - action @@ -123726,11 +123943,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 + enterprise: *705 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *707 + repositories: *726 + repository: *708 requester: nullable: true sender: *4 @@ -123806,11 +124023,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *708 + enterprise: *705 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *707 + repositories: *726 + repository: *708 requester: nullable: true sender: *4 @@ -123886,10 +124103,10 @@ x-webhooks: type: string enum: - added - enterprise: *708 + enterprise: *705 installation: *22 - organization: *710 - repositories_added: &730 + organization: *707 + repositories_added: &727 description: An array of repository objects, which were added to the installation. type: array @@ -123935,15 +124152,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *711 - repository_selection: &731 + repository: *708 + repository_selection: &728 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *728 + requester: *725 sender: *4 required: - action @@ -124022,10 +124239,10 @@ x-webhooks: type: string enum: - removed - enterprise: *708 + enterprise: *705 installation: *22 - organization: *710 - repositories_added: *730 + organization: *707 + repositories_added: *727 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -124052,9 +124269,9 @@ x-webhooks: - name - full_name - private - repository: *711 - repository_selection: *731 - requester: *728 + repository: *708 + repository_selection: *728 + requester: *725 sender: *4 required: - action @@ -124133,11 +124350,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *708 + enterprise: *705 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *707 + repositories: *726 + repository: *708 requester: nullable: true sender: *4 @@ -124315,10 +124532,10 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 target_type: type: string @@ -124397,11 +124614,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *708 + enterprise: *705 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *707 + repositories: *726 + repository: *708 requester: nullable: true sender: *4 @@ -124525,8 +124742,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 reactions: title: Reactions type: object @@ -124653,8 +124870,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125448,8 +125665,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125465,7 +125682,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -125798,8 +126015,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -125879,7 +126096,7 @@ x-webhooks: type: string enum: - deleted - comment: &732 + comment: &729 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -126044,8 +126261,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126835,8 +127052,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126852,7 +127069,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -127187,8 +127404,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -127268,7 +127485,7 @@ x-webhooks: type: string enum: - edited - changes: &761 + changes: &758 description: The changes to the comment. type: object properties: @@ -127280,9 +127497,9 @@ x-webhooks: type: string required: - from - comment: *732 - enterprise: *708 - installation: *709 + comment: *729 + enterprise: *705 + installation: *706 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128075,8 +128292,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128092,7 +128309,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -128425,8 +128642,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -128510,15 +128727,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 + blocked_issue: *70 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - blocking_issue_repo: *67 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *70 + blocking_issue_repo: *66 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -128606,15 +128823,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 + blocked_issue: *70 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - blocking_issue_repo: *67 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *70 + blocking_issue_repo: *66 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -128701,15 +128918,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 - blocked_issue_repo: *67 + blocked_issue: *70 + blocked_issue_repo: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *70 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -128797,15 +129014,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 - blocked_issue_repo: *67 + blocked_issue: *70 + blocked_issue_repo: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *70 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -128890,10 +129107,10 @@ x-webhooks: type: string enum: - assigned - assignee: *728 - enterprise: *708 - installation: *709 - issue: &735 + assignee: *725 + enterprise: *705 + installation: *706 + issue: &732 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129682,11 +129899,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129702,7 +129919,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -129803,8 +130020,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -129884,8 +130101,8 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130679,11 +130896,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130699,7 +130916,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -130935,8 +131152,8 @@ x-webhooks: required: - state - closed_at - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -131015,8 +131232,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131801,11 +132018,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131821,7 +132038,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -131921,8 +132138,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -132001,8 +132218,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132809,11 +133026,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132829,7 +133046,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -132908,7 +133125,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &733 + milestone: &730 title: Milestone description: A collection of related issues and pull requests. type: object @@ -133046,8 +133263,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -133146,8 +133363,8 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133936,11 +134153,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133953,7 +134170,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *210 title: description: Title of the issue type: string @@ -134057,9 +134274,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *727 - organization: *710 - repository: *711 + label: *724 + organization: *707 + repository: *708 sender: *4 required: - action @@ -134139,8 +134356,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134928,11 +135145,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134945,7 +135162,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *210 title: description: Title of the issue type: string @@ -135049,9 +135266,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *727 - organization: *710 - repository: *711 + label: *724 + organization: *707 + repository: *708 sender: *4 required: - action @@ -135131,8 +135348,8 @@ x-webhooks: type: string enum: - locked - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135944,11 +136161,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135961,7 +136178,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *210 title: description: Title of the issue type: string @@ -136042,8 +136259,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -136122,8 +136339,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136929,11 +137146,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136949,7 +137166,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -137027,9 +137244,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *733 - organization: *710 - repository: *711 + milestone: *730 + organization: *707 + repository: *708 sender: *4 required: - action @@ -137897,11 +138114,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137994,7 +138211,7 @@ x-webhooks: required: - login - id - type: *209 + type: *210 required: - id - number @@ -138463,8 +138680,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139253,11 +139470,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139273,7 +139490,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -139373,8 +139590,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -139454,9 +139671,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *708 - installation: *709 - issue: &734 + enterprise: *705 + installation: *706 + issue: &731 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -140239,11 +140456,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140259,7 +140476,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -140359,8 +140576,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -140439,8 +140656,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141250,11 +141467,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141348,9 +141565,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *209 - organization: *710 - repository: *711 + type: *210 + organization: *707 + repository: *708 sender: *4 required: - action @@ -142216,11 +142433,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142236,7 +142453,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -142804,11 +143021,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *708 - installation: *709 - issue: *734 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + issue: *731 + organization: *707 + repository: *708 sender: *4 required: - action @@ -142888,12 +143105,12 @@ x-webhooks: type: string enum: - typed - enterprise: *708 - installation: *709 - issue: *735 - type: *209 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + issue: *732 + type: *210 + organization: *707 + repository: *708 sender: *4 required: - action @@ -142974,7 +143191,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &764 + assignee: &761 title: User type: object nullable: true @@ -143044,11 +143261,11 @@ x-webhooks: required: - login - id - enterprise: *708 - installation: *709 - issue: *735 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + issue: *732 + organization: *707 + repository: *708 sender: *4 required: - action @@ -143127,12 +143344,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *708 - installation: *709 - issue: *735 - label: *727 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + issue: *732 + label: *724 + organization: *707 + repository: *708 sender: *4 required: - action @@ -143212,8 +143429,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144023,11 +144240,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *639 + issue_dependencies_summary: *640 issue_field_values: type: array - items: *643 + items: *641 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144043,7 +144260,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *210 updated_at: type: string format: date-time @@ -144121,8 +144338,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -144202,11 +144419,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *708 - installation: *709 - issue: *734 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + issue: *731 + organization: *707 + repository: *708 sender: *4 required: - action @@ -144285,12 +144502,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *708 - installation: *709 - issue: *735 - type: *209 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + issue: *732 + type: *210 + organization: *707 + repository: *708 sender: *4 required: - action @@ -144370,11 +144587,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + label: *724 + organization: *707 + repository: *708 sender: *4 required: - action @@ -144452,11 +144669,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + label: *724 + organization: *707 + repository: *708 sender: *4 required: - action @@ -144566,11 +144783,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + label: *724 + organization: *707 + repository: *708 sender: *4 required: - action @@ -144652,9 +144869,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: &736 + enterprise: *705 + installation: *706 + marketplace_purchase: &733 title: Marketplace Purchase type: object required: @@ -144737,8 +144954,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *710 - previous_marketplace_purchase: &737 + organization: *707 + previous_marketplace_purchase: &734 title: Marketplace Purchase type: object properties: @@ -144818,7 +145035,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *708 sender: *4 required: - action @@ -144898,10 +145115,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 + enterprise: *705 + installation: *706 + marketplace_purchase: *733 + organization: *707 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144984,7 +145201,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *708 sender: *4 required: - action @@ -145066,10 +145283,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 + enterprise: *705 + installation: *706 + marketplace_purchase: *733 + organization: *707 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145151,7 +145368,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *708 sender: *4 required: - action @@ -145232,8 +145449,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 marketplace_purchase: title: Marketplace Purchase type: object @@ -145315,9 +145532,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *710 - previous_marketplace_purchase: *737 - repository: *711 + organization: *707 + previous_marketplace_purchase: *734 + repository: *708 sender: *4 required: - action @@ -145397,12 +145614,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 - previous_marketplace_purchase: *737 - repository: *711 + enterprise: *705 + installation: *706 + marketplace_purchase: *733 + organization: *707 + previous_marketplace_purchase: *734 + repository: *708 sender: *4 required: - action @@ -145504,11 +145721,11 @@ x-webhooks: type: string required: - to - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + member: *725 + organization: *707 + repository: *708 sender: *4 required: - action @@ -145608,11 +145825,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + member: *725 + organization: *707 + repository: *708 sender: *4 required: - action @@ -145691,11 +145908,11 @@ x-webhooks: type: string enum: - removed - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + member: *725 + organization: *707 + repository: *708 sender: *4 required: - action @@ -145773,11 +145990,11 @@ x-webhooks: type: string enum: - added - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + member: *725 + organization: *707 + repository: *708 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145853,7 +146070,7 @@ x-webhooks: required: - login - id - team: &738 + team: &735 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -146076,11 +146293,11 @@ x-webhooks: type: string enum: - removed - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + member: *725 + organization: *707 + repository: *708 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146157,7 +146374,7 @@ x-webhooks: required: - login - id - team: *738 + team: *735 required: - action - scope @@ -146239,8 +146456,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *709 - merge_group: &740 + installation: *706 + merge_group: &737 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -146259,15 +146476,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *739 + head_commit: *736 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -146353,10 +146570,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *709 - merge_group: *740 - organization: *710 - repository: *711 + installation: *706 + merge_group: *737 + organization: *707 + repository: *708 sender: *4 required: - action @@ -146429,7 +146646,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 + enterprise: *705 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146538,16 +146755,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *709 - organization: *710 + installation: *706 + organization: *707 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: *738 + required: *739 nullable: true sender: *4 required: @@ -146628,11 +146845,11 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + milestone: *730 + organization: *707 + repository: *708 sender: *4 required: - action @@ -146711,9 +146928,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - milestone: &743 + enterprise: *705 + installation: *706 + milestone: &740 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146850,8 +147067,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -146930,11 +147147,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + milestone: *730 + organization: *707 + repository: *708 sender: *4 required: - action @@ -147044,11 +147261,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + milestone: *730 + organization: *707 + repository: *708 sender: *4 required: - action @@ -147128,11 +147345,11 @@ x-webhooks: type: string enum: - opened - enterprise: *708 - installation: *709 - milestone: *743 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + milestone: *740 + organization: *707 + repository: *708 sender: *4 required: - action @@ -147211,11 +147428,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *728 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + blocked_user: *725 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -147294,11 +147511,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *728 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + blocked_user: *725 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -147377,9 +147594,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - membership: &744 + enterprise: *705 + installation: *706 + membership: &741 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147486,8 +147703,8 @@ x-webhooks: - role - organization_url - user - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 required: - action @@ -147565,11 +147782,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + membership: *741 + organization: *707 + repository: *708 sender: *4 required: - action @@ -147648,8 +147865,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147765,10 +147982,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 - user: *728 + user: *725 required: - action - invitation @@ -147846,11 +148063,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + membership: *741 + organization: *707 + repository: *708 sender: *4 required: - action @@ -147937,11 +148154,11 @@ x-webhooks: properties: from: type: string - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + membership: *741 + organization: *707 + repository: *708 sender: *4 required: - action @@ -148017,9 +148234,9 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 package: description: Information about the package. type: object @@ -148518,7 +148735,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &745 + items: &742 title: Ruby Gems metadata type: object properties: @@ -148613,7 +148830,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *708 sender: *4 required: - action @@ -148689,9 +148906,9 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 package: description: Information about the package. type: object @@ -149044,7 +149261,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *745 + items: *742 source_url: type: string format: uri @@ -149114,7 +149331,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *708 sender: *4 required: - action @@ -149291,12 +149508,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *708 + enterprise: *705 id: type: integer - installation: *709 - organization: *710 - repository: *711 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - id @@ -149373,7 +149590,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &746 + personal_access_token_request: &743 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149519,10 +149736,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *708 - organization: *710 + enterprise: *705 + organization: *707 sender: *4 - installation: *709 + installation: *706 required: - action - personal_access_token_request @@ -149599,11 +149816,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *746 - enterprise: *708 - organization: *710 + personal_access_token_request: *743 + enterprise: *705 + organization: *707 sender: *4 - installation: *709 + installation: *706 required: - action - personal_access_token_request @@ -149679,11 +149896,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *746 - enterprise: *708 - organization: *710 + personal_access_token_request: *743 + enterprise: *705 + organization: *707 sender: *4 - installation: *709 + installation: *706 required: - action - personal_access_token_request @@ -149758,11 +149975,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *746 - organization: *710 - enterprise: *708 + personal_access_token_request: *743 + organization: *707 + enterprise: *705 sender: *4 - installation: *709 + installation: *706 required: - action - personal_access_token_request @@ -149867,7 +150084,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *747 + last_response: *744 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149899,8 +150116,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 zen: description: Random string of GitHub zen. @@ -150145,10 +150362,10 @@ x-webhooks: - from required: - note - enterprise: *708 - installation: *709 - organization: *710 - project_card: &748 + enterprise: *705 + installation: *706 + organization: *707 + project_card: &745 title: Project Card type: object properties: @@ -150267,7 +150484,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *711 + repository: *708 sender: *4 required: - action @@ -150348,11 +150565,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project_card: *748 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + project_card: *745 + repository: *708 sender: *4 required: - action @@ -150432,9 +150649,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 project_card: title: Project Card type: object @@ -150562,8 +150779,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: *738 + required: *739 nullable: true sender: *4 required: @@ -150657,11 +150874,11 @@ x-webhooks: - from required: - note - enterprise: *708 - installation: *709 - organization: *710 - project_card: *748 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + project_card: *745 + repository: *708 sender: *4 required: - action @@ -150755,9 +150972,9 @@ x-webhooks: - from required: - column_id - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 project_card: allOf: - title: Project Card @@ -150947,7 +151164,7 @@ x-webhooks: type: string required: - after_id - repository: *711 + repository: *708 sender: *4 required: - action @@ -151027,10 +151244,10 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - organization: *710 - project: &750 + enterprise: *705 + installation: *706 + organization: *707 + project: &747 title: Project type: object properties: @@ -151154,7 +151371,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *711 + repository: *708 sender: *4 required: - action @@ -151234,10 +151451,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project_column: &749 + enterprise: *705 + installation: *706 + organization: *707 + project_column: &746 title: Project Column type: object properties: @@ -151276,7 +151493,7 @@ x-webhooks: - name - created_at - updated_at - repository: *711 + repository: *708 sender: *4 required: - action @@ -151355,18 +151572,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 + enterprise: *705 + installation: *706 + organization: *707 + project_column: *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: *738 + required: *739 nullable: true sender: *4 required: @@ -151456,11 +151673,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + project_column: *746 + repository: *708 sender: *4 required: - action @@ -151540,11 +151757,11 @@ x-webhooks: type: string enum: - moved - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + project_column: *746 + repository: *708 sender: *4 required: - action @@ -151624,11 +151841,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + project: *747 + repository: *708 sender: *4 required: - action @@ -151708,18 +151925,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - project: *750 + enterprise: *705 + installation: *706 + organization: *707 + project: *747 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: *738 + required: *739 nullable: true sender: *4 required: @@ -151821,11 +152038,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + project: *747 + repository: *708 sender: *4 required: - action @@ -151904,11 +152121,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + project: *747 + repository: *708 sender: *4 required: - action @@ -151989,8 +152206,8 @@ x-webhooks: type: string enum: - closed - installation: *709 - organization: *710 + installation: *706 + organization: *707 projects_v2: *245 sender: *4 required: @@ -152072,8 +152289,8 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 + installation: *706 + organization: *707 projects_v2: *245 sender: *4 required: @@ -152155,8 +152372,8 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 + installation: *706 + organization: *707 projects_v2: *245 sender: *4 required: @@ -152274,8 +152491,8 @@ x-webhooks: type: string to: type: string - installation: *709 - organization: *710 + installation: *706 + organization: *707 projects_v2: *245 sender: *4 required: @@ -152359,7 +152576,7 @@ x-webhooks: type: string enum: - archived - changes: &754 + changes: &751 type: object properties: archived_at: @@ -152373,9 +152590,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *709 - organization: *710 - projects_v2_item: &751 + installation: *706 + organization: *707 + projects_v2_item: &748 title: Projects v2 Item description: An item belonging to a project type: object @@ -152510,9 +152727,9 @@ x-webhooks: nullable: true to: type: string - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *706 + organization: *707 + projects_v2_item: *748 sender: *4 required: - action @@ -152594,9 +152811,9 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *706 + organization: *707 + projects_v2_item: *748 sender: *4 required: - action @@ -152677,9 +152894,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *706 + organization: *707 + projects_v2_item: *748 sender: *4 required: - action @@ -152785,7 +153002,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &752 + - &749 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152807,7 +153024,7 @@ x-webhooks: required: - id - name - - &753 + - &750 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152841,8 +153058,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *752 - - *753 + - *749 + - *750 required: - field_value - type: object @@ -152858,9 +153075,9 @@ x-webhooks: nullable: true required: - body - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *706 + organization: *707 + projects_v2_item: *748 sender: *4 required: - action @@ -152955,9 +153172,9 @@ x-webhooks: to: type: string nullable: true - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *706 + organization: *707 + projects_v2_item: *748 sender: *4 required: - action @@ -153040,10 +153257,10 @@ x-webhooks: type: string enum: - restored - changes: *754 - installation: *709 - organization: *710 - projects_v2_item: *751 + changes: *751 + installation: *706 + organization: *707 + projects_v2_item: *748 sender: *4 required: - action @@ -153125,8 +153342,8 @@ x-webhooks: type: string enum: - reopened - installation: *709 - organization: *710 + installation: *706 + organization: *707 projects_v2: *245 sender: *4 required: @@ -153208,14 +153425,14 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2_status_update: &757 + installation: *706 + organization: *707 + projects_v2_status_update: &754 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *755 - required: *756 + properties: *752 + required: *753 sender: *4 required: - action @@ -153296,9 +153513,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2_status_update: *757 + installation: *706 + organization: *707 + projects_v2_status_update: *754 sender: *4 required: - action @@ -153434,9 +153651,9 @@ x-webhooks: type: string format: date nullable: true - installation: *709 - organization: *710 - projects_v2_status_update: *757 + installation: *706 + organization: *707 + projects_v2_status_update: *754 sender: *4 required: - action @@ -153507,10 +153724,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - repository @@ -153587,13 +153804,13 @@ x-webhooks: type: string enum: - assigned - assignee: *728 - enterprise: *708 - installation: *709 - number: &758 + assignee: *725 + enterprise: *705 + installation: *706 + number: &755 description: The pull request number. type: integer - organization: *710 + organization: *707 pull_request: title: Pull Request type: object @@ -155876,7 +156093,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 sender: *4 required: - action @@ -155958,11 +156175,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 number: type: integer - organization: *710 + organization: *707 pull_request: title: Pull Request type: object @@ -158240,7 +158457,7 @@ x-webhooks: - draft reason: type: string - repository: *711 + repository: *708 sender: *4 required: - action @@ -158322,11 +158539,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 number: type: integer - organization: *710 + organization: *707 pull_request: title: Pull Request type: object @@ -160604,7 +160821,7 @@ x-webhooks: - draft reason: type: string - repository: *711 + repository: *708 sender: *4 required: - action @@ -160686,13 +160903,13 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: &759 + enterprise: *705 + installation: *706 + number: *755 + organization: *707 + pull_request: &756 allOf: - - *571 + - *561 - type: object properties: allow_auto_merge: @@ -160754,7 +160971,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *711 + repository: *708 sender: *4 required: - action @@ -160835,12 +161052,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *705 + installation: *706 + number: *755 + organization: *707 + pull_request: *756 + repository: *708 sender: *4 required: - action @@ -160920,11 +161137,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *708 - milestone: *555 - number: *758 - organization: *710 - pull_request: &760 + enterprise: *705 + milestone: *545 + number: *755 + organization: *707 + pull_request: &757 title: Pull Request type: object properties: @@ -163187,7 +163404,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 sender: *4 required: - action @@ -163266,11 +163483,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 number: type: integer - organization: *710 + organization: *707 pull_request: title: Pull Request type: object @@ -165552,7 +165769,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *711 + repository: *708 sender: *4 required: - action @@ -165676,12 +165893,12 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *705 + installation: *706 + number: *755 + organization: *707 + pull_request: *756 + repository: *708 sender: *4 required: - action @@ -165761,11 +165978,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 number: type: integer - organization: *710 + organization: *707 pull_request: title: Pull Request type: object @@ -168032,7 +168249,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 sender: *4 required: - action @@ -168112,11 +168329,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *708 - installation: *709 - label: *727 - number: *758 - organization: *710 + enterprise: *705 + installation: *706 + label: *724 + number: *755 + organization: *707 pull_request: title: Pull Request type: object @@ -170398,7 +170615,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 sender: *4 required: - action @@ -170479,10 +170696,10 @@ x-webhooks: type: string enum: - locked - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *705 + installation: *706 + number: *755 + organization: *707 pull_request: title: Pull Request type: object @@ -172762,7 +172979,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 sender: *4 required: - action @@ -172842,12 +173059,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *708 - milestone: *555 - number: *758 - organization: *710 - pull_request: *760 - repository: *711 + enterprise: *705 + milestone: *545 + number: *755 + organization: *707 + pull_request: *757 + repository: *708 sender: *4 required: - action @@ -172926,12 +173143,12 @@ x-webhooks: type: string enum: - opened - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *705 + installation: *706 + number: *755 + organization: *707 + pull_request: *756 + repository: *708 sender: *4 required: - action @@ -173012,12 +173229,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *705 + installation: *706 + number: *755 + organization: *707 + pull_request: *756 + repository: *708 sender: *4 required: - action @@ -173097,12 +173314,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *705 + installation: *706 + number: *755 + organization: *707 + pull_request: *756 + repository: *708 sender: *4 required: - action @@ -173468,9 +173685,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 pull_request: type: object properties: @@ -175640,7 +175857,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *708 sender: *4 required: - action @@ -175720,7 +175937,7 @@ x-webhooks: type: string enum: - deleted - comment: &762 + comment: &759 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 +176222,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 pull_request: type: object properties: @@ -178165,7 +178382,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *708 sender: *4 required: - action @@ -178245,11 +178462,11 @@ x-webhooks: type: string enum: - edited - changes: *761 - comment: *762 - enterprise: *708 - installation: *709 - organization: *710 + changes: *758 + comment: *759 + enterprise: *705 + installation: *706 + organization: *707 pull_request: type: object properties: @@ -180410,7 +180627,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *708 sender: *4 required: - action @@ -180491,9 +180708,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 pull_request: title: Simple Pull Request type: object @@ -182666,7 +182883,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *708 review: description: The review that was affected. type: object @@ -182913,9 +183130,9 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 pull_request: title: Simple Pull Request type: object @@ -184969,8 +185186,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 - review: &763 + repository: *708 + review: &760 description: The review that was affected. type: object properties: @@ -185203,12 +185420,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 number: description: The pull request number. type: integer - organization: *710 + organization: *707 pull_request: title: Pull Request type: object @@ -187491,7 +187708,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 requested_reviewer: title: User type: object @@ -187575,12 +187792,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 number: description: The pull request number. type: integer - organization: *710 + organization: *707 pull_request: title: Pull Request type: object @@ -189870,7 +190087,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 requested_team: title: Team description: Groups of organization members that gives permissions @@ -190062,12 +190279,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 number: description: The pull request number. type: integer - organization: *710 + organization: *707 pull_request: title: Pull Request type: object @@ -192352,7 +192569,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 requested_reviewer: title: User type: object @@ -192437,12 +192654,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *708 - installation: *709 + enterprise: *705 + installation: *706 number: description: The pull request number. type: integer - organization: *710 + organization: *707 pull_request: title: Pull Request type: object @@ -194718,7 +194935,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194899,9 +195116,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 pull_request: title: Simple Pull Request type: object @@ -197076,8 +197293,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 - review: *763 + repository: *708 + review: *760 sender: *4 required: - action @@ -197157,9 +197374,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 pull_request: title: Simple Pull Request type: object @@ -199229,7 +199446,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *708 sender: *4 thread: type: object @@ -199616,9 +199833,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 pull_request: title: Simple Pull Request type: object @@ -201674,7 +201891,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *708 sender: *4 thread: type: object @@ -202064,10 +202281,10 @@ x-webhooks: type: string before: type: string - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *705 + installation: *706 + number: *755 + organization: *707 pull_request: title: Pull Request type: object @@ -204338,7 +204555,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 sender: *4 required: - action @@ -204420,11 +204637,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *764 - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + assignee: *761 + enterprise: *705 + installation: *706 + number: *755 + organization: *707 pull_request: title: Pull Request type: object @@ -206707,7 +206924,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 sender: *4 required: - action @@ -206786,11 +207003,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *708 - installation: *709 - label: *727 - number: *758 - organization: *710 + enterprise: *705 + installation: *706 + label: *724 + number: *755 + organization: *707 pull_request: title: Pull Request type: object @@ -209063,7 +209280,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 sender: *4 required: - action @@ -209144,10 +209361,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *705 + installation: *706 + number: *755 + organization: *707 pull_request: title: Pull Request type: object @@ -211412,7 +211629,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *708 sender: *4 required: - action @@ -211612,7 +211829,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *708 + enterprise: *705 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -211704,8 +211921,8 @@ x-webhooks: - url - author - committer - installation: *709 - organization: *710 + installation: *706 + organization: *707 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -212280,9 +212497,9 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 registry_package: type: object properties: @@ -212728,7 +212945,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *745 + items: *742 summary: type: string tag_name: @@ -212782,7 +212999,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *708 sender: *4 required: - action @@ -212860,9 +213077,9 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 registry_package: type: object properties: @@ -213170,7 +213387,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *745 + items: *742 summary: type: string tag_name: @@ -213219,7 +213436,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *708 sender: *4 required: - action @@ -213296,10 +213513,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - release: &765 + enterprise: *705 + installation: *706 + organization: *707 + release: &762 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213617,7 +213834,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *711 + repository: *708 sender: *4 required: - action @@ -213694,11 +213911,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + release: *762 + repository: *708 sender: *4 required: - action @@ -213815,11 +214032,11 @@ x-webhooks: type: boolean required: - to - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + release: *762 + repository: *708 sender: *4 required: - action @@ -213897,9 +214114,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -214221,7 +214438,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *711 + repository: *708 sender: *4 required: - action @@ -214297,10 +214514,10 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - release: &766 + enterprise: *705 + installation: *706 + organization: *707 + release: &763 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214619,7 +214836,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *711 + repository: *708 sender: *4 required: - action @@ -214695,11 +214912,11 @@ x-webhooks: type: string enum: - released - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + release: *762 + repository: *708 sender: *4 required: - action @@ -214775,11 +214992,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *708 - installation: *709 - organization: *710 - release: *766 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + release: *763 + repository: *708 sender: *4 required: - action @@ -214855,11 +215072,11 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_advisory: *627 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 + repository_advisory: *625 sender: *4 required: - action @@ -214935,11 +215152,11 @@ x-webhooks: type: string enum: - reported - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_advisory: *627 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 + repository_advisory: *625 sender: *4 required: - action @@ -215015,10 +215232,10 @@ x-webhooks: type: string enum: - archived - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -215095,10 +215312,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -215176,10 +215393,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -215263,10 +215480,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: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -215378,10 +215595,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -215453,10 +215670,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 status: type: string @@ -215537,10 +215754,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -215617,10 +215834,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -215714,10 +215931,10 @@ x-webhooks: - name required: - repository - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -215797,10 +216014,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 repository_ruleset: *291 sender: *4 required: @@ -215879,10 +216096,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 repository_ruleset: *291 sender: *4 required: @@ -215961,10 +216178,10 @@ x-webhooks: type: string enum: - edited - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 repository_ruleset: *291 changes: type: object @@ -216026,16 +216243,16 @@ x-webhooks: properties: added: type: array - items: *592 + items: *582 deleted: type: array - items: *592 + items: *582 updated: type: array items: type: object properties: - rule: *592 + rule: *582 changes: type: object properties: @@ -216269,10 +216486,10 @@ x-webhooks: - from required: - owner - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -216350,10 +216567,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -216431,7 +216648,7 @@ x-webhooks: type: string enum: - create - alert: &767 + alert: &764 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -216552,10 +216769,10 @@ x-webhooks: type: string enum: - open - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -216761,10 +216978,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -216842,11 +217059,11 @@ x-webhooks: type: string enum: - reopen - alert: *767 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *764 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -217045,10 +217262,10 @@ x-webhooks: enum: - fixed - open - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -217126,11 +217343,11 @@ x-webhooks: type: string enum: - created - alert: &768 + alert: &765 type: object properties: - number: *54 - created_at: *55 + number: *152 + created_at: *153 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -217138,8 +217355,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *56 - html_url: *57 + url: *155 + html_url: *156 locations_url: type: string format: uri @@ -217244,10 +217461,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -217328,11 +217545,11 @@ x-webhooks: type: string enum: - created - alert: *768 - installation: *709 - location: *769 - organization: *710 - repository: *711 + alert: *765 + installation: *706 + location: *766 + organization: *707 + repository: *708 sender: *4 required: - location @@ -217570,11 +217787,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *765 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -217652,11 +217869,11 @@ x-webhooks: type: string enum: - reopened - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *765 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -217734,11 +217951,11 @@ x-webhooks: type: string enum: - resolved - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *765 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -217816,11 +218033,11 @@ x-webhooks: type: string enum: - validated - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *765 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -217946,10 +218163,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *711 - enterprise: *708 - installation: *709 - organization: *710 + repository: *708 + enterprise: *705 + installation: *706 + organization: *707 sender: *4 required: - action @@ -218027,11 +218244,11 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - security_advisory: &770 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 + security_advisory: &767 description: The details of the security advisory, including summary, description, and severity. type: object @@ -218214,11 +218431,11 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - security_advisory: *770 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 + security_advisory: *767 sender: *4 required: - action @@ -218291,10 +218508,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -218479,10 +218696,10 @@ x-webhooks: type: object properties: security_and_analysis: *265 - enterprise: *708 - installation: *709 - organization: *710 - repository: *338 + enterprise: *705 + installation: *706 + organization: *707 + repository: *328 sender: *4 required: - changes @@ -218560,12 +218777,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - sponsorship: &771 + sponsorship: &768 type: object properties: created_at: @@ -218866,12 +219083,12 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - sponsorship: *771 + sponsorship: *768 required: - action - sponsorship @@ -218959,12 +219176,12 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - sponsorship: *771 + sponsorship: *768 required: - action - changes @@ -219041,17 +219258,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &772 + effective_date: &769 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: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - sponsorship: *771 + sponsorship: *768 required: - action - sponsorship @@ -219125,7 +219342,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &773 + changes: &770 type: object properties: tier: @@ -219169,13 +219386,13 @@ x-webhooks: - from required: - tier - effective_date: *772 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + effective_date: *769 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - sponsorship: *771 + sponsorship: *768 required: - action - changes @@ -219252,13 +219469,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *773 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + changes: *770 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - sponsorship: *771 + sponsorship: *768 required: - action - changes @@ -219332,10 +219549,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219418,10 +219635,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219841,15 +220058,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *708 + enterprise: *705 id: description: The unique identifier of the status. type: integer - installation: *709 + installation: *706 name: type: string - organization: *710 - repository: *711 + organization: *707 + repository: *708 sender: *4 sha: description: The Commit SHA. @@ -219958,15 +220175,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - parent_issue_repo: *67 + parent_issue: *70 + parent_issue_repo: *66 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - installation: *709 - organization: *710 - repository: *711 + sub_issue: *70 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -220050,15 +220267,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - parent_issue_repo: *67 + parent_issue: *70 + parent_issue_repo: *66 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - installation: *709 - organization: *710 - repository: *711 + sub_issue: *70 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -220142,15 +220359,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - sub_issue_repo: *67 + sub_issue: *70 + sub_issue_repo: *66 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - installation: *709 - organization: *710 - repository: *711 + parent_issue: *70 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -220234,15 +220451,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - sub_issue_repo: *67 + sub_issue: *70 + sub_issue_repo: *66 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - installation: *709 - organization: *710 - repository: *711 + parent_issue: *70 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -220319,12 +220536,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - team: &774 + team: &771 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -220547,9 +220764,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 repository: title: Repository description: A git repository @@ -221007,7 +221224,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *771 required: - action - team @@ -221083,9 +221300,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 repository: title: Repository description: A git repository @@ -221543,7 +221760,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *771 required: - action - team @@ -221620,9 +221837,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 repository: title: Repository description: A git repository @@ -222080,7 +222297,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *771 required: - action - team @@ -222224,9 +222441,9 @@ x-webhooks: - from required: - permissions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 repository: title: Repository description: A git repository @@ -222684,7 +222901,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *771 required: - action - changes @@ -222762,9 +222979,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *705 + installation: *706 + organization: *707 repository: title: Repository description: A git repository @@ -223222,7 +223439,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *771 required: - action - team @@ -223298,10 +223515,10 @@ x-webhooks: type: string enum: - started - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 required: - action @@ -223374,16 +223591,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *708 + enterprise: *705 inputs: type: object nullable: true additionalProperties: true - installation: *709 - organization: *710 + installation: *706 + organization: *707 ref: type: string - repository: *711 + repository: *708 sender: *4 workflow: type: string @@ -223465,10 +223682,10 @@ x-webhooks: type: string enum: - completed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 workflow_job: allOf: @@ -223705,7 +223922,7 @@ x-webhooks: type: string required: - conclusion - deployment: *488 + deployment: *478 required: - action - repository @@ -223784,10 +224001,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 workflow_job: allOf: @@ -224047,7 +224264,7 @@ x-webhooks: required: - status - steps - deployment: *488 + deployment: *478 required: - action - repository @@ -224126,10 +224343,10 @@ x-webhooks: type: string enum: - queued - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 workflow_job: type: object @@ -224264,7 +224481,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *478 required: - action - repository @@ -224343,10 +224560,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 workflow_job: type: object @@ -224482,7 +224699,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *478 required: - action - repository @@ -224562,12 +224779,12 @@ x-webhooks: type: string enum: - completed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - workflow: *723 + workflow: *720 workflow_run: title: Workflow Run type: object @@ -225566,12 +225783,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - workflow: *723 + workflow: *720 workflow_run: title: Workflow Run type: object @@ -226555,12 +226772,12 @@ x-webhooks: type: string enum: - requested - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *705 + installation: *706 + organization: *707 + repository: *708 sender: *4 - workflow: *723 + workflow: *720 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..a27937dd2 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -188,6 +188,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -41054,6 +41058,654 @@ } } }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": { + "get": { + "summary": "Get Copilot enterprise usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nOnly enterprise owners and billing managers can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": { + "get": { + "summary": "Get Copilot enterprise usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOnly enterprise owners and billing managers can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-enterprise-usage-metrics" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": { + "get": { + "summary": "Get Copilot users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows enterprise administrators to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nOnly enterprise owners and billing managers can retrieve Copilot user metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-users-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "example": "2025-10-13" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": { + "get": { + "summary": "Get Copilot users usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows enterprise administrators to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOnly enterprise owners and billing managers can retrieve Copilot users metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-users-usage-metrics" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -41195,29 +41847,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 +55536,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "secret-scanning", "subcategory": "secret-scanning" @@ -55891,6 +56520,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 +58393,7 @@ "/enterprises/{enterprise}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an enterprise", - "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.", + "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -57934,7 +58576,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -57942,7 +58584,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -57950,7 +58592,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -59434,6 +60076,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "nullable": true, "type": "string", @@ -60700,8 +61352,800 @@ } }, { - "name": "username", - "description": "The handle for the GitHub user account.", + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "201": { + "description": "Successfully assigned the enterprise team to the organization.", + "content": { + "application/json": { + "schema": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "delete": { + "summary": "Delete an organization assignment", + "description": "Unassign an enterprise team from an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/delete", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", "in": "path", "required": true, "schema": { @@ -60711,40 +62155,14 @@ ], "responses": { "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } + "description": "Successfully unassigned the enterprise team from the organization." } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "subcategory": "enterprise-team-organizations" } } }, @@ -60976,6 +62394,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "nullable": true, "type": "string", @@ -100932,7 +102360,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -101076,7 +102504,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -101084,7 +102512,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -101092,7 +102520,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -119821,6 +121249,110 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -140169,29 +141701,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -191028,16 +192537,22 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } }, { @@ -198192,16 +199707,22 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -352339,16 +353860,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 +353887,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 +541053,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/enterprise-cloud@latest//get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -685532,16 +687020,22 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -692669,16 +694163,22 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -716702,7 +718202,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -716833,7 +718333,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -716841,7 +718341,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -716849,7 +718349,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index b2f4ab095..fb36574af 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -99,6 +99,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -685,7 +687,7 @@ paths: required: - vector_string - score - cvss_severities: &115 + cvss_severities: &120 type: object nullable: true properties: @@ -725,7 +727,7 @@ paths: required: - vector_string - score - epss: &116 + epss: &121 type: object nullable: true readOnly: true @@ -863,7 +865,7 @@ paths: - subscriptions_url - type - url - type: &412 + type: &417 type: string description: The type of credit the user is receiving. enum: @@ -996,7 +998,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &233 + schema: &240 title: Validation Error Simple description: Validation Error Simple type: object @@ -1029,7 +1031,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &737 + - &742 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1147,7 +1149,7 @@ paths: GitHub. type: object nullable: true - properties: &186 + properties: &192 id: description: Unique identifier of the GitHub app example: 37 @@ -1280,7 +1282,7 @@ paths: about itself. example: 5 type: integer - required: &187 + required: &193 - id - node_id - owner @@ -1585,7 +1587,7 @@ paths: schema: type: integer default: 30 - - &320 + - &325 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1601,7 +1603,7 @@ paths: application/json: schema: type: array - items: &321 + items: &326 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1681,7 +1683,7 @@ paths: - installation_id - repository_id examples: - default: &322 + default: &327 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1713,7 +1715,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &747 + schema: &752 title: Scim Error description: Scim Error type: object @@ -1740,7 +1742,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &232 + schema: &239 title: Validation Error description: Validation Error type: object @@ -1809,7 +1811,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &328 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1923,7 +1925,7 @@ paths: - request - response examples: - default: &324 + default: &329 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2124,7 +2126,7 @@ paths: parameters: - *17 - *19 - - &196 + - &202 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) @@ -2873,7 +2875,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &390 + properties: &395 id: description: Unique identifier of the repository example: 42 @@ -2893,7 +2895,7 @@ paths: title: License Simple description: License Simple type: object - properties: &192 + properties: &198 key: type: string example: mit @@ -2915,7 +2917,7 @@ paths: html_url: type: string format: uri - required: &193 + required: &199 - key - name - url @@ -3311,7 +3313,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &391 + required: &396 - archive_url - assignees_url - blobs_url @@ -7468,7 +7470,7 @@ paths: description: Response content: application/json: - schema: &234 + schema: &241 type: object properties: total_active_caches_count: @@ -7483,7 +7485,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &235 + default: &242 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7667,7 +7669,7 @@ paths: - public_ip_enabled - platform examples: - default: &236 + default: &243 value: total_count: 2 runners: @@ -7953,7 +7955,7 @@ paths: description: Response content: application/json: - schema: &237 + schema: &244 type: object properties: public_ips: @@ -7978,7 +7980,7 @@ paths: required: - public_ips examples: - default: &238 + default: &245 value: public_ips: current_usage: 17 @@ -8018,7 +8020,7 @@ paths: type: array items: *47 examples: - default: &239 + default: &246 value: id: 4-core cpu_cores: 4 @@ -8275,7 +8277,7 @@ paths: - all - local_only - selected - selected_actions_url: &242 + selected_actions_url: &249 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` @@ -8355,7 +8357,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &244 + schema: &251 type: object properties: days: @@ -8373,7 +8375,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &748 + '401': &753 description: Authorization failure '404': *6 x-github: @@ -8401,7 +8403,7 @@ paths: required: true content: application/json: - schema: &245 + schema: &252 type: object properties: days: @@ -8450,7 +8452,7 @@ paths: required: - approval_policy examples: - default: &246 + default: &253 value: approval_policy: first_time_contributors '404': *6 @@ -8508,7 +8510,7 @@ paths: description: Response content: application/json: - schema: &247 + schema: &254 type: object required: - run_workflows_from_fork_pull_requests @@ -8562,7 +8564,7 @@ paths: required: true content: application/json: - schema: &248 + schema: &255 type: object required: - run_workflows_from_fork_pull_requests @@ -8985,7 +8987,7 @@ paths: description: Success response content: application/json: - schema: &251 + schema: &258 type: object properties: default_workflow_permissions: &58 @@ -9033,7 +9035,7 @@ paths: required: true content: application/json: - schema: &252 + schema: &259 type: object properties: default_workflow_permissions: *58 @@ -9869,7 +9871,7 @@ paths: application/json: schema: type: array - items: &256 + items: &263 title: Runner Application description: Runner Application type: object @@ -9894,7 +9896,7 @@ paths: - download_url - filename examples: - default: &257 + default: &264 value: - os: osx architecture: x64 @@ -9978,7 +9980,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &258 + '201': &265 description: Response content: application/json: @@ -10093,7 +10095,7 @@ paths: - token - expires_at examples: - default: &259 + default: &266 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10133,7 +10135,7 @@ paths: application/json: schema: *70 examples: - default: &260 + default: &267 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10165,7 +10167,7 @@ paths: application/json: schema: *67 examples: - default: &261 + default: &268 value: id: 23 name: MBP @@ -10381,7 +10383,7 @@ paths: - *41 - *66 responses: - '200': &262 + '200': &269 description: Response content: application/json: @@ -10437,7 +10439,7 @@ paths: parameters: - *41 - *66 - - &263 + - &270 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10528,7 +10530,7 @@ paths: required: true content: application/json: - schema: &270 + schema: &277 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11169,7 +11171,7 @@ paths: required: false schema: type: string - - &271 + - &278 name: include description: |- The event types to include: @@ -11187,7 +11189,7 @@ paths: - web - git - all - - &272 + - &279 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -11195,7 +11197,7 @@ paths: required: false schema: type: string - - &273 + - &280 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -11203,7 +11205,7 @@ paths: required: false schema: type: string - - &274 + - &281 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11225,7 +11227,7 @@ paths: application/json: schema: type: array - items: &275 + items: &282 type: object properties: "@timestamp": @@ -11347,7 +11349,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &276 + default: &283 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12013,7 +12015,7 @@ paths: application/json: schema: type: array - items: &277 + items: &284 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12174,7 +12176,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &278 + default: &285 value: - id: 21 number: 42 @@ -12279,7 +12281,7 @@ paths: application/json: schema: type: array - items: &280 + items: &287 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12404,7 +12406,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &281 + default: &288 value: - id: 21 number: 42 @@ -12489,7 +12491,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &286 + - &293 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`, @@ -12499,7 +12501,7 @@ paths: schema: &102 type: string description: The name of the tool used to generate the code scanning analysis. - - &287 + - &294 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 @@ -12522,7 +12524,7 @@ paths: be returned. in: query required: false - schema: &288 + schema: &295 type: string description: State of a code scanning alert. enum: @@ -12547,36 +12549,36 @@ paths: application/json: schema: type: array - items: &289 + items: &296 type: object properties: - number: &113 + number: &118 type: integer description: The security alert number. readOnly: true - created_at: &120 + created_at: &125 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &121 + updated_at: &126 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - url: &118 + url: &123 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &119 + html_url: &124 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &526 + instances_url: &531 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -12590,7 +12592,7 @@ paths: - open - dismissed - fixed - fixed_at: &123 + fixed_at: &128 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12604,14 +12606,14 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &122 + dismissed_at: &127 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissed_reason: &527 + dismissed_reason: &532 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12620,13 +12622,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &528 + dismissed_comment: &533 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &529 + rule: &534 type: object properties: id: @@ -12679,7 +12681,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &530 + tool: &535 type: object properties: name: *102 @@ -12689,15 +12691,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *103 - most_recent_instance: &531 + most_recent_instance: &536 type: object properties: - ref: &524 + ref: &529 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &541 + analysis_key: &546 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -12708,7 +12710,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: &547 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -12757,7 +12759,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &220 + properties: &227 id: type: integer format: int64 @@ -12984,7 +12986,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &221 + required: &228 - archive_url - assignees_url - blobs_url @@ -13056,7 +13058,7 @@ paths: - most_recent_instance - repository examples: - default: &290 + default: &297 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -13287,7 +13289,7 @@ paths: headers: Link: *43 '404': *6 - '503': &167 + '503': &172 description: Service unavailable content: application/json: @@ -13709,7 +13711,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &291 + code_scanning_options: &298 type: object description: Security Configuration feature options for code scanning nullable: true @@ -13903,7 +13905,7 @@ paths: description: Response content: application/json: - schema: &293 + schema: &300 type: array description: A list of default code security configurations items: @@ -13919,7 +13921,7 @@ paths: default configuration: *105 examples: - default: &294 + default: &301 value: - default_for_new_repos: public configuration: @@ -14246,7 +14248,7 @@ paths: - *41 - *107 responses: - '204': &133 + '204': &138 description: A header with no content is returned. '400': *14 '403': *29 @@ -14373,7 +14375,7 @@ paths: default: value: default_for_new_repos: all - configuration: &292 + configuration: &299 value: id: 1325 target_type: organization @@ -14458,7 +14460,7 @@ paths: application/json: schema: type: array - items: &295 + items: &302 type: object description: Repositories associated with a code security configuration and attachment status @@ -14482,7 +14484,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &296 + repository: &303 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -14947,7 +14949,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &124 + items: &129 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -14971,7 +14973,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &282 + - &289 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15046,7 +15048,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &355 + properties: &360 id: description: Unique identifier of the team type: integer @@ -15118,7 +15120,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &356 + required: &361 - id - node_id - url @@ -15144,7 +15146,7 @@ paths: - slug - parent - type - - &178 + - &183 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -15254,7 +15256,7 @@ paths: - created_at additionalProperties: false examples: - default: &125 + default: &130 value: total_seats: 2 seats: @@ -15706,7 +15708,7 @@ paths: application/json: schema: type: array - items: &175 + items: &180 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16013,7 +16015,7 @@ paths: - date additionalProperties: true examples: - default: &176 + default: &181 value: - date: '2024-06-24' total_active_users: 24 @@ -16115,7 +16117,7 @@ paths: '500': *40 '403': *29 '404': *6 - '422': &177 + '422': &182 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16126,6 +16128,212 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": + get: + summary: Get Copilot enterprise usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the enterprise. + + The report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date. + + Only enterprise owners and billing managers can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day + parameters: + - *41 + - &113 + name: day + description: The day to request data for, in `YYYY-MM-DD` format. + in: query + required: true + schema: + type: string + format: date + example: '2025-10-13' + responses: + '200': + description: Response + content: + application/json: + schema: &114 + type: object + title: Copilot Metrics 1 Day Report + description: Links to download the Copilot usage metrics report for + an enterprise for a specific day. + properties: + download_links: + type: array + items: + type: string + format: uri + description: The URLs to download the Copilot usage metrics report + for the enterprise for the specified day. + report_day: + type: string + format: date + description: The day of the report in `YYYY-MM-DD` format. + required: + - download_links + - report_day + examples: + default: &115 + value: + download_links: + - https://example.com/copilot-usage-report-1.json + - https://example.com/copilot-usage-report-2.json + report_day: '2025-07-01' + '500': *40 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": + get: + summary: Get Copilot enterprise usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise. + + The report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Only enterprise owners and billing managers can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-enterprise-usage-metrics + parameters: + - *41 + responses: + '200': + description: Response + content: + application/json: + schema: &116 + type: object + title: Copilot Metrics 28 Day Report + description: Links to download the latest Copilot usage metrics report + for an enterprise. + properties: + download_links: + type: array + items: + type: string + format: uri + description: The URLs to download the latest Copilot usage metrics + report for the enterprise. + report_start_day: + type: string + format: date + description: The start date of the report period in `YYYY-MM-DD` + format. + report_end_day: + type: string + format: date + description: The end date of the report period in `YYYY-MM-DD` + format. + required: + - download_links + - report_start_day + - report_end_day + examples: + default: &117 + value: + download_links: + - https://example.com/copilot-usage-report-1.json + - https://example.com/copilot-usage-report-2.json + report_start_day: '2025-07-01' + report_end_day: '2025-07-28' + '500': *40 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": + get: + summary: Get Copilot users usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise. + + The report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows enterprise administrators to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date. + + Only enterprise owners and billing managers can retrieve Copilot user metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-users-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-users-usage-metrics-for-a-specific-day + parameters: + - *41 + - *113 + responses: + '200': + description: Response + content: + application/json: + schema: *114 + examples: + default: *115 + '500': *40 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": + get: + summary: Get Copilot users usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise. + + The report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows enterprise administrators to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Only enterprise owners and billing managers can retrieve Copilot users metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-users-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-users-usage-metrics + parameters: + - *41 + responses: + '200': + description: Response + content: + application/json: + schema: *116 + examples: + default: *117 + '500': *40 + '403': *29 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-metrics "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -16145,7 +16353,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &303 + - &310 name: state in: query description: |- @@ -16154,7 +16362,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &304 + - &311 name: severity in: query description: |- @@ -16163,7 +16371,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &305 + - &312 name: ecosystem in: query description: |- @@ -16172,14 +16380,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &306 + - &313 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &307 + - &314 name: epss_percentage in: query description: |- @@ -16191,7 +16399,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 + - &586 name: has in: query description: |- @@ -16205,7 +16413,7 @@ paths: type: string enum: - patch - - &308 + - &315 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16215,7 +16423,7 @@ paths: enum: - development - runtime - - &309 + - &316 name: sort in: query description: |- @@ -16233,31 +16441,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,11 +16449,11 @@ paths: application/json: schema: type: array - items: &312 + items: &317 type: object description: A Dependabot alert. properties: - number: *113 + number: *118 state: type: string description: The state of the Dependabot alert. @@ -16285,7 +16468,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &114 + package: &119 type: object description: Details for the vulnerable package. readOnly: true @@ -16329,7 +16512,7 @@ paths: - unknown - direct - transitive - security_advisory: &582 + security_advisory: &587 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -16359,13 +16542,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &117 + items: &122 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *114 + package: *119 severity: type: string description: The severity of the vulnerability. @@ -16431,8 +16614,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *115 - epss: *116 + cvss_severities: *120 + epss: *121 cwes: type: array description: Details for the advisory pertaining to Common @@ -16531,12 +16714,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *117 - url: *118 - html_url: *119 - created_at: *120 - updated_at: *121 - dismissed_at: *122 + security_vulnerability: *122 + url: *123 + html_url: *124 + created_at: *125 + updated_at: *126 + dismissed_at: *127 dismissed_by: title: Simple User description: A GitHub user. @@ -16560,8 +16743,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *123 - auto_dismissed_at: &583 + fixed_at: *128 + auto_dismissed_at: &588 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -16587,7 +16770,7 @@ paths: - repository additionalProperties: false examples: - default: &313 + default: &318 value: - number: 2 state: dismissed @@ -17004,7 +17187,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *41 - - &182 + - &187 name: username description: The handle for the GitHub user account. in: path @@ -17026,9 +17209,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *124 + items: *129 examples: - default: *125 + default: *130 '500': *40 '401': *25 '403': *29 @@ -17071,7 +17254,7 @@ paths: type: integer network_configurations: type: array - items: &126 + items: &131 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -17111,7 +17294,7 @@ paths: - name - created_on examples: - default: &423 + default: &428 value: total_count: 2 network_configurations: @@ -17189,9 +17372,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *131 examples: - default: &127 + default: &132 value: id: 123456789ABCDEF name: My network configuration @@ -17218,7 +17401,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *41 - - &128 + - &133 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -17230,9 +17413,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *131 examples: - default: *127 + default: *132 headers: Link: *43 x-github: @@ -17252,7 +17435,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *41 - - *128 + - *133 requestBody: required: true content: @@ -17291,9 +17474,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *131 examples: - default: *127 + default: *132 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17311,7 +17494,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *41 - - *128 + - *133 responses: '204': description: Response @@ -17334,7 +17517,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 + - &429 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17346,7 +17529,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &430 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17380,7 +17563,7 @@ paths: - subnet_id - region examples: - default: &426 + default: &431 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -17415,7 +17598,7 @@ paths: application/json: schema: type: array - items: &129 + items: &134 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -17481,7 +17664,7 @@ paths: - property_name - value_type examples: - default: &130 + default: &135 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -17538,7 +17721,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *129 + items: *134 minItems: 1 maxItems: 100 required: @@ -17568,9 +17751,9 @@ paths: application/json: schema: type: array - items: *129 + items: *134 examples: - default: *130 + default: *135 '403': *29 '404': *6 x-github: @@ -17594,7 +17777,7 @@ paths: parameters: - *41 - *78 - - &131 + - &136 name: custom_property_name description: The custom property name in: path @@ -17606,9 +17789,9 @@ paths: description: Response content: application/json: - schema: *129 + schema: *134 examples: - default: &132 + default: &137 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -17641,15 +17824,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *41 - - *131 + - *136 responses: '200': description: Response content: application/json: - schema: *129 + schema: *134 examples: - default: *132 + default: *137 '403': *29 '404': *6 x-github: @@ -17671,12 +17854,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *41 - - *131 + - *136 requestBody: required: true content: application/json: - schema: &388 + schema: &393 title: Custom Property Set Payload description: Custom property set payload type: object @@ -17740,9 +17923,9 @@ paths: description: Response content: application/json: - schema: *129 + schema: *134 examples: - default: *132 + default: *137 '403': *29 '404': *6 x-github: @@ -17764,9 +17947,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *41 - - *131 + - *136 responses: - '204': *133 + '204': *138 '403': *29 '404': *6 x-github: @@ -17806,7 +17989,7 @@ paths: - push - repository default: branch - enforcement: &140 + enforcement: &145 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -17819,7 +18002,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &141 + items: &146 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -17860,7 +18043,7 @@ paths: - pull_request - exempt default: always - conditions: &164 + conditions: &169 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -17874,7 +18057,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &134 + - &139 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -17900,7 +18083,7 @@ paths: type: string required: - organization_name - - &137 + - &142 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -17929,7 +18112,7 @@ paths: is prevented. required: - repository_name - - &136 + - &141 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -17957,8 +18140,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *134 - - &139 + - *139 + - &144 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -17971,7 +18154,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &135 + items: &140 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -18002,16 +18185,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *135 + items: *140 required: - repository_property - - *136 + - *141 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &138 + - &143 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -18028,25 +18211,25 @@ paths: type: integer required: - organization_id - - *137 - - *136 + - *142 + - *141 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *138 - - *139 - - *136 + - *143 + - *144 + - *141 rules: type: array description: An array of rules within the ruleset. - items: &165 + items: &170 title: Repository Rule type: object description: A repository rule. oneOf: - - &142 + - &147 title: creation description: Only allow users with bypass permission to create matching refs. @@ -18058,7 +18241,7 @@ paths: type: string enum: - creation - - &143 + - &148 title: update description: Only allow users with bypass permission to update matching refs. @@ -18079,7 +18262,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &144 + - &149 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -18091,7 +18274,7 @@ paths: type: string enum: - deletion - - &145 + - &150 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -18103,7 +18286,7 @@ paths: type: string enum: - required_linear_history - - &146 + - &151 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -18127,7 +18310,7 @@ paths: type: string required: - required_deployment_environments - - &147 + - &152 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -18139,7 +18322,7 @@ paths: type: string enum: - required_signatures - - &148 + - &153 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -18199,7 +18382,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &149 + - &154 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -18246,7 +18429,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &150 + - &155 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -18258,7 +18441,7 @@ paths: type: string enum: - non_fast_forward - - &151 + - &156 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -18294,7 +18477,7 @@ paths: required: - operator - pattern - - &152 + - &157 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -18330,7 +18513,7 @@ paths: required: - operator - pattern - - &153 + - &158 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -18366,7 +18549,7 @@ paths: required: - operator - pattern - - &154 + - &159 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -18402,7 +18585,7 @@ paths: required: - operator - pattern - - &155 + - &160 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -18438,7 +18621,7 @@ paths: required: - operator - pattern - - &156 + - &161 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -18462,7 +18645,7 @@ paths: type: string required: - restricted_file_paths - - &157 + - &162 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -18486,7 +18669,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &158 + - &163 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -18509,7 +18692,7 @@ paths: type: string required: - restricted_file_extensions - - &159 + - &164 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -18533,7 +18716,7 @@ paths: maximum: 100 required: - max_file_size - - &160 + - &165 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -18582,7 +18765,7 @@ paths: - repository_id required: - workflows - - &161 + - &166 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -18668,7 +18851,7 @@ paths: description: Response content: application/json: - schema: &162 + schema: &167 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -18703,11 +18886,11 @@ paths: source: type: string description: The name of the source - enforcement: *140 + enforcement: *145 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *141 + items: *146 current_user_can_bypass: type: string description: |- @@ -18739,8 +18922,8 @@ paths: conditions: nullable: true anyOf: - - *136 - - &395 + - *141 + - &400 title: Organization ruleset conditions type: object description: |- @@ -18754,14 +18937,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *136 - - *137 + - *141 + - *142 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *136 + - *141 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -18783,20 +18966,20 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *136 - - *139 + - *141 + - *144 rules: type: array - items: &703 + items: &708 title: Repository Rule type: object description: A repository rule. oneOf: - - *142 - - *143 - - *144 - - *145 - - &700 + - *147 + - *148 + - *149 + - *150 + - &705 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -18874,11 +19057,6 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *146 - - *147 - - *148 - - *149 - - *150 - *151 - *152 - *153 @@ -18890,7 +19068,12 @@ paths: - *159 - *160 - *161 - - &701 + - *162 + - *163 + - *164 + - *165 + - *166 + - &706 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -18920,7 +19103,7 @@ paths: type: string format: date-time examples: - default: &163 + default: &168 value: id: 21 name: super cool ruleset @@ -18979,9 +19162,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *167 examples: - default: *163 + default: *168 '404': *6 '500': *40 x-github: @@ -19025,16 +19208,16 @@ paths: - tag - push - repository - enforcement: *140 + enforcement: *145 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *141 - conditions: *164 + items: *146 + conditions: *169 rules: description: An array of rules within the ruleset. type: array - items: *165 + items: *170 examples: default: value: @@ -19058,9 +19241,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *167 examples: - default: *163 + default: *168 '404': *6 '500': *40 x-github: @@ -19122,7 +19305,7 @@ paths: application/json: schema: type: array - items: &166 + items: &171 title: Ruleset version type: object description: The historical version of a ruleset @@ -19146,7 +19329,7 @@ paths: type: string format: date-time examples: - default: &398 + default: &403 value: - version_id: 3 actor: @@ -19199,9 +19382,9 @@ paths: description: Response content: application/json: - schema: &399 + schema: &404 allOf: - - *166 + - *171 - type: object required: - state @@ -19254,7 +19437,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 + - &405 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19265,7 +19448,7 @@ paths: enum: - open - resolved - - &401 + - &406 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19275,7 +19458,7 @@ paths: required: false schema: type: string - - &402 + - &407 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19284,7 +19467,7 @@ paths: required: false schema: type: string - - &403 + - &408 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 +19483,7 @@ paths: - *17 - *99 - *100 - - &404 + - &409 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19309,7 +19492,7 @@ paths: required: false schema: type: string - - &405 + - &410 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19318,7 +19501,7 @@ paths: schema: type: boolean default: false - - &406 + - &411 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19327,7 +19510,7 @@ paths: schema: type: boolean default: false - - &407 + - &412 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19343,11 +19526,11 @@ paths: application/json: schema: type: array - items: &408 + items: &413 type: object properties: - number: *113 - created_at: *120 + number: *118 + created_at: *125 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -19355,21 +19538,21 @@ paths: format: date-time readOnly: true nullable: true - url: *118 - html_url: *119 + url: *123 + html_url: *124 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &715 + state: &720 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: &721 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -19476,8 +19659,8 @@ paths: pull request. ' - oneOf: &717 - - &719 + oneOf: &722 + - &724 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 +19712,7 @@ paths: - blob_url - commit_sha - commit_url - - &720 + - &725 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 +19767,7 @@ paths: - page_url - commit_sha - commit_url - - &721 + - &726 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 +19781,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &722 + - &727 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 +19795,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &723 + - &728 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 +19809,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &724 + - &729 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 +19823,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &725 + - &730 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 +19837,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &726 + - &731 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 +19851,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &727 + - &732 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 +19865,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &728 + - &733 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 +19879,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &729 + - &734 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 +19893,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &730 + - &735 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 +19907,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &731 + - &736 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 +19934,7 @@ paths: required: *21 nullable: true examples: - default: &409 + default: &414 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -19929,9 +20112,9 @@ paths: headers: Link: *43 '404': *6 - '503': *167 + '503': *172 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: false category: secret-scanning subcategory: secret-scanning @@ -19960,13 +20143,13 @@ paths: description: Response content: application/json: - schema: &410 + schema: &415 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. type: object properties: - pattern_config_version: &169 + pattern_config_version: &174 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -19975,7 +20158,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &168 + items: &173 type: object properties: token_type: @@ -20041,9 +20224,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *168 + items: *173 examples: - default: &411 + default: &416 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -20098,7 +20281,7 @@ paths: schema: type: object properties: - pattern_config_version: *169 + pattern_config_version: *174 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -20124,7 +20307,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *169 + custom_pattern_version: *174 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -20187,7 +20370,7 @@ paths: description: Response content: application/json: - schema: &414 + schema: &419 type: object properties: total_minutes_used: @@ -20257,7 +20440,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &415 + default: &420 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20288,7 +20471,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 + - &421 name: advanced_security_product in: query description: | @@ -20308,7 +20491,7 @@ paths: description: Success content: application/json: - schema: &417 + schema: &422 type: object properties: total_advanced_security_committers: @@ -20363,7 +20546,7 @@ paths: required: - repositories examples: - default: &418 + default: &423 value: total_advanced_security_committers: 2 total_count: 2 @@ -20402,6 +20585,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-all-cost-centers-for-an-enterprise parameters: - *41 + - name: state + in: query + description: Set to `active` or `deleted` to only list cost centers in a specific + state. + required: false + schema: + type: string + enum: + - active + - deleted responses: '200': description: Response when getting cost centers @@ -20473,7 +20666,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *167 + '503': *172 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20602,7 +20795,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id parameters: - *41 - - &172 + - &177 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -20614,7 +20807,7 @@ paths: description: Response when getting a cost center content: application/json: - schema: &170 + schema: &175 type: object properties: id: @@ -20653,7 +20846,7 @@ paths: - name - resources examples: - default: &171 + default: &176 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -20667,7 +20860,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *167 + '503': *172 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20717,15 +20910,15 @@ paths: description: Response when updating a cost center content: application/json: - schema: *170 + schema: *175 examples: - default: *171 + default: *176 '400': *14 '403': *29 '404': *6 '409': *109 '500': *40 - '503': *167 + '503': *172 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20743,7 +20936,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center parameters: - *41 - - *172 + - *177 responses: '200': description: Response when deleting a cost center @@ -20782,7 +20975,7 @@ paths: '404': *6 '403': *29 '500': *40 - '503': *167 + '503': *172 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20803,7 +20996,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center parameters: - *41 - - *172 + - *177 requestBody: required: true content: @@ -20875,7 +21068,7 @@ paths: '403': *29 '409': *109 '500': *40 - '503': *167 + '503': *172 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20895,7 +21088,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center parameters: - *41 - - *172 + - *177 requestBody: required: true content: @@ -20942,7 +21135,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *167 + '503': *172 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20973,7 +21166,7 @@ paths: description: Response content: application/json: - schema: &419 + schema: &424 type: object properties: total_gigabytes_bandwidth_used: @@ -20991,7 +21184,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &420 + default: &425 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -21004,8 +21197,10 @@ paths: "/enterprises/{enterprise}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an enterprise - description: Gets a report of premium request usage for an enterprise. To use - this endpoint, you must be an administrator or billing manager of the enterprise. + description: |- + Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-ghe @@ -21014,7 +21209,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *41 - - &173 + - &178 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -21023,7 +21218,7 @@ paths: required: false schema: type: integer - - &222 + - &229 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -21032,7 +21227,7 @@ paths: required: false schema: type: integer - - &174 + - &179 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -21048,21 +21243,21 @@ paths: required: false schema: type: string - - &223 + - &230 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &224 + - &231 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &225 + - &232 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -21146,19 +21341,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -21201,7 +21396,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *167 + '503': *172 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21232,7 +21427,7 @@ paths: description: Response content: application/json: - schema: &421 + schema: &426 type: object properties: days_left_in_billing_cycle: @@ -21250,7 +21445,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &422 + default: &427 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -21275,8 +21470,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *41 - - *173 - - &226 + - *178 + - &233 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -21285,8 +21480,8 @@ paths: required: false schema: type: integer - - *174 - - &227 + - *179 + - &234 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -21307,7 +21502,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &228 + schema: &235 type: object properties: usageItems: @@ -21360,7 +21555,7 @@ paths: - netAmount - organizationName examples: - default: &229 + default: &236 value: usageItems: - date: '2023-08-01' @@ -21377,7 +21572,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *167 + '503': *172 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21448,13 +21643,13 @@ paths: application/json: schema: type: array - items: *175 + items: *180 examples: - default: *176 + default: *181 '500': *40 '403': *29 '404': *6 - '422': *177 + '422': *182 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -21481,9 +21676,9 @@ paths: application/json: schema: type: array - items: *178 + items: *183 examples: - default: &179 + default: &184 value: - id: 1 name: Justice League @@ -21539,6 +21734,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: nullable: true type: string @@ -21557,9 +21764,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *183 examples: - default: *179 + default: *184 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21577,7 +21784,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *41 - - &180 + - &185 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -21596,7 +21803,7 @@ paths: type: array items: *4 examples: - default: &181 + default: &186 value: - login: octocat id: 1 @@ -21635,7 +21842,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *41 - - *180 + - *185 requestBody: required: true content: @@ -21666,7 +21873,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *186 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21684,7 +21891,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *41 - - *180 + - *185 requestBody: required: true content: @@ -21715,7 +21922,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *186 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21733,8 +21940,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *41 - - *180 - - *182 + - *185 + - *187 responses: '200': description: User is a member of the enterprise team. @@ -21742,7 +21949,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &183 + exampleKey1: &188 value: login: octocat id: 1 @@ -21778,8 +21985,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *41 - - *180 - - *182 + - *185 + - *187 responses: '201': description: Successfully added team member @@ -21787,7 +21994,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *183 + exampleKey1: *188 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21805,8 +22012,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *41 - - *180 - - *182 + - *185 + - *187 responses: '204': description: Response @@ -21816,6 +22023,227 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - *41 + - *185 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: *64 + examples: + default: &189 + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - *41 + - *185 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: *64 + examples: + default: &226 + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - *41 + - *185 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - *41 + - *185 + - *78 + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: *64 + examples: + default: *189 + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - *41 + - *185 + - *78 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *64 + examples: + default: *189 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - *41 + - *185 + - *78 + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -21831,7 +22259,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *41 - - &184 + - &190 name: team_slug description: The slug of the team name. in: path @@ -21843,9 +22271,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *183 examples: - default: *179 + default: *184 headers: Link: *43 '403': *29 @@ -21865,7 +22293,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *41 - - *184 + - *190 requestBody: required: true content: @@ -21891,6 +22319,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: nullable: true type: string @@ -21908,9 +22348,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *183 examples: - default: *179 + default: *184 headers: Link: *43 '403': *29 @@ -21933,7 +22373,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *41 - - *184 + - *190 responses: '204': description: Response @@ -22032,7 +22472,7 @@ paths: application/json: schema: type: array - items: &215 + items: &221 title: Event description: Event type: object @@ -22042,7 +22482,7 @@ paths: type: type: string nullable: true - actor: &185 + actor: &191 title: Actor description: Actor type: object @@ -22082,7 +22522,7 @@ paths: - id - name - url - org: *185 + org: *191 payload: oneOf: - title: CreateEvent @@ -22128,7 +22568,7 @@ paths: properties: action: type: string - discussion: &854 + discussion: &858 title: Discussion description: A Discussion in a repository. type: object @@ -22415,7 +22855,7 @@ paths: - id labels: type: array - items: &188 + items: &194 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -22490,12 +22930,12 @@ paths: properties: action: type: string - issue: &189 + issue: &195 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &640 + properties: &645 id: type: integer format: int64 @@ -22609,7 +23049,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &380 + properties: &385 url: type: string format: uri @@ -22679,7 +23119,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &381 + required: &386 - closed_issues - creator - description @@ -22758,7 +23198,7 @@ paths: timeline_url: type: string format: uri - type: &342 + type: &347 title: Issue Type description: The type of issue. type: object @@ -22819,9 +23259,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *186 - required: *187 - author_association: &190 + properties: *192 + required: *193 + author_association: &196 title: author_association type: string example: OWNER @@ -22836,7 +23276,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &191 + reactions: &197 title: Reaction Rollup type: object properties: @@ -22872,7 +23312,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &775 + sub_issues_summary: &780 title: Sub-issues Summary type: object properties: @@ -22892,7 +23332,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &776 + issue_dependencies_summary: &781 title: Issue Dependencies Summary type: object properties: @@ -22911,7 +23351,7 @@ paths: - total_blocking issue_field_values: type: array - items: &777 + items: &782 title: Issue Field Value description: A value assigned to an issue field type: object @@ -22972,7 +23412,7 @@ paths: - node_id - data_type - value - required: &641 + required: &646 - assignee - closed_at - comments @@ -22997,10 +23437,10 @@ paths: assignees: type: array items: *4 - label: *188 + label: *194 labels: type: array - items: *188 + items: *194 required: - action - issue @@ -23009,8 +23449,8 @@ paths: properties: action: type: string - issue: *189 - comment: &638 + issue: *195 + comment: &643 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -23058,7 +23498,7 @@ paths: issue_url: type: string format: uri - author_association: *190 + author_association: *196 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -23069,9 +23509,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *186 - required: *187 - reactions: *191 + properties: *192 + required: *193 + reactions: *197 required: - id - node_id @@ -23244,8 +23684,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *198 + required: *199 nullable: true allow_forking: type: boolean @@ -23334,7 +23774,7 @@ paths: type: string number: type: integer - pull_request: &194 + pull_request: &200 title: Pull Request Minimal type: object properties: @@ -23405,10 +23845,10 @@ paths: assignees: type: array items: *4 - label: *188 + label: *194 labels: type: array - items: *188 + items: *194 required: - action - number @@ -23418,7 +23858,7 @@ paths: properties: action: type: string - pull_request: *194 + pull_request: *200 comment: type: object properties: @@ -23669,7 +24109,7 @@ paths: - pull_request updated_at: type: string - pull_request: *194 + pull_request: *200 required: - action - review @@ -23718,7 +24158,7 @@ paths: updated_at: type: string format: date-time - reactions: *191 + reactions: *197 required: - action - comment @@ -23729,7 +24169,7 @@ paths: type: string release: allOf: - - &693 + - &698 title: Release description: A release. type: object @@ -23800,7 +24240,7 @@ paths: author: *4 assets: type: array - items: &694 + items: &699 title: Release Asset description: Data related to a release. type: object @@ -23875,7 +24315,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *191 + reactions: *197 required: - assets_url - upload_url @@ -23967,7 +24407,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24048,7 +24488,7 @@ paths: _links: type: object properties: - timeline: &195 + timeline: &201 title: Link With Type description: Hypermedia Link with Type type: object @@ -24060,17 +24500,17 @@ paths: required: - href - type - user: *195 - security_advisories: *195 - current_user: *195 - current_user_public: *195 - current_user_actor: *195 - current_user_organization: *195 + user: *201 + security_advisories: *201 + current_user: *201 + current_user_public: *201 + current_user_actor: *201 + current_user_organization: *201 current_user_organizations: type: array - items: *195 - repository_discussions: *195 - repository_discussions_category: *195 + items: *201 + repository_discussions: *201 + repository_discussions_category: *201 required: - timeline - user @@ -24132,7 +24572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *196 + - *202 - *17 - *19 responses: @@ -24142,7 +24582,7 @@ paths: application/json: schema: type: array - items: &197 + items: &203 title: Base Gist description: Base Gist type: object @@ -24241,7 +24681,7 @@ paths: - created_at - updated_at examples: - default: &198 + default: &204 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -24362,7 +24802,7 @@ paths: description: Response content: application/json: - schema: &199 + schema: &205 title: Gist Simple description: Gist Simple type: object @@ -24379,7 +24819,7 @@ paths: url: type: string format: uri - user: &789 + user: &794 title: Public User description: Public User type: object @@ -24741,7 +25181,7 @@ paths: truncated: type: boolean examples: - default: &200 + default: &206 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -24845,7 +25285,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *196 + - *202 - *17 - *19 responses: @@ -24855,9 +25295,9 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: - default: *198 + default: *204 headers: Link: *43 '422': *15 @@ -24879,7 +25319,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *196 + - *202 - *17 - *19 responses: @@ -24889,9 +25329,9 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: - default: *198 + default: *204 headers: Link: *43 '401': *25 @@ -24919,7 +25359,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &201 + - &207 name: gist_id description: The unique identifier of the gist. in: path @@ -24931,10 +25371,10 @@ paths: description: Response content: application/json: - schema: *199 + schema: *205 examples: - default: *200 - '403': &204 + default: *206 + '403': &210 description: Forbidden Gist content: application/json: @@ -24982,7 +25422,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *201 + - *207 requestBody: required: true content: @@ -25042,9 +25482,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *205 examples: - updateGist: *200 + updateGist: *206 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -25202,7 +25642,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *201 + - *207 responses: '204': description: Response @@ -25231,7 +25671,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *201 + - *207 - *17 - *19 responses: @@ -25241,7 +25681,7 @@ paths: application/json: schema: type: array - items: &202 + items: &208 title: Gist Comment description: A comment made to a gist. type: object @@ -25276,7 +25716,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *190 + author_association: *196 required: - url - id @@ -25341,7 +25781,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *201 + - *207 requestBody: required: true content: @@ -25366,9 +25806,9 @@ paths: description: Response content: application/json: - schema: *202 + schema: *208 examples: - default: &203 + default: &209 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -25426,8 +25866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *201 - - &205 + - *207 + - &211 name: comment_id description: The unique identifier of the comment. in: path @@ -25440,12 +25880,12 @@ paths: description: Response content: application/json: - schema: *202 + schema: *208 examples: - default: *203 + default: *209 '304': *37 '404': *6 - '403': *204 + '403': *210 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -25467,8 +25907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *201 - - *205 + - *207 + - *211 requestBody: required: true content: @@ -25493,9 +25933,9 @@ paths: description: Response content: application/json: - schema: *202 + schema: *208 examples: - default: *203 + default: *209 '404': *6 x-github: githubCloudOnly: false @@ -25512,8 +25952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *201 - - *205 + - *207 + - *211 responses: '204': description: Response @@ -25536,7 +25976,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *201 + - *207 - *17 - *19 responses: @@ -25637,7 +26077,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *201 + - *207 - *17 - *19 responses: @@ -25647,7 +26087,7 @@ paths: application/json: schema: type: array - items: *199 + items: *205 examples: default: value: @@ -25712,13 +26152,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *201 + - *207 responses: '201': description: Response content: application/json: - schema: *197 + schema: *203 examples: default: value: @@ -25789,7 +26229,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *201 + - *207 responses: '204': description: Response if gist is starred @@ -25819,7 +26259,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *201 + - *207 responses: '204': description: Response @@ -25841,7 +26281,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *201 + - *207 responses: '204': description: Response @@ -25870,7 +26310,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *201 + - *207 - name: sha in: path required: true @@ -25881,9 +26321,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *205 examples: - default: *200 + default: *206 '422': *15 '404': *6 '403': *29 @@ -26249,7 +26689,7 @@ paths: - closed - all default: open - - &345 + - &350 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -26268,7 +26708,7 @@ paths: - comments default: created - *101 - - *196 + - *202 - name: collab in: query required: false @@ -26298,9 +26738,9 @@ paths: application/json: schema: type: array - items: *189 + items: *195 examples: - default: &346 + default: &351 value: - id: 1 node_id: MDU6SXNzdWUx @@ -26584,8 +27024,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *198 + required: *199 examples: default: value: @@ -26870,7 +27310,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &206 + X-CommonMarker-Version: &212 example: 0.17.4 schema: type: string @@ -26925,7 +27365,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *206 + X-CommonMarker-Version: *212 content: text/html: schema: @@ -26954,7 +27394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &209 + - &215 name: account_id description: account_id parameter in: path @@ -26966,7 +27406,7 @@ paths: description: Response content: application/json: - schema: &208 + schema: &214 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -26996,7 +27436,7 @@ paths: nullable: true id: type: integer - plan: &207 + plan: &213 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -27085,7 +27525,7 @@ paths: nullable: true updated_at: type: string - plan: *207 + plan: *213 required: - url - id @@ -27093,7 +27533,7 @@ paths: - login - marketplace_purchase examples: - default: &210 + default: &216 value: url: https://api.github.com/orgs/github type: Organization @@ -27178,9 +27618,9 @@ paths: application/json: schema: type: array - items: *207 + items: *213 examples: - default: &211 + default: &217 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -27220,14 +27660,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &212 + - &218 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &213 + - &219 name: sort description: The property to sort the results by. in: query @@ -27257,9 +27697,9 @@ paths: application/json: schema: type: array - items: *208 + items: *214 examples: - default: &214 + default: &220 value: - url: https://api.github.com/orgs/github type: Organization @@ -27333,15 +27773,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *209 + - *215 responses: '200': description: Response content: application/json: - schema: *208 + schema: *214 examples: - default: *210 + default: *216 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -27373,9 +27813,9 @@ paths: application/json: schema: type: array - items: *207 + items: *213 examples: - default: *211 + default: *217 headers: Link: *43 '401': *25 @@ -27398,8 +27838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *212 - - *213 + - *218 + - *219 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -27419,9 +27859,9 @@ paths: application/json: schema: type: array - items: *208 + items: *214 examples: - default: *214 + default: *220 headers: Link: *43 '401': *25 @@ -27685,14 +28125,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 + - &451 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &447 + - &452 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -27709,7 +28149,7 @@ paths: application/json: schema: type: array - items: *215 + items: *221 examples: default: value: @@ -27754,7 +28194,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &460 + '301': &465 description: Moved permanently content: application/json: @@ -27776,7 +28216,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 + - &674 name: all description: If `true`, show notifications marked as read. in: query @@ -27784,7 +28224,7 @@ paths: schema: type: boolean default: false - - &670 + - &675 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -27793,8 +28233,8 @@ paths: schema: type: boolean default: false - - *196 - - &671 + - *202 + - &676 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -27819,18 +28259,18 @@ paths: application/json: schema: type: array - items: &216 + items: &222 title: Thread description: Thread type: object properties: id: type: string - repository: &255 + repository: &262 title: Minimal Repository description: Minimal Repository type: object - properties: &315 + properties: &320 id: type: integer format: int64 @@ -28106,7 +28546,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &392 + security_and_analysis: &397 nullable: true type: object properties: @@ -28188,7 +28628,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: &321 - archive_url - assignees_url - blobs_url @@ -28276,7 +28716,7 @@ paths: - url - subscription_url examples: - default: &672 + default: &677 value: - id: '1' repository: @@ -28442,7 +28882,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &217 + - &223 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -28456,7 +28896,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *222 examples: default: value: @@ -28559,7 +28999,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *217 + - *223 responses: '205': description: Reset Content @@ -28582,7 +29022,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *217 + - *223 responses: '204': description: No content @@ -28605,13 +29045,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *217 + - *223 responses: '200': description: Response content: application/json: - schema: &218 + schema: &224 title: Thread Subscription description: Thread Subscription type: object @@ -28648,7 +29088,7 @@ paths: - url - subscribed examples: - default: &219 + default: &225 value: subscribed: true ignored: false @@ -28679,7 +29119,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *217 + - *223 requestBody: required: false content: @@ -28700,9 +29140,9 @@ paths: description: Response content: application/json: - schema: *218 + schema: *224 examples: - default: *219 + default: *225 '304': *37 '403': *29 '401': *25 @@ -28725,7 +29165,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *217 + - *223 responses: '204': description: Response @@ -28822,20 +29262,7 @@ paths: type: array items: *64 examples: - default: &806 - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization + default: *226 headers: Link: example: ; rel="next" @@ -28886,7 +29313,7 @@ paths: type: integer custom_roles: type: array - items: &298 + items: &305 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -28934,7 +29361,7 @@ paths: - created_at - updated_at examples: - default: &299 + default: &306 value: id: 8030 name: Security Engineer @@ -29025,8 +29452,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *220 - required: *221 + properties: *227 + required: *228 nullable: true additionalProperties: false examples: @@ -29234,9 +29661,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 @@ -29245,12 +29673,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization parameters: - *78 - - *173 - - *222 - - *174 - - *223 - - *224 - - *225 + - *178 + - *229 + - *179 + - *230 + - *231 + - *232 responses: '200': description: Response when getting a billing premium request usage report @@ -29306,19 +29734,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -29361,7 +29789,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29382,22 +29810,22 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - *78 - - *173 - - *226 - - *174 - - *227 + - *178 + - *233 + - *179 + - *234 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *228 + schema: *235 examples: - default: *229 + default: *236 '400': *14 '403': *29 '500': *40 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29429,7 +29857,7 @@ paths: description: Response content: application/json: - schema: &230 + schema: &237 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -29762,7 +30190,7 @@ paths: - updated_at - archived_at examples: - default-response: &231 + default-response: &238 value: login: github id: 1 @@ -30087,17 +30515,17 @@ paths: description: Response content: application/json: - schema: *230 + schema: *237 examples: - default: *231 + default: *238 '422': description: Validation failed content: application/json: schema: oneOf: - - *232 - - *233 + - *239 + - *240 '409': *109 x-github: githubCloudOnly: false @@ -30152,9 +30580,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *241 examples: - default: *235 + default: *242 headers: Link: *43 x-github: @@ -30195,7 +30623,7 @@ paths: type: integer repository_cache_usages: type: array - items: &465 + items: &470 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -30270,7 +30698,7 @@ paths: type: array items: *44 examples: - default: *236 + default: *243 headers: Link: *43 x-github: @@ -30454,9 +30882,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *244 examples: - default: *238 + default: *245 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30492,7 +30920,7 @@ paths: type: array items: *47 examples: - default: *239 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30675,7 +31103,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &240 + schema: &247 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -30689,7 +31117,7 @@ paths: required: - include_claim_keys examples: - default: &241 + default: &248 value: include_claim_keys: - repo @@ -30716,15 +31144,15 @@ paths: required: true content: application/json: - schema: *240 + schema: *247 examples: - default: *241 + default: *248 responses: '201': description: Empty response content: application/json: - schema: &266 + schema: &273 title: Empty Object description: An object without any properties. type: object @@ -30763,7 +31191,7 @@ paths: schema: type: object properties: - enabled_repositories: &243 + enabled_repositories: &250 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -30777,7 +31205,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *51 - selected_actions_url: *242 + selected_actions_url: *249 sha_pinning_required: *52 required: - enabled_repositories @@ -30819,7 +31247,7 @@ paths: schema: type: object properties: - enabled_repositories: *243 + enabled_repositories: *250 allowed_actions: *51 sha_pinning_required: *52 required: @@ -30855,7 +31283,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *251 examples: response: summary: Example response @@ -30886,7 +31314,7 @@ paths: required: true content: application/json: - schema: *245 + schema: *252 examples: application/json: value: @@ -30924,7 +31352,7 @@ paths: application/json: schema: *53 examples: - default: *246 + default: *253 '404': *6 x-github: enabledForGitHubApps: true @@ -30981,7 +31409,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *254 examples: default: *54 '403': *29 @@ -31006,7 +31434,7 @@ paths: required: true content: application/json: - schema: *248 + schema: *255 examples: default: *54 responses: @@ -31058,7 +31486,7 @@ paths: type: array items: *69 examples: - default: &250 + default: &257 value: total_count: 1 repositories: @@ -31243,7 +31671,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *78 - - &249 + - &256 name: repository_id description: The unique identifier of the repository. in: path @@ -31272,7 +31700,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *78 - - *249 + - *256 responses: '204': description: Response @@ -31468,7 +31896,7 @@ paths: type: array items: *69 examples: - default: *250 + default: *257 '403': *29 '404': *6 x-github: @@ -31537,7 +31965,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *78 - - *249 + - *256 responses: '204': description: No content @@ -31564,7 +31992,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *78 - - *249 + - *256 responses: '204': description: No content @@ -31598,7 +32026,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *258 examples: default: *60 x-github: @@ -31632,7 +32060,7 @@ paths: required: false content: application/json: - schema: *252 + schema: *259 examples: default: *60 x-github: @@ -31679,7 +32107,7 @@ paths: type: number runner_groups: type: array - items: &253 + items: &260 type: object properties: id: @@ -31867,9 +32295,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *260 examples: - default: &254 + default: &261 value: id: 2 name: octo-runner-group @@ -31911,7 +32339,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *260 examples: default: value: @@ -32002,9 +32430,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *260 examples: - default: *254 + default: *261 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -32068,7 +32496,7 @@ paths: type: array items: *44 examples: - default: *236 + default: *243 headers: Link: *43 x-github: @@ -32109,9 +32537,9 @@ paths: type: number repositories: type: array - items: *255 + items: *262 examples: - default: &792 + default: &797 value: total_count: 1 repositories: @@ -32410,7 +32838,7 @@ paths: parameters: - *78 - *63 - - *249 + - *256 responses: '204': description: Response @@ -32434,7 +32862,7 @@ paths: parameters: - *78 - *63 - - *249 + - *256 responses: '204': description: Response @@ -32652,9 +33080,9 @@ paths: application/json: schema: type: array - items: *256 + items: *263 examples: - default: *257 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32719,7 +33147,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *258 + '201': *265 '404': *6 '422': *7 '409': *109 @@ -32758,7 +33186,7 @@ paths: application/json: schema: *70 examples: - default: *259 + default: *266 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32794,7 +33222,7 @@ paths: application/json: schema: *70 examples: - default: *260 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32825,7 +33253,7 @@ paths: application/json: schema: *67 examples: - default: *261 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33000,7 +33428,7 @@ paths: - *78 - *66 responses: - '200': *262 + '200': *269 '404': *6 x-github: githubCloudOnly: false @@ -33029,7 +33457,7 @@ paths: parameters: - *78 - *66 - - *263 + - *270 responses: '200': *72 '404': *6 @@ -33074,7 +33502,7 @@ paths: type: integer secrets: type: array - items: &264 + items: &271 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -33153,7 +33581,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &490 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -33182,7 +33610,7 @@ paths: - key_id - key examples: - default: &486 + default: &491 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33208,7 +33636,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *78 - - &265 + - &272 name: secret_name description: The name of the secret. in: path @@ -33220,7 +33648,7 @@ paths: description: Response content: application/json: - schema: *264 + schema: *271 examples: default: value: @@ -33251,7 +33679,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *78 - - *265 + - *272 requestBody: required: true content: @@ -33308,7 +33736,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -33335,7 +33763,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *78 - - *265 + - *272 responses: '204': description: Response @@ -33362,7 +33790,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *78 - - *265 + - *272 - *19 - *17 responses: @@ -33380,9 +33808,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *262 examples: - default: &269 + default: &276 value: total_count: 1 repositories: @@ -33475,7 +33903,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *78 - - *265 + - *272 requestBody: required: true content: @@ -33528,7 +33956,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *78 - - *265 + - *272 - name: repository_id in: path required: true @@ -33562,7 +33990,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *78 - - *265 + - *272 - name: repository_id in: path required: true @@ -33595,7 +34023,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *78 - - &470 + - &475 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -33619,7 +34047,7 @@ paths: type: integer variables: type: array - items: &267 + items: &274 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -33752,7 +34180,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -33778,7 +34206,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *78 - - &268 + - &275 name: name description: The name of the variable. in: path @@ -33790,7 +34218,7 @@ paths: description: Response content: application/json: - schema: *267 + schema: *274 examples: default: value: @@ -33821,7 +34249,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *78 - - *268 + - *275 requestBody: required: true content: @@ -33884,7 +34312,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *78 - - *268 + - *275 responses: '204': description: Response @@ -33911,7 +34339,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *78 - - *268 + - *275 - *19 - *17 responses: @@ -33929,9 +34357,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *262 examples: - default: *269 + default: *276 '409': description: Response when the visibility of the variable is not set to `selected` @@ -33958,7 +34386,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *78 - - *268 + - *275 requestBody: required: true content: @@ -34008,7 +34436,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *78 - - *268 + - *275 - name: repository_id in: path required: true @@ -34043,7 +34471,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *78 - - *268 + - *275 - name: repository_id in: path required: true @@ -34101,7 +34529,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *277 examples: default: *76 parameters: @@ -34392,12 +34820,12 @@ paths: required: - subject_digests examples: - default: &821 + default: &825 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &822 + withPredicateType: &826 value: subject_digests: - sha256:abc123 @@ -34455,7 +34883,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &823 + default: &827 value: attestations_subject_digests: - sha256:abc: @@ -34648,6 +35076,57 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestation-repositories + parameters: + - *17 + - *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: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -34751,7 +35230,7 @@ paths: initiator: type: string examples: - default: &499 + default: &504 value: attestations: - bundle: @@ -34877,10 +35356,10 @@ paths: required: false schema: type: string - - *271 - - *272 - - *273 - - *274 + - *278 + - *279 + - *280 + - *281 - *17 responses: '200': @@ -34889,9 +35368,9 @@ paths: application/json: schema: type: array - items: *275 + items: *282 examples: - default: *276 + default: *283 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -34920,7 +35399,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *186 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34940,7 +35419,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *78 - - *182 + - *187 responses: '204': description: If the user is blocked @@ -34966,7 +35445,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - *78 - - *182 + - *187 responses: '204': description: Response @@ -34987,7 +35466,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *78 - - *182 + - *187 responses: '204': description: Response @@ -35014,7 +35493,7 @@ paths: subcategory: bypass-requests parameters: - *78 - - &279 + - &286 name: repository_name description: The name of the repository to filter on. in: query @@ -35033,9 +35512,9 @@ paths: application/json: schema: type: array - items: *277 + items: *284 examples: - default: *278 + default: *285 '404': *6 '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": @@ -35059,7 +35538,7 @@ paths: subcategory: delegated-bypass parameters: - *78 - - *279 + - *286 - *94 - *95 - *96 @@ -35073,9 +35552,9 @@ paths: application/json: schema: type: array - items: *280 + items: *287 examples: - default: *281 + default: *288 '404': *6 '500': *40 "/orgs/{org}/campaigns": @@ -35102,7 +35581,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &283 + schema: &290 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -35128,7 +35607,7 @@ paths: application/json: schema: type: array - items: &284 + items: &291 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -35159,7 +35638,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *282 + items: *289 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -35177,7 +35656,7 @@ paths: type: string format: date-time nullable: true - state: *283 + state: *290 contact_link: description: The contact link of the campaign. type: string @@ -35274,7 +35753,7 @@ paths: headers: Link: *43 '404': *6 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35392,9 +35871,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *291 examples: - default: &285 + default: &292 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -35443,7 +35922,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35477,16 +35956,16 @@ paths: description: Response content: application/json: - schema: *284 + schema: *291 examples: - default: *285 + default: *292 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35556,7 +36035,7 @@ paths: type: string format: uri nullable: true - state: *283 + state: *290 examples: default: value: @@ -35566,9 +36045,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *291 examples: - default: *285 + default: *292 '400': description: Bad Request content: @@ -35580,7 +36059,7 @@ paths: content: application/json: schema: *3 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35612,7 +36091,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35635,8 +36114,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *78 - - *286 - - *287 + - *293 + - *294 - *99 - *100 - *19 @@ -35647,7 +36126,7 @@ paths: be returned. in: query required: false - schema: *288 + schema: *295 - name: sort description: The property by which to sort the results. in: query @@ -35663,7 +36142,7 @@ paths: be returned. in: query required: false - schema: &525 + schema: &530 type: string description: Severity of a code scanning alert. enum: @@ -35681,13 +36160,13 @@ paths: application/json: schema: type: array - items: *289 + items: *296 examples: - default: *290 + default: *297 headers: Link: *43 '404': *6 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35898,7 +36377,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *291 + code_scanning_options: *298 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -36041,7 +36520,7 @@ paths: application/json: schema: *105 examples: - default: *292 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36069,9 +36548,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *300 examples: - default: *294 + default: *301 '304': *37 '403': *29 '404': *6 @@ -36123,7 +36602,7 @@ paths: - 32 - 91 responses: - '204': *133 + '204': *138 '400': *14 '403': *29 '404': *6 @@ -36158,7 +36637,7 @@ paths: application/json: schema: *105 examples: - default: *292 + default: *299 '304': *37 '403': *29 '404': *6 @@ -36442,7 +36921,7 @@ paths: - *78 - *107 responses: - '204': *133 + '204': *138 '400': *14 '403': *29 '404': *6 @@ -36580,7 +37059,7 @@ paths: default: value: default_for_new_repos: all - configuration: *292 + configuration: *299 '403': *29 '404': *6 x-github: @@ -36633,13 +37112,13 @@ paths: application/json: schema: type: array - items: *295 + items: *302 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *296 + repository: *303 '403': *29 '404': *6 x-github: @@ -36679,7 +37158,7 @@ paths: type: integer codespaces: type: array - items: &347 + items: &352 type: object title: Codespace description: A codespace. @@ -36704,12 +37183,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *255 + repository: *262 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &554 + properties: &559 name: type: string description: The name of the machine. @@ -36751,7 +37230,7 @@ paths: - ready - in_progress nullable: true - required: &555 + required: &560 - name - display_name - operating_system @@ -36956,7 +37435,7 @@ paths: - pulls_url - recent_folders examples: - default: &348 + default: &353 value: total_count: 3 codespaces: @@ -37580,7 +38059,7 @@ paths: type: integer secrets: type: array - items: &297 + items: &304 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -37619,7 +38098,7 @@ paths: - updated_at - visibility examples: - default: &556 + default: &561 value: total_count: 2 secrets: @@ -37657,7 +38136,7 @@ paths: description: Response content: application/json: - schema: &557 + schema: &562 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -37686,7 +38165,7 @@ paths: - key_id - key examples: - default: &558 + default: &563 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37710,15 +38189,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *78 - - *265 + - *272 responses: '200': description: Response content: application/json: - schema: *297 + schema: *304 examples: - default: &560 + default: &565 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -37746,7 +38225,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *78 - - *265 + - *272 requestBody: required: true content: @@ -37801,7 +38280,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -37828,7 +38307,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *78 - - *265 + - *272 responses: '204': description: Response @@ -37854,7 +38333,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *78 - - *265 + - *272 - *19 - *17 responses: @@ -37872,9 +38351,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *262 examples: - default: *269 + default: *276 '404': *6 x-github: githubCloudOnly: false @@ -37897,7 +38376,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *78 - - *265 + - *272 requestBody: required: true content: @@ -37948,7 +38427,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *78 - - *265 + - *272 - name: repository_id in: path required: true @@ -37982,7 +38461,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *78 - - *265 + - *272 - name: repository_id in: path required: true @@ -38185,9 +38664,9 @@ paths: currently being billed. seats: type: array - items: *124 + items: *129 examples: - default: *125 + default: *130 headers: Link: *43 '500': *40 @@ -38571,13 +39050,13 @@ paths: application/json: schema: type: array - items: *175 + items: *180 examples: - default: *176 + default: *181 '500': *40 '403': *29 '404': *6 - '422': *177 + '422': *182 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38789,7 +39268,7 @@ paths: type: integer custom_roles: type: array - items: *298 + items: *305 examples: default: value: @@ -38881,7 +39360,7 @@ paths: required: true content: application/json: - schema: &301 + schema: &308 type: object properties: name: @@ -38922,9 +39401,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *305 examples: - default: *299 + default: *306 '422': *15 '404': *6 x-github: @@ -38949,7 +39428,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *78 - - &300 + - &307 name: role_id description: The unique identifier of the role. in: path @@ -38961,9 +39440,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *305 examples: - default: *299 + default: *306 '404': *6 x-github: githubCloudOnly: true @@ -38986,12 +39465,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *78 - - *300 + - *307 requestBody: required: true content: application/json: - schema: &302 + schema: &309 type: object properties: name: @@ -39029,9 +39508,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *305 examples: - default: *299 + default: *306 '422': *15 '404': *6 x-github: @@ -39056,7 +39535,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *78 - - *300 + - *307 responses: '204': description: Response @@ -39089,7 +39568,7 @@ paths: required: true content: application/json: - schema: *301 + schema: *308 examples: default: value: @@ -39103,9 +39582,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *305 examples: - default: *299 + default: *306 '422': *15 '404': *6 x-github: @@ -39136,15 +39615,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *78 - - *300 + - *307 responses: '200': description: Response content: application/json: - schema: *298 + schema: *305 examples: - default: *299 + default: *306 '404': *6 x-github: githubCloudOnly: true @@ -39173,12 +39652,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *78 - - *300 + - *307 requestBody: required: true content: application/json: - schema: *302 + schema: *309 examples: default: value: @@ -39193,9 +39672,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *305 examples: - default: *299 + default: *306 '422': *15 '404': *6 x-github: @@ -39226,7 +39705,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *78 - - *300 + - *307 responses: '204': description: Response @@ -39255,11 +39734,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *78 - - *303 - - *304 - - *305 - - *306 - - *307 + - *310 + - *311 + - *312 + - *313 + - *314 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -39297,13 +39776,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *308 - - *309 + - *315 + - *316 - *101 - *99 - *100 - - *310 - - *311 - *17 responses: '200': @@ -39312,9 +39789,9 @@ paths: application/json: schema: type: array - items: *312 + items: *317 examples: - default: *313 + default: *318 '304': *37 '400': *14 '403': *29 @@ -39358,7 +39835,7 @@ paths: type: integer secrets: type: array - items: &314 + items: &319 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -39435,7 +39912,7 @@ paths: description: Response content: application/json: - schema: &586 + schema: &591 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -39452,7 +39929,7 @@ paths: - key_id - key examples: - default: &587 + default: &592 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -39476,13 +39953,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *78 - - *265 + - *272 responses: '200': description: Response content: application/json: - schema: *314 + schema: *319 examples: default: value: @@ -39511,7 +39988,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *78 - - *265 + - *272 requestBody: required: true content: @@ -39570,7 +40047,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -39595,7 +40072,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *78 - - *265 + - *272 responses: '204': description: Response @@ -39620,7 +40097,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *78 - - *265 + - *272 - *19 - *17 responses: @@ -39638,9 +40115,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *262 examples: - default: *269 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39662,7 +40139,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *78 - - *265 + - *272 requestBody: required: true content: @@ -39713,7 +40190,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *78 - - *265 + - *272 - name: repository_id in: path required: true @@ -39745,7 +40222,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *78 - - *265 + - *272 - name: repository_id in: path required: true @@ -39782,7 +40259,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *78 - - &595 + - &600 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -39790,7 +40267,7 @@ paths: required: false schema: type: string - - &596 + - &601 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -39798,7 +40275,7 @@ paths: required: false schema: type: string - - &597 + - &602 name: time_period description: |- The time period to filter by. @@ -39814,7 +40291,7 @@ paths: - week - month default: month - - &598 + - &603 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -39829,7 +40306,7 @@ paths: - denied - all default: all - - *279 + - *286 - *17 - *19 responses: @@ -39839,7 +40316,7 @@ paths: application/json: schema: type: array - items: &599 + items: &604 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -39995,7 +40472,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &600 + default: &605 value: - id: 21 number: 42 @@ -40082,11 +40559,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *78 - - *279 + - *286 - *94 - *95 - *96 - - &601 + - &606 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 +40589,7 @@ paths: application/json: schema: type: array - items: &602 + items: &607 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 +40710,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &603 + default: &608 value: - id: 21 number: 42 @@ -40321,7 +40798,7 @@ paths: application/json: schema: type: array - items: &358 + items: &363 title: Package description: A software package type: object @@ -40371,8 +40848,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *315 - required: *316 + properties: *320 + required: *321 nullable: true created_at: type: string @@ -40391,7 +40868,7 @@ paths: - created_at - updated_at examples: - default: &359 + default: &364 value: - id: 197 name: hello_docker @@ -40479,7 +40956,7 @@ paths: application/json: schema: type: array - items: *215 + items: *221 examples: 200-response: value: @@ -40578,7 +41055,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &446 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -40659,7 +41136,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &442 + default: &447 value: group_id: '123' group_name: Octocat admins @@ -40714,7 +41191,7 @@ paths: description: Response content: application/json: - schema: &439 + schema: &444 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -40751,7 +41228,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &440 + default: &445 value: groups: - group_id: '123' @@ -40795,7 +41272,7 @@ paths: application/json: schema: type: array - items: &339 + items: &344 title: Organization Invitation description: Organization Invitation type: object @@ -40842,7 +41319,7 @@ paths: - invitation_teams_url - node_id examples: - default: &340 + default: &345 value: - id: 1 login: monalisa @@ -40909,7 +41386,7 @@ paths: application/json: schema: type: array - items: &393 + items: &398 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -40923,7 +41400,7 @@ paths: - name - description examples: - default: &394 + default: &399 value: - name: add_assignee description: Assign or remove a user @@ -40964,7 +41441,7 @@ paths: application/json: schema: type: array - items: &317 + items: &322 title: Org Hook description: Org Hook type: object @@ -41133,9 +41610,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *322 examples: - default: &318 + default: &323 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -41180,7 +41657,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *78 - - &319 + - &324 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 +41670,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *322 examples: - default: *318 + default: *323 '404': *6 x-github: githubCloudOnly: false @@ -41217,7 +41694,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *78 - - *319 + - *324 requestBody: required: false content: @@ -41262,7 +41739,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *322 examples: default: value: @@ -41302,7 +41779,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *78 - - *319 + - *324 responses: '204': description: Response @@ -41328,7 +41805,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *78 - - *319 + - *324 responses: '200': description: Response @@ -41357,7 +41834,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *78 - - *319 + - *324 requestBody: required: false content: @@ -41406,9 +41883,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *78 - - *319 + - *324 - *17 - - *320 + - *325 responses: '200': description: Response @@ -41416,9 +41893,9 @@ paths: application/json: schema: type: array - items: *321 + items: *326 examples: - default: *322 + default: *327 '400': *14 '422': *15 x-github: @@ -41442,16 +41919,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *78 - - *319 + - *324 - *16 responses: '200': description: Response content: application/json: - schema: *323 + schema: *328 examples: - default: *324 + default: *329 '400': *14 '422': *15 x-github: @@ -41475,7 +41952,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *78 - - *319 + - *324 - *16 responses: '202': *39 @@ -41502,7 +41979,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *78 - - *319 + - *324 responses: '204': description: Response @@ -41525,7 +42002,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *78 - - &329 + - &334 name: actor_type in: path description: The type of the actor @@ -41538,14 +42015,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &330 + - &335 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &325 + - &330 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 +42030,7 @@ paths: required: true schema: type: string - - &326 + - &331 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 +42124,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *78 - - *325 - - *326 + - *330 + - *331 - *19 - *17 - *101 - - &335 + - &340 name: sort description: The property to sort the results by. in: query @@ -41731,14 +42208,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *78 - - *325 - - *326 + - *330 + - *331 responses: '200': description: Response content: application/json: - schema: &327 + schema: &332 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -41754,7 +42231,7 @@ paths: type: integer format: int64 examples: - default: &328 + default: &333 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -41775,23 +42252,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *78 - - &331 + - &336 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *325 - - *326 + - *330 + - *331 responses: '200': description: Response content: application/json: - schema: *327 + schema: *332 examples: - default: *328 + default: *333 x-github: enabledForGitHubApps: true category: orgs @@ -41810,18 +42287,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 + - *331 + - *334 + - *335 responses: '200': description: Response content: application/json: - schema: *327 + schema: *332 examples: - default: *328 + default: *333 x-github: enabledForGitHubApps: true category: orgs @@ -41839,9 +42316,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *78 - - *325 - - *326 - - &332 + - *330 + - *331 + - &337 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -41854,7 +42331,7 @@ paths: description: Response content: application/json: - schema: &333 + schema: &338 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -41870,7 +42347,7 @@ paths: type: integer format: int64 examples: - default: &334 + default: &339 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -41907,18 +42384,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *78 + - *336 + - *330 - *331 - - *325 - - *326 - - *332 + - *337 responses: '200': description: Response content: application/json: - schema: *333 + schema: *338 examples: - default: *334 + default: *339 x-github: enabledForGitHubApps: true category: orgs @@ -41936,19 +42413,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *78 - - *329 + - *334 + - *335 - *330 - - *325 - - *326 - - *332 + - *331 + - *337 responses: '200': description: Response content: application/json: - schema: *333 + schema: *338 examples: - default: *334 + default: *339 x-github: enabledForGitHubApps: true category: orgs @@ -41966,13 +42443,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *78 + - *336 + - *330 - *331 - - *325 - - *326 - *19 - *17 - *101 - - *335 + - *340 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -42053,7 +42530,7 @@ paths: application/json: schema: *22 examples: - default: &634 + default: &639 value: id: 1 account: @@ -42219,12 +42696,12 @@ paths: application/json: schema: anyOf: - - &337 + - &342 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &336 + limit: &341 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -42249,7 +42726,7 @@ paths: properties: {} additionalProperties: false examples: - default: &338 + default: &343 value: limit: collaborators_only origin: organization @@ -42278,13 +42755,13 @@ paths: required: true content: application/json: - schema: &635 + schema: &640 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *336 + limit: *341 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -42308,9 +42785,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *342 examples: - default: *338 + default: *343 '422': *15 x-github: githubCloudOnly: false @@ -42388,9 +42865,9 @@ paths: application/json: schema: type: array - items: *339 + items: *344 examples: - default: *340 + default: *345 headers: Link: *43 '404': *6 @@ -42468,7 +42945,7 @@ paths: description: Response content: application/json: - schema: *339 + schema: *344 examples: default: value: @@ -42525,7 +43002,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *78 - - &341 + - &346 name: invitation_id description: The unique identifier of the invitation. in: path @@ -42559,7 +43036,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *78 - - *341 + - *346 - *17 - *19 responses: @@ -42569,9 +43046,9 @@ paths: application/json: schema: type: array - items: *282 + items: *289 examples: - default: &357 + default: &362 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -42614,7 +43091,7 @@ paths: application/json: schema: type: array - items: *342 + items: *347 examples: default: value: @@ -42699,9 +43176,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *347 examples: - default: &343 + default: &348 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -42734,7 +43211,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *78 - - &344 + - &349 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -42787,9 +43264,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *347 examples: - default: *343 + default: *348 '404': *6 '422': *7 x-github: @@ -42814,7 +43291,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *78 - - *344 + - *349 responses: '204': description: Response @@ -42877,7 +43354,7 @@ paths: - closed - all default: open - - *345 + - *350 - name: type description: Can be the name of an issue type. in: query @@ -42896,7 +43373,7 @@ paths: - comments default: created - *101 - - *196 + - *202 - *17 - *19 responses: @@ -42906,9 +43383,9 @@ paths: application/json: schema: type: array - items: *189 + items: *195 examples: - default: *346 + default: *351 headers: Link: *43 '404': *6 @@ -42968,7 +43445,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *186 headers: Link: *43 '422': *15 @@ -42989,7 +43466,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - *78 - - *182 + - *187 responses: '204': description: Response if requester is an organization member and user is @@ -43024,7 +43501,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - *78 - - *182 + - *187 responses: '204': description: Response @@ -43051,7 +43528,7 @@ paths: - *17 - *19 - *78 - - *182 + - *187 responses: '200': description: Response @@ -43067,9 +43544,9 @@ paths: type: integer codespaces: type: array - items: *347 + items: *352 examples: - default: *348 + default: *353 '304': *37 '500': *40 '401': *25 @@ -43095,8 +43572,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *78 - - *182 - - &349 + - *187 + - &354 name: codespace_name in: path required: true @@ -43130,16 +43607,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *78 - - *182 - - *349 + - *187 + - *354 responses: '200': description: Response content: application/json: - schema: *347 + schema: *352 examples: - default: &553 + default: &558 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -43313,13 +43790,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *78 - - *182 + - *187 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *124 + schema: *129 examples: default: value: @@ -43389,13 +43866,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - *78 - - *182 + - *187 responses: '200': description: Response content: application/json: - schema: &350 + schema: &355 title: Org Membership description: Org Membership type: object @@ -43462,7 +43939,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: &356 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -43531,7 +44008,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - *78 - - *182 + - *187 requestBody: required: false content: @@ -43559,9 +44036,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *355 examples: - response-if-user-already-had-membership-with-organization: *351 + response-if-user-already-had-membership-with-organization: *356 '422': *15 '403': *29 x-github: @@ -43586,7 +44063,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - *78 - - *182 + - *187 responses: '204': description: Response @@ -43632,7 +44109,7 @@ paths: application/json: schema: type: array - items: &352 + items: &357 title: Migration description: A migration. type: object @@ -43961,7 +44438,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *357 examples: default: value: @@ -44140,7 +44617,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *78 - - &353 + - &358 name: migration_id description: The unique identifier of the migration. in: path @@ -44167,7 +44644,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *352 + schema: *357 examples: default: value: @@ -44337,7 +44814,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *78 - - *353 + - *358 responses: '302': description: Response @@ -44359,7 +44836,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *78 - - *353 + - *358 responses: '204': description: Response @@ -44383,8 +44860,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *78 - - *353 - - &805 + - *358 + - &810 name: repo_name description: repo_name parameter in: path @@ -44412,7 +44889,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *78 - - *353 + - *358 - *17 - *19 responses: @@ -44422,9 +44899,9 @@ paths: application/json: schema: type: array - items: *255 + items: *262 examples: - default: &364 + default: &369 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44633,7 +45110,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &354 + items: &359 title: Organization Role description: Organization roles type: object @@ -44840,7 +45317,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *359 examples: default: value: @@ -44892,7 +45369,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *78 - - *184 + - *190 responses: '204': description: Response @@ -44918,8 +45395,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *78 - - *184 - - *300 + - *190 + - *307 responses: '204': description: Response @@ -44949,8 +45426,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *78 - - *184 - - *300 + - *190 + - *307 responses: '204': description: Response @@ -44976,7 +45453,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *78 - - *182 + - *187 responses: '204': description: Response @@ -45002,8 +45479,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *78 - - *182 - - *300 + - *187 + - *307 responses: '204': description: Response @@ -45034,8 +45511,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *78 - - *182 - - *300 + - *187 + - *307 responses: '204': description: Response @@ -45064,13 +45541,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *78 - - *300 + - *307 responses: '200': description: Response content: application/json: - schema: *354 + schema: *359 examples: default: value: @@ -45128,7 +45605,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *78 - - *300 + - *307 requestBody: required: true content: @@ -45167,7 +45644,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *359 examples: default: value: @@ -45221,7 +45698,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *78 - - *300 + - *307 responses: '204': description: Response @@ -45247,7 +45724,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *78 - - *300 + - *307 - *17 - *19 responses: @@ -45325,8 +45802,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *355 - required: *356 + properties: *360 + required: *361 nullable: true type: description: The ownership type of the team @@ -45358,7 +45835,7 @@ paths: - type - parent examples: - default: *357 + default: *362 headers: Link: *43 '404': @@ -45388,7 +45865,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *78 - - *300 + - *307 - *17 - *19 responses: @@ -45416,13 +45893,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &413 + items: &418 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *355 - required: *356 + properties: *360 + required: *361 name: nullable: true type: string @@ -45517,7 +45994,7 @@ paths: - type - url examples: - default: *181 + default: *186 headers: Link: *43 '404': @@ -45568,7 +46045,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *186 headers: Link: *43 x-github: @@ -45594,7 +46071,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *78 - - *182 + - *187 requestBody: required: false content: @@ -45652,7 +46129,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *78 - - *182 + - *187 responses: '204': description: Response @@ -45710,7 +46187,7 @@ paths: - nuget - container - *78 - - &807 + - &811 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -45746,12 +46223,12 @@ paths: application/json: schema: type: array - items: *358 + items: *363 examples: - default: *359 + default: *364 '403': *29 '401': *25 - '400': &809 + '400': &813 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -45773,7 +46250,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 + - &365 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 +46268,7 @@ paths: - docker - nuget - container - - &361 + - &366 name: package_name description: The name of the package. in: path @@ -45804,7 +46281,7 @@ paths: description: Response content: application/json: - schema: *358 + schema: *363 examples: default: value: @@ -45856,8 +46333,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 + - *365 + - *366 - *78 responses: '204': @@ -45890,8 +46367,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 + - *365 + - *366 - *78 - name: token description: package token @@ -45924,8 +46401,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 + - *365 + - *366 - *78 - *19 - *17 @@ -45946,7 +46423,7 @@ paths: application/json: schema: type: array - items: &362 + items: &367 title: Package Version description: A version of a software package type: object @@ -46071,10 +46548,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 + - *365 + - *366 - *78 - - &363 + - &368 name: package_version_id description: Unique identifier of the package version. in: path @@ -46086,7 +46563,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *367 examples: default: value: @@ -46122,10 +46599,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 + - *365 + - *366 - *78 - - *363 + - *368 responses: '204': description: Response @@ -46157,10 +46634,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 + - *365 + - *366 - *78 - - *363 + - *368 responses: '204': description: Response @@ -46190,7 +46667,7 @@ paths: - *78 - *17 - *19 - - &365 + - &370 name: sort description: The property by which to sort the results. in: query @@ -46201,7 +46678,7 @@ paths: - created_at default: created_at - *101 - - &366 + - &371 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -46212,7 +46689,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &367 + - &372 name: repository description: The name of the repository to use to filter the results. in: query @@ -46220,7 +46697,7 @@ paths: schema: type: string example: Hello-World - - &368 + - &373 name: permission description: The permission to use to filter the results. in: query @@ -46228,7 +46705,7 @@ paths: schema: type: string example: issues_read - - &369 + - &374 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 +46715,7 @@ paths: schema: type: string format: date-time - - &370 + - &375 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 +46725,7 @@ paths: schema: type: string format: date-time - - &371 + - &376 name: token_id description: The ID of the token in: query @@ -46518,7 +46995,7 @@ paths: '422': *15 '404': *6 '403': *29 - '204': *133 + '204': *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46559,9 +47036,9 @@ paths: application/json: schema: type: array - items: *255 + items: *262 examples: - default: *364 + default: *369 headers: Link: *43 x-github: @@ -46587,14 +47064,14 @@ paths: - *78 - *17 - *19 - - *365 - - *101 - - *366 - - *367 - - *368 - - *369 - *370 + - *101 - *371 + - *372 + - *373 + - *374 + - *375 + - *376 responses: '500': *40 '422': *15 @@ -46833,7 +47310,7 @@ paths: responses: '500': *40 '404': *6 - '204': *133 + '204': *138 '403': *29 '422': *15 x-github: @@ -46874,9 +47351,9 @@ paths: application/json: schema: type: array - items: *255 + items: *262 examples: - default: *364 + default: *369 headers: Link: *43 x-github: @@ -46918,7 +47395,7 @@ paths: type: integer configurations: type: array - items: &372 + items: &377 title: Organization private registry description: Private registry configuration for an organization type: object @@ -47171,7 +47648,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &373 + org-private-registry-with-selected-visibility: &378 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -47261,15 +47738,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *78 - - *265 + - *272 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *372 + schema: *377 examples: - default: *373 + default: *378 '404': *6 x-github: githubCloudOnly: false @@ -47291,7 +47768,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *78 - - *265 + - *272 requestBody: required: true content: @@ -47387,7 +47864,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *78 - - *265 + - *272 responses: '204': description: Response @@ -47433,7 +47910,7 @@ paths: application/json: schema: type: array - items: &374 + items: &379 title: Project description: Projects are a way to organize columns and cards of work. @@ -47606,7 +48083,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *379 examples: default: value: @@ -47644,7 +48121,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &457 + '410': &462 description: Gone content: application/json: @@ -47687,7 +48164,7 @@ paths: application/json: schema: type: array - items: &375 + items: &380 title: Projects v2 Project description: A projects v2 project type: object @@ -47757,7 +48234,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &885 + properties: &889 id: type: number description: The unique identifier of the status update. @@ -47805,7 +48282,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &886 + required: &890 - id - node_id - created_at @@ -47830,7 +48307,7 @@ paths: - deleted_at - deleted_by examples: - default: &376 + default: &381 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -47933,7 +48410,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &377 + - &382 name: project_number description: The project's number. in: path @@ -47946,9 +48423,9 @@ paths: description: Response content: application/json: - schema: *375 + schema: *380 examples: - default: *376 + default: *381 headers: Link: *43 '304': *37 @@ -47970,7 +48447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *377 + - *382 - *78 - *17 - *99 @@ -47982,7 +48459,7 @@ paths: application/json: schema: type: array - items: &378 + items: &383 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -48129,7 +48606,7 @@ paths: - updated_at - project_url examples: - default: &379 + default: &384 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48172,8 +48649,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 + - *382 + - &830 name: field_id description: The unique identifier of the field. in: path @@ -48186,9 +48663,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *383 examples: - default: *379 + default: *384 headers: Link: *43 '304': *37 @@ -48211,7 +48688,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 + - *382 - *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,16 +48698,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string - *99 - *100 - *17 @@ -48241,7 +48721,7 @@ paths: application/json: schema: type: array - items: &385 + items: &390 title: Projects v2 Item description: An item belonging to a project type: object @@ -48257,7 +48737,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: &388 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -48307,7 +48787,7 @@ paths: - updated_at - archived_at examples: - default: &386 + default: &391 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -49002,7 +49482,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *78 - - *377 + - *382 requestBody: required: true description: Details of the item to add to the project. @@ -49039,7 +49519,7 @@ paths: description: Response content: application/json: - schema: &827 + schema: &831 title: Projects v2 Item description: An item belonging to a project type: object @@ -49052,8 +49532,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *189 - - &568 + - *195 + - &573 title: Pull Request Simple description: Pull Request Simple type: object @@ -49159,8 +49639,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *380 - required: *381 + properties: *385 + required: *386 nullable: true active_lock_reason: type: string @@ -49205,7 +49685,7 @@ paths: nullable: true requested_teams: type: array - items: *282 + items: *289 nullable: true head: type: object @@ -49256,7 +49736,7 @@ paths: _links: type: object properties: - comments: &382 + comments: &387 title: Link description: Hypermedia Link type: object @@ -49265,13 +49745,13 @@ paths: type: string required: - href - commits: *382 - statuses: *382 - html: *382 - issue: *382 - review_comments: *382 - review_comment: *382 - self: *382 + commits: *387 + statuses: *387 + html: *387 + issue: *387 + review_comments: *387 + review_comment: *387 + self: *387 required: - comments - commits @@ -49281,8 +49761,8 @@ paths: - review_comments - review_comment - self - author_association: *190 - auto_merge: &679 + author_association: *196 + auto_merge: &684 title: Auto merge description: The status of auto merging a pull request. type: object @@ -49384,7 +49864,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *383 + content_type: *388 creator: *4 created_at: type: string @@ -49417,7 +49897,7 @@ paths: - updated_at - archived_at examples: - issue: &384 + issue: &389 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -49472,7 +49952,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: *389 '304': *37 '403': *29 '401': *25 @@ -49492,9 +49972,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 + - *382 - *78 - - &387 + - &392 name: item_id description: The unique identifier of the project item. in: path @@ -49502,24 +49982,27 @@ paths: schema: type: integer - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *385 + schema: *390 examples: - default: *386 + default: *391 headers: Link: *43 '304': *37 @@ -49540,9 +50023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *377 + - *382 - *78 - - *387 + - *392 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -49612,13 +50095,13 @@ paths: description: Response content: application/json: - schema: *385 + schema: *390 examples: - text_field: *386 - number_field: *386 - date_field: *386 - single_select_field: *386 - iteration_field: *386 + text_field: *391 + number_field: *391 + date_field: *391 + single_select_field: *391 + iteration_field: *391 '401': *25 '403': *29 '404': *6 @@ -49638,9 +50121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *377 + - *382 - *78 - - *387 + - *392 responses: '204': description: Response @@ -49672,9 +50155,9 @@ paths: application/json: schema: type: array - items: *129 + items: *134 examples: - default: *130 + default: *135 '403': *29 '404': *6 x-github: @@ -49712,7 +50195,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *129 + items: *134 minItems: 1 maxItems: 100 required: @@ -49742,9 +50225,9 @@ paths: application/json: schema: type: array - items: *129 + items: *134 examples: - default: *130 + default: *135 '403': *29 '404': *6 x-github: @@ -49766,15 +50249,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *78 - - *131 + - *136 responses: '200': description: Response content: application/json: - schema: *129 + schema: *134 examples: - default: *132 + default: *137 '403': *29 '404': *6 x-github: @@ -49798,12 +50281,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *78 - - *131 + - *136 requestBody: required: true content: application/json: - schema: *388 + schema: *393 examples: default: value: @@ -49819,9 +50302,9 @@ paths: description: Response content: application/json: - schema: *129 + schema: *134 examples: - default: *132 + default: *137 '403': *29 '404': *6 x-github: @@ -49845,9 +50328,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *78 - - *131 + - *136 responses: - '204': *133 + '204': *138 '403': *29 '404': *6 x-github: @@ -49906,7 +50389,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &389 + items: &394 title: Custom Property Value description: Custom property name and associated value type: object @@ -49993,7 +50476,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *389 + items: *394 required: - repository_names - properties @@ -50046,7 +50529,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *186 headers: Link: *43 x-github: @@ -50066,7 +50549,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *78 - - *182 + - *187 responses: '204': description: Response if user is a public member @@ -50091,7 +50574,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *78 - - *182 + - *187 responses: '204': description: Response @@ -50113,7 +50596,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *78 - - *182 + - *187 responses: '204': description: Response @@ -50184,9 +50667,9 @@ paths: application/json: schema: type: array - items: *255 + items: *262 examples: - default: *364 + default: *369 headers: Link: *43 x-github: @@ -50389,7 +50872,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &464 title: Full Repository description: Full Repository type: object @@ -50666,8 +51149,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *390 - required: *391 + properties: *395 + required: *396 nullable: true temp_clone_token: type: string @@ -50754,8 +51237,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *198 + required: *199 nullable: true organization: title: Simple User @@ -50782,7 +51265,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &573 + properties: &578 url: type: string format: uri @@ -50798,12 +51281,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &574 + required: &579 - url - key - name - html_url - security_and_analysis: *392 + security_and_analysis: *397 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -50887,7 +51370,7 @@ paths: - network_count - subscribers_count examples: - default: &461 + default: &466 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -51413,9 +51896,9 @@ paths: application/json: schema: type: array - items: *393 + items: *398 examples: - default: *394 + default: *399 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -51440,7 +51923,7 @@ paths: - *78 - *17 - *19 - - &702 + - &707 name: targets description: | A comma-separated list of rule targets to filter by. @@ -51458,7 +51941,7 @@ paths: application/json: schema: type: array - items: *162 + items: *167 examples: default: value: @@ -51526,25 +52009,20 @@ paths: - push - repository default: branch - enforcement: *140 + enforcement: *145 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *141 - conditions: *395 + items: *146 + conditions: *400 rules: type: array description: An array of rules within the ruleset. - items: &397 + items: &402 title: Repository Rule type: object description: A repository rule. oneOf: - - *142 - - *143 - - *144 - - *145 - - *146 - *147 - *148 - *149 @@ -51560,6 +52038,11 @@ paths: - *159 - *160 - *161 + - *162 + - *163 + - *164 + - *165 + - *166 required: - name - enforcement @@ -51597,9 +52080,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *167 examples: - default: &396 + default: &401 value: id: 21 name: super cool ruleset @@ -51654,7 +52137,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *78 - - &704 + - &709 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -51664,16 +52147,16 @@ paths: schema: type: string x-multi-segment: true - - *279 + - *286 - *96 - - &705 + - &710 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 + - &711 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -51693,7 +52176,7 @@ paths: description: Response content: application/json: - schema: &707 + schema: &712 title: Rule Suites description: Response type: array @@ -51748,7 +52231,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &708 + default: &713 value: - id: 21 actor_id: 12 @@ -51792,7 +52275,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *78 - - &709 + - &714 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -51808,7 +52291,7 @@ paths: description: Response content: application/json: - schema: &710 + schema: &715 title: Rule Suite description: Response type: object @@ -51907,7 +52390,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &711 + default: &716 value: id: 21 actor_id: 12 @@ -51980,9 +52463,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *167 examples: - default: *396 + default: *401 '404': *6 '500': *40 put: @@ -52026,16 +52509,16 @@ paths: - tag - push - repository - enforcement: *140 + enforcement: *145 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *141 - conditions: *395 + items: *146 + conditions: *400 rules: description: An array of rules within the ruleset. type: array - items: *397 + items: *402 examples: default: value: @@ -52070,9 +52553,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *167 examples: - default: *396 + default: *401 '404': *6 '500': *40 delete: @@ -52129,9 +52612,9 @@ paths: application/json: schema: type: array - items: *166 + items: *171 examples: - default: *398 + default: *403 '404': *6 '500': *40 x-github: @@ -52168,7 +52651,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *404 examples: default: value: @@ -52231,14 +52714,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *78 - - *400 - - *401 - - *402 - - *403 + - *405 + - *406 + - *407 + - *408 - *101 - *19 - *17 - - &713 + - &718 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 +52731,7 @@ paths: required: false schema: type: string - - &714 + - &719 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 +52741,10 @@ paths: required: false schema: type: string - - *404 - - *405 - - *406 - - *407 + - *409 + - *410 + - *411 + - *412 responses: '200': description: Response @@ -52269,13 +52752,13 @@ paths: application/json: schema: type: array - items: *408 + items: *413 examples: - default: *409 + default: *414 headers: Link: *43 '404': *6 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52306,9 +52789,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *415 examples: - default: *411 + default: *416 '403': *29 '404': *6 patch: @@ -52337,7 +52820,7 @@ paths: schema: type: object properties: - pattern_config_version: *169 + pattern_config_version: *174 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -52363,7 +52846,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *169 + custom_pattern_version: *174 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -52461,7 +52944,7 @@ paths: application/json: schema: type: array - items: &735 + items: &740 description: A repository security advisory. type: object properties: @@ -52648,7 +53131,7 @@ paths: required: - vector_string - score - cvss_severities: *115 + cvss_severities: *120 cwes: type: array nullable: true @@ -52681,7 +53164,7 @@ paths: login: type: string description: The username of the user credited. - type: *412 + type: *417 credits_detailed: type: array nullable: true @@ -52691,7 +53174,7 @@ paths: type: object properties: user: *4 - type: *412 + type: *417 state: type: string description: The state of the user's acceptance of the @@ -52715,7 +53198,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *282 + items: *289 private_fork: readOnly: true nullable: true @@ -52752,7 +53235,7 @@ paths: - private_fork additionalProperties: false examples: - default: &736 + default: &741 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -53139,9 +53622,9 @@ paths: application/json: schema: type: array - items: *413 + items: *418 examples: - default: *357 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53165,7 +53648,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *78 - - *184 + - *190 responses: '204': description: Response @@ -53191,7 +53674,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *78 - - *184 + - *190 responses: '204': description: Response @@ -53226,9 +53709,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *419 examples: - default: *415 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53253,7 +53736,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 + - *421 - *17 - *19 responses: @@ -53261,9 +53744,9 @@ paths: description: Success content: application/json: - schema: *417 + schema: *422 examples: - default: *418 + default: *423 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -53291,9 +53774,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53321,9 +53804,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *426 examples: - default: *422 + default: *427 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53467,9 +53950,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *262 examples: - default: *269 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53538,7 +54021,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *78 - - *249 + - *256 responses: '204': description: Response @@ -53561,7 +54044,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *78 - - *249 + - *256 responses: '204': description: Response @@ -53602,9 +54085,9 @@ paths: type: integer network_configurations: type: array - items: *126 + items: *131 examples: - default: *423 + default: *428 headers: Link: *43 x-github: @@ -53667,9 +54150,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *131 examples: - default: *127 + default: *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53690,15 +54173,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *78 - - *128 + - *133 responses: '200': description: Response content: application/json: - schema: *126 + schema: *131 examples: - default: *127 + default: *132 headers: Link: *43 x-github: @@ -53720,7 +54203,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *78 - - *128 + - *133 requestBody: required: true content: @@ -53759,9 +54242,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *131 examples: - default: *127 + default: *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53781,7 +54264,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *78 - - *128 + - *133 responses: '204': description: Response @@ -53805,15 +54288,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 + - *429 responses: '200': description: Response content: application/json: - schema: *425 + schema: *430 examples: - default: *426 + default: *431 headers: Link: *43 x-github: @@ -53851,7 +54334,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &453 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -53897,7 +54380,7 @@ paths: type: string nullable: true examples: - default: &449 + default: &454 value: groups: - group_id: '123' @@ -53943,7 +54426,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *78 - - *184 + - *190 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -53975,13 +54458,13 @@ paths: application/json: schema: type: array - items: *175 + items: *180 examples: - default: *176 + default: *181 '500': *40 '403': *29 '404': *6 - '422': *177 + '422': *182 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54009,9 +54492,9 @@ paths: application/json: schema: type: array - items: *282 + items: *289 examples: - default: *357 + default: *362 headers: Link: *43 '403': *29 @@ -54105,7 +54588,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &432 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -54168,8 +54651,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *355 - required: *356 + properties: *360 + required: *361 nullable: true members_count: type: integer @@ -54432,7 +54915,7 @@ paths: - repos_count - organization examples: - default: &428 + default: &433 value: id: 1 node_id: MDQ6VGVhbTE= @@ -54503,15 +54986,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *78 - - *184 + - *190 responses: '200': description: Response content: application/json: - schema: *427 + schema: *432 examples: - default: *428 + default: *433 '404': *6 x-github: githubCloudOnly: false @@ -54533,7 +55016,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *78 - - *184 + - *190 requestBody: required: false content: @@ -54595,16 +55078,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *427 + schema: *432 examples: - default: *428 + default: *433 '201': description: Response content: application/json: - schema: *427 + schema: *432 examples: - default: *428 + default: *433 '404': *6 '422': *15 '403': *29 @@ -54630,7 +55113,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *78 - - *184 + - *190 responses: '204': description: Response @@ -54657,7 +55140,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *78 - - *184 + - *190 - *101 - *17 - *19 @@ -54674,7 +55157,7 @@ paths: application/json: schema: type: array - items: &429 + items: &434 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -54753,7 +55236,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *191 + reactions: *197 required: - author - body @@ -54773,7 +55256,7 @@ paths: - updated_at - url examples: - default: &779 + default: &784 value: - author: login: octocat @@ -54848,7 +55331,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *78 - - *184 + - *190 requestBody: required: true content: @@ -54882,9 +55365,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *434 examples: - default: &430 + default: &435 value: author: login: octocat @@ -54957,8 +55440,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *78 - - *184 - - &431 + - *190 + - &436 name: discussion_number description: The number that identifies the discussion. in: path @@ -54970,9 +55453,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *434 examples: - default: *430 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54995,8 +55478,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *78 - - *184 - - *431 + - *190 + - *436 requestBody: required: false content: @@ -55019,9 +55502,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *434 examples: - default: &780 + default: &785 value: author: login: octocat @@ -55092,8 +55575,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *78 - - *184 - - *431 + - *190 + - *436 responses: '204': description: Response @@ -55120,8 +55603,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *78 - - *184 - - *431 + - *190 + - *436 - *101 - *17 - *19 @@ -55132,7 +55615,7 @@ paths: application/json: schema: type: array - items: &432 + items: &437 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -55189,7 +55672,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *191 + reactions: *197 required: - author - body @@ -55204,7 +55687,7 @@ paths: - updated_at - url examples: - default: &781 + default: &786 value: - author: login: octocat @@ -55273,8 +55756,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *78 - - *184 - - *431 + - *190 + - *436 requestBody: required: true content: @@ -55296,9 +55779,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *437 examples: - default: &433 + default: &438 value: author: login: octocat @@ -55365,9 +55848,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *78 - - *184 - - *431 - - &434 + - *190 + - *436 + - &439 name: comment_number description: The number that identifies the comment. in: path @@ -55379,9 +55862,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *437 examples: - default: *433 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55404,9 +55887,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *78 - - *184 - - *431 - - *434 + - *190 + - *436 + - *439 requestBody: required: true content: @@ -55428,9 +55911,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *437 examples: - default: &782 + default: &787 value: author: login: octocat @@ -55495,9 +55978,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *78 - - *184 - - *431 - - *434 + - *190 + - *436 + - *439 responses: '204': description: Response @@ -55524,9 +56007,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *78 - - *184 - - *431 - - *434 + - *190 + - *436 + - *439 - 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 +56035,7 @@ paths: application/json: schema: type: array - items: &435 + items: &440 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -55595,7 +56078,7 @@ paths: - content - created_at examples: - default: &437 + default: &442 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -55646,9 +56129,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *78 - - *184 - - *431 - - *434 + - *190 + - *436 + - *439 requestBody: required: true content: @@ -55681,9 +56164,9 @@ paths: team discussion comment content: application/json: - schema: *435 + schema: *440 examples: - default: &436 + default: &441 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -55712,9 +56195,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *440 examples: - default: *436 + default: *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55738,10 +56221,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *78 - - *184 - - *431 - - *434 - - &438 + - *190 + - *436 + - *439 + - &443 name: reaction_id description: The unique identifier of the reaction. in: path @@ -55774,8 +56257,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *78 - - *184 - - *431 + - *190 + - *436 - 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 +56284,9 @@ paths: application/json: schema: type: array - items: *435 + items: *440 examples: - default: *437 + default: *442 headers: Link: *43 x-github: @@ -55830,8 +56313,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *78 - - *184 - - *431 + - *190 + - *436 requestBody: required: true content: @@ -55863,16 +56346,16 @@ paths: description: Response content: application/json: - schema: *435 + schema: *440 examples: - default: *436 + default: *441 '201': description: Response content: application/json: - schema: *435 + schema: *440 examples: - default: *436 + default: *441 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55896,9 +56379,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *78 - - *184 - - *431 - - *438 + - *190 + - *436 + - *443 responses: '204': description: Response @@ -55922,15 +56405,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *78 - - *184 + - *190 responses: '200': description: Response content: application/json: - schema: *439 + schema: *444 examples: - default: *440 + default: *445 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -55950,7 +56433,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *78 - - *184 + - *190 requestBody: required: true content: @@ -55973,9 +56456,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *446 examples: - default: *442 + default: *447 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -55995,7 +56478,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *78 - - *184 + - *190 responses: '204': description: Response @@ -56020,7 +56503,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *78 - - *184 + - *190 - *17 - *19 responses: @@ -56030,9 +56513,9 @@ paths: application/json: schema: type: array - items: *339 + items: *344 examples: - default: *340 + default: *345 headers: Link: *43 x-github: @@ -56055,7 +56538,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *78 - - *184 + - *190 - name: role description: Filters members returned by their role in the team. in: query @@ -56078,7 +56561,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *186 headers: Link: *43 x-github: @@ -56109,14 +56592,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *78 - - *184 - - *182 + - *190 + - *187 responses: '200': description: Response content: application/json: - schema: &443 + schema: &448 title: Team Membership description: Team Membership type: object @@ -56143,7 +56626,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &783 + response-if-user-is-a-team-maintainer: &788 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -56180,8 +56663,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *78 - - *184 - - *182 + - *190 + - *187 requestBody: required: false content: @@ -56206,9 +56689,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *448 examples: - response-if-users-membership-with-team-is-now-pending: &784 + response-if-users-membership-with-team-is-now-pending: &789 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -56244,8 +56727,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *78 - - *184 - - *182 + - *190 + - *187 responses: '204': description: Response @@ -56271,7 +56754,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *78 - - *184 + - *190 - *17 - *19 responses: @@ -56281,7 +56764,7 @@ paths: application/json: schema: type: array - items: &444 + items: &449 title: Team Project description: A team's access to a project. type: object @@ -56349,7 +56832,7 @@ paths: - updated_at - permissions examples: - default: &785 + default: &790 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -56413,8 +56896,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *78 - - *184 - - &445 + - *190 + - &450 name: project_id description: The unique identifier of the project. in: path @@ -56426,9 +56909,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *449 examples: - default: &786 + default: &791 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -56491,8 +56974,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *78 - - *184 - - *445 + - *190 + - *450 requestBody: required: false content: @@ -56559,8 +57042,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *78 - - *184 - - *445 + - *190 + - *450 responses: '204': description: Response @@ -56588,7 +57071,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *78 - - *184 + - *190 - *17 - *19 responses: @@ -56598,9 +57081,9 @@ paths: application/json: schema: type: array - items: *255 + items: *262 examples: - default: *364 + default: *369 headers: Link: *43 x-github: @@ -56630,15 +57113,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *78 - - *184 - - *446 - - *447 + - *190 + - *451 + - *452 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &787 + schema: &792 title: Team Repository description: A team's access to a repository. type: object @@ -56661,8 +57144,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *198 + required: *199 nullable: true forks: type: integer @@ -57208,9 +57691,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *78 - - *184 - - *446 - - *447 + - *190 + - *451 + - *452 requestBody: required: false content: @@ -57256,9 +57739,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *78 - - *184 - - *446 - - *447 + - *190 + - *451 + - *452 responses: '204': description: Response @@ -57285,15 +57768,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *78 - - *184 + - *190 responses: '200': description: Response content: application/json: - schema: *448 + schema: *453 examples: - default: *449 + default: *454 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -57316,7 +57799,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *78 - - *184 + - *190 requestBody: required: true content: @@ -57359,7 +57842,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *453 examples: default: value: @@ -57392,7 +57875,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *78 - - *184 + - *190 - *17 - *19 responses: @@ -57402,9 +57885,9 @@ paths: application/json: schema: type: array - items: *282 + items: *289 examples: - response-if-child-teams-exist: &788 + response-if-child-teams-exist: &793 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -57531,7 +58014,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &450 + - &455 name: card_id description: The unique identifier of the card. in: path @@ -57543,7 +58026,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &456 title: Project Card description: Project cards represent a scope of work. type: object @@ -57610,7 +58093,7 @@ paths: - created_at - updated_at examples: - default: &452 + default: &457 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -57666,7 +58149,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 + - *455 requestBody: required: false content: @@ -57693,9 +58176,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *456 examples: - default: *452 + default: *457 '304': *37 '403': *29 '401': *25 @@ -57722,7 +58205,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *450 + - *455 responses: '204': description: Response @@ -57766,7 +58249,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *450 + - *455 requestBody: required: true content: @@ -57877,7 +58360,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &453 + - &458 name: column_id description: The unique identifier of the column. in: path @@ -57889,7 +58372,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &459 title: Project Column description: Project columns contain cards of work. type: object @@ -57935,7 +58418,7 @@ paths: - created_at - updated_at examples: - default: &455 + default: &460 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -57970,7 +58453,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 + - *458 requestBody: required: true content: @@ -57994,9 +58477,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *459 examples: - default: *455 + default: *460 '304': *37 '403': *29 '401': *25 @@ -58021,7 +58504,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *453 + - *458 responses: '204': description: Response @@ -58050,7 +58533,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *453 + - *458 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -58071,7 +58554,7 @@ paths: application/json: schema: type: array - items: *451 + items: *456 examples: default: value: @@ -58130,7 +58613,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *453 + - *458 requestBody: required: true content: @@ -58170,9 +58653,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *456 examples: - default: *452 + default: *457 '304': *37 '403': *29 '401': *25 @@ -58182,8 +58665,8 @@ paths: application/json: schema: oneOf: - - *232 - - *233 + - *239 + - *240 '503': description: Response content: @@ -58228,7 +58711,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *453 + - *458 requestBody: required: true content: @@ -58288,15 +58771,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *445 + - *450 responses: '200': description: Response content: application/json: - schema: *374 + schema: *379 examples: - default: &456 + default: &461 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -58353,7 +58836,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *445 + - *450 requestBody: required: false content: @@ -58399,9 +58882,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *379 examples: - default: *456 + default: *461 '404': description: Not Found if the authenticated user does not have access to the project @@ -58422,7 +58905,7 @@ paths: items: type: string '401': *25 - '410': *457 + '410': *462 '422': *7 x-github: githubCloudOnly: false @@ -58445,7 +58928,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *445 + - *450 responses: '204': description: Delete Success @@ -58466,7 +58949,7 @@ paths: items: type: string '401': *25 - '410': *457 + '410': *462 '404': *6 x-github: githubCloudOnly: false @@ -58490,7 +58973,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *445 + - *450 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -58517,7 +59000,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *186 headers: Link: *43 '404': *6 @@ -58547,8 +59030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *445 - - *182 + - *450 + - *187 requestBody: required: false content: @@ -58600,8 +59083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *445 - - *182 + - *450 + - *187 responses: '204': description: Response @@ -58632,8 +59115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *445 - - *182 + - *450 + - *187 responses: '200': description: Response @@ -58706,7 +59189,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *445 + - *450 - *17 - *19 responses: @@ -58716,7 +59199,7 @@ paths: application/json: schema: type: array - items: *454 + items: *459 examples: default: value: @@ -58754,7 +59237,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *445 + - *450 requestBody: required: true content: @@ -58777,7 +59260,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *459 examples: default: value: @@ -58842,7 +59325,7 @@ paths: resources: type: object properties: - core: &458 + core: &463 title: Rate Limit type: object properties: @@ -58859,21 +59342,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: *463 + search: *463 + code_search: *463 + source_import: *463 + integration_manifest: *463 + code_scanning_upload: *463 + actions_runner_registration: *463 + scim: *463 + dependency_snapshots: *463 + dependency_sbom: *463 + code_scanning_autofix: *463 required: - core - search - rate: *458 + rate: *463 required: - rate - resources @@ -58978,14 +59461,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *446 - - *447 + - *451 + - *452 responses: '200': description: Response content: application/json: - schema: *459 + schema: *464 examples: default-response: summary: Default response @@ -59490,7 +59973,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *460 + '301': *465 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59508,8 +59991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: false content: @@ -59766,10 +60249,10 @@ paths: description: Response content: application/json: - schema: *459 + schema: *464 examples: - default: *461 - '307': &462 + default: *466 + '307': &467 description: Temporary Redirect content: application/json: @@ -59798,8 +60281,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *446 - - *447 + - *451 + - *452 responses: '204': description: Response @@ -59821,7 +60304,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': *467 '404': *6 '409': *109 x-github: @@ -59845,11 +60328,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 + - *451 + - *452 - *17 - *19 - - &477 + - &482 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -59872,7 +60355,7 @@ paths: type: integer artifacts: type: array - items: &463 + items: &468 title: Artifact description: An artifact type: object @@ -59950,7 +60433,7 @@ paths: - expires_at - updated_at examples: - default: &478 + default: &483 value: total_count: 2 artifacts: @@ -60011,9 +60494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *446 - - *447 - - &464 + - *451 + - *452 + - &469 name: artifact_id description: The unique identifier of the artifact. in: path @@ -60025,7 +60508,7 @@ paths: description: Response content: application/json: - schema: *463 + schema: *468 examples: default: value: @@ -60063,9 +60546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *446 - - *447 - - *464 + - *451 + - *452 + - *469 responses: '204': description: Response @@ -60089,9 +60572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *446 - - *447 - - *464 + - *451 + - *452 + - *469 - name: archive_format in: path required: true @@ -60105,7 +60588,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': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60128,14 +60611,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 + - *451 + - *452 responses: '200': description: Response content: application/json: - schema: *465 + schema: *470 examples: default: value: @@ -60161,11 +60644,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 + - *451 + - *452 - *17 - *19 - - &466 + - &471 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 +60682,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &472 title: Repository actions caches description: Repository actions caches type: object @@ -60241,7 +60724,7 @@ paths: - total_count - actions_caches examples: - default: &468 + default: &473 value: total_count: 1 actions_caches: @@ -60273,23 +60756,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 + - *451 + - *452 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *466 + - *471 responses: '200': description: Response content: application/json: - schema: *467 + schema: *472 examples: - default: *468 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60309,8 +60792,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 + - *451 + - *452 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -60341,9 +60824,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 + - *451 + - *452 + - &474 name: job_id description: The unique identifier of the job. in: path @@ -60355,7 +60838,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &486 title: Job description: Information of a job execution in a workflow run type: object @@ -60662,9 +61145,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 + - *451 + - *452 + - *474 responses: '302': description: Response @@ -60692,9 +61175,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 + - *451 + - *452 + - *474 requestBody: required: false content: @@ -60715,7 +61198,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -60739,8 +61222,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 + - *451 + - *452 responses: '200': description: Status response @@ -60790,8 +61273,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 + - *451 + - *452 requestBody: required: true content: @@ -60825,7 +61308,7 @@ paths: description: Empty response content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -60854,8 +61337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *446 - - *447 + - *451 + - *452 - *17 - *19 responses: @@ -60873,7 +61356,7 @@ paths: type: integer secrets: type: array - items: &483 + items: &488 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -60893,7 +61376,7 @@ paths: - created_at - updated_at examples: - default: &484 + default: &489 value: total_count: 2 secrets: @@ -60926,9 +61409,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 + - *451 + - *452 + - *475 - *19 responses: '200': @@ -60945,7 +61428,7 @@ paths: type: integer variables: type: array - items: &487 + items: &492 title: Actions Variable type: object properties: @@ -60975,7 +61458,7 @@ paths: - created_at - updated_at examples: - default: &488 + default: &493 value: total_count: 2 variables: @@ -61008,8 +61491,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 + - *451 + - *452 responses: '200': description: Response @@ -61018,11 +61501,11 @@ paths: schema: type: object properties: - enabled: &471 + enabled: &476 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *51 - selected_actions_url: *242 + selected_actions_url: *249 sha_pinning_required: *52 required: - enabled @@ -61053,8 +61536,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 + - *451 + - *452 responses: '204': description: Response @@ -61065,7 +61548,7 @@ paths: schema: type: object properties: - enabled: *471 + enabled: *476 allowed_actions: *51 sha_pinning_required: *52 required: @@ -61098,14 +61581,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 + - *451 + - *452 responses: '200': description: Response content: application/json: - schema: &472 + schema: &477 type: object properties: access_level: @@ -61123,7 +61606,7 @@ paths: required: - access_level examples: - default: &473 + default: &478 value: access_level: organization x-github: @@ -61148,15 +61631,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 + - *451 + - *452 requestBody: required: true content: application/json: - schema: *472 + schema: *477 examples: - default: *473 + default: *478 responses: '204': description: Response @@ -61180,14 +61663,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *446 - - *447 + - *451 + - *452 responses: '200': description: Response content: application/json: - schema: *244 + schema: *251 examples: default: value: @@ -61211,8 +61694,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 + - *451 + - *452 responses: '204': description: Empty response for successful settings update @@ -61222,7 +61705,7 @@ paths: required: true content: application/json: - schema: *245 + schema: *252 examples: default: summary: Set retention days @@ -61246,8 +61729,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 + - *451 + - *452 responses: '200': description: Response @@ -61255,7 +61738,7 @@ paths: application/json: schema: *53 examples: - default: *246 + default: *253 '404': *6 x-github: enabledForGitHubApps: true @@ -61274,8 +61757,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 + - *451 + - *452 responses: '204': description: Response @@ -61309,14 +61792,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *446 - - *447 + - *451 + - *452 responses: '200': description: Response content: application/json: - schema: *247 + schema: *254 examples: default: *54 '403': *29 @@ -61338,13 +61821,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: true content: application/json: - schema: *248 + schema: *255 examples: default: *54 responses: @@ -61370,8 +61853,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 + - *451 + - *452 responses: '200': description: Response @@ -61402,8 +61885,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 + - *451 + - *452 responses: '204': description: Response @@ -61435,14 +61918,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *446 - - *447 + - *451 + - *452 responses: '200': description: Response content: application/json: - schema: *251 + schema: *258 examples: default: *60 x-github: @@ -61465,8 +61948,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 + - *451 + - *452 responses: '204': description: Success response @@ -61477,7 +61960,7 @@ paths: required: true content: application/json: - schema: *252 + schema: *259 examples: default: *60 x-github: @@ -61506,8 +61989,8 @@ paths: in: query schema: type: string - - *446 - - *447 + - *451 + - *452 - *17 - *19 responses: @@ -61551,8 +62034,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 + - *451 + - *452 responses: '200': description: Response @@ -61560,9 +62043,9 @@ paths: application/json: schema: type: array - items: *256 + items: *263 examples: - default: *257 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61584,8 +62067,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 + - *451 + - *452 requestBody: required: true content: @@ -61628,7 +62111,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *258 + '201': *265 '404': *6 '422': *7 '409': *109 @@ -61659,8 +62142,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 + - *451 + - *452 responses: '201': description: Response @@ -61668,7 +62151,7 @@ paths: application/json: schema: *70 examples: - default: *259 + default: *266 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61696,8 +62179,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 + - *451 + - *452 responses: '201': description: Response @@ -61705,7 +62188,7 @@ paths: application/json: schema: *70 examples: - default: *260 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61727,8 +62210,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 + - *451 + - *452 - *66 responses: '200': @@ -61737,7 +62220,7 @@ paths: application/json: schema: *67 examples: - default: *261 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61758,8 +62241,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 + - *451 + - *452 - *66 responses: '204': @@ -61786,8 +62269,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 + - *451 + - *452 - *66 responses: '200': *72 @@ -61812,8 +62295,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 + - *451 + - *452 - *66 requestBody: required: true @@ -61862,8 +62345,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 + - *451 + - *452 - *66 requestBody: required: true @@ -61913,11 +62396,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *446 - - *447 + - *451 + - *452 - *66 responses: - '200': *262 + '200': *269 '404': *6 x-github: githubCloudOnly: false @@ -61944,10 +62427,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *446 - - *447 + - *451 + - *452 - *66 - - *263 + - *270 responses: '200': *72 '404': *6 @@ -61975,9 +62458,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 + - *451 + - *452 + - &496 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 +62468,7 @@ paths: required: false schema: type: string - - &492 + - &497 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -61993,7 +62476,7 @@ paths: required: false schema: type: string - - &493 + - &498 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 +62485,7 @@ paths: required: false schema: type: string - - &494 + - &499 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 +62512,7 @@ paths: - pending - *17 - *19 - - &495 + - &500 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 +62521,7 @@ paths: schema: type: string format: date-time - - &474 + - &479 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -62047,13 +62530,13 @@ paths: schema: type: boolean default: false - - &496 + - &501 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &497 + - &502 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -62076,7 +62559,7 @@ paths: type: integer workflow_runs: type: array - items: &475 + items: &480 title: Workflow Run description: An invocation of a workflow type: object @@ -62171,7 +62654,7 @@ paths: that triggered the run. type: array nullable: true - items: *194 + items: *200 created_at: type: string format: date-time @@ -62224,7 +62707,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &519 + properties: &524 id: type: string description: SHA for the commit @@ -62275,7 +62758,7 @@ paths: - name - email nullable: true - required: &520 + required: &525 - id - tree_id - message @@ -62283,8 +62766,8 @@ paths: - author - committer nullable: true - repository: *255 - head_repository: *255 + repository: *262 + head_repository: *262 head_repository_id: type: integer example: 5 @@ -62322,7 +62805,7 @@ paths: - workflow_url - pull_requests examples: - default: &498 + default: &503 value: total_count: 1 workflow_runs: @@ -62558,24 +63041,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 + - *451 + - *452 + - &481 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *474 + - *479 responses: '200': description: Response content: application/json: - schema: *475 + schema: *480 examples: - default: &479 + default: &484 value: id: 30433642 name: Build @@ -62816,9 +63299,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 + - *451 + - *452 + - *481 responses: '204': description: Response @@ -62841,9 +63324,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 + - *451 + - *452 + - *481 responses: '200': description: Response @@ -62962,15 +63445,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *446 - - *447 - - *476 + - *451 + - *452 + - *481 responses: '201': description: Response content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -62997,12 +63480,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 + - *451 + - *452 + - *481 - *17 - *19 - - *477 + - *482 responses: '200': description: Response @@ -63018,9 +63501,9 @@ paths: type: integer artifacts: type: array - items: *463 + items: *468 examples: - default: *478 + default: *483 headers: Link: *43 x-github: @@ -63044,25 +63527,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 + - *451 + - *452 + - *481 + - &485 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *474 + - *479 responses: '200': description: Response content: application/json: - schema: *475 + schema: *480 examples: - default: *479 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63085,10 +63568,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 + - *451 + - *452 + - *481 + - *485 - *17 - *19 responses: @@ -63106,9 +63589,9 @@ paths: type: integer jobs: type: array - items: *481 + items: *486 examples: - default: &482 + default: &487 value: total_count: 1 jobs: @@ -63221,10 +63704,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 + - *451 + - *452 + - *481 + - *485 responses: '302': description: Response @@ -63252,15 +63735,15 @@ 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 + - *451 + - *452 + - *481 responses: '202': description: Response content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -63287,9 +63770,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 + - *451 + - *452 + - *481 requestBody: required: true content: @@ -63356,15 +63839,15 @@ 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 + - *451 + - *452 + - *481 responses: '202': description: Response content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -63391,9 +63874,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 + - *451 + - *452 + - *481 - 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 +63906,9 @@ paths: type: integer jobs: type: array - items: *481 + items: *486 examples: - default: *482 + default: *487 headers: Link: *43 x-github: @@ -63450,9 +63933,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 + - *451 + - *452 + - *481 responses: '302': description: Response @@ -63479,9 +63962,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 + - *451 + - *452 + - *481 responses: '204': description: Response @@ -63508,9 +63991,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 + - *451 + - *452 + - *481 responses: '200': description: Response @@ -63570,7 +64053,7 @@ paths: items: type: object properties: - type: &604 + type: &609 type: string description: The type of reviewer. enum: @@ -63580,7 +64063,7 @@ paths: reviewer: anyOf: - *4 - - *282 + - *289 required: - environment - wait_timer @@ -63655,9 +64138,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 + - *451 + - *452 + - *481 requestBody: required: true content: @@ -63704,7 +64187,7 @@ paths: application/json: schema: type: array - items: &590 + items: &595 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -63792,8 +64275,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 required: - id - node_id @@ -63810,7 +64293,7 @@ paths: - created_at - updated_at examples: - default: &591 + default: &596 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -63866,9 +64349,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 + - *451 + - *452 + - *481 requestBody: required: false content: @@ -63889,7 +64372,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -63912,9 +64395,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 + - *451 + - *452 + - *481 requestBody: required: false content: @@ -63935,7 +64418,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -63968,9 +64451,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 + - *451 + - *452 + - *481 responses: '200': description: Response @@ -64107,8 +64590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *446 - - *447 + - *451 + - *452 - *17 - *19 responses: @@ -64126,9 +64609,9 @@ paths: type: integer secrets: type: array - items: *483 + items: *488 examples: - default: *484 + default: *489 headers: Link: *43 x-github: @@ -64153,16 +64636,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 + - *451 + - *452 responses: '200': description: Response content: application/json: - schema: *485 + schema: *490 examples: - default: *486 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64184,17 +64667,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *451 + - *452 + - *272 responses: '200': description: Response content: application/json: - schema: *483 + schema: *488 examples: - default: &617 + default: &622 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -64220,9 +64703,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *451 + - *452 + - *272 requestBody: required: true content: @@ -64253,7 +64736,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -64279,9 +64762,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *451 + - *452 + - *272 responses: '204': description: Response @@ -64306,9 +64789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *446 - - *447 - - *470 + - *451 + - *452 + - *475 - *19 responses: '200': @@ -64325,9 +64808,9 @@ paths: type: integer variables: type: array - items: *487 + items: *492 examples: - default: *488 + default: *493 headers: Link: *43 x-github: @@ -64350,8 +64833,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: true content: @@ -64378,7 +64861,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -64403,17 +64886,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *446 - - *447 - - *268 + - *451 + - *452 + - *275 responses: '200': description: Response content: application/json: - schema: *487 + schema: *492 examples: - default: &618 + default: &623 value: name: USERNAME value: octocat @@ -64439,9 +64922,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *446 - - *447 - - *268 + - *451 + - *452 + - *275 requestBody: required: true content: @@ -64483,9 +64966,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *446 - - *447 - - *268 + - *451 + - *452 + - *275 responses: '204': description: Response @@ -64510,8 +64993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *446 - - *447 + - *451 + - *452 - *17 - *19 responses: @@ -64529,7 +65012,7 @@ paths: type: integer workflows: type: array - items: &489 + items: &494 title: Workflow description: A GitHub Actions workflow type: object @@ -64636,9 +65119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *446 - - *447 - - &490 + - *451 + - *452 + - &495 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -64653,7 +65136,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *494 examples: default: value: @@ -64686,9 +65169,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *446 - - *447 - - *490 + - *451 + - *452 + - *495 responses: '204': description: Response @@ -64713,9 +65196,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 + - *451 + - *452 + - *495 responses: '204': description: Response @@ -64766,9 +65249,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *446 - - *447 - - *490 + - *451 + - *452 + - *495 responses: '204': description: Response @@ -64795,19 +65278,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *446 - - *447 - - *490 - - *491 - - *492 - - *493 - - *494 - - *17 - - *19 + - *451 + - *452 - *495 - - *474 - *496 - *497 + - *498 + - *499 + - *17 + - *19 + - *500 + - *479 + - *501 + - *502 responses: '200': description: Response @@ -64823,9 +65306,9 @@ paths: type: integer workflow_runs: type: array - items: *475 + items: *480 examples: - default: *498 + default: *503 headers: Link: *43 x-github: @@ -64858,9 +65341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *446 - - *447 - - *490 + - *451 + - *452 + - *495 responses: '200': description: Response @@ -64921,8 +65404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *446 - - *447 + - *451 + - *452 - *101 - *17 - *99 @@ -65086,8 +65569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *446 - - *447 + - *451 + - *452 - *17 - *19 responses: @@ -65099,7 +65582,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *186 headers: Link: *43 '404': *6 @@ -65124,8 +65607,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 + - *451 + - *452 - name: assignee in: path required: true @@ -65161,8 +65644,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: true content: @@ -65274,8 +65757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *446 - - *447 + - *451 + - *452 - *17 - *99 - *100 @@ -65331,7 +65814,7 @@ paths: initiator: type: string examples: - default: *499 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65351,8 +65834,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 + - *451 + - *452 responses: '200': description: Response @@ -65360,7 +65843,7 @@ paths: application/json: schema: type: array - items: &500 + items: &505 title: Autolink reference description: An autolink reference. type: object @@ -65414,8 +65897,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 + - *451 + - *452 requestBody: required: true content: @@ -65454,9 +65937,9 @@ paths: description: response content: application/json: - schema: *500 + schema: *505 examples: - default: &501 + default: &506 value: id: 1 key_prefix: TICKET- @@ -65487,9 +65970,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 + - *451 + - *452 + - &507 name: autolink_id description: The unique identifier of the autolink. in: path @@ -65501,9 +65984,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *505 examples: - default: *501 + default: *506 '404': *6 x-github: githubCloudOnly: false @@ -65523,9 +66006,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 + - *451 + - *452 + - *507 responses: '204': description: Response @@ -65549,8 +66032,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 + - *451 + - *452 responses: '200': description: Response if Dependabot is enabled @@ -65598,8 +66081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *446 - - *447 + - *451 + - *452 responses: '204': description: Response @@ -65620,8 +66103,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *446 - - *447 + - *451 + - *452 responses: '204': description: Response @@ -65641,8 +66124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *446 - - *447 + - *451 + - *452 - 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 +66163,7 @@ paths: - url protected: type: boolean - protection: &504 + protection: &509 title: Branch Protection description: Branch Protection type: object @@ -65722,7 +66205,7 @@ paths: required: - contexts - checks - enforce_admins: &507 + enforce_admins: &512 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -65737,7 +66220,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &509 + required_pull_request_reviews: &514 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -65758,7 +66241,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *282 + items: *289 apps: description: The list of apps with review dismissal access. @@ -65787,7 +66270,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *282 + items: *289 apps: description: The list of apps allowed to bypass pull request requirements. @@ -65813,7 +66296,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &506 + restrictions: &511 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -65876,7 +66359,7 @@ paths: type: string teams: type: array - items: *282 + items: *289 apps: type: array items: @@ -66090,9 +66573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *446 - - *447 - - &505 + - *451 + - *452 + - &510 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 +66589,14 @@ paths: description: Response content: application/json: - schema: &515 + schema: &520 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &564 + commit: &569 title: Commit description: Commit type: object @@ -66147,7 +66630,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &503 + properties: &508 name: type: string example: '"Chris Wanstrath"' @@ -66162,7 +66645,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *503 + properties: *508 nullable: true message: type: string @@ -66183,7 +66666,7 @@ paths: required: - sha - url - verification: &624 + verification: &629 title: Verification type: object properties: @@ -66217,12 +66700,12 @@ paths: nullable: true oneOf: - *4 - - *266 + - *273 committer: nullable: true oneOf: - *4 - - *266 + - *273 parents: type: array items: @@ -66253,7 +66736,7 @@ paths: type: integer files: type: array - items: &577 + items: &582 title: Diff Entry description: Diff Entry type: object @@ -66337,7 +66820,7 @@ paths: - self protected: type: boolean - protection: *504 + protection: *509 protection_url: type: string format: uri @@ -66444,7 +66927,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *460 + '301': *465 '404': *6 x-github: githubCloudOnly: false @@ -66466,15 +66949,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 + - *451 + - *452 + - *510 responses: '200': description: Response content: application/json: - schema: *504 + schema: *509 examples: default: value: @@ -66668,9 +67151,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 + - *451 + - *452 + - *510 requestBody: required: true content: @@ -66925,7 +67408,7 @@ paths: url: type: string format: uri - required_status_checks: &512 + required_status_checks: &517 title: Status Check Policy description: Status Check Policy type: object @@ -67001,7 +67484,7 @@ paths: items: *4 teams: type: array - items: *282 + items: *289 apps: type: array items: *5 @@ -67019,7 +67502,7 @@ paths: items: *4 teams: type: array - items: *282 + items: *289 apps: type: array items: *5 @@ -67077,7 +67560,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *506 + restrictions: *511 required_conversation_resolution: type: object properties: @@ -67189,9 +67672,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 + - *451 + - *452 + - *510 responses: '204': description: Response @@ -67216,17 +67699,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 + - *451 + - *452 + - *510 responses: '200': description: Response content: application/json: - schema: *507 + schema: *512 examples: - default: &508 + default: &513 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -67248,17 +67731,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 + - *451 + - *452 + - *510 responses: '200': description: Response content: application/json: - schema: *507 + schema: *512 examples: - default: *508 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67277,9 +67760,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 + - *451 + - *452 + - *510 responses: '204': description: Response @@ -67304,17 +67787,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 + - *451 + - *452 + - *510 responses: '200': description: Response content: application/json: - schema: *509 + schema: *514 examples: - default: &510 + default: &515 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -67410,9 +67893,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 + - *451 + - *452 + - *510 requestBody: required: false content: @@ -67510,9 +67993,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *514 examples: - default: *510 + default: *515 '422': *15 x-github: githubCloudOnly: false @@ -67533,9 +68016,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 + - *451 + - *452 + - *510 responses: '204': description: Response @@ -67562,17 +68045,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 + - *451 + - *452 + - *510 responses: '200': description: Response content: application/json: - schema: *507 + schema: *512 examples: - default: &511 + default: &516 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -67595,17 +68078,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 + - *451 + - *452 + - *510 responses: '200': description: Response content: application/json: - schema: *507 + schema: *512 examples: - default: *511 + default: *516 '404': *6 x-github: githubCloudOnly: false @@ -67625,9 +68108,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 + - *451 + - *452 + - *510 responses: '204': description: Response @@ -67652,17 +68135,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 + - *451 + - *452 + - *510 responses: '200': description: Response content: application/json: - schema: *512 + schema: *517 examples: - default: &513 + default: &518 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -67688,9 +68171,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 + - *451 + - *452 + - *510 requestBody: required: false content: @@ -67742,9 +68225,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *517 examples: - default: *513 + default: *518 '404': *6 '422': *15 x-github: @@ -67766,9 +68249,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 + - *451 + - *452 + - *510 responses: '204': description: Response @@ -67792,9 +68275,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 + - *451 + - *452 + - *510 responses: '200': description: Response @@ -67828,9 +68311,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 + - *451 + - *452 + - *510 requestBody: required: false content: @@ -67897,9 +68380,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 + - *451 + - *452 + - *510 requestBody: required: false content: @@ -67963,9 +68446,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 + - *451 + - *452 + - *510 requestBody: content: application/json: @@ -68031,15 +68514,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 + - *451 + - *452 + - *510 responses: '200': description: Response content: application/json: - schema: *506 + schema: *511 examples: default: value: @@ -68130,9 +68613,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 + - *451 + - *452 + - *510 responses: '204': description: Response @@ -68155,9 +68638,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 + - *451 + - *452 + - *510 responses: '200': description: Response @@ -68167,7 +68650,7 @@ paths: type: array items: *5 examples: - default: &514 + default: &519 value: - id: 1 slug: octoapp @@ -68224,9 +68707,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 + - *451 + - *452 + - *510 requestBody: required: true content: @@ -68260,7 +68743,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *519 '422': *15 x-github: githubCloudOnly: false @@ -68281,9 +68764,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 + - *451 + - *452 + - *510 requestBody: required: true content: @@ -68317,7 +68800,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *519 '422': *15 x-github: githubCloudOnly: false @@ -68338,9 +68821,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 + - *451 + - *452 + - *510 requestBody: required: true content: @@ -68374,7 +68857,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *519 '422': *15 x-github: githubCloudOnly: false @@ -68396,9 +68879,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 + - *451 + - *452 + - *510 responses: '200': description: Response @@ -68406,9 +68889,9 @@ paths: application/json: schema: type: array - items: *282 + items: *289 examples: - default: *357 + default: *362 '404': *6 x-github: githubCloudOnly: false @@ -68428,9 +68911,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 + - *451 + - *452 + - *510 requestBody: required: false content: @@ -68466,9 +68949,9 @@ paths: application/json: schema: type: array - items: *282 + items: *289 examples: - default: *357 + default: *362 '422': *15 x-github: githubCloudOnly: false @@ -68489,9 +68972,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 + - *451 + - *452 + - *510 requestBody: required: false content: @@ -68527,9 +69010,9 @@ paths: application/json: schema: type: array - items: *282 + items: *289 examples: - default: *357 + default: *362 '422': *15 x-github: githubCloudOnly: false @@ -68550,9 +69033,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 + - *451 + - *452 + - *510 requestBody: content: application/json: @@ -68587,9 +69070,9 @@ paths: application/json: schema: type: array - items: *282 + items: *289 examples: - default: *357 + default: *362 '422': *15 x-github: githubCloudOnly: false @@ -68611,9 +69094,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 + - *451 + - *452 + - *510 responses: '200': description: Response @@ -68623,7 +69106,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *186 '404': *6 x-github: githubCloudOnly: false @@ -68647,9 +69130,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 + - *451 + - *452 + - *510 requestBody: required: true content: @@ -68682,7 +69165,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *186 '422': *15 x-github: githubCloudOnly: false @@ -68707,9 +69190,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 + - *451 + - *452 + - *510 requestBody: required: true content: @@ -68742,7 +69225,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *186 '422': *15 x-github: githubCloudOnly: false @@ -68767,9 +69250,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 + - *451 + - *452 + - *510 requestBody: required: true content: @@ -68802,7 +69285,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *186 '422': *15 x-github: githubCloudOnly: false @@ -68829,9 +69312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *446 - - *447 - - *505 + - *451 + - *452 + - *510 requestBody: required: true content: @@ -68853,7 +69336,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *520 examples: default: value: @@ -68967,8 +69450,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *446 - - *447 + - *451 + - *452 - *94 - *95 - *96 @@ -68982,9 +69465,9 @@ paths: application/json: schema: type: array - items: *277 + items: *284 examples: - default: *278 + default: *285 '404': *6 '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -69004,8 +69487,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *446 - - *447 + - *451 + - *452 - name: bypass_request_number in: path required: true @@ -69019,7 +69502,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *284 examples: default: value: @@ -69078,8 +69561,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *451 + - *452 - *94 - *95 - *96 @@ -69093,9 +69576,9 @@ paths: application/json: schema: type: array - items: *280 + items: *287 examples: - default: *281 + default: *288 '404': *6 '403': *29 '500': *40 @@ -69119,8 +69602,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *451 + - *452 - name: bypass_request_number in: path required: true @@ -69132,7 +69615,7 @@ paths: description: A single bypass request. content: application/json: - schema: *280 + schema: *287 examples: default: value: @@ -69190,8 +69673,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *451 + - *452 - name: bypass_request_number in: path required: true @@ -69262,8 +69745,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *451 + - *452 - name: bypass_response_id in: path required: true @@ -69296,8 +69779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: true content: @@ -69576,7 +70059,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &521 title: CheckRun description: A check performed on the code of a given code change type: object @@ -69687,16 +70170,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *194 - deployment: &843 + items: *200 + deployment: &847 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -69763,8 +70246,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 required: - id - node_id @@ -69976,9 +70459,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 + - *451 + - *452 + - &522 name: check_run_id description: The unique identifier of the check run. in: path @@ -69990,9 +70473,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *521 examples: - default: &518 + default: &523 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -70092,9 +70575,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 + - *451 + - *452 + - *522 requestBody: required: true content: @@ -70334,9 +70817,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *521 examples: - default: *518 + default: *523 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70356,9 +70839,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 + - *451 + - *452 + - *522 - *17 - *19 responses: @@ -70453,15 +70936,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *446 - - *447 - - *517 + - *451 + - *452 + - *522 responses: '201': description: Response content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -70499,8 +70982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: true content: @@ -70522,7 +71005,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &521 + schema: &526 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -70586,7 +71069,7 @@ paths: nullable: true pull_requests: type: array - items: *194 + items: *200 nullable: true app: title: GitHub app @@ -70597,9 +71080,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 - repository: *255 + properties: *192 + required: *193 + repository: *262 created_at: type: string format: date-time @@ -70608,12 +71091,12 @@ paths: type: string format: date-time nullable: true - head_commit: &869 + head_commit: &873 title: Simple Commit description: A commit. type: object - properties: *519 - required: *520 + properties: *524 + required: *525 latest_check_runs_count: type: integer check_runs_url: @@ -70641,7 +71124,7 @@ paths: - check_runs_url - pull_requests examples: - default: &522 + default: &527 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -70932,9 +71415,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *521 + schema: *526 examples: - default: *522 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70953,8 +71436,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 + - *451 + - *452 requestBody: required: true content: @@ -71015,7 +71498,7 @@ paths: required: - app_id - setting - repository: *255 + repository: *262 examples: default: value: @@ -71263,9 +71746,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 + - *451 + - *452 + - &528 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -71277,9 +71760,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *526 examples: - default: *522 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71302,17 +71785,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 + - *451 + - *452 + - *528 + - &575 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &571 + - &576 name: status description: Returns check runs with the specified `status`. in: query @@ -71351,9 +71834,9 @@ paths: type: integer check_runs: type: array - items: *516 + items: *521 examples: - default: &572 + default: &577 value: total_count: 1 check_runs: @@ -71455,15 +71938,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *446 - - *447 - - *523 + - *451 + - *452 + - *528 responses: '201': description: Response content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -71490,21 +71973,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 - - *286 - - *287 + - *451 + - *452 + - *293 + - *294 - *19 - *17 - - &539 + - &544 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: *529 + - &545 name: pr description: The number of the pull request for the results you want to list. in: query @@ -71529,13 +72012,13 @@ paths: be returned. in: query required: false - schema: *288 + schema: *295 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *525 + schema: *530 responses: '200': description: Response @@ -71546,14 +72029,14 @@ paths: items: type: object properties: - number: *113 - created_at: *120 - updated_at: *121 - url: *118 - html_url: *119 - instances_url: *526 + number: *118 + created_at: *125 + updated_at: *126 + url: *123 + html_url: *124 + instances_url: *531 state: *104 - fixed_at: *123 + fixed_at: *128 dismissed_by: title: Simple User description: A GitHub user. @@ -71561,12 +72044,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *122 - dismissed_reason: *527 - dismissed_comment: *528 - rule: *529 - tool: *530 - most_recent_instance: *531 + dismissed_at: *127 + dismissed_reason: *532 + dismissed_comment: *533 + rule: *534 + tool: *535 + most_recent_instance: *536 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -71692,14 +72175,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &532 + '403': &537 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71719,9 +72202,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 + - *451 + - *452 + - &538 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -71729,23 +72212,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *113 + schema: *118 responses: '200': description: Response content: application/json: - schema: &534 + schema: &539 type: object properties: - number: *113 - created_at: *120 - updated_at: *121 - url: *118 - html_url: *119 - instances_url: *526 + number: *118 + created_at: *125 + updated_at: *126 + url: *123 + html_url: *124 + instances_url: *531 state: *104 - fixed_at: *123 + fixed_at: *128 dismissed_by: title: Simple User description: A GitHub user. @@ -71753,9 +72236,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *122 - dismissed_reason: *527 - dismissed_comment: *528 + dismissed_at: *127 + dismissed_reason: *532 + dismissed_comment: *533 rule: type: object properties: @@ -71809,8 +72292,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: *535 + most_recent_instance: *536 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -71909,9 +72392,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *532 + '403': *537 '404': *6 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71929,9 +72412,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 + - *451 + - *452 + - *538 requestBody: required: true content: @@ -71946,8 +72429,8 @@ paths: enum: - open - dismissed - dismissed_reason: *527 - dismissed_comment: *528 + dismissed_reason: *532 + dismissed_comment: *533 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -71966,7 +72449,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *539 examples: default: value: @@ -72042,14 +72525,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &538 + '403': &543 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *167 + '503': *172 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72069,15 +72552,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 + - *451 + - *452 + - *538 responses: '200': description: Response content: application/json: - schema: &535 + schema: &540 type: object properties: status: @@ -72103,13 +72586,13 @@ paths: - description - started_at examples: - default: &536 + default: &541 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &537 + '400': &542 description: Bad Request content: application/json: @@ -72120,9 +72603,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *532 + '403': *537 '404': *6 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72145,29 +72628,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 + - *451 + - *452 + - *538 responses: '200': description: OK content: application/json: - schema: *535 + schema: *540 examples: - default: *536 + default: *541 '202': description: Accepted content: application/json: - schema: *535 + schema: *540 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *537 + '400': *542 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -72177,7 +72660,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72199,9 +72682,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 + - *451 + - *452 + - *538 requestBody: required: false content: @@ -72246,12 +72729,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *537 - '403': *538 + '400': *542 + '403': *543 '404': *6 '422': description: Unprocessable Entity - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72271,13 +72754,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 + - *451 + - *452 + - *538 - *19 - *17 - - *539 - - *540 + - *544 + - *545 responses: '200': description: Response @@ -72285,7 +72768,7 @@ paths: application/json: schema: type: array - items: *531 + items: *536 examples: default: value: @@ -72324,9 +72807,9 @@ paths: end_column: 50 classifications: - source - '403': *532 + '403': *537 '404': *6 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72358,25 +72841,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 - - *286 - - *287 + - *451 + - *452 + - *293 + - *294 - *19 - *17 - - *540 + - *545 - 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: *529 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &543 + schema: &548 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -72397,23 +72880,23 @@ paths: application/json: schema: type: array - items: &544 + items: &549 type: object properties: - ref: *524 - commit_sha: &552 + ref: *529 + commit_sha: &557 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: *546 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *542 + category: *547 error: type: string example: error reading field xyz @@ -72437,8 +72920,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *543 - tool: *530 + sarif_id: *548 + tool: *535 deletable: type: boolean warning: @@ -72499,9 +72982,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *532 + '403': *537 '404': *6 - '503': *167 + '503': *172 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72535,8 +73018,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 + - *451 + - *452 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72549,7 +73032,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *549 examples: response: summary: application/json response @@ -72603,14 +73086,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *532 + '403': *537 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *167 + '503': *172 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72690,8 +73173,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 + - *451 + - *452 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72744,9 +73227,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *538 + '403': *543 '404': *6 - '503': *167 + '503': *172 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72766,8 +73249,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 + - *451 + - *452 responses: '200': description: Response @@ -72775,7 +73258,7 @@ paths: application/json: schema: type: array - items: &545 + items: &550 title: CodeQL Database description: A CodeQL database. type: object @@ -72886,9 +73369,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *532 + '403': *537 '404': *6 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72915,8 +73398,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 + - *451 + - *452 - name: language in: path description: The language of the CodeQL database. @@ -72928,7 +73411,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *550 examples: default: value: @@ -72960,11 +73443,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &579 + '302': &584 description: Found - '403': *532 + '403': *537 '404': *6 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72984,8 +73467,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 + - *451 + - *452 - name: language in: path description: The language of the CodeQL database. @@ -72995,9 +73478,9 @@ paths: responses: '204': description: Response - '403': *538 + '403': *543 '404': *6 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73023,8 +73506,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 + - *451 + - *452 requestBody: required: true content: @@ -73033,7 +73516,7 @@ paths: type: object additionalProperties: false properties: - language: &546 + language: &551 type: string description: The language targeted by the CodeQL query enum: @@ -73112,7 +73595,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &550 + schema: &555 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -73122,7 +73605,7 @@ paths: description: The ID of the variant analysis. controller_repo: *110 actor: *4 - query_language: *546 + query_language: *551 query_pack_url: type: string description: The download url for the query pack. @@ -73169,7 +73652,7 @@ paths: items: type: object properties: - repository: &547 + repository: &552 title: Repository Identifier description: Repository Identifier type: object @@ -73205,7 +73688,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &551 + analysis_status: &556 type: string description: The new status of the CodeQL variant analysis repository task. @@ -73237,7 +73720,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: &553 type: object properties: repository_count: @@ -73251,7 +73734,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: *552 required: - repository_count - repositories @@ -73273,8 +73756,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *548 - over_limit_repos: *548 + no_codeql_db_repos: *553 + over_limit_repos: *553 required: - access_mismatch_repos - not_found_repos @@ -73290,7 +73773,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &549 + value: &554 summary: Default response value: id: 1 @@ -73442,17 +73925,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *549 + value: *554 repository_lists: summary: Response for a successful variant analysis submission - value: *549 + value: *554 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73473,8 +73956,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 + - *451 + - *452 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -73486,11 +73969,11 @@ paths: description: Response content: application/json: - schema: *550 + schema: *555 examples: - default: *549 + default: *554 '404': *6 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73511,7 +73994,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 + - *451 - name: repo in: path description: The name of the controller repository. @@ -73546,7 +74029,7 @@ paths: type: object properties: repository: *110 - analysis_status: *551 + analysis_status: *556 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -73650,7 +74133,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73671,8 +74154,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 + - *451 + - *452 responses: '200': description: Response @@ -73757,9 +74240,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *532 + '403': *537 '404': *6 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73778,8 +74261,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 + - *451 + - *452 requestBody: required: true content: @@ -73846,7 +74329,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -73871,7 +74354,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *538 + '403': *543 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -73885,7 +74368,7 @@ paths: content: application/json: schema: *3 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73942,8 +74425,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 + - *451 + - *452 requestBody: required: true content: @@ -73951,7 +74434,7 @@ paths: schema: type: object properties: - commit_sha: *552 + commit_sha: *557 ref: type: string description: |- @@ -74009,7 +74492,7 @@ paths: schema: type: object properties: - id: *543 + id: *548 url: type: string description: The REST API URL for checking the status of the upload. @@ -74023,11 +74506,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *538 + '403': *543 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *167 + '503': *172 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74046,8 +74529,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 + - *451 + - *452 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -74093,10 +74576,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *532 + '403': *537 '404': description: Not Found if the sarif id does not match any upload - '503': *167 + '503': *172 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74118,8 +74601,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 + - *451 + - *452 responses: '200': description: Response @@ -74175,7 +74658,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *133 + '204': *138 '304': *37 '403': *29 '404': *6 @@ -74200,8 +74683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *446 - - *447 + - *451 + - *452 - 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 +74804,8 @@ paths: parameters: - *17 - *19 - - *446 - - *447 + - *451 + - *452 responses: '200': description: Response @@ -74338,7 +74821,7 @@ paths: type: integer codespaces: type: array - items: *347 + items: *352 examples: default: value: @@ -74636,8 +75119,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 + - *451 + - *452 requestBody: required: true content: @@ -74700,22 +75183,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *347 + schema: *352 examples: - default: *553 + default: *558 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *347 + schema: *352 examples: - default: *553 + default: *558 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -74739,8 +75222,8 @@ paths: parameters: - *17 - *19 - - *446 - - *447 + - *451 + - *452 responses: '200': description: Response @@ -74804,8 +75287,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 + - *451 + - *452 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -74840,14 +75323,14 @@ paths: type: integer machines: type: array - items: &795 + items: &800 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *554 - required: *555 + properties: *559 + required: *560 examples: - default: &796 + default: &801 value: total_count: 2 machines: @@ -74887,8 +75370,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 + - *451 + - *452 - 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 +75455,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 + - *451 + - *452 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -75018,7 +75501,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75039,8 +75522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *446 - - *447 + - *451 + - *452 - *17 - *19 responses: @@ -75058,7 +75541,7 @@ paths: type: integer secrets: type: array - items: &559 + items: &564 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -75078,7 +75561,7 @@ paths: - created_at - updated_at examples: - default: *556 + default: *561 headers: Link: *43 x-github: @@ -75101,16 +75584,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 + - *451 + - *452 responses: '200': description: Response content: application/json: - schema: *557 + schema: *562 examples: - default: *558 + default: *563 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -75130,17 +75613,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *451 + - *452 + - *272 responses: '200': description: Response content: application/json: - schema: *559 + schema: *564 examples: - default: *560 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75160,9 +75643,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *451 + - *452 + - *272 requestBody: required: true content: @@ -75190,7 +75673,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -75214,9 +75697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *451 + - *452 + - *272 responses: '204': description: Response @@ -75244,8 +75727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *446 - - *447 + - *451 + - *452 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -75287,7 +75770,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &561 + properties: &566 login: type: string example: octocat @@ -75380,7 +75863,7 @@ paths: user_view_type: type: string example: public - required: &562 + required: &567 - avatar_url - events_url - followers_url @@ -75454,9 +75937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *446 - - *447 - - *182 + - *451 + - *452 + - *187 responses: '204': description: Response if user is a collaborator @@ -75502,9 +75985,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *446 - - *447 - - *182 + - *451 + - *452 + - *187 requestBody: required: false content: @@ -75530,7 +76013,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &637 + schema: &642 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -75541,7 +76024,7 @@ paths: example: 42 type: integer format: int64 - repository: *255 + repository: *262 invitee: title: Simple User description: A GitHub user. @@ -75719,7 +76202,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *232 + schema: *239 '403': *29 x-github: triggersNotification: true @@ -75759,9 +76242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *446 - - *447 - - *182 + - *451 + - *452 + - *187 responses: '204': description: No Content when collaborator was removed from the repository. @@ -75792,9 +76275,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *446 - - *447 - - *182 + - *451 + - *452 + - *187 responses: '200': description: if user has admin permissions @@ -75814,8 +76297,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *561 - required: *562 + properties: *566 + required: *567 nullable: true required: - permission @@ -75870,8 +76353,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 + - *451 + - *452 - *17 - *19 responses: @@ -75881,7 +76364,7 @@ paths: application/json: schema: type: array - items: &563 + items: &568 title: Commit Comment description: Commit Comment type: object @@ -75922,8 +76405,8 @@ paths: updated_at: type: string format: date-time - author_association: *190 - reactions: *191 + author_association: *196 + reactions: *197 required: - url - html_url @@ -75939,7 +76422,7 @@ paths: - created_at - updated_at examples: - default: &566 + default: &571 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 +76481,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *446 - - *447 - - *205 + - *451 + - *452 + - *211 responses: '200': description: Response content: application/json: - schema: *563 + schema: *568 examples: - default: &567 + default: &572 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76065,9 +76548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *446 - - *447 - - *205 + - *451 + - *452 + - *211 requestBody: required: true content: @@ -76089,7 +76572,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *568 examples: default: value: @@ -76140,9 +76623,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *446 - - *447 - - *205 + - *451 + - *452 + - *211 responses: '204': description: Response @@ -76163,9 +76646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *446 - - *447 - - *205 + - *451 + - *452 + - *211 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -76191,9 +76674,9 @@ paths: application/json: schema: type: array - items: *435 + items: *440 examples: - default: *437 + default: *442 headers: Link: *43 '404': *6 @@ -76214,9 +76697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *446 - - *447 - - *205 + - *451 + - *452 + - *211 requestBody: required: true content: @@ -76248,16 +76731,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *440 examples: - default: *436 + default: *441 '201': description: Reaction created content: application/json: - schema: *435 + schema: *440 examples: - default: *436 + default: *441 '422': *15 x-github: githubCloudOnly: false @@ -76279,10 +76762,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *446 - - *447 - - *205 - - *438 + - *451 + - *452 + - *211 + - *443 responses: '204': description: Response @@ -76331,8 +76814,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *446 - - *447 + - *451 + - *452 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -76388,9 +76871,9 @@ paths: application/json: schema: type: array - items: *564 + items: *569 examples: - default: &686 + default: &691 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -76484,9 +76967,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 + - *451 + - *452 + - &570 name: commit_sha description: The SHA of the commit. in: path @@ -76558,9 +77041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *446 - - *447 - - *565 + - *451 + - *452 + - *570 - *17 - *19 responses: @@ -76570,9 +77053,9 @@ paths: application/json: schema: type: array - items: *563 + items: *568 examples: - default: *566 + default: *571 headers: Link: *43 x-github: @@ -76600,9 +77083,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 + - *451 + - *452 + - *570 requestBody: required: true content: @@ -76637,9 +77120,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *568 examples: - default: *567 + default: *572 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76667,9 +77150,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 + - *451 + - *452 + - *570 - *17 - *19 responses: @@ -76679,9 +77162,9 @@ paths: application/json: schema: type: array - items: *568 + items: *573 examples: - default: &678 + default: &683 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -77218,11 +77701,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *446 - - *447 + - *451 + - *452 - *19 - *17 - - &569 + - &574 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 +77720,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *569 examples: - default: &665 + default: &670 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -77326,7 +77809,7 @@ paths: '422': *15 '404': *6 '500': *40 - '503': *167 + '503': *172 '409': *109 x-github: githubCloudOnly: false @@ -77352,11 +77835,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *446 - - *447 - - *569 - - *570 - - *571 + - *451 + - *452 + - *574 + - *575 + - *576 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -77390,9 +77873,9 @@ paths: type: integer check_runs: type: array - items: *516 + items: *521 examples: - default: *572 + default: *577 headers: Link: *43 x-github: @@ -77417,9 +77900,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 + - *451 + - *452 + - *574 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -77427,7 +77910,7 @@ paths: schema: type: integer example: 1 - - *570 + - *575 - *17 - *19 responses: @@ -77445,7 +77928,7 @@ paths: type: integer check_suites: type: array - items: *521 + items: *526 examples: default: value: @@ -77645,9 +78128,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 + - *451 + - *452 + - *574 - *17 - *19 responses: @@ -77714,7 +78197,7 @@ paths: type: string total_count: type: integer - repository: *255 + repository: *262 commit_url: type: string format: uri @@ -77845,9 +78328,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 + - *451 + - *452 + - *574 - *17 - *19 responses: @@ -77857,7 +78340,7 @@ paths: application/json: schema: type: array - items: &740 + items: &745 title: Status description: The status of a commit. type: object @@ -77938,7 +78421,7 @@ paths: site_admin: false headers: Link: *43 - '301': *460 + '301': *465 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77966,8 +78449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *446 - - *447 + - *451 + - *452 responses: '200': description: Response @@ -77996,20 +78479,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *573 - required: *574 + properties: *578 + required: *579 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &575 + properties: &580 url: type: string format: uri html_url: type: string format: uri - required: &576 + required: &581 - url - html_url nullable: true @@ -78017,32 +78500,32 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *198 + required: *199 nullable: true contributing: title: Community Health File type: object - properties: *575 - required: *576 + properties: *580 + required: *581 nullable: true readme: title: Community Health File type: object - properties: *575 - required: *576 + properties: *580 + required: *581 nullable: true issue_template: title: Community Health File type: object - properties: *575 - required: *576 + properties: *580 + required: *581 nullable: true pull_request_template: title: Community Health File type: object - properties: *575 - required: *576 + properties: *580 + required: *581 nullable: true required: - code_of_conduct @@ -78169,8 +78652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *446 - - *447 + - *451 + - *452 - *19 - *17 - name: basehead @@ -78213,8 +78696,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: *569 + merge_base_commit: *569 status: type: string enum: @@ -78234,10 +78717,10 @@ paths: example: 6 commits: type: array - items: *564 + items: *569 files: type: array - items: *577 + items: *582 required: - url - html_url @@ -78481,7 +78964,7 @@ paths: module Test" '404': *6 '500': *40 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78523,8 +79006,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *446 - - *447 + - *451 + - *452 - name: path description: path parameter in: path @@ -78667,7 +79150,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &578 + response-if-content-is-a-file: &583 summary: Response if content is a file value: type: file @@ -78799,7 +79282,7 @@ paths: - size - type - url - - &691 + - &696 title: Content File description: Content File type: object @@ -79000,7 +79483,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *578 + response-if-content-is-a-file: *583 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -79069,7 +79552,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *579 + '302': *584 '304': *37 x-github: githubCloudOnly: false @@ -79092,8 +79575,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 + - *451 + - *452 - name: path description: path parameter in: path @@ -79186,7 +79669,7 @@ paths: description: Response content: application/json: - schema: &580 + schema: &585 title: File Commit description: File Commit type: object @@ -79338,7 +79821,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *585 examples: example-for-creating-a-file: value: @@ -79392,7 +79875,7 @@ paths: schema: oneOf: - *3 - - &619 + - &624 description: Repository rule violation was detected type: object properties: @@ -79413,7 +79896,7 @@ paths: items: type: object properties: - placeholder_id: &732 + placeholder_id: &737 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -79445,8 +79928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *446 - - *447 + - *451 + - *452 - name: path description: path parameter in: path @@ -79507,7 +79990,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *585 examples: default: value: @@ -79542,7 +80025,7 @@ paths: '422': *15 '404': *6 '409': *109 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79562,8 +80045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *446 - - *447 + - *451 + - *452 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -79686,31 +80169,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *446 - - *447 - - *303 - - *304 - - *305 - - *306 + - *451 + - *452 + - *310 + - *311 + - *312 + - *313 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *307 - - *581 - - *308 - - *309 + - *314 + - *586 + - *315 + - *316 - *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 +80196,6 @@ paths: default: 30 - *99 - *100 - - *310 - - *311 responses: '200': description: Response @@ -79730,11 +80203,11 @@ paths: application/json: schema: type: array - items: &584 + items: &589 type: object description: A Dependabot alert. properties: - number: *113 + number: *118 state: type: string description: The state of the Dependabot alert. @@ -79749,7 +80222,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *114 + package: *119 manifest_path: type: string description: The full path to the dependency manifest file, @@ -79776,13 +80249,13 @@ paths: - unknown - direct - transitive - security_advisory: *582 - security_vulnerability: *117 - url: *118 - html_url: *119 - created_at: *120 - updated_at: *121 - dismissed_at: *122 + security_advisory: *587 + security_vulnerability: *122 + url: *123 + html_url: *124 + created_at: *125 + updated_at: *126 + dismissed_at: *127 dismissed_by: title: Simple User description: A GitHub user. @@ -79806,8 +80279,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *123 - auto_dismissed_at: *583 + fixed_at: *128 + auto_dismissed_at: *588 required: - number - state @@ -80037,9 +80510,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 + - *451 + - *452 + - &590 name: alert_number in: path description: |- @@ -80048,13 +80521,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *113 + schema: *118 responses: '200': description: Response content: application/json: - schema: *584 + schema: *589 examples: default: value: @@ -80167,9 +80640,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 + - *451 + - *452 + - *590 requestBody: required: true content: @@ -80214,7 +80687,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *589 examples: default: value: @@ -80343,8 +80816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *446 - - *447 + - *451 + - *452 - *17 - *19 responses: @@ -80362,7 +80835,7 @@ paths: type: integer secrets: type: array - items: &588 + items: &593 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -80415,16 +80888,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 + - *451 + - *452 responses: '200': description: Response content: application/json: - schema: *586 + schema: *591 examples: - default: *587 + default: *592 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80444,15 +80917,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *451 + - *452 + - *272 responses: '200': description: Response content: application/json: - schema: *588 + schema: *593 examples: default: value: @@ -80478,9 +80951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *451 + - *452 + - *272 requestBody: required: true content: @@ -80508,7 +80981,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -80532,9 +81005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *451 + - *452 + - *272 responses: '204': description: Response @@ -80556,8 +81029,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 + - *451 + - *452 - 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 +81190,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 + - *451 + - *452 responses: '200': description: Response @@ -80957,8 +81430,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 + - *451 + - *452 requestBody: required: true content: @@ -81033,7 +81506,7 @@ paths: - version - url additionalProperties: false - metadata: &589 + metadata: &594 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -81066,7 +81539,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *589 + metadata: *594 resolved: type: object description: A collection of resolved package dependencies. @@ -81079,7 +81552,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *589 + metadata: *594 relationship: type: string description: A notation of whether a dependency is requested @@ -81208,8 +81681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *446 - - *447 + - *451 + - *452 - name: sha description: The SHA recorded at creation time. in: query @@ -81249,9 +81722,9 @@ paths: application/json: schema: type: array - items: *590 + items: *595 examples: - default: *591 + default: *596 headers: Link: *43 x-github: @@ -81317,8 +81790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: true content: @@ -81399,7 +81872,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *595 examples: simple-example: summary: Simple example @@ -81472,9 +81945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *446 - - *447 - - &592 + - *451 + - *452 + - &597 name: deployment_id description: deployment_id parameter in: path @@ -81486,7 +81959,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *595 examples: default: value: @@ -81551,9 +82024,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *446 - - *447 - - *592 + - *451 + - *452 + - *597 responses: '204': description: Response @@ -81575,9 +82048,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *446 - - *447 - - *592 + - *451 + - *452 + - *597 - *17 - *19 responses: @@ -81587,7 +82060,7 @@ paths: application/json: schema: type: array - items: &593 + items: &598 title: Deployment Status description: The status of a deployment. type: object @@ -81678,8 +82151,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 required: - id - node_id @@ -81748,9 +82221,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 + - *451 + - *452 + - *597 requestBody: required: true content: @@ -81825,9 +82298,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *598 examples: - default: &594 + default: &599 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -81883,9 +82356,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 + - *451 + - *452 + - *597 - name: status_id in: path required: true @@ -81896,9 +82369,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *598 examples: - default: *594 + default: *599 '404': *6 x-github: githubCloudOnly: false @@ -81925,12 +82398,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 - - *595 - - *596 - - *597 - - *598 + - *451 + - *452 + - *600 + - *601 + - *602 + - *603 - *17 - *19 responses: @@ -81940,9 +82413,9 @@ paths: application/json: schema: type: array - items: *599 + items: *604 examples: - default: *600 + default: *605 '404': *6 '403': *29 '500': *40 @@ -81966,8 +82439,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *451 + - *452 - name: alert_number in: path required: true @@ -81979,7 +82452,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *599 + schema: *604 examples: default: value: @@ -82035,8 +82508,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *451 + - *452 - name: alert_number in: path required: true @@ -82095,12 +82568,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *451 + - *452 - *94 - *95 - *96 - - *601 + - *606 - *17 - *19 responses: @@ -82110,9 +82583,9 @@ paths: application/json: schema: type: array - items: *602 + items: *607 examples: - default: *603 + default: *608 '404': *6 '403': *29 '500': *40 @@ -82137,8 +82610,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *451 + - *452 - name: alert_number in: path required: true @@ -82150,7 +82623,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *602 + schema: *607 examples: default: value: @@ -82208,8 +82681,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *451 + - *452 - name: alert_number in: path required: true @@ -82278,8 +82751,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 + - *451 + - *452 requestBody: required: true content: @@ -82336,8 +82809,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *446 - - *447 + - *451 + - *452 - *17 - *19 responses: @@ -82354,7 +82827,7 @@ paths: type: integer environments: type: array - items: &605 + items: &610 title: Environment description: Details of a deployment environment type: object @@ -82406,7 +82879,7 @@ paths: type: type: string example: wait_timer - wait_timer: &607 + wait_timer: &612 type: integer example: 30 description: The amount of time to delay a job after @@ -82443,11 +82916,11 @@ paths: items: type: object properties: - type: *604 + type: *609 reviewer: anyOf: - *4 - - *282 + - *289 required: - id - node_id @@ -82467,7 +82940,7 @@ paths: - id - node_id - type - deployment_branch_policy: &608 + deployment_branch_policy: &613 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -82583,9 +83056,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *446 - - *447 - - &606 + - *451 + - *452 + - &611 name: environment_name in: path required: true @@ -82598,9 +83071,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *610 examples: - default: &609 + default: &614 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -82684,9 +83157,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 + - *451 + - *452 + - *611 requestBody: required: false content: @@ -82695,7 +83168,7 @@ paths: type: object nullable: true properties: - wait_timer: *607 + wait_timer: *612 prevent_self_review: type: boolean example: false @@ -82712,13 +83185,13 @@ paths: items: type: object properties: - type: *604 + type: *609 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: *613 additionalProperties: false examples: default: @@ -82738,9 +83211,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *610 examples: - default: *609 + default: *614 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -82764,9 +83237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *446 - - *447 - - *606 + - *451 + - *452 + - *611 responses: '204': description: Default response @@ -82791,9 +83264,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 + - *451 + - *452 + - *611 - *17 - *19 responses: @@ -82811,7 +83284,7 @@ paths: example: 2 branch_policies: type: array - items: &610 + items: &615 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -82868,9 +83341,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 + - *451 + - *452 + - *611 requestBody: required: true content: @@ -82916,9 +83389,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *615 examples: - example-wildcard: &611 + example-wildcard: &616 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -82960,10 +83433,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 + - *451 + - *452 + - *611 + - &617 name: branch_policy_id in: path required: true @@ -82975,9 +83448,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *615 examples: - default: *611 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82996,10 +83469,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 + - *451 + - *452 + - *611 + - *617 requestBody: required: true content: @@ -83027,9 +83500,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *615 examples: - default: *611 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83048,10 +83521,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 + - *451 + - *452 + - *611 + - *617 responses: '204': description: Response @@ -83076,9 +83549,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 + - *611 + - *452 + - *451 responses: '200': description: List of deployment protection rules @@ -83094,7 +83567,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &613 + items: &618 title: Deployment protection rule description: Deployment protection rule type: object @@ -83113,7 +83586,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &614 + app: &619 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -83212,9 +83685,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 + - *611 + - *452 + - *451 requestBody: content: application/json: @@ -83235,9 +83708,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *613 + schema: *618 examples: - default: &615 + default: &620 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -83272,9 +83745,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 + - *611 + - *452 + - *451 - *19 - *17 responses: @@ -83293,7 +83766,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *614 + items: *619 examples: default: value: @@ -83328,10 +83801,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 + - *451 + - *452 + - *611 + - &621 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -83343,9 +83816,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *618 examples: - default: *615 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83366,10 +83839,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 + - *611 + - *452 + - *451 + - *621 responses: '204': description: Response @@ -83395,9 +83868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *446 - - *447 - - *606 + - *451 + - *452 + - *611 - *17 - *19 responses: @@ -83415,9 +83888,9 @@ paths: type: integer secrets: type: array - items: *483 + items: *488 examples: - default: *484 + default: *489 headers: Link: *43 x-github: @@ -83442,17 +83915,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 + - *451 + - *452 + - *611 responses: '200': description: Response content: application/json: - schema: *485 + schema: *490 examples: - default: *486 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83474,18 +83947,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *446 - - *447 - - *606 - - *265 + - *451 + - *452 + - *611 + - *272 responses: '200': description: Response content: application/json: - schema: *483 + schema: *488 examples: - default: *617 + default: *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83507,10 +83980,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *446 - - *447 - - *606 - - *265 + - *451 + - *452 + - *611 + - *272 requestBody: required: true content: @@ -83541,7 +84014,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -83567,10 +84040,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *446 - - *447 - - *606 - - *265 + - *451 + - *452 + - *611 + - *272 responses: '204': description: Default response @@ -83595,10 +84068,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 + - *451 + - *452 + - *611 + - *475 - *19 responses: '200': @@ -83615,9 +84088,9 @@ paths: type: integer variables: type: array - items: *487 + items: *492 examples: - default: *488 + default: *493 headers: Link: *43 x-github: @@ -83640,9 +84113,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 + - *451 + - *452 + - *611 requestBody: required: true content: @@ -83669,7 +84142,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -83694,18 +84167,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *446 - - *447 - - *606 - - *268 + - *451 + - *452 + - *611 + - *275 responses: '200': description: Response content: application/json: - schema: *487 + schema: *492 examples: - default: *618 + default: *623 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83726,10 +84199,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *446 - - *447 - - *268 - - *606 + - *451 + - *452 + - *275 + - *611 requestBody: required: true content: @@ -83771,10 +84244,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *446 - - *447 - - *268 - - *606 + - *451 + - *452 + - *275 + - *611 responses: '204': description: Response @@ -83796,8 +84269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *446 - - *447 + - *451 + - *452 - *17 - *19 responses: @@ -83807,7 +84280,7 @@ paths: application/json: schema: type: array - items: *215 + items: *221 examples: 200-response: value: @@ -83865,8 +84338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *446 - - *447 + - *451 + - *452 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -83888,7 +84361,7 @@ paths: application/json: schema: type: array - items: *255 + items: *262 examples: default: value: @@ -84025,8 +84498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: false content: @@ -84058,9 +84531,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *464 examples: - default: *461 + default: *466 '400': *14 '422': *15 '403': *29 @@ -84081,8 +84554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: true content: @@ -84141,8 +84614,8 @@ paths: application/json: schema: oneOf: - - *232 - - *619 + - *239 + - *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84167,8 +84640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *446 - - *447 + - *451 + - *452 - name: file_sha in: path required: true @@ -84267,8 +84740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: true content: @@ -84377,7 +84850,7 @@ paths: description: Response content: application/json: - schema: &620 + schema: &625 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -84591,15 +85064,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 + - *451 + - *452 + - *570 responses: '200': description: Response content: application/json: - schema: *620 + schema: *625 examples: default: value: @@ -84655,9 +85128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *446 - - *447 - - &621 + - *451 + - *452 + - &626 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 +85147,7 @@ paths: application/json: schema: type: array - items: &622 + items: &627 title: Git Reference description: Git references within a repository type: object @@ -84749,17 +85222,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *446 - - *447 - - *621 + - *451 + - *452 + - *626 responses: '200': description: Response content: application/json: - schema: *622 + schema: *627 examples: - default: &623 + default: &628 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -84788,8 +85261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: true content: @@ -84818,9 +85291,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *627 examples: - default: *623 + default: *628 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -84846,9 +85319,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *446 - - *447 - - *621 + - *451 + - *452 + - *626 requestBody: required: true content: @@ -84877,9 +85350,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *627 examples: - default: *623 + default: *628 '422': *15 '409': *109 x-github: @@ -84897,9 +85370,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *446 - - *447 - - *621 + - *451 + - *452 + - *626 responses: '204': description: Response @@ -84954,8 +85427,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: true content: @@ -85022,7 +85495,7 @@ paths: description: Response content: application/json: - schema: &625 + schema: &630 title: Git Tag description: Metadata for a Git tag type: object @@ -85073,7 +85546,7 @@ paths: - sha - type - url - verification: *624 + verification: *629 required: - sha - url @@ -85083,7 +85556,7 @@ paths: - tag - message examples: - default: &626 + default: &631 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -85156,8 +85629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *446 - - *447 + - *451 + - *452 - name: tag_sha in: path required: true @@ -85168,9 +85641,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *630 examples: - default: *626 + default: *631 '404': *6 '409': *109 x-github: @@ -85194,8 +85667,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: true content: @@ -85268,7 +85741,7 @@ paths: description: Response content: application/json: - schema: &627 + schema: &632 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -85364,8 +85837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *446 - - *447 + - *451 + - *452 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -85388,7 +85861,7 @@ paths: description: Response content: application/json: - schema: *627 + schema: *632 examples: default-response: summary: Default response @@ -85447,8 +85920,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *446 - - *447 + - *451 + - *452 - *17 - *19 responses: @@ -85458,7 +85931,7 @@ paths: application/json: schema: type: array - items: &628 + items: &633 title: Webhook description: Webhooks for repositories. type: object @@ -85512,7 +85985,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &877 + last_response: &881 title: Hook Response type: object properties: @@ -85586,8 +86059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: false content: @@ -85639,9 +86112,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *633 examples: - default: &629 + default: &634 value: type: Repository id: 12345678 @@ -85689,17 +86162,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 + - *451 + - *452 + - *324 responses: '200': description: Response content: application/json: - schema: *628 + schema: *633 examples: - default: *629 + default: *634 '404': *6 x-github: githubCloudOnly: false @@ -85719,9 +86192,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 + - *451 + - *452 + - *324 requestBody: required: true content: @@ -85766,9 +86239,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *633 examples: - default: *629 + default: *634 '422': *15 '404': *6 x-github: @@ -85789,9 +86262,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 + - *451 + - *452 + - *324 responses: '204': description: Response @@ -85815,9 +86288,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 + - *451 + - *452 + - *324 responses: '200': description: Response @@ -85844,9 +86317,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 + - *451 + - *452 + - *324 requestBody: required: false content: @@ -85890,11 +86363,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 + - *451 + - *452 + - *324 - *17 - - *320 + - *325 responses: '200': description: Response @@ -85902,9 +86375,9 @@ paths: application/json: schema: type: array - items: *321 + items: *326 examples: - default: *322 + default: *327 '400': *14 '422': *15 x-github: @@ -85923,18 +86396,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 + - *451 + - *452 + - *324 - *16 responses: '200': description: Response content: application/json: - schema: *323 + schema: *328 examples: - default: *324 + default: *329 '400': *14 '422': *15 x-github: @@ -85953,9 +86426,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 + - *451 + - *452 + - *324 - *16 responses: '202': *39 @@ -85978,9 +86451,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 + - *451 + - *452 + - *324 responses: '204': description: Response @@ -86005,9 +86478,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 + - *451 + - *452 + - *324 responses: '204': description: Response @@ -86030,8 +86503,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 + - *451 + - *452 responses: '200': description: Response if immutable releases are enabled @@ -86077,10 +86550,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *446 - - *447 + - *451 + - *452 responses: - '204': *133 + '204': *138 '409': *109 x-github: githubCloudOnly: false @@ -86098,10 +86571,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *446 - - *447 + - *451 + - *452 responses: - '204': *133 + '204': *138 '409': *109 x-github: githubCloudOnly: false @@ -86156,14 +86629,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 + - *451 + - *452 responses: '200': description: Response content: application/json: - schema: &630 + schema: &635 title: Import description: A repository import from an external source. type: object @@ -86262,7 +86735,7 @@ paths: - html_url - authors_url examples: - default: &633 + default: &638 value: vcs: subversion use_lfs: true @@ -86278,7 +86751,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': &636 description: Unavailable due to service under maintenance. content: application/json: @@ -86307,8 +86780,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: true content: @@ -86356,7 +86829,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *635 examples: default: value: @@ -86381,7 +86854,7 @@ paths: type: string '422': *15 '404': *6 - '503': *631 + '503': *636 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86409,8 +86882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: false content: @@ -86459,7 +86932,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *635 examples: example-1: summary: Example 1 @@ -86507,7 +86980,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': *636 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86530,12 +87003,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *446 - - *447 + - *451 + - *452 responses: '204': description: Response - '503': *631 + '503': *636 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86561,9 +87034,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 + - *451 + - *452 + - &822 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -86577,7 +87050,7 @@ paths: application/json: schema: type: array - items: &632 + items: &637 title: Porter Author description: Porter Author type: object @@ -86631,7 +87104,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': *636 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86656,8 +87129,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 + - *451 + - *452 - name: author_id in: path required: true @@ -86687,7 +87160,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *637 examples: default: value: @@ -86700,7 +87173,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *631 + '503': *636 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86724,8 +87197,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *446 - - *447 + - *451 + - *452 responses: '200': description: Response @@ -86766,7 +87239,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *631 + '503': *636 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86794,8 +87267,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 + - *451 + - *452 requestBody: required: true content: @@ -86822,11 +87295,11 @@ paths: description: Response content: application/json: - schema: *630 + schema: *635 examples: - default: *633 + default: *638 '422': *15 - '503': *631 + '503': *636 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86849,8 +87322,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 + - *451 + - *452 responses: '200': description: Response @@ -86858,8 +87331,8 @@ paths: application/json: schema: *22 examples: - default: *634 - '301': *460 + default: *639 + '301': *465 '404': *6 x-github: githubCloudOnly: false @@ -86879,8 +87352,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 + - *451 + - *452 responses: '200': description: Response @@ -86888,12 +87361,12 @@ paths: application/json: schema: anyOf: - - *337 + - *342 - type: object properties: {} additionalProperties: false examples: - default: &636 + default: &641 value: limit: collaborators_only origin: repository @@ -86918,13 +87391,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 + - *451 + - *452 requestBody: required: true content: application/json: - schema: *635 + schema: *640 examples: default: summary: Example request body @@ -86936,9 +87409,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *342 examples: - default: *636 + default: *641 '409': description: Response x-github: @@ -86960,8 +87433,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 + - *451 + - *452 responses: '204': description: Response @@ -86984,8 +87457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *446 - - *447 + - *451 + - *452 - *17 - *19 responses: @@ -86995,9 +87468,9 @@ paths: application/json: schema: type: array - items: *637 + items: *642 examples: - default: &811 + default: &815 value: - id: 1 repository: @@ -87128,9 +87601,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 + - *451 + - *452 + - *346 requestBody: required: false content: @@ -87159,7 +87632,7 @@ paths: description: Response content: application/json: - schema: *637 + schema: *642 examples: default: value: @@ -87290,9 +87763,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 + - *451 + - *452 + - *346 responses: '204': description: Response @@ -87323,8 +87796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *446 - - *447 + - *451 + - *452 - 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 +87845,7 @@ paths: required: false schema: type: string - - *345 + - *350 - name: sort description: What to sort results by. in: query @@ -87385,7 +87858,7 @@ paths: - comments default: created - *101 - - *196 + - *202 - *17 - *19 responses: @@ -87395,9 +87868,9 @@ paths: application/json: schema: type: array - items: *189 + items: *195 examples: - default: &646 + default: &651 value: - id: 1 node_id: MDU6SXNzdWUx @@ -87545,7 +88018,7 @@ paths: state_reason: completed headers: Link: *43 - '301': *460 + '301': *465 '422': *15 '404': *6 x-github: @@ -87574,8 +88047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: true content: @@ -87657,9 +88130,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: &643 + default: &648 value: id: 1 node_id: MDU6SXNzdWUx @@ -87813,9 +88286,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *167 + '503': *172 '404': *6 - '410': *457 + '410': *462 x-github: triggersNotification: true githubCloudOnly: false @@ -87843,9 +88316,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *446 - - *447 - - *213 + - *451 + - *452 + - *219 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -87855,7 +88328,7 @@ paths: enum: - asc - desc - - *196 + - *202 - *17 - *19 responses: @@ -87865,9 +88338,9 @@ paths: application/json: schema: type: array - items: *638 + items: *643 examples: - default: &645 + default: &650 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -87925,17 +88398,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *446 - - *447 - - *205 + - *451 + - *452 + - *211 responses: '200': description: Response content: application/json: - schema: *638 + schema: *643 examples: - default: &639 + default: &644 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -87989,9 +88462,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *446 - - *447 - - *205 + - *451 + - *452 + - *211 requestBody: required: true content: @@ -88013,9 +88486,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *643 examples: - default: *639 + default: *644 '422': *15 x-github: githubCloudOnly: false @@ -88033,9 +88506,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *446 - - *447 - - *205 + - *451 + - *452 + - *211 responses: '204': description: Response @@ -88055,9 +88528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *446 - - *447 - - *205 + - *451 + - *452 + - *211 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -88083,9 +88556,9 @@ paths: application/json: schema: type: array - items: *435 + items: *440 examples: - default: *437 + default: *442 headers: Link: *43 '404': *6 @@ -88106,9 +88579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *446 - - *447 - - *205 + - *451 + - *452 + - *211 requestBody: required: true content: @@ -88140,16 +88613,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *440 examples: - default: *436 + default: *441 '201': description: Reaction created content: application/json: - schema: *435 + schema: *440 examples: - default: *436 + default: *441 '422': *15 x-github: githubCloudOnly: false @@ -88171,10 +88644,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *446 - - *447 - - *205 - - *438 + - *451 + - *452 + - *211 + - *443 responses: '204': description: Response @@ -88194,8 +88667,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 + - *451 + - *452 - *17 - *19 responses: @@ -88205,7 +88678,7 @@ paths: application/json: schema: type: array - items: &642 + items: &647 title: Issue Event description: Issue Event type: object @@ -88248,8 +88721,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: *645 + required: *646 nullable: true label: title: Issue Event Label @@ -88293,7 +88766,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *282 + requested_team: *289 dismissed_review: title: Issue Event Dismissed Review type: object @@ -88358,7 +88831,7 @@ paths: required: - from - to - author_association: *190 + author_association: *196 lock_reason: type: string nullable: true @@ -88371,8 +88844,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 required: - id - node_id @@ -88556,8 +89029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *446 - - *447 + - *451 + - *452 - name: event_id in: path required: true @@ -88568,7 +89041,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *647 examples: default: value: @@ -88761,7 +89234,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *457 + '410': *462 '403': *29 x-github: githubCloudOnly: false @@ -88795,9 +89268,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *446 - - *447 - - &644 + - *451 + - *452 + - &649 name: issue_number description: The number that identifies the issue. in: path @@ -88809,12 +89282,12 @@ paths: description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *643 - '301': *460 + default: *648 + '301': *465 '404': *6 - '410': *457 + '410': *462 '304': *37 x-github: githubCloudOnly: false @@ -88839,9 +89312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *446 - - *447 - - *644 + - *451 + - *452 + - *649 requestBody: required: false content: @@ -88945,15 +89418,15 @@ paths: description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *643 + default: *648 '422': *15 - '503': *167 + '503': *172 '403': *29 - '301': *460 + '301': *465 '404': *6 - '410': *457 + '410': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88971,9 +89444,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 + - *451 + - *452 + - *649 requestBody: required: false content: @@ -88999,9 +89472,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *643 + default: *648 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89017,9 +89490,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 + - *451 + - *452 + - *649 requestBody: content: application/json: @@ -89044,9 +89517,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *643 + default: *648 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89068,9 +89541,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 + - *451 + - *452 + - *649 - name: assignee in: path required: true @@ -89110,10 +89583,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *446 - - *447 - - *644 - - *196 + - *451 + - *452 + - *649 + - *202 - *17 - *19 responses: @@ -89123,13 +89596,13 @@ paths: application/json: schema: type: array - items: *638 + items: *643 examples: - default: *645 + default: *650 headers: Link: *43 '404': *6 - '410': *457 + '410': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89158,9 +89631,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 + - *451 + - *452 + - *649 requestBody: required: true content: @@ -89182,16 +89655,16 @@ paths: description: Response content: application/json: - schema: *638 + schema: *643 examples: - default: *639 + default: *644 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *457 + '410': *462 '422': *15 '404': *6 x-github: @@ -89219,9 +89692,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 + - *451 + - *452 + - *649 - *17 - *19 responses: @@ -89231,14 +89704,14 @@ paths: application/json: schema: type: array - items: *189 + items: *195 examples: - default: *646 + default: *651 headers: Link: *43 - '301': *460 + '301': *465 '404': *6 - '410': *457 + '410': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89266,9 +89739,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 + - *451 + - *452 + - *649 requestBody: required: true content: @@ -89290,17 +89763,17 @@ paths: description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *643 + default: *648 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *460 + '301': *465 '403': *29 - '410': *457 + '410': *462 '422': *15 '404': *6 x-github: @@ -89331,9 +89804,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 + - *451 + - *452 + - *649 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -89345,15 +89818,15 @@ paths: description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *643 - '301': *460 + default: *648 + '301': *465 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *457 + '410': *462 x-github: triggersNotification: true githubCloudOnly: false @@ -89379,9 +89852,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 + - *451 + - *452 + - *649 - *17 - *19 responses: @@ -89391,14 +89864,14 @@ paths: application/json: schema: type: array - items: *189 + items: *195 examples: - default: *646 + default: *651 headers: Link: *43 - '301': *460 + '301': *465 '404': *6 - '410': *457 + '410': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89415,9 +89888,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *446 - - *447 - - *644 + - *451 + - *452 + - *649 - *17 - *19 responses: @@ -89431,7 +89904,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &648 + - &653 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -89462,8 +89935,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 label: type: object properties: @@ -89485,7 +89958,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &649 + - &654 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -89516,8 +89989,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 label: type: object properties: @@ -89605,8 +90078,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 assignee: *4 assigner: *4 required: @@ -89621,7 +90094,7 @@ paths: - performed_via_github_app - assignee - assigner - - &650 + - &655 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -89652,8 +90125,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 milestone: type: object properties: @@ -89672,7 +90145,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &651 + - &656 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -89703,8 +90176,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 milestone: type: object properties: @@ -89723,7 +90196,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &652 + - &657 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -89754,8 +90227,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 rename: type: object properties: @@ -89777,7 +90250,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &653 + - &658 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -89808,10 +90281,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 review_requester: *4 - requested_team: *282 + requested_team: *289 requested_reviewer: *4 required: - review_requester @@ -89824,7 +90297,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &654 + - &659 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -89855,10 +90328,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 review_requester: *4 - requested_team: *282 + requested_team: *289 requested_reviewer: *4 required: - review_requester @@ -89871,7 +90344,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &655 + - &660 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -89902,8 +90375,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 dismissed_review: type: object properties: @@ -89931,7 +90404,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &656 + - &661 title: Locked Issue Event description: Locked Issue Event type: object @@ -89962,8 +90435,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 lock_reason: type: string example: '"off-topic"' @@ -89979,7 +90452,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &657 + - &662 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -90010,8 +90483,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 project_card: type: object properties: @@ -90045,7 +90518,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &658 + - &663 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -90076,8 +90549,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 project_card: type: object properties: @@ -90111,7 +90584,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &659 + - &664 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -90142,8 +90615,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 project_card: type: object properties: @@ -90177,7 +90650,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &660 + - &665 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -90268,7 +90741,7 @@ paths: color: red headers: Link: *43 - '410': *457 + '410': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90285,9 +90758,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 + - *451 + - *452 + - *649 - *17 - *19 responses: @@ -90297,9 +90770,9 @@ paths: application/json: schema: type: array - items: *188 + items: *194 examples: - default: &647 + default: &652 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -90317,9 +90790,9 @@ paths: default: false headers: Link: *43 - '301': *460 + '301': *465 '404': *6 - '410': *457 + '410': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90336,9 +90809,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 + - *451 + - *452 + - *649 requestBody: required: false content: @@ -90397,12 +90870,12 @@ paths: application/json: schema: type: array - items: *188 + items: *194 examples: - default: *647 - '301': *460 + default: *652 + '301': *465 '404': *6 - '410': *457 + '410': *462 '422': *15 x-github: githubCloudOnly: false @@ -90419,9 +90892,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 + - *451 + - *452 + - *649 requestBody: required: false content: @@ -90481,12 +90954,12 @@ paths: application/json: schema: type: array - items: *188 + items: *194 examples: - default: *647 - '301': *460 + default: *652 + '301': *465 '404': *6 - '410': *457 + '410': *462 '422': *15 x-github: githubCloudOnly: false @@ -90503,15 +90976,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 + - *451 + - *452 + - *649 responses: '204': description: Response - '301': *460 + '301': *465 '404': *6 - '410': *457 + '410': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90530,9 +91003,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 + - *451 + - *452 + - *649 - name: name in: path required: true @@ -90545,7 +91018,7 @@ paths: application/json: schema: type: array - items: *188 + items: *194 examples: default: value: @@ -90556,9 +91029,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *460 + '301': *465 '404': *6 - '410': *457 + '410': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90578,9 +91051,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *446 - - *447 - - *644 + - *451 + - *452 + - *649 requestBody: required: false content: @@ -90608,7 +91081,7 @@ paths: '204': description: Response '403': *29 - '410': *457 + '410': *462 '404': *6 '422': *15 x-github: @@ -90626,9 +91099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *446 - - *447 - - *644 + - *451 + - *452 + - *649 responses: '204': description: Response @@ -90658,20 +91131,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *446 - - *447 - - *644 + - *451 + - *452 + - *649 responses: '200': description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *643 - '301': *460 + default: *648 + '301': *465 '404': *6 - '410': *457 + '410': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90688,9 +91161,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 + - *451 + - *452 + - *649 - 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 +91189,13 @@ paths: application/json: schema: type: array - items: *435 + items: *440 examples: - default: *437 + default: *442 headers: Link: *43 '404': *6 - '410': *457 + '410': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90740,9 +91213,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 + - *451 + - *452 + - *649 requestBody: required: true content: @@ -90774,16 +91247,16 @@ paths: description: Response content: application/json: - schema: *435 + schema: *440 examples: - default: *436 + default: *441 '201': description: Response content: application/json: - schema: *435 + schema: *440 examples: - default: *436 + default: *441 '422': *15 x-github: githubCloudOnly: false @@ -90805,10 +91278,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 + - *451 + - *452 + - *649 + - *443 responses: '204': description: Response @@ -90837,9 +91310,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 + - *451 + - *452 + - *649 requestBody: required: true content: @@ -90861,9 +91334,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *643 + default: *648 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -90896,9 +91369,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 + - *451 + - *452 + - *649 - *17 - *19 responses: @@ -90908,13 +91381,13 @@ paths: application/json: schema: type: array - items: *189 + items: *195 examples: - default: *646 + default: *651 headers: Link: *43 '404': *6 - '410': *457 + '410': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90942,9 +91415,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 + - *451 + - *452 + - *649 requestBody: required: true content: @@ -90971,16 +91444,16 @@ paths: description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *643 + default: *648 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *457 + '410': *462 '422': *15 '404': *6 x-github: @@ -91000,9 +91473,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 + - *451 + - *452 + - *649 requestBody: required: true content: @@ -91033,13 +91506,13 @@ paths: description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *643 + default: *648 '403': *29 '404': *6 '422': *7 - '503': *167 + '503': *172 x-github: triggersNotification: true githubCloudOnly: false @@ -91057,9 +91530,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 + - *451 + - *452 + - *649 - *17 - *19 responses: @@ -91074,11 +91547,6 @@ paths: description: Timeline Event type: object anyOf: - - *648 - - *649 - - *650 - - *651 - - *652 - *653 - *654 - *655 @@ -91087,6 +91555,11 @@ paths: - *658 - *659 - *660 + - *661 + - *662 + - *663 + - *664 + - *665 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -91129,7 +91602,7 @@ paths: issue_url: type: string format: uri - author_association: *190 + author_association: *196 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -91139,9 +91612,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 - reactions: *191 + properties: *192 + required: *193 + reactions: *197 required: - event - actor @@ -91172,7 +91645,7 @@ paths: properties: type: type: string - issue: *189 + issue: *195 required: - event - created_at @@ -91372,7 +91845,7 @@ paths: type: string body_text: type: string - author_association: *190 + author_association: *196 required: - event - id @@ -91395,7 +91868,7 @@ paths: type: string comments: type: array - items: &680 + items: &685 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -91484,7 +91957,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *190 + author_association: *196 _links: type: object properties: @@ -91568,7 +92041,7 @@ paths: enum: - line - file - reactions: *191 + reactions: *197 body_html: type: string example: '"

comment body

"' @@ -91604,7 +92077,7 @@ paths: type: string comments: type: array - items: *563 + items: *568 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -91635,8 +92108,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 assignee: *4 required: - id @@ -91679,8 +92152,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 assignee: *4 required: - id @@ -91723,8 +92196,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 state_reason: type: string nullable: true @@ -91893,7 +92366,7 @@ paths: headers: Link: *43 '404': *6 - '410': *457 + '410': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91910,8 +92383,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 + - *451 + - *452 - *17 - *19 responses: @@ -91921,7 +92394,7 @@ paths: application/json: schema: type: array - items: &661 + items: &666 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -91987,8 +92460,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 + - *451 + - *452 requestBody: required: true content: @@ -92024,9 +92497,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *666 examples: - default: &662 + default: &667 value: id: 1 key: ssh-rsa AAA... @@ -92060,9 +92533,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 + - *451 + - *452 + - &668 name: key_id description: The unique identifier of the key. in: path @@ -92074,9 +92547,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *666 examples: - default: *662 + default: *667 '404': *6 x-github: githubCloudOnly: false @@ -92094,9 +92567,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 + - *451 + - *452 + - *668 responses: '204': description: Response @@ -92116,8 +92589,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 + - *451 + - *452 - *17 - *19 responses: @@ -92127,9 +92600,9 @@ paths: application/json: schema: type: array - items: *188 + items: *194 examples: - default: *647 + default: *652 headers: Link: *43 '404': *6 @@ -92150,8 +92623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: true content: @@ -92187,9 +92660,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *194 examples: - default: &664 + default: &669 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92221,8 +92694,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *446 - - *447 + - *451 + - *452 - name: name in: path required: true @@ -92233,9 +92706,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *194 examples: - default: *664 + default: *669 '404': *6 x-github: githubCloudOnly: false @@ -92252,8 +92725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *446 - - *447 + - *451 + - *452 - name: name in: path required: true @@ -92292,7 +92765,7 @@ paths: description: Response content: application/json: - schema: *188 + schema: *194 examples: default: value: @@ -92318,8 +92791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *446 - - *447 + - *451 + - *452 - name: name in: path required: true @@ -92345,8 +92818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *446 - - *447 + - *451 + - *452 responses: '200': description: Response @@ -92382,8 +92855,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 + - *451 + - *452 responses: '202': *39 '403': @@ -92411,8 +92884,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 + - *451 + - *452 responses: '204': description: Response @@ -92438,9 +92911,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 + - *451 + - *452 + - *544 responses: '200': description: Response @@ -92502,8 +92975,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *198 + required: *199 nullable: true required: - _links @@ -92585,8 +93058,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 + - *451 + - *452 requestBody: required: true content: @@ -92651,8 +93124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: true content: @@ -92686,9 +93159,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *564 + schema: *569 examples: - default: *665 + default: *670 '204': description: Response when already merged '404': @@ -92713,8 +93186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *446 - - *447 + - *451 + - *452 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -92755,12 +93228,12 @@ paths: application/json: schema: type: array - items: &666 + items: &671 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *380 - required: *381 + properties: *385 + required: *386 examples: default: value: @@ -92816,8 +93289,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: true content: @@ -92857,9 +93330,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *671 examples: - default: &667 + default: &672 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 +93391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *446 - - *447 - - &668 + - *451 + - *452 + - &673 name: milestone_number description: The number that identifies the milestone. in: path @@ -92932,9 +93405,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *671 examples: - default: *667 + default: *672 '404': *6 x-github: githubCloudOnly: false @@ -92951,9 +93424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *446 - - *447 - - *668 + - *451 + - *452 + - *673 requestBody: required: false content: @@ -92991,9 +93464,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *671 examples: - default: *667 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93009,9 +93482,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *446 - - *447 - - *668 + - *451 + - *452 + - *673 responses: '204': description: Response @@ -93032,9 +93505,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 + - *451 + - *452 + - *673 - *17 - *19 responses: @@ -93044,9 +93517,9 @@ paths: application/json: schema: type: array - items: *188 + items: *194 examples: - default: *647 + default: *652 headers: Link: *43 x-github: @@ -93065,12 +93538,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *446 - - *447 - - *669 - - *670 - - *196 - - *671 + - *451 + - *452 + - *674 + - *675 + - *202 + - *676 - *17 - *19 responses: @@ -93080,9 +93553,9 @@ paths: application/json: schema: type: array - items: *216 + items: *222 examples: - default: *672 + default: *677 headers: Link: *43 x-github: @@ -93106,8 +93579,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 + - *451 + - *452 requestBody: required: false content: @@ -93165,14 +93638,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 + - *451 + - *452 responses: '200': description: Response content: application/json: - schema: &673 + schema: &678 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -93297,7 +93770,7 @@ paths: - custom_404 - public examples: - default: &674 + default: &679 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -93338,8 +93811,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 + - *451 + - *452 requestBody: required: true content: @@ -93393,9 +93866,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *678 examples: - default: *674 + default: *679 '422': *15 '409': *109 x-github: @@ -93418,8 +93891,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 + - *451 + - *452 requestBody: required: true content: @@ -93526,8 +93999,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 + - *451 + - *452 responses: '204': description: Response @@ -93553,8 +94026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *446 - - *447 + - *451 + - *452 - *17 - *19 responses: @@ -93564,7 +94037,7 @@ paths: application/json: schema: type: array - items: &675 + items: &680 title: Page Build description: Page Build type: object @@ -93658,8 +94131,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 + - *451 + - *452 responses: '201': description: Response @@ -93704,16 +94177,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *446 - - *447 + - *451 + - *452 responses: '200': description: Response content: application/json: - schema: *675 + schema: *680 examples: - default: &676 + default: &681 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -93761,8 +94234,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *446 - - *447 + - *451 + - *452 - name: build_id in: path required: true @@ -93773,9 +94246,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *680 examples: - default: *676 + default: *681 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93795,8 +94268,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 + - *451 + - *452 requestBody: required: true content: @@ -93901,9 +94374,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 + - *451 + - *452 + - &682 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -93961,11 +94434,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *446 - - *447 - - *677 + - *451 + - *452 + - *682 responses: - '204': *133 + '204': *138 '404': *6 x-github: githubCloudOnly: false @@ -93990,8 +94463,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 + - *451 + - *452 responses: '200': description: Response @@ -94222,7 +94695,7 @@ paths: description: Empty response content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -94249,8 +94722,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 + - *451 + - *452 responses: '200': description: Private vulnerability reporting status @@ -94287,10 +94760,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *446 - - *447 + - *451 + - *452 responses: - '204': *133 + '204': *138 '422': *14 x-github: githubCloudOnly: false @@ -94309,10 +94782,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *446 - - *447 + - *451 + - *452 responses: - '204': *133 + '204': *138 '422': *14 x-github: githubCloudOnly: false @@ -94333,8 +94806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *446 - - *447 + - *451 + - *452 - name: state description: Indicates the state of the projects to return. in: query @@ -94355,7 +94828,7 @@ paths: application/json: schema: type: array - items: *374 + items: *379 examples: default: value: @@ -94395,7 +94868,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *457 + '410': *462 '422': *7 x-github: githubCloudOnly: false @@ -94418,8 +94891,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 + - *451 + - *452 requestBody: required: true content: @@ -94445,13 +94918,13 @@ paths: description: Response content: application/json: - schema: *374 + schema: *379 examples: - default: *456 + default: *461 '401': *25 '403': *29 '404': *6 - '410': *457 + '410': *462 '422': *7 x-github: githubCloudOnly: false @@ -94474,8 +94947,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 + - *451 + - *452 responses: '200': description: Response @@ -94483,7 +94956,7 @@ paths: application/json: schema: type: array - items: *389 + items: *394 examples: default: value: @@ -94514,8 +94987,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 + - *451 + - *452 requestBody: required: true content: @@ -94527,7 +95000,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *389 + items: *394 required: - properties examples: @@ -94577,8 +95050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *446 - - *447 + - *451 + - *452 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -94638,9 +95111,9 @@ paths: application/json: schema: type: array - items: *568 + items: *573 examples: - default: *678 + default: *683 headers: Link: *43 '304': *37 @@ -94672,8 +95145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: true content: @@ -94738,7 +95211,7 @@ paths: description: Response content: application/json: - schema: &682 + schema: &687 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -94849,8 +95322,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *380 - required: *381 + properties: *385 + required: *386 nullable: true active_lock_reason: type: string @@ -94895,7 +95368,7 @@ paths: nullable: true requested_teams: type: array - items: *413 + items: *418 nullable: true head: type: object @@ -94934,14 +95407,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: *387 + commits: *387 + statuses: *387 + html: *387 + issue: *387 + review_comments: *387 + review_comment: *387 + self: *387 required: - comments - commits @@ -94951,8 +95424,8 @@ paths: - review_comments - review_comment - self - author_association: *190 - auto_merge: *679 + author_association: *196 + auto_merge: *684 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -95044,7 +95517,7 @@ paths: - merged_by - review_comments examples: - default: &683 + default: &688 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -95571,8 +96044,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 + - *451 + - *452 - name: sort in: query required: false @@ -95591,7 +96064,7 @@ paths: enum: - asc - desc - - *196 + - *202 - *17 - *19 responses: @@ -95601,9 +96074,9 @@ paths: application/json: schema: type: array - items: *680 + items: *685 examples: - default: &685 + default: &690 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -95680,17 +96153,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *446 - - *447 - - *205 + - *451 + - *452 + - *211 responses: '200': description: Response content: application/json: - schema: *680 + schema: *685 examples: - default: &681 + default: &686 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -95765,9 +96238,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *446 - - *447 - - *205 + - *451 + - *452 + - *211 requestBody: required: true content: @@ -95789,9 +96262,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *685 examples: - default: *681 + default: *686 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95807,9 +96280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *446 - - *447 - - *205 + - *451 + - *452 + - *211 responses: '204': description: Response @@ -95830,9 +96303,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *446 - - *447 - - *205 + - *451 + - *452 + - *211 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -95858,9 +96331,9 @@ paths: application/json: schema: type: array - items: *435 + items: *440 examples: - default: *437 + default: *442 headers: Link: *43 '404': *6 @@ -95881,9 +96354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *446 - - *447 - - *205 + - *451 + - *452 + - *211 requestBody: required: true content: @@ -95915,16 +96388,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *440 examples: - default: *436 + default: *441 '201': description: Reaction created content: application/json: - schema: *435 + schema: *440 examples: - default: *436 + default: *441 '422': *15 x-github: githubCloudOnly: false @@ -95946,10 +96419,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *446 - - *447 - - *205 - - *438 + - *451 + - *452 + - *211 + - *443 responses: '204': description: Response @@ -95992,9 +96465,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 + - *451 + - *452 + - &689 name: pull_number description: The number that identifies the pull request. in: path @@ -96007,9 +96480,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *682 + schema: *687 examples: - default: *683 + default: *688 '304': *37 '404': *6 '406': @@ -96018,7 +96491,7 @@ paths: application/json: schema: *3 '500': *40 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96044,9 +96517,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 + - *451 + - *452 + - *689 requestBody: required: false content: @@ -96088,9 +96561,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *687 examples: - default: *683 + default: *688 '422': *15 '403': *29 x-github: @@ -96112,9 +96585,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 + - *451 + - *452 + - *689 requestBody: required: true content: @@ -96174,21 +96647,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *347 + schema: *352 examples: - default: *553 + default: *558 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *347 + schema: *352 examples: - default: *553 + default: *558 '401': *25 '403': *29 '404': *6 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96214,10 +96687,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *446 - - *447 - - *684 - - *213 + - *451 + - *452 + - *689 + - *219 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -96227,7 +96700,7 @@ paths: enum: - asc - desc - - *196 + - *202 - *17 - *19 responses: @@ -96237,9 +96710,9 @@ paths: application/json: schema: type: array - items: *680 + items: *685 examples: - default: *685 + default: *690 headers: Link: *43 x-github: @@ -96272,9 +96745,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 + - *451 + - *452 + - *689 requestBody: required: true content: @@ -96379,7 +96852,7 @@ paths: description: Response content: application/json: - schema: *680 + schema: *685 examples: example-for-a-multi-line-comment: value: @@ -96467,10 +96940,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *446 - - *447 - - *684 - - *205 + - *451 + - *452 + - *689 + - *211 requestBody: required: true content: @@ -96492,7 +96965,7 @@ paths: description: Response content: application/json: - schema: *680 + schema: *685 examples: default: value: @@ -96578,9 +97051,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 + - *451 + - *452 + - *689 - *17 - *19 responses: @@ -96590,9 +97063,9 @@ paths: application/json: schema: type: array - items: *564 + items: *569 examples: - default: *686 + default: *691 headers: Link: *43 x-github: @@ -96622,9 +97095,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 + - *451 + - *452 + - *689 - *17 - *19 responses: @@ -96634,7 +97107,7 @@ paths: application/json: schema: type: array - items: *577 + items: *582 examples: default: value: @@ -96653,7 +97126,7 @@ paths: Link: *43 '422': *15 '500': *40 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96672,9 +97145,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 + - *451 + - *452 + - *689 responses: '204': description: Response if pull request has been merged @@ -96697,9 +97170,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 + - *451 + - *452 + - *689 requestBody: required: false content: @@ -96810,9 +97283,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 + - *451 + - *452 + - *689 responses: '200': description: Response @@ -96828,7 +97301,7 @@ paths: items: *4 teams: type: array - items: *282 + items: *289 required: - users - teams @@ -96887,9 +97360,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 + - *451 + - *452 + - *689 requestBody: required: false content: @@ -96926,7 +97399,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *573 examples: default: value: @@ -97462,9 +97935,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 + - *451 + - *452 + - *689 requestBody: required: true content: @@ -97498,7 +97971,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *573 examples: default: value: @@ -98003,9 +98476,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 + - *451 + - *452 + - *689 - *17 - *19 responses: @@ -98015,7 +98488,7 @@ paths: application/json: schema: type: array - items: &687 + items: &692 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -98084,7 +98557,7 @@ paths: type: string body_text: type: string - author_association: *190 + author_association: *196 required: - id - node_id @@ -98166,9 +98639,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 + - *451 + - *452 + - *689 requestBody: required: false content: @@ -98254,9 +98727,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *692 examples: - default: &689 + default: &694 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98319,10 +98792,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 + - *451 + - *452 + - *689 + - &693 name: review_id description: The unique identifier of the review. in: path @@ -98334,9 +98807,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *692 examples: - default: &690 + default: &695 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98395,10 +98868,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 + - *451 + - *452 + - *689 + - *693 requestBody: required: true content: @@ -98421,7 +98894,7 @@ paths: description: Response content: application/json: - schema: *687 + schema: *692 examples: default: value: @@ -98483,18 +98956,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 + - *451 + - *452 + - *689 + - *693 responses: '200': description: Response content: application/json: - schema: *687 + schema: *692 examples: - default: *689 + default: *694 '422': *7 '404': *6 x-github: @@ -98521,10 +98994,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 + - *451 + - *452 + - *689 + - *693 - *17 - *19 responses: @@ -98603,13 +99076,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *190 + author_association: *196 _links: type: object properties: - self: *382 - html: *382 - pull_request: *382 + self: *387 + html: *387 + pull_request: *387 required: - self - html @@ -98618,7 +99091,7 @@ paths: type: string body_html: type: string - reactions: *191 + reactions: *197 side: description: The side of the first line of the range for a multi-line comment. @@ -98759,10 +99232,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 + - *451 + - *452 + - *689 + - *693 requestBody: required: true content: @@ -98790,7 +99263,7 @@ paths: description: Response content: application/json: - schema: *687 + schema: *692 examples: default: value: @@ -98853,10 +99326,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 + - *451 + - *452 + - *689 + - *693 requestBody: required: true content: @@ -98891,9 +99364,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *692 examples: - default: *690 + default: *695 '404': *6 '422': *7 '403': *29 @@ -98915,9 +99388,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 + - *451 + - *452 + - *689 requestBody: required: false content: @@ -98980,8 +99453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *446 - - *447 + - *451 + - *452 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -98994,9 +99467,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *696 examples: - default: &692 + default: &697 value: type: file encoding: base64 @@ -99038,8 +99511,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 + - *451 + - *452 - name: dir description: The alternate path to look for a README file in: path @@ -99059,9 +99532,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *696 examples: - default: *692 + default: *697 '404': *6 '422': *15 x-github: @@ -99083,8 +99556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *446 - - *447 + - *451 + - *452 - *17 - *19 responses: @@ -99094,7 +99567,7 @@ paths: application/json: schema: type: array - items: *693 + items: *698 examples: default: value: @@ -99188,8 +99661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: true content: @@ -99265,9 +99738,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *698 examples: - default: &697 + default: &702 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 +99845,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 + - *451 + - *452 + - &700 name: asset_id description: The unique identifier of the asset. in: path @@ -99386,9 +99859,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *699 examples: - default: &696 + default: &701 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 +99896,7 @@ paths: type: User site_admin: false '404': *6 - '302': *579 + '302': *584 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99439,9 +99912,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 + - *451 + - *452 + - *700 requestBody: required: false content: @@ -99469,9 +99942,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *699 examples: - default: *696 + default: *701 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99487,9 +99960,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 + - *451 + - *452 + - *700 responses: '204': description: Response @@ -99513,8 +99986,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 + - *451 + - *452 requestBody: required: true content: @@ -99599,16 +100072,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *446 - - *447 + - *451 + - *452 responses: '200': description: Response content: application/json: - schema: *693 + schema: *698 examples: - default: *697 + default: *702 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99625,8 +100098,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 + - *451 + - *452 - name: tag description: tag parameter in: path @@ -99639,9 +100112,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *698 examples: - default: *697 + default: *702 '404': *6 x-github: githubCloudOnly: false @@ -99663,9 +100136,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *446 - - *447 - - &698 + - *451 + - *452 + - &703 name: release_id description: The unique identifier of the release. in: path @@ -99679,9 +100152,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: *698 examples: - default: *697 + default: *702 '401': description: Unauthorized x-github: @@ -99699,9 +100172,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *446 - - *447 - - *698 + - *451 + - *452 + - *703 requestBody: required: false content: @@ -99765,9 +100238,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *698 examples: - default: *697 + default: *702 '404': description: Not Found if the discussion category name is invalid content: @@ -99788,9 +100261,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *446 - - *447 - - *698 + - *451 + - *452 + - *703 responses: '204': description: Response @@ -99810,9 +100283,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *446 - - *447 - - *698 + - *451 + - *452 + - *703 - *17 - *19 responses: @@ -99822,7 +100295,7 @@ paths: application/json: schema: type: array - items: *694 + items: *699 examples: default: value: @@ -99904,9 +100377,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 + - *451 + - *452 + - *703 - name: name in: query required: true @@ -99932,7 +100405,7 @@ paths: description: Response for successful upload content: application/json: - schema: *694 + schema: *699 examples: response-for-successful-upload: value: @@ -99987,9 +100460,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 + - *451 + - *452 + - *703 - 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 +100486,9 @@ paths: application/json: schema: type: array - items: *435 + items: *440 examples: - default: *437 + default: *442 headers: Link: *43 '404': *6 @@ -100036,9 +100509,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 + - *451 + - *452 + - *703 requestBody: required: true content: @@ -100068,16 +100541,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *440 examples: - default: *436 + default: *441 '201': description: Reaction created content: application/json: - schema: *435 + schema: *440 examples: - default: *436 + default: *441 '422': *15 x-github: githubCloudOnly: false @@ -100099,10 +100572,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 + - *451 + - *452 + - *703 + - *443 responses: '204': description: Response @@ -100126,9 +100599,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 + - *451 + - *452 + - *510 - *17 - *19 responses: @@ -100144,8 +100617,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *142 - - &699 + - *147 + - &704 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -100164,69 +100637,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *143 - - *699 - - allOf: - - *144 - - *699 - - allOf: - - *145 - - *699 - - allOf: - - *700 - - *699 - - allOf: - - *146 - - *699 - - allOf: - - *147 - - *699 - allOf: - *148 - - *699 + - *704 - allOf: - *149 - - *699 + - *704 - allOf: - *150 - - *699 + - *704 + - allOf: + - *705 + - *704 - allOf: - *151 - - *699 + - *704 - allOf: - *152 - - *699 + - *704 - allOf: - *153 - - *699 + - *704 - allOf: - *154 - - *699 + - *704 - allOf: - *155 - - *699 + - *704 - allOf: - *156 - - *699 + - *704 - allOf: - *157 - - *699 + - *704 - allOf: - *158 - - *699 + - *704 - allOf: - *159 - - *699 + - *704 - allOf: - *160 - - *699 + - *704 - allOf: - *161 - - *699 + - *704 + - allOf: + - *162 + - *704 + - allOf: + - *163 + - *704 - allOf: - - *701 - - *699 + - *164 + - *704 + - allOf: + - *165 + - *704 + - allOf: + - *166 + - *704 + - allOf: + - *706 + - *704 examples: default: value: @@ -100265,8 +100738,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *451 + - *452 - *17 - *19 - name: includes_parents @@ -100277,7 +100750,7 @@ paths: schema: type: boolean default: true - - *702 + - *707 responses: '200': description: Response @@ -100285,7 +100758,7 @@ paths: application/json: schema: type: array - items: *162 + items: *167 examples: default: value: @@ -100332,8 +100805,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *451 + - *452 requestBody: description: Request body required: true @@ -100353,16 +100826,16 @@ paths: - tag - push default: branch - enforcement: *140 + enforcement: *145 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *141 - conditions: *136 + items: *146 + conditions: *141 rules: type: array description: An array of rules within the ruleset. - items: *703 + items: *708 required: - name - enforcement @@ -100393,9 +100866,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *167 examples: - default: &712 + default: &717 value: id: 42 name: super cool ruleset @@ -100442,12 +100915,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 + - *451 + - *452 + - *709 - *96 - - *705 - - *706 + - *710 + - *711 - *17 - *19 responses: @@ -100455,9 +100928,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *712 examples: - default: *708 + default: *713 '404': *6 '500': *40 x-github: @@ -100478,17 +100951,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 + - *451 + - *452 + - *714 responses: '200': description: Response content: application/json: - schema: *710 + schema: *715 examples: - default: *711 + default: *716 '404': *6 '500': *40 x-github: @@ -100516,8 +100989,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *451 + - *452 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100537,9 +101010,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *167 examples: - default: *712 + default: *717 '404': *6 '500': *40 put: @@ -100557,8 +101030,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *451 + - *452 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100583,16 +101056,16 @@ paths: - branch - tag - push - enforcement: *140 + enforcement: *145 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *141 - conditions: *136 + items: *146 + conditions: *141 rules: description: An array of rules within the ruleset. type: array - items: *703 + items: *708 examples: default: value: @@ -100620,9 +101093,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *167 examples: - default: *712 + default: *717 '404': *6 '500': *40 delete: @@ -100640,8 +101113,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *451 + - *452 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100664,8 +101137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *446 - - *447 + - *451 + - *452 - *17 - *19 - name: ruleset_id @@ -100681,9 +101154,9 @@ paths: application/json: schema: type: array - items: *166 + items: *171 examples: - default: *398 + default: *403 '404': *6 '500': *40 x-github: @@ -100702,8 +101175,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *446 - - *447 + - *451 + - *452 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100721,7 +101194,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *404 examples: default: value: @@ -100776,21 +101249,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *446 - - *447 - - *400 - - *401 - - *402 - - *403 - - *101 - - *19 - - *17 - - *713 - - *714 - - *404 + - *451 + - *452 - *405 - *406 - *407 + - *408 + - *101 + - *19 + - *17 + - *718 + - *719 + - *409 + - *410 + - *411 + - *412 responses: '200': description: Response @@ -100798,11 +101271,11 @@ paths: application/json: schema: type: array - items: &718 + items: &723 type: object properties: - number: *113 - created_at: *120 + number: *118 + created_at: *125 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -100810,15 +101283,15 @@ paths: format: date-time readOnly: true nullable: true - url: *118 - html_url: *119 + url: *123 + html_url: *124 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *715 - resolution: *716 + state: *720 + resolution: *721 resolved_at: type: string format: date-time @@ -100914,7 +101387,7 @@ paths: pull request. ' - oneOf: *717 + oneOf: *722 nullable: true has_more_locations: type: boolean @@ -101041,7 +101514,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101063,16 +101536,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 + - *451 + - *452 + - *538 + - *412 responses: '200': description: Response content: application/json: - schema: *718 + schema: *723 examples: default: value: @@ -101103,7 +101576,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101124,9 +101597,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 + - *451 + - *452 + - *538 requestBody: required: true content: @@ -101134,8 +101607,8 @@ paths: schema: type: object properties: - state: *715 - resolution: *716 + state: *720 + resolution: *721 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -101153,7 +101626,7 @@ paths: description: Response content: application/json: - schema: *718 + schema: *723 examples: default: value: @@ -101206,7 +101679,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *167 + '503': *172 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -101228,9 +101701,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 + - *451 + - *452 + - *538 - *19 - *17 responses: @@ -101241,7 +101714,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &899 + items: &903 type: object properties: type: @@ -101267,11 +101740,6 @@ paths: example: commit details: oneOf: - - *719 - - *720 - - *721 - - *722 - - *723 - *724 - *725 - *726 @@ -101280,6 +101748,11 @@ paths: - *729 - *730 - *731 + - *732 + - *733 + - *734 + - *735 + - *736 examples: default: value: @@ -101343,7 +101816,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101365,8 +101838,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 + - *451 + - *452 requestBody: required: true content: @@ -101374,14 +101847,14 @@ paths: schema: type: object properties: - reason: &733 + reason: &738 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *732 + placeholder_id: *737 required: - reason - placeholder_id @@ -101398,7 +101871,7 @@ paths: schema: type: object properties: - reason: *733 + reason: *738 expire_at: type: string format: date-time @@ -101421,7 +101894,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *167 + '503': *172 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -101433,6 +101906,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/enterprise-cloud@latest//get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -101441,13 +101917,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *446 - - *447 + - *451 + - *452 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *167 + '503': *172 '200': description: Response content: @@ -101457,7 +101933,7 @@ paths: properties: incremental_scans: type: array - items: &734 + items: &739 description: Information on a single scan performed by secret scanning on the repository type: object @@ -101483,15 +101959,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *734 + items: *739 backfill_scans: type: array - items: *734 + items: *739 custom_pattern_backfill_scans: type: array items: allOf: - - *734 + - *739 - type: object properties: pattern_name: @@ -101561,8 +102037,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 + - *451 + - *452 - *101 - name: sort description: The property to sort the results by. @@ -101606,9 +102082,9 @@ paths: application/json: schema: type: array - items: *735 + items: *740 examples: - default: *736 + default: *741 '400': *14 '404': *6 x-github: @@ -101631,8 +102107,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 + - *451 + - *452 requestBody: required: true content: @@ -101705,7 +102181,7 @@ paths: login: type: string description: The username of the user credited. - type: *412 + type: *417 required: - login - type @@ -101792,9 +102268,9 @@ paths: description: Response content: application/json: - schema: *735 + schema: *740 examples: - default: &738 + default: &743 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -102027,8 +102503,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 + - *451 + - *452 requestBody: required: true content: @@ -102132,7 +102608,7 @@ paths: description: Response content: application/json: - schema: *735 + schema: *740 examples: default: value: @@ -102279,17 +102755,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 + - *451 + - *452 + - *742 responses: '200': description: Response content: application/json: - schema: *735 + schema: *740 examples: - default: *738 + default: *743 '403': *29 '404': *6 x-github: @@ -102313,9 +102789,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 + - *451 + - *452 + - *742 requestBody: required: true content: @@ -102388,7 +102864,7 @@ paths: login: type: string description: The username of the user credited. - type: *412 + type: *417 required: - login - type @@ -102474,17 +102950,17 @@ paths: description: Response content: application/json: - schema: *735 + schema: *740 examples: - default: *738 - add_credit: *738 + default: *743 + add_credit: *743 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *232 + schema: *239 examples: invalid_state_transition: value: @@ -102515,9 +102991,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 + - *451 + - *452 + - *742 responses: '202': *39 '400': *14 @@ -102544,17 +103020,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 + - *451 + - *452 + - *742 responses: '202': description: Response content: application/json: - schema: *459 + schema: *464 examples: - default: *461 + default: *466 '400': *14 '422': *15 '403': *29 @@ -102580,8 +103056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *446 - - *447 + - *451 + - *452 - *17 - *19 responses: @@ -102680,8 +103156,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 + - *451 + - *452 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -102690,7 +103166,7 @@ paths: application/json: schema: type: array - items: &739 + items: &744 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -102703,7 +103179,7 @@ paths: - 1124 - -435 '202': *39 - '204': *133 + '204': *138 '422': description: Repository contains more than 10,000 commits x-github: @@ -102723,8 +103199,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 + - *451 + - *452 responses: '200': description: Response @@ -102773,7 +103249,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *133 + '204': *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102800,8 +103276,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 + - *451 + - *452 responses: '200': description: Response @@ -102875,7 +103351,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *133 + '204': *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102897,8 +103373,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 + - *451 + - *452 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -103052,8 +103528,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 + - *451 + - *452 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -103063,7 +103539,7 @@ paths: application/json: schema: type: array - items: *739 + items: *744 examples: default: value: @@ -103076,7 +103552,7 @@ paths: - - 0 - 2 - 21 - '204': *133 + '204': *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103096,8 +103572,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *446 - - *447 + - *451 + - *452 - name: sha in: path required: true @@ -103151,7 +103627,7 @@ paths: description: Response content: application/json: - schema: *740 + schema: *745 examples: default: value: @@ -103205,8 +103681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *446 - - *447 + - *451 + - *452 - *17 - *19 responses: @@ -103218,7 +103694,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *186 headers: Link: *43 x-github: @@ -103238,14 +103714,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *446 - - *447 + - *451 + - *452 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &741 + schema: &746 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -103313,8 +103789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: false content: @@ -103340,7 +103816,7 @@ paths: description: Response content: application/json: - schema: *741 + schema: *746 examples: default: value: @@ -103367,8 +103843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *446 - - *447 + - *451 + - *452 responses: '204': description: Response @@ -103388,8 +103864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *446 - - *447 + - *451 + - *452 - *17 - *19 responses: @@ -103468,8 +103944,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 + - *451 + - *452 responses: '200': description: Response @@ -103477,7 +103953,7 @@ paths: application/json: schema: type: array - items: &742 + items: &747 title: Tag protection description: Tag protection type: object @@ -103529,8 +104005,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 + - *451 + - *452 requestBody: required: true content: @@ -103553,7 +104029,7 @@ paths: description: Response content: application/json: - schema: *742 + schema: *747 examples: default: value: @@ -103584,8 +104060,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 + - *451 + - *452 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -103622,8 +104098,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 + - *451 + - *452 - name: ref in: path required: true @@ -103659,8 +104135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *446 - - *447 + - *451 + - *452 - *17 - *19 responses: @@ -103670,9 +104146,9 @@ paths: application/json: schema: type: array - items: *282 + items: *289 examples: - default: *357 + default: *362 headers: Link: *43 '404': *6 @@ -103692,8 +104168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *446 - - *447 + - *451 + - *452 - *19 - *17 responses: @@ -103701,7 +104177,7 @@ paths: description: Response content: application/json: - schema: &743 + schema: &748 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -103713,7 +104189,7 @@ paths: required: - names examples: - default: &744 + default: &749 value: names: - octocat @@ -103736,8 +104212,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: true content: @@ -103768,9 +104244,9 @@ paths: description: Response content: application/json: - schema: *743 + schema: *748 examples: - default: *744 + default: *749 '404': *6 '422': *7 x-github: @@ -103791,9 +104267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *446 - - *447 - - &745 + - *451 + - *452 + - &750 name: per description: The time frame to display results for. in: query @@ -103822,7 +104298,7 @@ paths: example: 128 clones: type: array - items: &746 + items: &751 title: Traffic type: object properties: @@ -103909,8 +104385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *446 - - *447 + - *451 + - *452 responses: '200': description: Response @@ -104000,8 +104476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *446 - - *447 + - *451 + - *452 responses: '200': description: Response @@ -104061,9 +104537,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *446 - - *447 - - *745 + - *451 + - *452 + - *750 responses: '200': description: Response @@ -104082,7 +104558,7 @@ paths: example: 3782 views: type: array - items: *746 + items: *751 required: - uniques - count @@ -104159,8 +104635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *446 - - *447 + - *451 + - *452 requestBody: required: true content: @@ -104196,7 +104672,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *262 examples: default: value: @@ -104434,8 +104910,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 + - *451 + - *452 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -104458,8 +104934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *446 - - *447 + - *451 + - *452 responses: '204': description: Response @@ -104481,8 +104957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *446 - - *447 + - *451 + - *452 responses: '204': description: Response @@ -104508,8 +104984,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 + - *451 + - *452 - name: ref in: path required: true @@ -104601,9 +105077,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *464 examples: - default: *461 + default: *466 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104644,7 +105120,7 @@ paths: application/json: schema: type: array - items: *255 + items: *262 examples: default: value: @@ -104754,7 +105230,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &754 + - &759 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -104763,7 +105239,7 @@ paths: schema: type: string example: members - - &759 + - &764 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -104774,7 +105250,7 @@ paths: default: 1 format: int32 example: 1 - - &760 + - &765 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -104816,7 +105292,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &749 + items: &754 allOf: - type: object required: @@ -104891,7 +105367,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: &766 type: object description: The metadata associated with the creation/updates to the user. @@ -104951,30 +105427,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &750 + '400': &755 description: Bad request content: application/json: - schema: *747 + schema: *752 application/scim+json: - schema: *747 - '401': *748 - '403': &751 + schema: *752 + '401': *753 + '403': &756 description: Permission denied - '429': &752 + '429': &757 description: Too many requests content: application/json: - schema: *747 + schema: *752 application/scim+json: - schema: *747 - '500': &753 + schema: *752 + '500': &758 description: Internal server error content: application/json: - schema: *747 + schema: *752 application/scim+json: - schema: *747 + schema: *752 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -104998,7 +105474,7 @@ paths: required: true content: application/json: - schema: &757 + schema: &762 type: object required: - schemas @@ -105058,9 +105534,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *749 + schema: *754 examples: - group: &755 + group: &760 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -105079,13 +105555,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': *755 + '401': *753 + '403': *756 + '409': &763 description: Duplicate record detected - '429': *752 - '500': *753 + '429': *757 + '500': *758 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105102,7 +105578,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 + - &761 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -105110,22 +105586,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *754 + - *759 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *749 + schema: *754 examples: - default: *755 - '400': *750 - '401': *748 - '403': *751 + default: *760 + '400': *755 + '401': *753 + '403': *756 '404': *6 - '429': *752 - '500': *753 + '429': *757 + '500': *758 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105144,13 +105620,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 + - *761 - *41 requestBody: required: true content: application/json: - schema: *757 + schema: *762 examples: group: summary: Group @@ -105176,17 +105652,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *749 + schema: *754 examples: - group: *755 - groupWithMembers: *755 - '400': *750 - '401': *748 - '403': *751 + group: *760 + groupWithMembers: *760 + '400': *755 + '401': *753 + '403': *756 '404': *6 - '409': *758 - '429': *752 - '500': *753 + '409': *763 + '429': *757 + '500': *758 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105210,13 +105686,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 + - *761 - *41 requestBody: required: true content: application/json: - schema: &768 + schema: &773 type: object required: - Operations @@ -105276,17 +105752,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *749 + schema: *754 examples: - updateGroup: *755 - addMembers: *755 - '400': *750 - '401': *748 - '403': *751 + updateGroup: *760 + addMembers: *760 + '400': *755 + '401': *753 + '403': *756 '404': *6 - '409': *758 - '429': *752 - '500': *753 + '409': *763 + '429': *757 + '500': *758 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105302,17 +105778,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 + - *761 - *41 responses: '204': description: Group was deleted, no content - '400': *750 - '401': *748 - '403': *751 + '400': *755 + '401': *753 + '403': *756 '404': *6 - '429': *752 - '500': *753 + '429': *757 + '500': *758 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105346,8 +105822,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *759 - - *760 + - *764 + - *765 - *41 responses: '200': @@ -105380,7 +105856,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &763 + items: &768 allOf: - type: object required: @@ -105459,7 +105935,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &762 + roles: &767 type: array description: The roles assigned to the user. items: @@ -105515,7 +105991,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *761 + meta: *766 startIndex: type: integer description: A starting index for the returned page @@ -105552,11 +106028,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *750 - '401': *748 - '403': *751 - '429': *752 - '500': *753 + '400': *755 + '401': *753 + '403': *756 + '429': *757 + '500': *758 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105580,7 +106056,7 @@ paths: required: true content: application/json: - schema: &766 + schema: &771 type: object required: - schemas @@ -105662,9 +106138,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *762 + roles: *767 examples: - user: &767 + user: &772 summary: User value: schemas: @@ -105711,9 +106187,9 @@ paths: description: User has been created content: application/scim+json: - schema: *763 + schema: *768 examples: - user: &764 + user: &769 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -105739,13 +106215,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: *769 + '400': *755 + '401': *753 + '403': *756 + '409': *763 + '429': *757 + '500': *758 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105762,7 +106238,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 + - &770 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -105775,15 +106251,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *763 + schema: *768 examples: - default: *764 - '400': *750 - '401': *748 - '403': *751 + default: *769 + '400': *755 + '401': *753 + '403': *756 '404': *6 - '429': *752 - '500': *753 + '429': *757 + '500': *758 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105805,30 +106281,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 + - *770 - *41 requestBody: required: true content: application/json: - schema: *766 + schema: *771 examples: - user: *767 + user: *772 responses: '200': description: User was updated content: application/scim+json: - schema: *763 + schema: *768 examples: - user: *764 - '400': *750 - '401': *748 - '403': *751 + user: *769 + '400': *755 + '401': *753 + '403': *756 '404': *6 - '409': *758 - '429': *752 - '500': *753 + '409': *763 + '429': *757 + '500': *758 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105863,13 +106339,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 + - *770 - *41 requestBody: required: true content: application/json: - schema: *768 + schema: *773 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -105909,18 +106385,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *763 + schema: *768 examples: - userMultiValuedProperties: *764 - userSingleValuedProperties: *764 - disableUser: *764 - '400': *750 - '401': *748 - '403': *751 + userMultiValuedProperties: *769 + userSingleValuedProperties: *769 + disableUser: *769 + '400': *755 + '401': *753 + '403': *756 '404': *6 - '409': *758 - '429': *752 - '500': *753 + '409': *763 + '429': *757 + '500': *758 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105940,17 +106416,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 + - *770 - *41 responses: '204': description: User was deleted, no content - '400': *750 - '401': *748 - '403': *751 + '400': *755 + '401': *753 + '403': *756 '404': *6 - '429': *752 - '500': *753 + '429': *757 + '500': *758 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106037,7 +106513,7 @@ paths: example: 1 Resources: type: array - items: &769 + items: &774 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -106268,22 +106744,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': &775 description: Resource not found content: application/json: - schema: *747 + schema: *752 application/scim+json: - schema: *747 - '403': &771 + schema: *752 + '403': &776 description: Forbidden content: application/json: - schema: *747 + schema: *752 application/scim+json: - schema: *747 - '400': *750 - '429': *752 + schema: *752 + '400': *755 + '429': *757 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -106309,9 +106785,9 @@ paths: description: Response content: application/scim+json: - schema: *769 + schema: *774 examples: - default: &772 + default: &777 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -106334,17 +106810,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': *775 + '403': *776 + '500': *758 '409': description: Conflict content: application/json: - schema: *747 + schema: *752 application/scim+json: - schema: *747 - '400': *750 + schema: *752 + '400': *755 requestBody: required: true content: @@ -106442,17 +106918,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *78 - - *765 + - *770 responses: '200': description: Response content: application/scim+json: - schema: *769 + schema: *774 examples: - default: *772 - '404': *770 - '403': *771 + default: *777 + '404': *775 + '403': *776 '304': *37 x-github: githubCloudOnly: true @@ -106476,18 +106952,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *78 - - *765 + - *770 responses: '200': description: Response content: application/scim+json: - schema: *769 + schema: *774 examples: - default: *772 + default: *777 '304': *37 - '404': *770 - '403': *771 + '404': *775 + '403': *776 requestBody: required: true content: @@ -106600,19 +107076,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *78 - - *765 + - *770 responses: '200': description: Response content: application/scim+json: - schema: *769 + schema: *774 examples: - default: *772 + default: *777 '304': *37 - '404': *770 - '403': *771 - '400': *750 + '404': *775 + '403': *776 + '400': *755 '429': description: Response content: @@ -106703,12 +107179,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *78 - - *765 + - *770 responses: '204': description: Response - '404': *770 - '403': *771 + '404': *775 + '403': *776 '304': *37 x-github: githubCloudOnly: true @@ -106823,7 +107299,7 @@ paths: html_url: type: string format: uri - repository: *255 + repository: *262 score: type: number file_size: @@ -106841,7 +107317,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &773 + text_matches: &778 title: Search Result Text Matches type: array items: @@ -106955,7 +107431,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *167 + '503': *172 '422': *15 '403': *29 x-github: @@ -107004,7 +107480,7 @@ paths: enum: - author-date - committer-date - - &774 + - &779 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 +107551,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *503 + properties: *508 nullable: true comment_count: type: integer @@ -107095,7 +107571,7 @@ paths: url: type: string format: uri - verification: *624 + verification: *629 required: - author - committer @@ -107114,7 +107590,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *503 + properties: *508 nullable: true parents: type: array @@ -107127,12 +107603,12 @@ paths: type: string sha: type: string - repository: *255 + repository: *262 score: type: number node_id: type: string - text_matches: *773 + text_matches: *778 required: - sha - node_id @@ -107325,7 +107801,7 @@ paths: - interactions - created - updated - - *774 + - *779 - *17 - *19 - name: advanced_search @@ -107422,11 +107898,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *780 + issue_dependencies_summary: *781 issue_field_values: type: array - items: *777 + items: *782 state: type: string state_reason: @@ -107443,8 +107919,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *380 - required: *381 + properties: *385 + required: *386 nullable: true comments: type: integer @@ -107458,7 +107934,7 @@ paths: type: string format: date-time nullable: true - text_matches: *773 + text_matches: *778 pull_request: type: object properties: @@ -107491,7 +107967,7 @@ paths: type: string score: type: number - author_association: *190 + author_association: *196 draft: type: boolean repository: *69 @@ -107502,7 +107978,7 @@ paths: timeline_url: type: string format: uri - type: *342 + type: *347 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -107512,9 +107988,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 - reactions: *191 + properties: *192 + required: *193 + reactions: *197 required: - assignee - closed_at @@ -107630,7 +108106,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *167 + '503': *172 '422': *15 '304': *37 '403': *29 @@ -107683,7 +108159,7 @@ paths: enum: - created - updated - - *774 + - *779 - *17 - *19 responses: @@ -107727,7 +108203,7 @@ paths: nullable: true score: type: number - text_matches: *773 + text_matches: *778 required: - id - node_id @@ -107813,7 +108289,7 @@ paths: - forks - help-wanted-issues - updated - - *774 + - *779 - *17 - *19 responses: @@ -108032,8 +108508,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *198 + required: *199 nullable: true permissions: type: object @@ -108052,7 +108528,7 @@ paths: - admin - pull - push - text_matches: *773 + text_matches: *778 temp_clone_token: type: string allow_merge_commit: @@ -108254,7 +108730,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *167 + '503': *172 '422': *15 '304': *37 x-github: @@ -108353,7 +108829,7 @@ paths: type: string format: uri nullable: true - text_matches: *773 + text_matches: *778 related: type: array nullable: true @@ -108546,7 +109022,7 @@ paths: - followers - repositories - joined - - *774 + - *779 - *17 - *19 responses: @@ -108650,7 +109126,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *773 + text_matches: *778 blog: type: string nullable: true @@ -108709,7 +109185,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *167 + '503': *172 '422': *15 x-github: githubCloudOnly: false @@ -108729,7 +109205,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &778 + - &783 name: team_id description: The unique identifier of the team. in: path @@ -108741,9 +109217,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *432 examples: - default: *428 + default: *433 '404': *6 x-github: githubCloudOnly: false @@ -108770,7 +109246,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *778 + - *783 requestBody: required: true content: @@ -108833,16 +109309,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *427 + schema: *432 examples: - default: *428 + default: *433 '201': description: Response content: application/json: - schema: *427 + schema: *432 examples: - default: *428 + default: *433 '404': *6 '422': *15 '403': *29 @@ -108870,7 +109346,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *778 + - *783 responses: '204': description: Response @@ -108901,7 +109377,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *778 + - *783 - *101 - *17 - *19 @@ -108912,9 +109388,9 @@ paths: application/json: schema: type: array - items: *429 + items: *434 examples: - default: *779 + default: *784 headers: Link: *43 x-github: @@ -108943,7 +109419,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *778 + - *783 requestBody: required: true content: @@ -108977,9 +109453,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *434 examples: - default: *430 + default: *435 x-github: triggersNotification: true githubCloudOnly: false @@ -109006,16 +109482,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *778 - - *431 + - *783 + - *436 responses: '200': description: Response content: application/json: - schema: *429 + schema: *434 examples: - default: *430 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109040,8 +109516,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *778 - - *431 + - *783 + - *436 requestBody: required: false content: @@ -109064,9 +109540,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *434 examples: - default: *780 + default: *785 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109091,8 +109567,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *778 - - *431 + - *783 + - *436 responses: '204': description: Response @@ -109121,8 +109597,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 + - *783 + - *436 - *101 - *17 - *19 @@ -109133,9 +109609,9 @@ paths: application/json: schema: type: array - items: *432 + items: *437 examples: - default: *781 + default: *786 headers: Link: *43 x-github: @@ -109164,8 +109640,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 + - *783 + - *436 requestBody: required: true content: @@ -109187,9 +109663,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *437 examples: - default: *433 + default: *438 x-github: triggersNotification: true githubCloudOnly: false @@ -109216,17 +109692,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 + - *783 + - *436 + - *439 responses: '200': description: Response content: application/json: - schema: *432 + schema: *437 examples: - default: *433 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109251,9 +109727,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 + - *783 + - *436 + - *439 requestBody: required: true content: @@ -109275,9 +109751,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *437 examples: - default: *782 + default: *787 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109302,9 +109778,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 + - *783 + - *436 + - *439 responses: '204': description: Response @@ -109333,9 +109809,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 + - *783 + - *436 + - *439 - 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 +109837,9 @@ paths: application/json: schema: type: array - items: *435 + items: *440 examples: - default: *437 + default: *442 headers: Link: *43 x-github: @@ -109392,9 +109868,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 + - *783 + - *436 + - *439 requestBody: required: true content: @@ -109426,9 +109902,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *440 examples: - default: *436 + default: *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109454,8 +109930,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 + - *783 + - *436 - 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 +109957,9 @@ paths: application/json: schema: type: array - items: *435 + items: *440 examples: - default: *437 + default: *442 headers: Link: *43 x-github: @@ -109512,8 +109988,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 + - *783 + - *436 requestBody: required: true content: @@ -109545,9 +110021,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *440 examples: - default: *436 + default: *441 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109571,7 +110047,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *778 + - *783 - *17 - *19 responses: @@ -109581,9 +110057,9 @@ paths: application/json: schema: type: array - items: *339 + items: *344 examples: - default: *340 + default: *345 headers: Link: *43 x-github: @@ -109609,7 +110085,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *778 + - *783 - name: role description: Filters members returned by their role in the team. in: query @@ -109632,7 +110108,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *186 headers: Link: *43 '404': *6 @@ -109660,8 +110136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *778 - - *182 + - *783 + - *187 responses: '204': description: if user is a member @@ -109697,8 +110173,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *778 - - *182 + - *783 + - *187 responses: '204': description: Response @@ -109737,8 +110213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *778 - - *182 + - *783 + - *187 responses: '204': description: Response @@ -109774,16 +110250,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *778 - - *182 + - *783 + - *187 responses: '200': description: Response content: application/json: - schema: *443 + schema: *448 examples: - response-if-user-is-a-team-maintainer: *783 + response-if-user-is-a-team-maintainer: *788 '404': *6 x-github: githubCloudOnly: false @@ -109816,8 +110292,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *778 - - *182 + - *783 + - *187 requestBody: required: false content: @@ -109842,9 +110318,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *448 examples: - response-if-users-membership-with-team-is-now-pending: *784 + response-if-users-membership-with-team-is-now-pending: *789 '403': description: Forbidden if team synchronization is set up '422': @@ -109878,8 +110354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *778 - - *182 + - *783 + - *187 responses: '204': description: Response @@ -109907,7 +110383,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *778 + - *783 - *17 - *19 responses: @@ -109917,9 +110393,9 @@ paths: application/json: schema: type: array - items: *444 + items: *449 examples: - default: *785 + default: *790 headers: Link: *43 '404': *6 @@ -109945,16 +110421,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 + - *783 + - *450 responses: '200': description: Response content: application/json: - schema: *444 + schema: *449 examples: - default: *786 + default: *791 '404': description: Not Found if project is not managed by this team x-github: @@ -109978,8 +110454,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 + - *783 + - *450 requestBody: required: false content: @@ -110046,8 +110522,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 + - *783 + - *450 responses: '204': description: Response @@ -110074,7 +110550,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *778 + - *783 - *17 - *19 responses: @@ -110084,9 +110560,9 @@ paths: application/json: schema: type: array - items: *255 + items: *262 examples: - default: *364 + default: *369 headers: Link: *43 '404': *6 @@ -110116,15 +110592,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 + - *783 + - *451 + - *452 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *787 + schema: *792 examples: alternative-response-with-extra-repository-information: value: @@ -110275,9 +110751,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 + - *783 + - *451 + - *452 requestBody: required: false content: @@ -110327,9 +110803,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 + - *783 + - *451 + - *452 responses: '204': description: Response @@ -110358,15 +110834,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 + - *783 responses: '200': description: Response content: application/json: - schema: *448 + schema: *453 examples: - default: *449 + default: *454 '403': *29 '404': *6 x-github: @@ -110393,7 +110869,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 + - *783 requestBody: required: true content: @@ -110450,7 +110926,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *453 examples: default: value: @@ -110481,7 +110957,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *778 + - *783 - *17 - *19 responses: @@ -110491,9 +110967,9 @@ paths: application/json: schema: type: array - items: *282 + items: *289 examples: - response-if-child-teams-exist: *788 + response-if-child-teams-exist: *793 headers: Link: *43 '404': *6 @@ -110526,7 +111002,7 @@ paths: application/json: schema: oneOf: - - &790 + - &795 title: Private User description: Private User type: object @@ -110729,7 +111205,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *789 + - *794 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -110882,7 +111358,7 @@ paths: description: Response content: application/json: - schema: *790 + schema: *795 examples: default: value: @@ -110961,7 +111437,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *186 '304': *37 '404': *6 '403': *29 @@ -110984,7 +111460,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *182 + - *187 responses: '204': description: If the user is blocked @@ -111012,7 +111488,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *182 + - *187 responses: '204': description: Response @@ -111036,7 +111512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *182 + - *187 responses: '204': description: Response @@ -111085,9 +111561,9 @@ paths: type: integer codespaces: type: array - items: *347 + items: *352 examples: - default: *348 + default: *353 '304': *37 '500': *40 '401': *25 @@ -111226,21 +111702,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *347 + schema: *352 examples: - default: *553 + default: *558 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *347 + schema: *352 examples: - default: *553 + default: *558 '401': *25 '403': *29 '404': *6 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111280,7 +111756,7 @@ paths: type: integer secrets: type: array - items: &791 + items: &796 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -111320,7 +111796,7 @@ paths: - visibility - selected_repositories_url examples: - default: *556 + default: *561 headers: Link: *43 x-github: @@ -111390,13 +111866,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *265 + - *272 responses: '200': description: Response content: application/json: - schema: *791 + schema: *796 examples: default: value: @@ -111426,7 +111902,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *265 + - *272 requestBody: required: true content: @@ -111471,7 +111947,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -111499,7 +111975,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *265 + - *272 responses: '204': description: Response @@ -111524,7 +112000,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *265 + - *272 responses: '200': description: Response @@ -111540,9 +112016,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *262 examples: - default: *792 + default: *797 '401': *25 '403': *29 '404': *6 @@ -111567,7 +112043,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *265 + - *272 requestBody: required: true content: @@ -111621,7 +112097,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *265 + - *272 - name: repository_id in: path required: true @@ -111654,7 +112130,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *265 + - *272 - name: repository_id in: path required: true @@ -111686,15 +112162,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 + - *354 responses: '200': description: Response content: application/json: - schema: *347 + schema: *352 examples: - default: *553 + default: *558 '304': *37 '500': *40 '401': *25 @@ -111720,7 +112196,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 + - *354 requestBody: required: false content: @@ -111750,9 +112226,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *352 examples: - default: *553 + default: *558 '401': *25 '403': *29 '404': *6 @@ -111774,7 +112250,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 + - *354 responses: '202': *39 '304': *37 @@ -111803,13 +112279,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 + - *354 responses: '202': description: Response content: application/json: - schema: &793 + schema: &798 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -111850,7 +112326,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &794 + default: &799 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -111882,7 +112358,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 + - *354 - name: export_id in: path required: true @@ -111895,9 +112371,9 @@ paths: description: Response content: application/json: - schema: *793 + schema: *798 examples: - default: *794 + default: *799 '404': *6 x-github: githubCloudOnly: false @@ -111918,7 +112394,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 + - *354 responses: '200': description: Response @@ -111934,9 +112410,9 @@ paths: type: integer machines: type: array - items: *795 + items: *800 examples: - default: *796 + default: *801 '304': *37 '500': *40 '401': *25 @@ -111965,7 +112441,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 + - *354 requestBody: required: true content: @@ -112015,13 +112491,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *459 + repository: *464 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *554 - required: *555 + properties: *559 + required: *560 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -112795,15 +113271,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 + - *354 responses: '200': description: Response content: application/json: - schema: *347 + schema: *352 examples: - default: *553 + default: *558 '304': *37 '500': *40 '400': *14 @@ -112835,15 +113311,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 + - *354 responses: '200': description: Response content: application/json: - schema: *347 + schema: *352 examples: - default: *553 + default: *558 '500': *40 '401': *25 '403': *29 @@ -112873,9 +113349,9 @@ paths: application/json: schema: type: array - items: *358 + items: *363 examples: - default: &808 + default: &812 value: - id: 197 name: hello_docker @@ -112976,7 +113452,7 @@ paths: application/json: schema: type: array - items: &797 + items: &802 title: Email description: Email type: object @@ -113041,9 +113517,9 @@ paths: application/json: schema: type: array - items: *797 + items: *802 examples: - default: &810 + default: &814 value: - email: octocat@github.com verified: true @@ -113118,7 +113594,7 @@ paths: application/json: schema: type: array - items: *797 + items: *802 examples: default: value: @@ -113228,7 +113704,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *186 headers: Link: *43 '304': *37 @@ -113261,7 +113737,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *186 headers: Link: *43 '304': *37 @@ -113283,7 +113759,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *182 + - *187 responses: '204': description: if the person is followed by the authenticated user @@ -113313,7 +113789,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *182 + - *187 responses: '204': description: Response @@ -113338,7 +113814,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *182 + - *187 responses: '204': description: Response @@ -113374,7 +113850,7 @@ paths: application/json: schema: type: array - items: &798 + items: &803 title: GPG Key description: A unique encryption key type: object @@ -113505,7 +113981,7 @@ paths: - subkeys - revoked examples: - default: &824 + default: &828 value: - id: 3 name: Octocat's GPG Key @@ -113590,9 +114066,9 @@ paths: description: Response content: application/json: - schema: *798 + schema: *803 examples: - default: &799 + default: &804 value: id: 3 name: Octocat's GPG Key @@ -113649,7 +114125,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 + - &805 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -113661,9 +114137,9 @@ paths: description: Response content: application/json: - schema: *798 + schema: *803 examples: - default: *799 + default: *804 '404': *6 '304': *37 '403': *29 @@ -113686,7 +114162,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 + - *805 responses: '204': description: Response @@ -113877,7 +114353,7 @@ paths: type: array items: *69 examples: - default: *250 + default: *257 headers: Link: *43 '404': *6 @@ -113902,7 +114378,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *249 + - *256 responses: '204': description: Response @@ -113928,7 +114404,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *249 + - *256 responses: '204': description: Response @@ -113962,12 +114438,12 @@ paths: application/json: schema: anyOf: - - *337 + - *342 - type: object properties: {} additionalProperties: false examples: - default: *338 + default: *343 '204': description: Response when there are no restrictions x-github: @@ -113991,7 +114467,7 @@ paths: required: true content: application/json: - schema: *635 + schema: *640 examples: default: value: @@ -114002,7 +114478,7 @@ paths: description: Response content: application/json: - schema: *337 + schema: *342 examples: default: value: @@ -114083,7 +114559,7 @@ paths: - closed - all default: open - - *345 + - *350 - name: sort description: What to sort results by. in: query @@ -114096,7 +114572,7 @@ paths: - comments default: created - *101 - - *196 + - *202 - *17 - *19 responses: @@ -114106,9 +114582,9 @@ paths: application/json: schema: type: array - items: *189 + items: *195 examples: - default: *346 + default: *351 headers: Link: *43 '404': *6 @@ -114141,7 +114617,7 @@ paths: application/json: schema: type: array - items: &801 + items: &806 title: Key description: Key type: object @@ -114242,9 +114718,9 @@ paths: description: Response content: application/json: - schema: *801 + schema: *806 examples: - default: &802 + default: &807 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -114277,15 +114753,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 + - *668 responses: '200': description: Response content: application/json: - schema: *801 + schema: *806 examples: - default: *802 + default: *807 '404': *6 '304': *37 '403': *29 @@ -114308,7 +114784,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 + - *668 responses: '204': description: Response @@ -114341,7 +114817,7 @@ paths: application/json: schema: type: array - items: &803 + items: &808 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -114398,7 +114874,7 @@ paths: - id - type - login - plan: *207 + plan: *213 required: - billing_cycle - next_billing_date @@ -114409,7 +114885,7 @@ paths: - account - plan examples: - default: &804 + default: &809 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -114471,9 +114947,9 @@ paths: application/json: schema: type: array - items: *803 + items: *808 examples: - default: *804 + default: *809 headers: Link: *43 '304': *37 @@ -114513,7 +114989,7 @@ paths: application/json: schema: type: array - items: *350 + items: *355 examples: default: value: @@ -114621,7 +115097,7 @@ paths: description: Response content: application/json: - schema: *350 + schema: *355 examples: default: value: @@ -114704,7 +115180,7 @@ paths: description: Response content: application/json: - schema: *350 + schema: *355 examples: default: value: @@ -114772,7 +115248,7 @@ paths: application/json: schema: type: array - items: *352 + items: *357 examples: default: value: @@ -115025,7 +115501,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *357 examples: default: value: @@ -115205,7 +115681,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *353 + - *358 - name: exclude in: query required: false @@ -115218,7 +115694,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *357 examples: default: value: @@ -115412,7 +115888,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *353 + - *358 responses: '302': description: Response @@ -115438,7 +115914,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *353 + - *358 responses: '204': description: Response @@ -115467,8 +115943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *353 - - *805 + - *358 + - *810 responses: '204': description: Response @@ -115492,7 +115968,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 + - *358 - *17 - *19 responses: @@ -115502,9 +115978,9 @@ paths: application/json: schema: type: array - items: *255 + items: *262 examples: - default: *364 + default: *369 headers: Link: *43 '404': *6 @@ -115541,7 +116017,7 @@ paths: type: array items: *64 examples: - default: *806 + default: *226 headers: Link: *43 '304': *37 @@ -115583,7 +116059,7 @@ paths: - docker - nuget - container - - *807 + - *811 - *19 - *17 responses: @@ -115593,10 +116069,10 @@ paths: application/json: schema: type: array - items: *358 + items: *363 examples: - default: *808 - '400': *809 + default: *812 + '400': *813 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115616,16 +116092,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 + - *365 + - *366 responses: '200': description: Response content: application/json: - schema: *358 + schema: *363 examples: - default: &825 + default: &829 value: id: 40201 name: octo-name @@ -115738,8 +116214,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 + - *365 + - *366 responses: '204': description: Response @@ -115769,8 +116245,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 + - *365 + - *366 - name: token description: package token schema: @@ -115802,8 +116278,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 + - *365 + - *366 - *19 - *17 - name: state @@ -115823,7 +116299,7 @@ paths: application/json: schema: type: array - items: *362 + items: *367 examples: default: value: @@ -115872,15 +116348,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *360 - - *361 - - *363 + - *365 + - *366 + - *368 responses: '200': description: Response content: application/json: - schema: *362 + schema: *367 examples: default: value: @@ -115916,9 +116392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *360 - - *361 - - *363 + - *365 + - *366 + - *368 responses: '204': description: Response @@ -115948,9 +116424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *360 - - *361 - - *363 + - *365 + - *366 + - *368 responses: '204': description: Response @@ -116006,7 +116482,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *379 examples: default: value: @@ -116078,9 +116554,9 @@ paths: application/json: schema: type: array - items: *797 + items: *802 examples: - default: *810 + default: *814 headers: Link: *43 '304': *37 @@ -116193,7 +116669,7 @@ paths: type: array items: *69 examples: - default: &817 + default: &821 summary: Default response value: - id: 1296269 @@ -116497,9 +116973,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *464 examples: - default: *461 + default: *466 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -116537,9 +117013,9 @@ paths: application/json: schema: type: array - items: *637 + items: *642 examples: - default: *811 + default: *815 headers: Link: *43 '304': *37 @@ -116562,7 +117038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *341 + - *346 responses: '204': description: Response @@ -116585,7 +117061,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *341 + - *346 responses: '204': description: Response @@ -116618,7 +117094,7 @@ paths: application/json: schema: type: array - items: &812 + items: &816 title: Social account description: Social media account type: object @@ -116633,7 +117109,7 @@ paths: - provider - url examples: - default: &813 + default: &817 value: - provider: twitter url: https://twitter.com/github @@ -116695,9 +117171,9 @@ paths: application/json: schema: type: array - items: *812 + items: *816 examples: - default: *813 + default: *817 '422': *15 '304': *37 '404': *6 @@ -116784,7 +117260,7 @@ paths: application/json: schema: type: array - items: &814 + items: &818 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -116804,7 +117280,7 @@ paths: - title - created_at examples: - default: &828 + default: &832 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116870,9 +117346,9 @@ paths: description: Response content: application/json: - schema: *814 + schema: *818 examples: - default: &815 + default: &819 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116903,7 +117379,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 + - &820 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -116915,9 +117391,9 @@ paths: description: Response content: application/json: - schema: *814 + schema: *818 examples: - default: *815 + default: *819 '404': *6 '304': *37 '403': *29 @@ -116940,7 +117416,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 + - *820 responses: '204': description: Response @@ -116969,7 +117445,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 + - &833 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 +117470,11 @@ paths: type: array items: *69 examples: - default-response: *817 + default-response: *821 application/vnd.github.v3.star+json: schema: type: array - items: &830 + items: &834 title: Starred Repository description: Starred Repository type: object @@ -117154,8 +117630,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 + - *451 + - *452 responses: '204': description: Response if this repository is starred by you @@ -117183,8 +117659,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 + - *451 + - *452 responses: '204': description: Response @@ -117208,8 +117684,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 + - *451 + - *452 responses: '204': description: Response @@ -117242,9 +117718,9 @@ paths: application/json: schema: type: array - items: *255 + items: *262 examples: - default: *364 + default: *369 headers: Link: *43 '304': *37 @@ -117281,7 +117757,7 @@ paths: application/json: schema: type: array - items: *427 + items: *432 examples: default: value: @@ -117359,7 +117835,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *209 + - *215 responses: '200': description: Response @@ -117367,10 +117843,10 @@ paths: application/json: schema: oneOf: - - *790 - - *789 + - *795 + - *794 examples: - default-response: &819 + default-response: &823 summary: Default response value: login: octocat @@ -117405,7 +117881,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: &824 summary: Response with GitHub plan information value: login: octocat @@ -117465,7 +117941,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *818 + - *822 - *17 responses: '200': @@ -117476,7 +117952,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *186 headers: Link: example: ; rel="next" @@ -117506,7 +117982,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *182 + - *187 responses: '200': description: Response @@ -117514,11 +117990,11 @@ paths: application/json: schema: oneOf: - - *790 - - *789 + - *795 + - *794 examples: - default-response: *819 - response-with-git-hub-plan-information: *820 + default-response: *823 + response-with-git-hub-plan-information: *824 '404': *6 x-github: githubCloudOnly: false @@ -117544,7 +118020,7 @@ paths: - *17 - *99 - *100 - - *182 + - *187 requestBody: required: true content: @@ -117567,8 +118043,8 @@ paths: required: - subject_digests examples: - default: *821 - withPredicateType: *822 + default: *825 + withPredicateType: *826 responses: '200': description: Response @@ -117621,7 +118097,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *823 + default: *827 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117639,7 +118115,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *182 + - *187 requestBody: required: true content: @@ -117704,7 +118180,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *182 + - *187 - name: subject_digest description: Subject Digest in: path @@ -117735,7 +118211,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *182 + - *187 - name: attestation_id description: Attestation ID in: path @@ -117773,7 +118249,7 @@ paths: - *17 - *99 - *100 - - *182 + - *187 - name: subject_digest description: Subject Digest in: path @@ -117825,12 +118301,12 @@ paths: initiator: type: string examples: - default: *499 + default: *504 '201': description: Response content: application/json: - schema: *266 + schema: *273 examples: default: value: @@ -117856,7 +118332,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *182 + - *187 responses: '200': description: Response @@ -117864,9 +118340,9 @@ paths: application/json: schema: type: array - items: *358 + items: *363 examples: - default: *808 + default: *812 '403': *29 '401': *25 x-github: @@ -117889,7 +118365,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *182 + - *187 - *17 - *19 responses: @@ -117899,7 +118375,7 @@ paths: application/json: schema: type: array - items: *215 + items: *221 examples: default: value: @@ -117961,7 +118437,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *182 + - *187 - *78 - *17 - *19 @@ -117972,7 +118448,7 @@ paths: application/json: schema: type: array - items: *215 + items: *221 examples: default: value: @@ -118049,7 +118525,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *182 + - *187 - *17 - *19 responses: @@ -118059,7 +118535,7 @@ paths: application/json: schema: type: array - items: *215 + items: *221 examples: default: value: @@ -118117,7 +118593,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *182 + - *187 - *17 - *19 responses: @@ -118129,7 +118605,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *186 headers: Link: *43 x-github: @@ -118148,7 +118624,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *182 + - *187 - *17 - *19 responses: @@ -118160,7 +118636,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *186 headers: Link: *43 x-github: @@ -118179,7 +118655,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *182 + - *187 - name: target_user in: path required: true @@ -118206,8 +118682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *182 - - *196 + - *187 + - *202 - *17 - *19 responses: @@ -118217,9 +118693,9 @@ paths: application/json: schema: type: array - items: *197 + items: *203 examples: - default: *198 + default: *204 headers: Link: *43 '422': *15 @@ -118240,7 +118716,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *182 + - *187 - *17 - *19 responses: @@ -118250,9 +118726,9 @@ paths: application/json: schema: type: array - items: *798 + items: *803 examples: - default: *824 + default: *828 headers: Link: *43 x-github: @@ -118276,7 +118752,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *182 + - *187 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -118348,7 +118824,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *182 + - *187 responses: '200': description: Response @@ -118356,7 +118832,7 @@ paths: application/json: schema: *22 examples: - default: *634 + default: *639 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118374,7 +118850,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *182 + - *187 - *17 - *19 responses: @@ -118429,7 +118905,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *182 + - *187 - *17 - *19 responses: @@ -118441,7 +118917,7 @@ paths: type: array items: *64 examples: - default: *806 + default: *226 headers: Link: *43 x-github: @@ -118480,8 +118956,8 @@ paths: - docker - nuget - container - - *807 - - *182 + - *811 + - *187 - *19 - *17 responses: @@ -118491,12 +118967,12 @@ paths: application/json: schema: type: array - items: *358 + items: *363 examples: - default: *808 + default: *812 '403': *29 '401': *25 - '400': *809 + '400': *813 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118516,17 +118992,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *360 - - *361 - - *182 + - *365 + - *366 + - *187 responses: '200': description: Response content: application/json: - schema: *358 + schema: *363 examples: - default: *825 + default: *829 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118547,9 +119023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *360 - - *361 - - *182 + - *365 + - *366 + - *187 responses: '204': description: Response @@ -118581,9 +119057,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *360 - - *361 - - *182 + - *365 + - *366 + - *187 - name: token description: package token schema: @@ -118615,9 +119091,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *360 - - *361 - - *182 + - *365 + - *366 + - *187 responses: '200': description: Response @@ -118625,7 +119101,7 @@ paths: application/json: schema: type: array - items: *362 + items: *367 examples: default: value: @@ -118683,16 +119159,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *360 - - *361 - - *363 - - *182 + - *365 + - *366 + - *368 + - *187 responses: '200': description: Response content: application/json: - schema: *362 + schema: *367 examples: default: value: @@ -118727,10 +119203,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *360 - - *361 - - *182 - - *363 + - *365 + - *366 + - *187 + - *368 responses: '204': description: Response @@ -118762,10 +119238,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *360 - - *361 - - *182 - - *363 + - *365 + - *366 + - *187 + - *368 responses: '204': description: Response @@ -118791,7 +119267,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects parameters: - - *182 + - *187 - name: state description: Indicates the state of the projects to return. in: query @@ -118812,7 +119288,7 @@ paths: application/json: schema: type: array - items: *374 + items: *379 examples: default: value: @@ -118870,7 +119346,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *182 + - *187 - name: q description: Limit results to projects of the specified type. in: query @@ -118887,9 +119363,9 @@ paths: application/json: schema: type: array - items: *375 + items: *380 examples: - default: *376 + default: *381 headers: Link: *43 '304': *37 @@ -118911,16 +119387,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *377 - - *182 + - *382 + - *187 responses: '200': description: Response content: application/json: - schema: *375 + schema: *380 examples: - default: *376 + default: *381 headers: Link: *43 '304': *37 @@ -118942,8 +119418,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *377 - - *182 + - *382 + - *187 - *17 - *99 - *100 @@ -118954,9 +119430,9 @@ paths: application/json: schema: type: array - items: *378 + items: *383 examples: - default: *379 + default: *384 headers: Link: *43 '304': *37 @@ -118978,17 +119454,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *377 - - *826 - - *182 + - *382 + - *830 + - *187 responses: '200': description: Response content: application/json: - schema: *378 + schema: *383 examples: - default: *379 + default: *384 headers: Link: *43 '304': *37 @@ -119011,8 +119487,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *377 - - *182 + - *382 + - *187 - *99 - *100 - *17 @@ -119024,16 +119500,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -119041,9 +119520,9 @@ paths: application/json: schema: type: array - items: *385 + items: *390 examples: - default: *386 + default: *391 headers: Link: *43 '304': *37 @@ -119064,8 +119543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *182 - - *377 + - *187 + - *382 requestBody: required: true description: Details of the item to add to the project. @@ -119102,10 +119581,10 @@ paths: description: Response content: application/json: - schema: *827 + schema: *831 examples: - issue: *384 - pull_request: *384 + issue: *389 + pull_request: *389 '304': *37 '403': *29 '401': *25 @@ -119125,28 +119604,31 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *377 - - *182 - - *387 + - *382 + - *187 + - *392 - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *385 + schema: *390 examples: - default: *386 + default: *391 headers: Link: *43 '304': *37 @@ -119167,9 +119649,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *377 - - *182 - - *387 + - *382 + - *187 + - *392 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -119239,13 +119721,13 @@ paths: description: Response content: application/json: - schema: *385 + schema: *390 examples: - text_field: *386 - number_field: *386 - date_field: *386 - single_select_field: *386 - iteration_field: *386 + text_field: *391 + number_field: *391 + date_field: *391 + single_select_field: *391 + iteration_field: *391 '401': *25 '403': *29 '404': *6 @@ -119265,9 +119747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *377 - - *182 - - *387 + - *382 + - *187 + - *392 responses: '204': description: Response @@ -119294,7 +119776,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *182 + - *187 - *17 - *19 responses: @@ -119304,7 +119786,7 @@ paths: application/json: schema: type: array - items: *215 + items: *221 examples: default: value: @@ -119369,7 +119851,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *182 + - *187 - *17 - *19 responses: @@ -119379,7 +119861,7 @@ paths: application/json: schema: type: array - items: *215 + items: *221 examples: default: value: @@ -119442,7 +119924,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *182 + - *187 - name: type description: Limit results to repositories of the specified type. in: query @@ -119485,9 +119967,9 @@ paths: application/json: schema: type: array - items: *255 + items: *262 examples: - default: *364 + default: *369 headers: Link: *43 x-github: @@ -119511,15 +119993,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *182 + - *187 responses: '200': description: Response content: application/json: - schema: *414 + schema: *419 examples: - default: *415 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119541,15 +120023,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *182 + - *187 responses: '200': description: Response content: application/json: - schema: *419 + schema: *424 examples: - default: *420 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119558,7 +120040,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -119566,12 +120051,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user parameters: - - *182 - - *173 - - *222 - - *174 - - *224 - - *225 + - *187 + - *178 + - *229 + - *179 + - *231 + - *232 responses: '200': description: Response when getting a billing premium request usage report @@ -119624,19 +120109,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -119679,7 +120164,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119701,15 +120186,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *182 + - *187 responses: '200': description: Response content: application/json: - schema: *421 + schema: *426 examples: - default: *422 + default: *427 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119729,11 +120214,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *182 - - *173 - - *226 - - *174 - - *227 + - *187 + - *178 + - *233 + - *179 + - *234 responses: '200': description: Response when getting a billing usage report @@ -119804,7 +120289,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *167 + '503': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119822,7 +120307,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *182 + - *187 - *17 - *19 responses: @@ -119832,9 +120317,9 @@ paths: application/json: schema: type: array - items: *812 + items: *816 examples: - default: *813 + default: *817 headers: Link: *43 x-github: @@ -119854,7 +120339,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *182 + - *187 - *17 - *19 responses: @@ -119864,9 +120349,9 @@ paths: application/json: schema: type: array - items: *814 + items: *818 examples: - default: *828 + default: *832 headers: Link: *43 x-github: @@ -119890,8 +120375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *182 - - *829 + - *187 + - *833 - *101 - *17 - *19 @@ -119903,11 +120388,11 @@ paths: schema: anyOf: - type: array - items: *830 + items: *834 - type: array items: *69 examples: - default-response: *817 + default-response: *821 headers: Link: *43 x-github: @@ -119926,7 +120411,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *182 + - *187 - *17 - *19 responses: @@ -119936,9 +120421,9 @@ paths: application/json: schema: type: array - items: *255 + items: *262 examples: - default: *364 + default: *369 headers: Link: *43 x-github: @@ -120066,7 +120551,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &831 + enterprise: &835 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -120124,7 +120609,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &832 + installation: &836 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -120143,7 +120628,7 @@ x-webhooks: required: - id - node_id - organization: &833 + organization: &837 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -120203,13 +120688,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &834 + repository: &838 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: &875 id: description: Unique identifier of the repository example: 42 @@ -120229,8 +120714,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *198 + required: *199 nullable: true organization: title: Simple User @@ -120892,7 +121377,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &872 + required: &876 - archive_url - assignees_url - blobs_url @@ -121043,10 +121528,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -121122,11 +121607,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - rule: &835 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 + rule: &839 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 +121834,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - rule: *835 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 + rule: *839 sender: *4 required: - action @@ -121536,11 +122021,11 @@ x-webhooks: - everyone required: - from - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - rule: *835 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 + rule: *839 sender: *4 required: - action @@ -121611,7 +122096,7 @@ x-webhooks: required: true content: application/json: - schema: &838 + schema: &842 title: Exemption request cancellation event type: object properties: @@ -121619,11 +122104,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: &836 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 + exemption_request: &840 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -121856,7 +122341,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &837 + items: &841 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -121964,7 +122449,7 @@ x-webhooks: required: true content: application/json: - schema: &839 + schema: &843 title: Exemption request completed event type: object properties: @@ -121972,11 +122457,11 @@ x-webhooks: type: string enum: - completed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: *836 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 + exemption_request: *840 sender: *4 required: - action @@ -122046,7 +122531,7 @@ x-webhooks: required: true content: application/json: - schema: &840 + schema: &844 title: Exemption request created event type: object properties: @@ -122054,11 +122539,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: *836 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 + exemption_request: *840 sender: *4 required: - action @@ -122128,7 +122613,7 @@ x-webhooks: required: true content: application/json: - schema: &841 + schema: &845 title: Exemption response dismissed event type: object properties: @@ -122136,12 +122621,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: *836 - exemption_response: *837 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 + exemption_request: *840 + exemption_response: *841 sender: *4 required: - action @@ -122213,7 +122698,7 @@ x-webhooks: required: true content: application/json: - schema: &842 + schema: &846 title: Exemption response submitted event type: object properties: @@ -122221,12 +122706,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: *836 - exemption_response: *837 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 + exemption_request: *840 + exemption_response: *841 sender: *4 required: - action @@ -122299,7 +122784,7 @@ x-webhooks: required: true content: application/json: - schema: *838 + schema: *842 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122366,7 +122851,7 @@ x-webhooks: required: true content: application/json: - schema: *839 + schema: *843 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122433,7 +122918,7 @@ x-webhooks: required: true content: application/json: - schema: *840 + schema: *844 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122500,7 +122985,7 @@ x-webhooks: required: true content: application/json: - schema: *841 + schema: *845 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122568,7 +123053,7 @@ x-webhooks: required: true content: application/json: - schema: *842 + schema: *846 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122646,7 +123131,7 @@ x-webhooks: type: string enum: - completed - check_run: &844 + check_run: &848 title: CheckRun description: A check performed on the code of a given code change type: object @@ -122699,8 +123184,8 @@ x-webhooks: type: string pull_requests: type: array - items: *194 - repository: *255 + items: *200 + repository: *262 status: example: completed type: string @@ -122737,7 +123222,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *843 + deployment: *847 details_url: example: https://example.com type: string @@ -122787,7 +123272,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *194 + items: *200 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -122822,10 +123307,10 @@ x-webhooks: - output - app - pull_requests - installation: *832 - enterprise: *831 - organization: *833 - repository: *834 + installation: *836 + enterprise: *835 + organization: *837 + repository: *838 sender: *4 required: - check_run @@ -123218,11 +123703,11 @@ x-webhooks: type: string enum: - created - check_run: *844 - installation: *832 - enterprise: *831 - organization: *833 - repository: *834 + check_run: *848 + installation: *836 + enterprise: *835 + organization: *837 + repository: *838 sender: *4 required: - check_run @@ -123618,11 +124103,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *844 - installation: *832 - enterprise: *831 - organization: *833 - repository: *834 + check_run: *848 + installation: *836 + enterprise: *835 + organization: *837 + repository: *838 requested_action: description: The action requested by the user. type: object @@ -124027,11 +124512,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *844 - installation: *832 - enterprise: *831 - organization: *833 - repository: *834 + check_run: *848 + installation: *836 + enterprise: *835 + organization: *837 + repository: *838 sender: *4 required: - check_run @@ -125008,10 +125493,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -125681,10 +126166,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -126348,10 +126833,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -126517,7 +127002,7 @@ x-webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *533 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -126662,20 +127147,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &845 + commit_oid: &849 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: *835 + installation: *836 + organization: *837 + ref: &850 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: *838 sender: *4 required: - action @@ -126840,7 +127325,7 @@ x-webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *533 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127070,12 +127555,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *845 - enterprise: *831 - installation: *832 - organization: *833 - ref: *846 - repository: *834 + commit_oid: *849 + enterprise: *835 + installation: *836 + organization: *837 + ref: *850 + repository: *838 sender: *4 required: - action @@ -127170,7 +127655,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *528 + dismissed_comment: *533 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 +127826,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *845 - enterprise: *831 - installation: *832 - organization: *833 - ref: *846 - repository: *834 + commit_oid: *849 + enterprise: *835 + installation: *836 + organization: *837 + ref: *850 + repository: *838 sender: *4 required: - action @@ -127512,7 +127997,7 @@ x-webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *533 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127678,12 +128163,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *845 - enterprise: *831 - installation: *832 - organization: *833 - ref: *846 - repository: *834 + commit_oid: *849 + enterprise: *835 + installation: *836 + organization: *837 + ref: *850 + repository: *838 sender: *4 required: - action @@ -127783,7 +128268,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *528 + dismissed_comment: *533 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 +128436,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 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: *838 sender: *4 required: - action @@ -128057,7 +128542,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *528 + dismissed_comment: *533 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 +128682,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *845 - enterprise: *831 - installation: *832 - organization: *833 - ref: *846 - repository: *834 + commit_oid: *849 + enterprise: *835 + installation: *836 + organization: *837 + ref: *850 + repository: *838 sender: *4 required: - action @@ -128459,10 +128944,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -128542,18 +129027,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *833 - pusher_type: &847 + organization: *837 + pusher_type: &851 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &848 + ref: &852 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -128563,7 +129048,7 @@ x-webhooks: enum: - tag - branch - repository: *834 + repository: *838 sender: *4 required: - ref @@ -128645,10 +129130,10 @@ x-webhooks: type: string enum: - created - definition: *129 - enterprise: *831 - installation: *832 - organization: *833 + definition: *134 + enterprise: *835 + installation: *836 + organization: *837 sender: *4 required: - action @@ -128733,9 +129218,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 sender: *4 required: - action @@ -128812,10 +129297,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *129 - enterprise: *831 - installation: *832 - organization: *833 + definition: *134 + enterprise: *835 + installation: *836 + organization: *837 sender: *4 required: - action @@ -128892,10 +129377,10 @@ x-webhooks: type: string enum: - updated - definition: *129 - enterprise: *831 - installation: *832 - organization: *833 + definition: *134 + enterprise: *835 + installation: *836 + organization: *837 sender: *4 required: - action @@ -128972,19 +129457,19 @@ x-webhooks: type: string enum: - updated - enterprise: *831 - installation: *832 - repository: *834 - organization: *833 + enterprise: *835 + installation: *836 + repository: *838 + organization: *837 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *389 + items: *394 old_property_values: type: array description: The old custom property values for the repository. - items: *389 + items: *394 required: - action - repository @@ -129060,18 +129545,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 - pusher_type: *847 - ref: *848 + enterprise: *835 + installation: *836 + organization: *837 + pusher_type: *851 + ref: *852 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *834 + repository: *838 sender: *4 required: - ref @@ -129155,11 +129640,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *589 + installation: *836 + organization: *837 + enterprise: *835 + repository: *838 sender: *4 required: - action @@ -129243,11 +129728,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *589 + installation: *836 + organization: *837 + enterprise: *835 + repository: *838 sender: *4 required: - action @@ -129331,11 +129816,11 @@ x-webhooks: type: string enum: - created - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *589 + installation: *836 + organization: *837 + enterprise: *835 + repository: *838 sender: *4 required: - action @@ -129417,11 +129902,11 @@ x-webhooks: type: string enum: - dismissed - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *589 + installation: *836 + organization: *837 + enterprise: *835 + repository: *838 sender: *4 required: - action @@ -129503,11 +129988,11 @@ x-webhooks: type: string enum: - fixed - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *589 + installation: *836 + organization: *837 + enterprise: *835 + repository: *838 sender: *4 required: - action @@ -129590,11 +130075,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *589 + installation: *836 + organization: *837 + enterprise: *835 + repository: *838 sender: *4 required: - action @@ -129676,11 +130161,11 @@ x-webhooks: type: string enum: - reopened - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *589 + installation: *836 + organization: *837 + enterprise: *835 + repository: *838 sender: *4 required: - action @@ -129757,9 +130242,9 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - key: &849 + enterprise: *835 + installation: *836 + key: &853 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 +130280,8 @@ x-webhooks: - verified - created_at - read_only - organization: *833 - repository: *834 + organization: *837 + repository: *838 sender: *4 required: - action @@ -129873,11 +130358,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - key: *849 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + key: *853 + organization: *837 + repository: *838 sender: *4 required: - action @@ -130438,12 +130923,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 - workflow: &853 + workflow: &857 title: Workflow type: object nullable: true @@ -131169,13 +131654,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *590 + deployment: *595 pull_requests: type: array - items: *682 - repository: *834 - organization: *833 - installation: *832 + items: *687 + repository: *838 + organization: *837 + installation: *836 sender: *4 responses: '200': @@ -131246,7 +131731,7 @@ x-webhooks: type: string enum: - approved - approver: &850 + approver: &854 type: object properties: avatar_url: @@ -131289,11 +131774,11 @@ x-webhooks: type: string comment: type: string - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - reviewers: &851 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 + reviewers: &855 type: array items: type: object @@ -131372,7 +131857,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &852 + workflow_job_run: &856 type: object properties: conclusion: @@ -132103,18 +132588,18 @@ x-webhooks: type: string enum: - rejected - approver: *850 + approver: *854 comment: type: string - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - reviewers: *851 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 + reviewers: *855 sender: *4 since: type: string - workflow_job_run: *852 + workflow_job_run: *856 workflow_job_runs: type: array items: @@ -132818,13 +133303,13 @@ x-webhooks: type: string enum: - requested - enterprise: *831 + enterprise: *835 environment: type: string - installation: *832 - organization: *833 - repository: *834 - requestor: &858 + installation: *836 + organization: *837 + repository: *838 + requestor: &862 title: User type: object nullable: true @@ -134723,12 +135208,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 - workflow: *853 + workflow: *857 workflow_run: title: Deployment Workflow Run type: object @@ -135408,7 +135893,7 @@ x-webhooks: type: string enum: - answered - answer: &856 + answer: &860 type: object properties: author_association: @@ -135565,11 +136050,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *858 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -135696,11 +136181,11 @@ x-webhooks: - from required: - category - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *858 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -135783,11 +136268,11 @@ x-webhooks: type: string enum: - closed - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *858 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -135869,7 +136354,7 @@ x-webhooks: type: string enum: - created - comment: &855 + comment: &859 type: object properties: author_association: @@ -136026,11 +136511,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *858 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -136113,12 +136598,12 @@ x-webhooks: type: string enum: - deleted - comment: *855 - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + comment: *859 + discussion: *858 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -136213,12 +136698,12 @@ x-webhooks: - from required: - body - comment: *855 - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + comment: *859 + discussion: *858 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -136302,11 +136787,11 @@ x-webhooks: type: string enum: - created - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *858 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -136388,11 +136873,11 @@ x-webhooks: type: string enum: - deleted - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *858 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -136492,11 +136977,11 @@ x-webhooks: type: string required: - from - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *858 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -136578,10 +137063,10 @@ x-webhooks: type: string enum: - labeled - discussion: *854 - enterprise: *831 - installation: *832 - label: &857 + discussion: *858 + enterprise: *835 + installation: *836 + label: &861 title: Label type: object properties: @@ -136613,8 +137098,8 @@ x-webhooks: - color - default - description - organization: *833 - repository: *834 + organization: *837 + repository: *838 sender: *4 required: - action @@ -136697,11 +137182,11 @@ x-webhooks: type: string enum: - locked - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *858 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -136783,11 +137268,11 @@ x-webhooks: type: string enum: - pinned - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *858 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -136869,11 +137354,11 @@ x-webhooks: type: string enum: - reopened - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *858 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -136958,16 +137443,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *854 - new_repository: *834 + new_discussion: *858 + new_repository: *838 required: - new_discussion - new_repository - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *858 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -137050,10 +137535,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *854 - old_answer: *856 - organization: *833 - repository: *834 + discussion: *858 + old_answer: *860 + organization: *837 + repository: *838 sender: *4 required: - action @@ -137135,12 +137620,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *854 - enterprise: *831 - installation: *832 - label: *857 - organization: *833 - repository: *834 + discussion: *858 + enterprise: *835 + installation: *836 + label: *861 + organization: *837 + repository: *838 sender: *4 required: - action @@ -137223,11 +137708,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *858 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -137309,11 +137794,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *858 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -137382,7 +137867,7 @@ x-webhooks: required: true content: application/json: - schema: *840 + schema: *844 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137445,7 +137930,7 @@ x-webhooks: required: true content: application/json: - schema: *842 + schema: *846 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137511,7 +137996,7 @@ x-webhooks: required: true content: application/json: - schema: *838 + schema: *842 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137577,7 +138062,7 @@ x-webhooks: required: true content: application/json: - schema: *839 + schema: *843 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137643,7 +138128,7 @@ x-webhooks: required: true content: application/json: - schema: *840 + schema: *844 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137709,7 +138194,7 @@ x-webhooks: required: true content: application/json: - schema: *841 + schema: *845 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137775,7 +138260,7 @@ x-webhooks: required: true content: application/json: - schema: *842 + schema: *846 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137842,7 +138327,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *831 + enterprise: *835 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -138502,9 +138987,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *832 - organization: *833 - repository: *834 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - forkee @@ -138650,9 +139135,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 pages: description: The pages that were updated. type: array @@ -138689,7 +139174,7 @@ x-webhooks: - action - sha - html_url - repository: *834 + repository: *838 sender: *4 required: - pages @@ -138765,10 +139250,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 + enterprise: *835 installation: *22 - organization: *833 - repositories: &859 + organization: *837 + repositories: &863 description: An array of repository objects that the installation can access. type: array @@ -138794,8 +139279,8 @@ x-webhooks: - name - full_name - private - repository: *834 - requester: *858 + repository: *838 + requester: *862 sender: *4 required: - action @@ -138870,11 +139355,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 + enterprise: *835 installation: *22 - organization: *833 - repositories: *859 - repository: *834 + organization: *837 + repositories: *863 + repository: *838 requester: nullable: true sender: *4 @@ -138950,11 +139435,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *831 + enterprise: *835 installation: *22 - organization: *833 - repositories: *859 - repository: *834 + organization: *837 + repositories: *863 + repository: *838 requester: nullable: true sender: *4 @@ -139030,10 +139515,10 @@ x-webhooks: type: string enum: - added - enterprise: *831 + enterprise: *835 installation: *22 - organization: *833 - repositories_added: &860 + organization: *837 + repositories_added: &864 description: An array of repository objects, which were added to the installation. type: array @@ -139079,15 +139564,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *834 - repository_selection: &861 + repository: *838 + repository_selection: &865 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *858 + requester: *862 sender: *4 required: - action @@ -139166,10 +139651,10 @@ x-webhooks: type: string enum: - removed - enterprise: *831 + enterprise: *835 installation: *22 - organization: *833 - repositories_added: *860 + organization: *837 + repositories_added: *864 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -139196,9 +139681,9 @@ x-webhooks: - name - full_name - private - repository: *834 - repository_selection: *861 - requester: *858 + repository: *838 + repository_selection: *865 + requester: *862 sender: *4 required: - action @@ -139277,11 +139762,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *831 + enterprise: *835 installation: *22 - organization: *833 - repositories: *859 - repository: *834 + organization: *837 + repositories: *863 + repository: *838 requester: nullable: true sender: *4 @@ -139460,10 +139945,10 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 target_type: type: string @@ -139542,11 +140027,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *831 + enterprise: *835 installation: *22 - organization: *833 - repositories: *859 - repository: *834 + organization: *837 + repositories: *863 + repository: *838 requester: nullable: true sender: *4 @@ -139670,8 +140155,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *192 + required: *193 reactions: title: Reactions type: object @@ -139798,8 +140283,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -140593,8 +141078,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *780 + issue_dependencies_summary: *781 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140610,7 +141095,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *347 updated_at: type: string format: date-time @@ -140943,8 +141428,8 @@ x-webhooks: - state - locked - assignee - organization: *833 - repository: *834 + organization: *837 + repository: *838 sender: *4 required: - action @@ -141024,7 +141509,7 @@ x-webhooks: type: string enum: - deleted - comment: &862 + comment: &866 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -141189,8 +141674,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -141980,8 +142465,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *780 + issue_dependencies_summary: *781 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141997,7 +142482,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *347 updated_at: type: string format: date-time @@ -142332,8 +142817,8 @@ x-webhooks: - state - locked - assignee - organization: *833 - repository: *834 + organization: *837 + repository: *838 sender: *4 required: - action @@ -142413,7 +142898,7 @@ x-webhooks: type: string enum: - edited - changes: &891 + changes: &895 description: The changes to the comment. type: object properties: @@ -142425,9 +142910,9 @@ x-webhooks: type: string required: - from - comment: *862 - enterprise: *831 - installation: *832 + comment: *866 + enterprise: *835 + installation: *836 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143220,8 +143705,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *780 + issue_dependencies_summary: *781 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143237,7 +143722,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *347 updated_at: type: string format: date-time @@ -143570,8 +144055,8 @@ x-webhooks: - state - locked - assignee - organization: *833 - repository: *834 + organization: *837 + repository: *838 sender: *4 required: - action @@ -143655,15 +144140,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *189 + blocked_issue: *195 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *189 + blocking_issue: *195 blocking_issue_repo: *69 - installation: *832 - organization: *833 - repository: *834 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -143751,15 +144236,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *189 + blocked_issue: *195 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *189 + blocking_issue: *195 blocking_issue_repo: *69 - installation: *832 - organization: *833 - repository: *834 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -143846,15 +144331,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *189 + blocked_issue: *195 blocked_issue_repo: *69 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *189 - installation: *832 - organization: *833 - repository: *834 + blocking_issue: *195 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -143942,15 +144427,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *189 + blocked_issue: *195 blocked_issue_repo: *69 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *189 - installation: *832 - organization: *833 - repository: *834 + blocking_issue: *195 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -144035,10 +144520,10 @@ x-webhooks: type: string enum: - assigned - assignee: *858 - enterprise: *831 - installation: *832 - issue: &865 + assignee: *862 + enterprise: *835 + installation: *836 + issue: &869 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -144827,11 +145312,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *780 + issue_dependencies_summary: *781 issue_field_values: type: array - items: *777 + items: *782 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144847,7 +145332,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *347 updated_at: type: string format: date-time @@ -144948,8 +145433,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *833 - repository: *834 + organization: *837 + repository: *838 sender: *4 required: - action @@ -145029,8 +145514,8 @@ x-webhooks: type: string enum: - closed - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -145824,11 +146309,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *780 + issue_dependencies_summary: *781 issue_field_values: type: array - items: *777 + items: *782 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145844,7 +146329,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *347 updated_at: type: string format: date-time @@ -146080,8 +146565,8 @@ x-webhooks: required: - state - closed_at - organization: *833 - repository: *834 + organization: *837 + repository: *838 sender: *4 required: - action @@ -146160,8 +146645,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146946,11 +147431,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *780 + issue_dependencies_summary: *781 issue_field_values: type: array - items: *777 + items: *782 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146966,7 +147451,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *347 updated_at: type: string format: date-time @@ -147066,8 +147551,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *833 - repository: *834 + organization: *837 + repository: *838 sender: *4 required: - action @@ -147146,8 +147631,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147954,11 +148439,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *780 + issue_dependencies_summary: *781 issue_field_values: type: array - items: *777 + items: *782 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147974,7 +148459,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *347 updated_at: type: string format: date-time @@ -148053,7 +148538,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &863 + milestone: &867 title: Milestone description: A collection of related issues and pull requests. type: object @@ -148191,8 +148676,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *833 - repository: *834 + organization: *837 + repository: *838 sender: *4 required: - action @@ -148291,8 +148776,8 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149081,11 +149566,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *780 + issue_dependencies_summary: *781 issue_field_values: type: array - items: *777 + items: *782 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149098,7 +149583,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *342 + type: *347 title: description: Title of the issue type: string @@ -149202,9 +149687,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *857 - organization: *833 - repository: *834 + label: *861 + organization: *837 + repository: *838 sender: *4 required: - action @@ -149284,8 +149769,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150073,11 +150558,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *780 + issue_dependencies_summary: *781 issue_field_values: type: array - items: *777 + items: *782 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150090,7 +150575,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *342 + type: *347 title: description: Title of the issue type: string @@ -150194,9 +150679,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *857 - organization: *833 - repository: *834 + label: *861 + organization: *837 + repository: *838 sender: *4 required: - action @@ -150276,8 +150761,8 @@ x-webhooks: type: string enum: - locked - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151089,11 +151574,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *780 + issue_dependencies_summary: *781 issue_field_values: type: array - items: *777 + items: *782 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151106,7 +151591,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *342 + type: *347 title: description: Title of the issue type: string @@ -151187,8 +151672,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *833 - repository: *834 + organization: *837 + repository: *838 sender: *4 required: - action @@ -151267,8 +151752,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152074,11 +152559,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *780 + issue_dependencies_summary: *781 issue_field_values: type: array - items: *777 + items: *782 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152094,7 +152579,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *347 updated_at: type: string format: date-time @@ -152172,9 +152657,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *863 - organization: *833 - repository: *834 + milestone: *867 + organization: *837 + repository: *838 sender: *4 required: - action @@ -153042,11 +153527,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *780 + issue_dependencies_summary: *781 issue_field_values: type: array - items: *777 + items: *782 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153139,7 +153624,7 @@ x-webhooks: required: - login - id - type: *342 + type: *347 required: - id - number @@ -153608,8 +154093,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154398,11 +154883,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *780 + issue_dependencies_summary: *781 issue_field_values: type: array - items: *777 + items: *782 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154418,7 +154903,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *347 updated_at: type: string format: date-time @@ -154518,8 +155003,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *833 - repository: *834 + organization: *837 + repository: *838 sender: *4 required: - action @@ -154599,9 +155084,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *831 - installation: *832 - issue: &864 + enterprise: *835 + installation: *836 + issue: &868 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -155384,11 +155869,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *780 + issue_dependencies_summary: *781 issue_field_values: type: array - items: *777 + items: *782 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155404,7 +155889,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *347 updated_at: type: string format: date-time @@ -155504,8 +155989,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *833 - repository: *834 + organization: *837 + repository: *838 sender: *4 required: - action @@ -155584,8 +156069,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156395,11 +156880,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *780 + issue_dependencies_summary: *781 issue_field_values: type: array - items: *777 + items: *782 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156493,9 +156978,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *342 - organization: *833 - repository: *834 + type: *347 + organization: *837 + repository: *838 sender: *4 required: - action @@ -157361,11 +157846,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *780 + issue_dependencies_summary: *781 issue_field_values: type: array - items: *777 + items: *782 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157381,7 +157866,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *347 updated_at: type: string format: date-time @@ -157949,11 +158434,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *831 - installation: *832 - issue: *864 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + issue: *868 + organization: *837 + repository: *838 sender: *4 required: - action @@ -158033,12 +158518,12 @@ x-webhooks: type: string enum: - typed - enterprise: *831 - installation: *832 - issue: *865 - type: *342 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + issue: *869 + type: *347 + organization: *837 + repository: *838 sender: *4 required: - action @@ -158119,7 +158604,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &894 + assignee: &898 title: User type: object nullable: true @@ -158189,11 +158674,11 @@ x-webhooks: required: - login - id - enterprise: *831 - installation: *832 - issue: *865 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + issue: *869 + organization: *837 + repository: *838 sender: *4 required: - action @@ -158272,12 +158757,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *831 - installation: *832 - issue: *865 - label: *857 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + issue: *869 + label: *861 + organization: *837 + repository: *838 sender: *4 required: - action @@ -158357,8 +158842,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159168,11 +159653,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *780 + issue_dependencies_summary: *781 issue_field_values: type: array - items: *777 + items: *782 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159188,7 +159673,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *347 updated_at: type: string format: date-time @@ -159266,8 +159751,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *833 - repository: *834 + organization: *837 + repository: *838 sender: *4 required: - action @@ -159347,11 +159832,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *831 - installation: *832 - issue: *864 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + issue: *868 + organization: *837 + repository: *838 sender: *4 required: - action @@ -159430,12 +159915,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *831 - installation: *832 - issue: *865 - type: *342 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + issue: *869 + type: *347 + organization: *837 + repository: *838 sender: *4 required: - action @@ -159515,11 +160000,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - label: *857 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + label: *861 + organization: *837 + repository: *838 sender: *4 required: - action @@ -159597,11 +160082,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - label: *857 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + label: *861 + organization: *837 + repository: *838 sender: *4 required: - action @@ -159711,11 +160196,11 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - label: *857 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + label: *861 + organization: *837 + repository: *838 sender: *4 required: - action @@ -159797,9 +160282,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *831 - installation: *832 - marketplace_purchase: &866 + enterprise: *835 + installation: *836 + marketplace_purchase: &870 title: Marketplace Purchase type: object required: @@ -159882,8 +160367,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *833 - previous_marketplace_purchase: &867 + organization: *837 + previous_marketplace_purchase: &871 title: Marketplace Purchase type: object properties: @@ -159963,7 +160448,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *834 + repository: *838 sender: *4 required: - action @@ -160043,10 +160528,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *831 - installation: *832 - marketplace_purchase: *866 - organization: *833 + enterprise: *835 + installation: *836 + marketplace_purchase: *870 + organization: *837 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -160129,7 +160614,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *834 + repository: *838 sender: *4 required: - action @@ -160211,10 +160696,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *831 - installation: *832 - marketplace_purchase: *866 - organization: *833 + enterprise: *835 + installation: *836 + marketplace_purchase: *870 + organization: *837 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -160296,7 +160781,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *834 + repository: *838 sender: *4 required: - action @@ -160377,8 +160862,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 marketplace_purchase: title: Marketplace Purchase type: object @@ -160460,9 +160945,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *833 - previous_marketplace_purchase: *867 - repository: *834 + organization: *837 + previous_marketplace_purchase: *871 + repository: *838 sender: *4 required: - action @@ -160542,12 +161027,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *831 - installation: *832 - marketplace_purchase: *866 - organization: *833 - previous_marketplace_purchase: *867 - repository: *834 + enterprise: *835 + installation: *836 + marketplace_purchase: *870 + organization: *837 + previous_marketplace_purchase: *871 + repository: *838 sender: *4 required: - action @@ -160649,11 +161134,11 @@ x-webhooks: type: string required: - to - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + member: *862 + organization: *837 + repository: *838 sender: *4 required: - action @@ -160753,11 +161238,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + member: *862 + organization: *837 + repository: *838 sender: *4 required: - action @@ -160836,11 +161321,11 @@ x-webhooks: type: string enum: - removed - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + member: *862 + organization: *837 + repository: *838 sender: *4 required: - action @@ -160918,11 +161403,11 @@ x-webhooks: type: string enum: - added - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + member: *862 + organization: *837 + repository: *838 scope: description: The scope of the membership. Currently, can only be `team`. @@ -160998,7 +161483,7 @@ x-webhooks: required: - login - id - team: &868 + team: &872 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -161221,11 +161706,11 @@ x-webhooks: type: string enum: - removed - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + member: *862 + organization: *837 + repository: *838 scope: description: The scope of the membership. Currently, can only be `team`. @@ -161302,7 +161787,7 @@ x-webhooks: required: - login - id - team: *868 + team: *872 required: - action - scope @@ -161384,8 +161869,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *832 - merge_group: &870 + installation: *836 + merge_group: &874 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -161404,15 +161889,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *869 + head_commit: *873 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *833 - repository: *834 + organization: *837 + repository: *838 sender: *4 required: - action @@ -161498,10 +161983,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *832 - merge_group: *870 - organization: *833 - repository: *834 + installation: *836 + merge_group: *874 + organization: *837 + repository: *838 sender: *4 required: - action @@ -161574,7 +162059,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 + enterprise: *835 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -161683,16 +162168,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *832 - organization: *833 + installation: *836 + organization: *837 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: *875 + required: *876 nullable: true sender: *4 required: @@ -161773,11 +162258,11 @@ x-webhooks: type: string enum: - closed - enterprise: *831 - installation: *832 - milestone: *863 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + milestone: *867 + organization: *837 + repository: *838 sender: *4 required: - action @@ -161856,9 +162341,9 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - milestone: &873 + enterprise: *835 + installation: *836 + milestone: &877 title: Milestone description: A collection of related issues and pull requests. type: object @@ -161995,8 +162480,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *833 - repository: *834 + organization: *837 + repository: *838 sender: *4 required: - action @@ -162075,11 +162560,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - milestone: *863 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + milestone: *867 + organization: *837 + repository: *838 sender: *4 required: - action @@ -162189,11 +162674,11 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - milestone: *863 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + milestone: *867 + organization: *837 + repository: *838 sender: *4 required: - action @@ -162273,11 +162758,11 @@ x-webhooks: type: string enum: - opened - enterprise: *831 - installation: *832 - milestone: *873 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + milestone: *877 + organization: *837 + repository: *838 sender: *4 required: - action @@ -162356,11 +162841,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *858 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + blocked_user: *862 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -162439,11 +162924,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *858 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + blocked_user: *862 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -162522,9 +163007,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - membership: &874 + enterprise: *835 + installation: *836 + membership: &878 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -162631,8 +163116,8 @@ x-webhooks: - role - organization_url - user - organization: *833 - repository: *834 + organization: *837 + repository: *838 sender: *4 required: - action @@ -162710,11 +163195,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *831 - installation: *832 - membership: *874 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + membership: *878 + organization: *837 + repository: *838 sender: *4 required: - action @@ -162793,8 +163278,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -162910,10 +163395,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *833 - repository: *834 + organization: *837 + repository: *838 sender: *4 - user: *858 + user: *862 required: - action - invitation @@ -162991,11 +163476,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *831 - installation: *832 - membership: *874 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + membership: *878 + organization: *837 + repository: *838 sender: *4 required: - action @@ -163082,11 +163567,11 @@ x-webhooks: properties: from: type: string - enterprise: *831 - installation: *832 - membership: *874 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + membership: *878 + organization: *837 + repository: *838 sender: *4 required: - action @@ -163162,9 +163647,9 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 package: description: Information about the package. type: object @@ -163663,7 +164148,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &875 + items: &879 title: Ruby Gems metadata type: object properties: @@ -163758,7 +164243,7 @@ x-webhooks: - owner - package_version - registry - repository: *834 + repository: *838 sender: *4 required: - action @@ -163834,9 +164319,9 @@ x-webhooks: type: string enum: - updated - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 package: description: Information about the package. type: object @@ -164189,7 +164674,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *875 + items: *879 source_url: type: string format: uri @@ -164259,7 +164744,7 @@ x-webhooks: - owner - package_version - registry - repository: *834 + repository: *838 sender: *4 required: - action @@ -164436,12 +164921,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *831 + enterprise: *835 id: type: integer - installation: *832 - organization: *833 - repository: *834 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - id @@ -164518,7 +165003,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &876 + personal_access_token_request: &880 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -164664,10 +165149,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *831 - organization: *833 + enterprise: *835 + organization: *837 sender: *4 - installation: *832 + installation: *836 required: - action - personal_access_token_request @@ -164744,11 +165229,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *876 - enterprise: *831 - organization: *833 + personal_access_token_request: *880 + enterprise: *835 + organization: *837 sender: *4 - installation: *832 + installation: *836 required: - action - personal_access_token_request @@ -164824,11 +165309,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *876 - enterprise: *831 - organization: *833 + personal_access_token_request: *880 + enterprise: *835 + organization: *837 sender: *4 - installation: *832 + installation: *836 required: - action - personal_access_token_request @@ -164903,11 +165388,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *876 - organization: *833 - enterprise: *831 + personal_access_token_request: *880 + organization: *837 + enterprise: *835 sender: *4 - installation: *832 + installation: *836 required: - action - personal_access_token_request @@ -165012,7 +165497,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *877 + last_response: *881 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -165044,8 +165529,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *833 - repository: *834 + organization: *837 + repository: *838 sender: *4 zen: description: Random string of GitHub zen. @@ -165290,10 +165775,10 @@ x-webhooks: - from required: - note - enterprise: *831 - installation: *832 - organization: *833 - project_card: &878 + enterprise: *835 + installation: *836 + organization: *837 + project_card: &882 title: Project Card type: object properties: @@ -165412,7 +165897,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *834 + repository: *838 sender: *4 required: - action @@ -165493,11 +165978,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - project_card: *878 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + project_card: *882 + repository: *838 sender: *4 required: - action @@ -165577,9 +166062,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 project_card: title: Project Card type: object @@ -165707,8 +166192,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: *875 + required: *876 nullable: true sender: *4 required: @@ -165802,11 +166287,11 @@ x-webhooks: - from required: - note - enterprise: *831 - installation: *832 - organization: *833 - project_card: *878 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + project_card: *882 + repository: *838 sender: *4 required: - action @@ -165900,9 +166385,9 @@ x-webhooks: - from required: - column_id - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 project_card: allOf: - title: Project Card @@ -166092,7 +166577,7 @@ x-webhooks: type: string required: - after_id - repository: *834 + repository: *838 sender: *4 required: - action @@ -166172,10 +166657,10 @@ x-webhooks: type: string enum: - closed - enterprise: *831 - installation: *832 - organization: *833 - project: &880 + enterprise: *835 + installation: *836 + organization: *837 + project: &884 title: Project type: object properties: @@ -166299,7 +166784,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *834 + repository: *838 sender: *4 required: - action @@ -166379,10 +166864,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - project_column: &879 + enterprise: *835 + installation: *836 + organization: *837 + project_column: &883 title: Project Column type: object properties: @@ -166421,7 +166906,7 @@ x-webhooks: - name - created_at - updated_at - repository: *834 + repository: *838 sender: *4 required: - action @@ -166500,18 +166985,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - project_column: *879 + enterprise: *835 + installation: *836 + organization: *837 + project_column: *883 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: *875 + required: *876 nullable: true sender: *4 required: @@ -166601,11 +167086,11 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 - project_column: *879 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + project_column: *883 + repository: *838 sender: *4 required: - action @@ -166685,11 +167170,11 @@ x-webhooks: type: string enum: - moved - enterprise: *831 - installation: *832 - organization: *833 - project_column: *879 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + project_column: *883 + repository: *838 sender: *4 required: - action @@ -166769,11 +167254,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - project: *880 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + project: *884 + repository: *838 sender: *4 required: - action @@ -166853,18 +167338,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - project: *880 + enterprise: *835 + installation: *836 + organization: *837 + project: *884 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: *875 + required: *876 nullable: true sender: *4 required: @@ -166966,11 +167451,11 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 - project: *880 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + project: *884 + repository: *838 sender: *4 required: - action @@ -167049,11 +167534,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *831 - installation: *832 - organization: *833 - project: *880 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + project: *884 + repository: *838 sender: *4 required: - action @@ -167134,9 +167619,9 @@ x-webhooks: type: string enum: - closed - installation: *832 - organization: *833 - projects_v2: *375 + installation: *836 + organization: *837 + projects_v2: *380 sender: *4 required: - action @@ -167217,9 +167702,9 @@ x-webhooks: type: string enum: - created - installation: *832 - organization: *833 - projects_v2: *375 + installation: *836 + organization: *837 + projects_v2: *380 sender: *4 required: - action @@ -167300,9 +167785,9 @@ x-webhooks: type: string enum: - deleted - installation: *832 - organization: *833 - projects_v2: *375 + installation: *836 + organization: *837 + projects_v2: *380 sender: *4 required: - action @@ -167419,9 +167904,9 @@ x-webhooks: type: string to: type: string - installation: *832 - organization: *833 - projects_v2: *375 + installation: *836 + organization: *837 + projects_v2: *380 sender: *4 required: - action @@ -167504,7 +167989,7 @@ x-webhooks: type: string enum: - archived - changes: &884 + changes: &888 type: object properties: archived_at: @@ -167518,9 +168003,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *832 - organization: *833 - projects_v2_item: &881 + installation: *836 + organization: *837 + projects_v2_item: &885 title: Projects v2 Item description: An item belonging to a project type: object @@ -167538,7 +168023,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *383 + content_type: *388 creator: *4 created_at: type: string @@ -167655,9 +168140,9 @@ x-webhooks: nullable: true to: type: string - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *836 + organization: *837 + projects_v2_item: *885 sender: *4 required: - action @@ -167739,9 +168224,9 @@ x-webhooks: type: string enum: - created - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *836 + organization: *837 + projects_v2_item: *885 sender: *4 required: - action @@ -167822,9 +168307,9 @@ x-webhooks: type: string enum: - deleted - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *836 + organization: *837 + projects_v2_item: *885 sender: *4 required: - action @@ -167930,7 +168415,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &882 + - &886 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -167952,7 +168437,7 @@ x-webhooks: required: - id - name - - &883 + - &887 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -167986,8 +168471,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *882 - - *883 + - *886 + - *887 required: - field_value - type: object @@ -168003,9 +168488,9 @@ x-webhooks: nullable: true required: - body - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *836 + organization: *837 + projects_v2_item: *885 sender: *4 required: - action @@ -168100,9 +168585,9 @@ x-webhooks: to: type: string nullable: true - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *836 + organization: *837 + projects_v2_item: *885 sender: *4 required: - action @@ -168185,10 +168670,10 @@ x-webhooks: type: string enum: - restored - changes: *884 - installation: *832 - organization: *833 - projects_v2_item: *881 + changes: *888 + installation: *836 + organization: *837 + projects_v2_item: *885 sender: *4 required: - action @@ -168270,9 +168755,9 @@ x-webhooks: type: string enum: - reopened - installation: *832 - organization: *833 - projects_v2: *375 + installation: *836 + organization: *837 + projects_v2: *380 sender: *4 required: - action @@ -168353,14 +168838,14 @@ x-webhooks: type: string enum: - created - installation: *832 - organization: *833 - projects_v2_status_update: &887 + installation: *836 + organization: *837 + projects_v2_status_update: &891 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *885 - required: *886 + properties: *889 + required: *890 sender: *4 required: - action @@ -168441,9 +168926,9 @@ x-webhooks: type: string enum: - deleted - installation: *832 - organization: *833 - projects_v2_status_update: *887 + installation: *836 + organization: *837 + projects_v2_status_update: *891 sender: *4 required: - action @@ -168579,9 +169064,9 @@ x-webhooks: type: string format: date nullable: true - installation: *832 - organization: *833 - projects_v2_status_update: *887 + installation: *836 + organization: *837 + projects_v2_status_update: *891 sender: *4 required: - action @@ -168652,10 +169137,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - repository @@ -168732,13 +169217,13 @@ x-webhooks: type: string enum: - assigned - assignee: *858 - enterprise: *831 - installation: *832 - number: &888 + assignee: *862 + enterprise: *835 + installation: *836 + number: &892 description: The pull request number. type: integer - organization: *833 + organization: *837 pull_request: title: Pull Request type: object @@ -171021,7 +171506,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *838 sender: *4 required: - action @@ -171103,11 +171588,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 number: type: integer - organization: *833 + organization: *837 pull_request: title: Pull Request type: object @@ -173385,7 +173870,7 @@ x-webhooks: - draft reason: type: string - repository: *834 + repository: *838 sender: *4 required: - action @@ -173467,11 +173952,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 number: type: integer - organization: *833 + organization: *837 pull_request: title: Pull Request type: object @@ -175749,7 +176234,7 @@ x-webhooks: - draft reason: type: string - repository: *834 + repository: *838 sender: *4 required: - action @@ -175831,13 +176316,13 @@ x-webhooks: type: string enum: - closed - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: &889 + enterprise: *835 + installation: *836 + number: *892 + organization: *837 + pull_request: &893 allOf: - - *682 + - *687 - type: object properties: allow_auto_merge: @@ -175899,7 +176384,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *834 + repository: *838 sender: *4 required: - action @@ -175980,12 +176465,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *835 + installation: *836 + number: *892 + organization: *837 + pull_request: *893 + repository: *838 sender: *4 required: - action @@ -176065,11 +176550,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *831 - milestone: *666 - number: *888 - organization: *833 - pull_request: &890 + enterprise: *835 + milestone: *671 + number: *892 + organization: *837 + pull_request: &894 title: Pull Request type: object properties: @@ -178332,7 +178817,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *838 sender: *4 required: - action @@ -178411,11 +178896,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 number: type: integer - organization: *833 + organization: *837 pull_request: title: Pull Request type: object @@ -180697,7 +181182,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *834 + repository: *838 sender: *4 required: - action @@ -180821,12 +181306,12 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *835 + installation: *836 + number: *892 + organization: *837 + pull_request: *893 + repository: *838 sender: *4 required: - action @@ -180906,11 +181391,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 number: type: integer - organization: *833 + organization: *837 pull_request: title: Pull Request type: object @@ -183177,7 +183662,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *838 sender: *4 required: - action @@ -183257,11 +183742,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *831 - installation: *832 - label: *857 - number: *888 - organization: *833 + enterprise: *835 + installation: *836 + label: *861 + number: *892 + organization: *837 pull_request: title: Pull Request type: object @@ -185543,7 +186028,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *838 sender: *4 required: - action @@ -185624,10 +186109,10 @@ x-webhooks: type: string enum: - locked - enterprise: *831 - installation: *832 - number: *888 - organization: *833 + enterprise: *835 + installation: *836 + number: *892 + organization: *837 pull_request: title: Pull Request type: object @@ -187907,7 +188392,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *838 sender: *4 required: - action @@ -187987,12 +188472,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *831 - milestone: *666 - number: *888 - organization: *833 - pull_request: *890 - repository: *834 + enterprise: *835 + milestone: *671 + number: *892 + organization: *837 + pull_request: *894 + repository: *838 sender: *4 required: - action @@ -188071,12 +188556,12 @@ x-webhooks: type: string enum: - opened - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *835 + installation: *836 + number: *892 + organization: *837 + pull_request: *893 + repository: *838 sender: *4 required: - action @@ -188157,12 +188642,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *835 + installation: *836 + number: *892 + organization: *837 + pull_request: *893 + repository: *838 sender: *4 required: - action @@ -188242,12 +188727,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *835 + installation: *836 + number: *892 + organization: *837 + pull_request: *893 + repository: *838 sender: *4 required: - action @@ -188613,9 +189098,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 pull_request: type: object properties: @@ -190785,7 +191270,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *834 + repository: *838 sender: *4 required: - action @@ -190865,7 +191350,7 @@ x-webhooks: type: string enum: - deleted - comment: &892 + comment: &896 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 +191635,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 pull_request: type: object properties: @@ -193310,7 +193795,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *834 + repository: *838 sender: *4 required: - action @@ -193390,11 +193875,11 @@ x-webhooks: type: string enum: - edited - changes: *891 - comment: *892 - enterprise: *831 - installation: *832 - organization: *833 + changes: *895 + comment: *896 + enterprise: *835 + installation: *836 + organization: *837 pull_request: type: object properties: @@ -195555,7 +196040,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *834 + repository: *838 sender: *4 required: - action @@ -195636,9 +196121,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 pull_request: title: Simple Pull Request type: object @@ -197811,7 +198296,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 + repository: *838 review: description: The review that was affected. type: object @@ -198058,9 +198543,9 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 pull_request: title: Simple Pull Request type: object @@ -200114,8 +200599,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 - review: &893 + repository: *838 + review: &897 description: The review that was affected. type: object properties: @@ -200348,12 +200833,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 number: description: The pull request number. type: integer - organization: *833 + organization: *837 pull_request: title: Pull Request type: object @@ -202636,7 +203121,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *838 requested_reviewer: title: User type: object @@ -202720,12 +203205,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 number: description: The pull request number. type: integer - organization: *833 + organization: *837 pull_request: title: Pull Request type: object @@ -205015,7 +205500,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *838 requested_team: title: Team description: Groups of organization members that gives permissions @@ -205207,12 +205692,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 number: description: The pull request number. type: integer - organization: *833 + organization: *837 pull_request: title: Pull Request type: object @@ -207497,7 +207982,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *838 requested_reviewer: title: User type: object @@ -207582,12 +208067,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *831 - installation: *832 + enterprise: *835 + installation: *836 number: description: The pull request number. type: integer - organization: *833 + organization: *837 pull_request: title: Pull Request type: object @@ -209863,7 +210348,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *838 requested_team: title: Team description: Groups of organization members that gives permissions @@ -210044,9 +210529,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 pull_request: title: Simple Pull Request type: object @@ -212221,8 +212706,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 - review: *893 + repository: *838 + review: *897 sender: *4 required: - action @@ -212302,9 +212787,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 pull_request: title: Simple Pull Request type: object @@ -214374,7 +214859,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 + repository: *838 sender: *4 thread: type: object @@ -214761,9 +215246,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 pull_request: title: Simple Pull Request type: object @@ -216819,7 +217304,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 + repository: *838 sender: *4 thread: type: object @@ -217209,10 +217694,10 @@ x-webhooks: type: string before: type: string - enterprise: *831 - installation: *832 - number: *888 - organization: *833 + enterprise: *835 + installation: *836 + number: *892 + organization: *837 pull_request: title: Pull Request type: object @@ -219483,7 +219968,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *838 sender: *4 required: - action @@ -219565,11 +220050,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *894 - enterprise: *831 - installation: *832 - number: *888 - organization: *833 + assignee: *898 + enterprise: *835 + installation: *836 + number: *892 + organization: *837 pull_request: title: Pull Request type: object @@ -221852,7 +222337,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *838 sender: *4 required: - action @@ -221931,11 +222416,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *831 - installation: *832 - label: *857 - number: *888 - organization: *833 + enterprise: *835 + installation: *836 + label: *861 + number: *892 + organization: *837 pull_request: title: Pull Request type: object @@ -224208,7 +224693,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *838 sender: *4 required: - action @@ -224289,10 +224774,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *831 - installation: *832 - number: *888 - organization: *833 + enterprise: *835 + installation: *836 + number: *892 + organization: *837 pull_request: title: Pull Request type: object @@ -226557,7 +227042,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *838 sender: *4 required: - action @@ -226757,7 +227242,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *831 + enterprise: *835 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -226849,8 +227334,8 @@ x-webhooks: - url - author - committer - installation: *832 - organization: *833 + installation: *836 + organization: *837 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -227425,9 +227910,9 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 registry_package: type: object properties: @@ -227873,7 +228358,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *875 + items: *879 summary: type: string tag_name: @@ -227927,7 +228412,7 @@ x-webhooks: - owner - package_version - registry - repository: *834 + repository: *838 sender: *4 required: - action @@ -228005,9 +228490,9 @@ x-webhooks: type: string enum: - updated - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 registry_package: type: object properties: @@ -228315,7 +228800,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *875 + items: *879 summary: type: string tag_name: @@ -228364,7 +228849,7 @@ x-webhooks: - owner - package_version - registry - repository: *834 + repository: *838 sender: *4 required: - action @@ -228441,10 +228926,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - release: &895 + enterprise: *835 + installation: *836 + organization: *837 + release: &899 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -228762,7 +229247,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *834 + repository: *838 sender: *4 required: - action @@ -228839,11 +229324,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - release: *895 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + release: *899 + repository: *838 sender: *4 required: - action @@ -228960,11 +229445,11 @@ x-webhooks: type: boolean required: - to - enterprise: *831 - installation: *832 - organization: *833 - release: *895 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + release: *899 + repository: *838 sender: *4 required: - action @@ -229042,9 +229527,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -229366,7 +229851,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *834 + repository: *838 sender: *4 required: - action @@ -229442,10 +229927,10 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 - release: &896 + enterprise: *835 + installation: *836 + organization: *837 + release: &900 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -229764,7 +230249,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *834 + repository: *838 sender: *4 required: - action @@ -229840,11 +230325,11 @@ x-webhooks: type: string enum: - released - enterprise: *831 - installation: *832 - organization: *833 - release: *895 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + release: *899 + repository: *838 sender: *4 required: - action @@ -229920,11 +230405,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *831 - installation: *832 - organization: *833 - release: *896 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + release: *900 + repository: *838 sender: *4 required: - action @@ -230000,11 +230485,11 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - repository_advisory: *735 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 + repository_advisory: *740 sender: *4 required: - action @@ -230080,11 +230565,11 @@ x-webhooks: type: string enum: - reported - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - repository_advisory: *735 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 + repository_advisory: *740 sender: *4 required: - action @@ -230160,10 +230645,10 @@ x-webhooks: type: string enum: - archived - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -230240,10 +230725,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -230321,10 +230806,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -230408,10 +230893,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: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -230523,10 +231008,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -230598,10 +231083,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 status: type: string @@ -230682,10 +231167,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -230762,10 +231247,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -230859,10 +231344,10 @@ x-webhooks: - name required: - repository - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -230942,11 +231427,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - repository_ruleset: *162 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 + repository_ruleset: *167 sender: *4 required: - action @@ -231024,11 +231509,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - repository_ruleset: *162 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 + repository_ruleset: *167 sender: *4 required: - action @@ -231106,11 +231591,11 @@ x-webhooks: type: string enum: - edited - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - repository_ruleset: *162 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 + repository_ruleset: *167 changes: type: object properties: @@ -231129,16 +231614,16 @@ x-webhooks: properties: added: type: array - items: *136 + items: *141 deleted: type: array - items: *136 + items: *141 updated: type: array items: type: object properties: - condition: *136 + condition: *141 changes: type: object properties: @@ -231171,16 +231656,16 @@ x-webhooks: properties: added: type: array - items: *703 + items: *708 deleted: type: array - items: *703 + items: *708 updated: type: array items: type: object properties: - rule: *703 + rule: *708 changes: type: object properties: @@ -231414,10 +231899,10 @@ x-webhooks: - from required: - owner - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -231495,10 +231980,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -231576,7 +232061,7 @@ x-webhooks: type: string enum: - create - alert: &897 + alert: &901 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -231697,10 +232182,10 @@ x-webhooks: type: string enum: - open - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -231906,10 +232391,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -231987,11 +232472,11 @@ x-webhooks: type: string enum: - reopen - alert: *897 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *901 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -232190,10 +232675,10 @@ x-webhooks: enum: - fixed - open - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -232271,11 +232756,11 @@ x-webhooks: type: string enum: - created - alert: &898 + alert: &902 type: object properties: - number: *113 - created_at: *120 + number: *118 + created_at: *125 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -232283,8 +232768,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *118 - html_url: *119 + url: *123 + html_url: *124 locations_url: type: string format: uri @@ -232389,10 +232874,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -232473,11 +232958,11 @@ x-webhooks: type: string enum: - created - alert: *898 - installation: *832 - location: *899 - organization: *833 - repository: *834 + alert: *902 + installation: *836 + location: *903 + organization: *837 + repository: *838 sender: *4 required: - location @@ -232715,11 +233200,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *898 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *902 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -232797,11 +233282,11 @@ x-webhooks: type: string enum: - reopened - alert: *898 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *902 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -232879,11 +233364,11 @@ x-webhooks: type: string enum: - resolved - alert: *898 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *902 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -232961,11 +233446,11 @@ x-webhooks: type: string enum: - validated - alert: *898 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *902 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -233091,10 +233576,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *834 - enterprise: *831 - installation: *832 - organization: *833 + repository: *838 + enterprise: *835 + installation: *836 + organization: *837 sender: *4 required: - action @@ -233172,11 +233657,11 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - security_advisory: &900 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 + security_advisory: &904 description: The details of the security advisory, including summary, description, and severity. type: object @@ -233192,7 +233677,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *115 + cvss_severities: *120 cwes: type: array items: @@ -233359,11 +233844,11 @@ x-webhooks: type: string enum: - updated - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - security_advisory: *900 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 + security_advisory: *904 sender: *4 required: - action @@ -233436,10 +233921,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -233456,7 +233941,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *115 + cvss_severities: *120 cwes: type: array items: @@ -233623,11 +234108,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *392 - enterprise: *831 - installation: *832 - organization: *833 - repository: *459 + security_and_analysis: *397 + enterprise: *835 + installation: *836 + organization: *837 + repository: *464 sender: *4 required: - changes @@ -233705,12 +234190,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 - sponsorship: &901 + sponsorship: &905 type: object properties: created_at: @@ -234011,12 +234496,12 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 - sponsorship: *901 + sponsorship: *905 required: - action - sponsorship @@ -234104,12 +234589,12 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 - sponsorship: *901 + sponsorship: *905 required: - action - changes @@ -234186,17 +234671,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &902 + effective_date: &906 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: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 - sponsorship: *901 + sponsorship: *905 required: - action - sponsorship @@ -234270,7 +234755,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &903 + changes: &907 type: object properties: tier: @@ -234314,13 +234799,13 @@ x-webhooks: - from required: - tier - effective_date: *902 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + effective_date: *906 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 - sponsorship: *901 + sponsorship: *905 required: - action - changes @@ -234397,13 +234882,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *903 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + changes: *907 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 - sponsorship: *901 + sponsorship: *905 required: - action - changes @@ -234477,10 +234962,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -234563,10 +235048,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -234986,15 +235471,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *831 + enterprise: *835 id: description: The unique identifier of the status. type: integer - installation: *832 + installation: *836 name: type: string - organization: *833 - repository: *834 + organization: *837 + repository: *838 sender: *4 sha: description: The Commit SHA. @@ -235103,15 +235588,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *189 + parent_issue: *195 parent_issue_repo: *69 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *189 - installation: *832 - organization: *833 - repository: *834 + sub_issue: *195 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -235195,15 +235680,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *189 + parent_issue: *195 parent_issue_repo: *69 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *189 - installation: *832 - organization: *833 - repository: *834 + sub_issue: *195 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -235287,15 +235772,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *189 + sub_issue: *195 sub_issue_repo: *69 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *189 - installation: *832 - organization: *833 - repository: *834 + parent_issue: *195 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -235379,15 +235864,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *189 + sub_issue: *195 sub_issue_repo: *69 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *189 - installation: *832 - organization: *833 - repository: *834 + parent_issue: *195 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -235464,12 +235949,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 - team: &904 + team: &908 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -235692,9 +236177,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 repository: title: Repository description: A git repository @@ -236152,7 +236637,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *908 required: - action - team @@ -236228,9 +236713,9 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 repository: title: Repository description: A git repository @@ -236688,7 +237173,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *908 required: - action - team @@ -236765,9 +237250,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 repository: title: Repository description: A git repository @@ -237225,7 +237710,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *908 required: - action - team @@ -237369,9 +237854,9 @@ x-webhooks: - from required: - permissions - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 repository: title: Repository description: A git repository @@ -237829,7 +238314,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *908 required: - action - changes @@ -237907,9 +238392,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *835 + installation: *836 + organization: *837 repository: title: Repository description: A git repository @@ -238367,7 +238852,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *908 required: - action - team @@ -238443,10 +238928,10 @@ x-webhooks: type: string enum: - started - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 required: - action @@ -238519,16 +239004,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *831 + enterprise: *835 inputs: type: object nullable: true additionalProperties: true - installation: *832 - organization: *833 + installation: *836 + organization: *837 ref: type: string - repository: *834 + repository: *838 sender: *4 workflow: type: string @@ -238610,10 +239095,10 @@ x-webhooks: type: string enum: - completed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 workflow_job: allOf: @@ -238850,7 +239335,7 @@ x-webhooks: type: string required: - conclusion - deployment: *590 + deployment: *595 required: - action - repository @@ -238929,10 +239414,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 workflow_job: allOf: @@ -239192,7 +239677,7 @@ x-webhooks: required: - status - steps - deployment: *590 + deployment: *595 required: - action - repository @@ -239271,10 +239756,10 @@ x-webhooks: type: string enum: - queued - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 workflow_job: type: object @@ -239409,7 +239894,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *590 + deployment: *595 required: - action - repository @@ -239488,10 +239973,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 workflow_job: type: object @@ -239627,7 +240112,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *590 + deployment: *595 required: - action - repository @@ -239707,12 +240192,12 @@ x-webhooks: type: string enum: - completed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 - workflow: *853 + workflow: *857 workflow_run: title: Workflow Run type: object @@ -240711,12 +241196,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *835 + installation: *836 + organization: *837 + repository: *838 sender: *4 - workflow: *853 + workflow: *857 workflow_run: title: Workflow Run type: object @@ -241700,12 +242185,12 @@ x-webhooks: type: string enum: - requested - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}