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..e9c967663 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." @@ -41195,29 +41199,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 +54888,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "secret-scanning", "subcategory": "secret-scanning" @@ -55891,6 +55872,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 +57745,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 +57928,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 +57936,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 +57944,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 +59428,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 +60704,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 +61507,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 +61746,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 +101712,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 +101856,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 +101864,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 +101872,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 +120601,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 +141053,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 +191889,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 +199059,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 +353212,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 +353239,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 +540405,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 +686372,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 +693515,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 +717554,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 +717685,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 +717693,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 +717701,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..200b17dc9 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 @@ -996,7 +998,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &233 + schema: &235 title: Validation Error Simple description: Validation Error Simple type: object @@ -1147,7 +1149,7 @@ paths: GitHub. type: object nullable: true - properties: &186 + properties: &187 id: description: Unique identifier of the GitHub app example: 37 @@ -1280,7 +1282,7 @@ paths: about itself. example: 5 type: integer - required: &187 + required: &188 - id - node_id - owner @@ -1740,7 +1742,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &232 + schema: &234 title: Validation Error description: Validation Error type: object @@ -2124,7 +2126,7 @@ paths: parameters: - *17 - *19 - - &196 + - &197 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) @@ -2893,7 +2895,7 @@ paths: title: License Simple description: License Simple type: object - properties: &192 + properties: &193 key: type: string example: mit @@ -2915,7 +2917,7 @@ paths: html_url: type: string format: uri - required: &193 + required: &194 - key - name - url @@ -7468,7 +7470,7 @@ paths: description: Response content: application/json: - schema: &234 + schema: &236 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: &237 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: &238 value: total_count: 2 runners: @@ -7953,7 +7955,7 @@ paths: description: Response content: application/json: - schema: &237 + schema: &239 type: object properties: public_ips: @@ -7978,7 +7980,7 @@ paths: required: - public_ips examples: - default: &238 + default: &240 value: public_ips: current_usage: 17 @@ -8018,7 +8020,7 @@ paths: type: array items: *47 examples: - default: &239 + default: &241 value: id: 4-core cpu_cores: 4 @@ -8275,7 +8277,7 @@ paths: - all - local_only - selected - selected_actions_url: &242 + selected_actions_url: &244 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: &246 type: object properties: days: @@ -8401,7 +8403,7 @@ paths: required: true content: application/json: - schema: &245 + schema: &247 type: object properties: days: @@ -8450,7 +8452,7 @@ paths: required: - approval_policy examples: - default: &246 + default: &248 value: approval_policy: first_time_contributors '404': *6 @@ -8508,7 +8510,7 @@ paths: description: Response content: application/json: - schema: &247 + schema: &249 type: object required: - run_workflows_from_fork_pull_requests @@ -8562,7 +8564,7 @@ paths: required: true content: application/json: - schema: &248 + schema: &250 type: object required: - run_workflows_from_fork_pull_requests @@ -8985,7 +8987,7 @@ paths: description: Success response content: application/json: - schema: &251 + schema: &253 type: object properties: default_workflow_permissions: &58 @@ -9033,7 +9035,7 @@ paths: required: true content: application/json: - schema: &252 + schema: &254 type: object properties: default_workflow_permissions: *58 @@ -9869,7 +9871,7 @@ paths: application/json: schema: type: array - items: &256 + items: &258 title: Runner Application description: Runner Application type: object @@ -9894,7 +9896,7 @@ paths: - download_url - filename examples: - default: &257 + default: &259 value: - os: osx architecture: x64 @@ -9978,7 +9980,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &258 + '201': &260 description: Response content: application/json: @@ -10093,7 +10095,7 @@ paths: - token - expires_at examples: - default: &259 + default: &261 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: &262 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: &263 value: id: 23 name: MBP @@ -10381,7 +10383,7 @@ paths: - *41 - *66 responses: - '200': &262 + '200': &264 description: Response content: application/json: @@ -10437,7 +10439,7 @@ paths: parameters: - *41 - *66 - - &263 + - &265 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: &272 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11169,7 +11171,7 @@ paths: required: false schema: type: string - - &271 + - &273 name: include description: |- The event types to include: @@ -11187,7 +11189,7 @@ paths: - web - git - all - - &272 + - &274 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 + - &275 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 + - &276 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: &277 type: object properties: "@timestamp": @@ -11347,7 +11349,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &276 + default: &278 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12013,7 +12015,7 @@ paths: application/json: schema: type: array - items: &277 + items: &279 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: &280 value: - id: 21 number: 42 @@ -12279,7 +12281,7 @@ paths: application/json: schema: type: array - items: &280 + items: &282 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: &283 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 + - &288 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 + - &289 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: &290 type: string description: State of a code scanning alert. enum: @@ -12547,7 +12549,7 @@ paths: application/json: schema: type: array - items: &289 + items: &291 type: object properties: number: &113 @@ -12757,7 +12759,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &220 + properties: &222 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: &223 - archive_url - assignees_url - blobs_url @@ -13056,7 +13058,7 @@ paths: - most_recent_instance - repository examples: - default: &290 + default: &292 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -13709,7 +13711,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &291 + code_scanning_options: &293 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: &295 type: array description: A list of default code security configurations items: @@ -13919,7 +13921,7 @@ paths: default configuration: *105 examples: - default: &294 + default: &296 value: - default_for_new_repos: public configuration: @@ -14373,7 +14375,7 @@ paths: default: value: default_for_new_repos: all - configuration: &292 + configuration: &294 value: id: 1325 target_type: organization @@ -14458,7 +14460,7 @@ paths: application/json: schema: type: array - items: &295 + items: &297 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: &298 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -14971,7 +14973,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &282 + - &284 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -16145,7 +16147,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &303 + - &305 name: state in: query description: |- @@ -16154,7 +16156,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &304 + - &306 name: severity in: query description: |- @@ -16163,7 +16165,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &305 + - &307 name: ecosystem in: query description: |- @@ -16172,14 +16174,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &306 + - &308 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 + - &309 name: epss_percentage in: query description: |- @@ -16205,7 +16207,7 @@ paths: type: string enum: - patch - - &308 + - &310 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16215,7 +16217,7 @@ paths: enum: - development - runtime - - &309 + - &311 name: sort in: query description: |- @@ -16233,31 +16235,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': @@ -19931,7 +19908,7 @@ paths: '404': *6 '503': *167 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: false category: secret-scanning subcategory: secret-scanning @@ -20402,6 +20379,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 @@ -21004,8 +20991,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 @@ -21023,7 +21012,7 @@ paths: required: false schema: type: integer - - &222 + - &224 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 @@ -21048,21 +21037,21 @@ paths: required: false schema: type: string - - &223 + - &225 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &224 + - &226 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &225 + - &227 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -21146,19 +21135,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 @@ -21276,7 +21265,7 @@ paths: parameters: - *41 - *173 - - &226 + - &228 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 @@ -21286,7 +21275,7 @@ paths: schema: type: integer - *174 - - &227 + - &229 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 +21296,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &228 + schema: &230 type: object properties: usageItems: @@ -21360,7 +21349,7 @@ paths: - netAmount - organizationName examples: - default: &229 + default: &231 value: usageItems: - date: '2023-08-01' @@ -21539,6 +21528,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 @@ -21816,6 +21817,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 + - *180 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: *64 + examples: + default: &184 + 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 + - *180 + 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: &221 + 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 + - *180 + 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 + - *180 + - *78 + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: *64 + examples: + default: *184 + '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 + - *180 + - *78 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *64 + examples: + default: *184 + 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 + - *180 + - *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 +22053,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *41 - - &184 + - &185 name: team_slug description: The slug of the team name. in: path @@ -21865,7 +22087,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *41 - - *184 + - *185 requestBody: required: true content: @@ -21891,6 +22113,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 @@ -21933,7 +22167,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *41 - - *184 + - *185 responses: '204': description: Response @@ -22032,7 +22266,7 @@ paths: application/json: schema: type: array - items: &215 + items: &216 title: Event description: Event type: object @@ -22042,7 +22276,7 @@ paths: type: type: string nullable: true - actor: &185 + actor: &186 title: Actor description: Actor type: object @@ -22082,7 +22316,7 @@ paths: - id - name - url - org: *185 + org: *186 payload: oneOf: - title: CreateEvent @@ -22128,7 +22362,7 @@ paths: properties: action: type: string - discussion: &854 + discussion: &853 title: Discussion description: A Discussion in a repository. type: object @@ -22415,7 +22649,7 @@ paths: - id labels: type: array - items: &188 + items: &189 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -22490,7 +22724,7 @@ paths: properties: action: type: string - issue: &189 + issue: &190 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -22819,9 +23053,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *186 - required: *187 - author_association: &190 + properties: *187 + required: *188 + author_association: &191 title: author_association type: string example: OWNER @@ -22836,7 +23070,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &191 + reactions: &192 title: Reaction Rollup type: object properties: @@ -22997,10 +23231,10 @@ paths: assignees: type: array items: *4 - label: *188 + label: *189 labels: type: array - items: *188 + items: *189 required: - action - issue @@ -23009,7 +23243,7 @@ paths: properties: action: type: string - issue: *189 + issue: *190 comment: &638 title: Issue Comment description: Comments provide a way for people to collaborate @@ -23058,7 +23292,7 @@ paths: issue_url: type: string format: uri - author_association: *190 + author_association: *191 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -23069,9 +23303,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *186 - required: *187 - reactions: *191 + properties: *187 + required: *188 + reactions: *192 required: - id - node_id @@ -23244,8 +23478,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *193 + required: *194 nullable: true allow_forking: type: boolean @@ -23334,7 +23568,7 @@ paths: type: string number: type: integer - pull_request: &194 + pull_request: &195 title: Pull Request Minimal type: object properties: @@ -23405,10 +23639,10 @@ paths: assignees: type: array items: *4 - label: *188 + label: *189 labels: type: array - items: *188 + items: *189 required: - action - number @@ -23418,7 +23652,7 @@ paths: properties: action: type: string - pull_request: *194 + pull_request: *195 comment: type: object properties: @@ -23669,7 +23903,7 @@ paths: - pull_request updated_at: type: string - pull_request: *194 + pull_request: *195 required: - action - review @@ -23718,7 +23952,7 @@ paths: updated_at: type: string format: date-time - reactions: *191 + reactions: *192 required: - action - comment @@ -23875,7 +24109,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *191 + reactions: *192 required: - assets_url - upload_url @@ -24048,7 +24282,7 @@ paths: _links: type: object properties: - timeline: &195 + timeline: &196 title: Link With Type description: Hypermedia Link with Type type: object @@ -24060,17 +24294,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: *196 + security_advisories: *196 + current_user: *196 + current_user_public: *196 + current_user_actor: *196 + current_user_organization: *196 current_user_organizations: type: array - items: *195 - repository_discussions: *195 - repository_discussions_category: *195 + items: *196 + repository_discussions: *196 + repository_discussions_category: *196 required: - timeline - user @@ -24132,7 +24366,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 + - *197 - *17 - *19 responses: @@ -24142,7 +24376,7 @@ paths: application/json: schema: type: array - items: &197 + items: &198 title: Base Gist description: Base Gist type: object @@ -24241,7 +24475,7 @@ paths: - created_at - updated_at examples: - default: &198 + default: &199 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -24362,7 +24596,7 @@ paths: description: Response content: application/json: - schema: &199 + schema: &200 title: Gist Simple description: Gist Simple type: object @@ -24741,7 +24975,7 @@ paths: truncated: type: boolean examples: - default: &200 + default: &201 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -24845,7 +25079,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *196 + - *197 - *17 - *19 responses: @@ -24855,9 +25089,9 @@ paths: application/json: schema: type: array - items: *197 + items: *198 examples: - default: *198 + default: *199 headers: Link: *43 '422': *15 @@ -24879,7 +25113,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *196 + - *197 - *17 - *19 responses: @@ -24889,9 +25123,9 @@ paths: application/json: schema: type: array - items: *197 + items: *198 examples: - default: *198 + default: *199 headers: Link: *43 '401': *25 @@ -24919,7 +25153,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &201 + - &202 name: gist_id description: The unique identifier of the gist. in: path @@ -24931,10 +25165,10 @@ paths: description: Response content: application/json: - schema: *199 + schema: *200 examples: - default: *200 - '403': &204 + default: *201 + '403': &205 description: Forbidden Gist content: application/json: @@ -24982,7 +25216,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *201 + - *202 requestBody: required: true content: @@ -25042,9 +25276,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *200 examples: - updateGist: *200 + updateGist: *201 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -25202,7 +25436,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *201 + - *202 responses: '204': description: Response @@ -25231,7 +25465,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *201 + - *202 - *17 - *19 responses: @@ -25241,7 +25475,7 @@ paths: application/json: schema: type: array - items: &202 + items: &203 title: Gist Comment description: A comment made to a gist. type: object @@ -25276,7 +25510,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *190 + author_association: *191 required: - url - id @@ -25341,7 +25575,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *201 + - *202 requestBody: required: true content: @@ -25366,9 +25600,9 @@ paths: description: Response content: application/json: - schema: *202 + schema: *203 examples: - default: &203 + default: &204 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -25426,8 +25660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *201 - - &205 + - *202 + - &206 name: comment_id description: The unique identifier of the comment. in: path @@ -25440,12 +25674,12 @@ paths: description: Response content: application/json: - schema: *202 + schema: *203 examples: - default: *203 + default: *204 '304': *37 '404': *6 - '403': *204 + '403': *205 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -25467,8 +25701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *201 - - *205 + - *202 + - *206 requestBody: required: true content: @@ -25493,9 +25727,9 @@ paths: description: Response content: application/json: - schema: *202 + schema: *203 examples: - default: *203 + default: *204 '404': *6 x-github: githubCloudOnly: false @@ -25512,8 +25746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *201 - - *205 + - *202 + - *206 responses: '204': description: Response @@ -25536,7 +25770,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *201 + - *202 - *17 - *19 responses: @@ -25637,7 +25871,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *201 + - *202 - *17 - *19 responses: @@ -25647,7 +25881,7 @@ paths: application/json: schema: type: array - items: *199 + items: *200 examples: default: value: @@ -25712,13 +25946,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *201 + - *202 responses: '201': description: Response content: application/json: - schema: *197 + schema: *198 examples: default: value: @@ -25789,7 +26023,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 + - *202 responses: '204': description: Response if gist is starred @@ -25819,7 +26053,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *201 + - *202 responses: '204': description: Response @@ -25841,7 +26075,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *201 + - *202 responses: '204': description: Response @@ -25870,7 +26104,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *201 + - *202 - name: sha in: path required: true @@ -25881,9 +26115,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *200 examples: - default: *200 + default: *201 '422': *15 '404': *6 '403': *29 @@ -26268,7 +26502,7 @@ paths: - comments default: created - *101 - - *196 + - *197 - name: collab in: query required: false @@ -26298,7 +26532,7 @@ paths: application/json: schema: type: array - items: *189 + items: *190 examples: default: &346 value: @@ -26584,8 +26818,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *193 + required: *194 examples: default: value: @@ -26870,7 +27104,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &206 + X-CommonMarker-Version: &207 example: 0.17.4 schema: type: string @@ -26925,7 +27159,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *206 + X-CommonMarker-Version: *207 content: text/html: schema: @@ -26954,7 +27188,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 + - &210 name: account_id description: account_id parameter in: path @@ -26966,7 +27200,7 @@ paths: description: Response content: application/json: - schema: &208 + schema: &209 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -26996,7 +27230,7 @@ paths: nullable: true id: type: integer - plan: &207 + plan: &208 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -27085,7 +27319,7 @@ paths: nullable: true updated_at: type: string - plan: *207 + plan: *208 required: - url - id @@ -27093,7 +27327,7 @@ paths: - login - marketplace_purchase examples: - default: &210 + default: &211 value: url: https://api.github.com/orgs/github type: Organization @@ -27178,9 +27412,9 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: &211 + default: &212 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -27220,14 +27454,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &212 + - &213 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &213 + - &214 name: sort description: The property to sort the results by. in: query @@ -27257,9 +27491,9 @@ paths: application/json: schema: type: array - items: *208 + items: *209 examples: - default: &214 + default: &215 value: - url: https://api.github.com/orgs/github type: Organization @@ -27333,15 +27567,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 + - *210 responses: '200': description: Response content: application/json: - schema: *208 + schema: *209 examples: - default: *210 + default: *211 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -27373,9 +27607,9 @@ paths: application/json: schema: type: array - items: *207 + items: *208 examples: - default: *211 + default: *212 headers: Link: *43 '401': *25 @@ -27398,8 +27632,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 + - *214 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -27419,9 +27653,9 @@ paths: application/json: schema: type: array - items: *208 + items: *209 examples: - default: *214 + default: *215 headers: Link: *43 '401': *25 @@ -27709,7 +27943,7 @@ paths: application/json: schema: type: array - items: *215 + items: *216 examples: default: value: @@ -27793,7 +28027,7 @@ paths: schema: type: boolean default: false - - *196 + - *197 - &671 name: before description: 'Only show notifications updated before the given time. This @@ -27819,14 +28053,14 @@ paths: application/json: schema: type: array - items: &216 + items: &217 title: Thread description: Thread type: object properties: id: type: string - repository: &255 + repository: &257 title: Minimal Repository description: Minimal Repository type: object @@ -28442,7 +28676,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &217 + - &218 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 +28690,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *217 examples: default: value: @@ -28559,7 +28793,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *217 + - *218 responses: '205': description: Reset Content @@ -28582,7 +28816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *217 + - *218 responses: '204': description: No content @@ -28605,13 +28839,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 + - *218 responses: '200': description: Response content: application/json: - schema: &218 + schema: &219 title: Thread Subscription description: Thread Subscription type: object @@ -28648,7 +28882,7 @@ paths: - url - subscribed examples: - default: &219 + default: &220 value: subscribed: true ignored: false @@ -28679,7 +28913,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *217 + - *218 requestBody: required: false content: @@ -28700,9 +28934,9 @@ paths: description: Response content: application/json: - schema: *218 + schema: *219 examples: - default: *219 + default: *220 '304': *37 '403': *29 '401': *25 @@ -28725,7 +28959,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *217 + - *218 responses: '204': description: Response @@ -28822,20 +29056,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: *221 headers: Link: example: ; rel="next" @@ -28886,7 +29107,7 @@ paths: type: integer custom_roles: type: array - items: &298 + items: &300 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -28934,7 +29155,7 @@ paths: - created_at - updated_at examples: - default: &299 + default: &301 value: id: 8030 name: Security Engineer @@ -29025,8 +29246,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *220 - required: *221 + properties: *222 + required: *223 nullable: true additionalProperties: false examples: @@ -29234,9 +29455,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 @@ -29246,11 +29468,11 @@ paths: parameters: - *78 - *173 - - *222 - - *174 - - *223 - *224 + - *174 - *225 + - *226 + - *227 responses: '200': description: Response when getting a billing premium request usage report @@ -29306,19 +29528,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 @@ -29383,17 +29605,17 @@ paths: parameters: - *78 - *173 - - *226 + - *228 - *174 - - *227 + - *229 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *228 + schema: *230 examples: - default: *229 + default: *231 '400': *14 '403': *29 '500': *40 @@ -29429,7 +29651,7 @@ paths: description: Response content: application/json: - schema: &230 + schema: &232 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 +29984,7 @@ paths: - updated_at - archived_at examples: - default-response: &231 + default-response: &233 value: login: github id: 1 @@ -30087,17 +30309,17 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '422': description: Validation failed content: application/json: schema: oneOf: - - *232 - - *233 + - *234 + - *235 '409': *109 x-github: githubCloudOnly: false @@ -30152,9 +30374,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *236 examples: - default: *235 + default: *237 headers: Link: *43 x-github: @@ -30270,7 +30492,7 @@ paths: type: array items: *44 examples: - default: *236 + default: *238 headers: Link: *43 x-github: @@ -30454,9 +30676,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *239 examples: - default: *238 + default: *240 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30492,7 +30714,7 @@ paths: type: array items: *47 examples: - default: *239 + default: *241 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30675,7 +30897,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &240 + schema: &242 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -30689,7 +30911,7 @@ paths: required: - include_claim_keys examples: - default: &241 + default: &243 value: include_claim_keys: - repo @@ -30716,15 +30938,15 @@ paths: required: true content: application/json: - schema: *240 + schema: *242 examples: - default: *241 + default: *243 responses: '201': description: Empty response content: application/json: - schema: &266 + schema: &268 title: Empty Object description: An object without any properties. type: object @@ -30763,7 +30985,7 @@ paths: schema: type: object properties: - enabled_repositories: &243 + enabled_repositories: &245 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -30777,7 +30999,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: *244 sha_pinning_required: *52 required: - enabled_repositories @@ -30819,7 +31041,7 @@ paths: schema: type: object properties: - enabled_repositories: *243 + enabled_repositories: *245 allowed_actions: *51 sha_pinning_required: *52 required: @@ -30855,7 +31077,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: response: summary: Example response @@ -30886,7 +31108,7 @@ paths: required: true content: application/json: - schema: *245 + schema: *247 examples: application/json: value: @@ -30924,7 +31146,7 @@ paths: application/json: schema: *53 examples: - default: *246 + default: *248 '404': *6 x-github: enabledForGitHubApps: true @@ -30981,7 +31203,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *249 examples: default: *54 '403': *29 @@ -31006,7 +31228,7 @@ paths: required: true content: application/json: - schema: *248 + schema: *250 examples: default: *54 responses: @@ -31058,7 +31280,7 @@ paths: type: array items: *69 examples: - default: &250 + default: &252 value: total_count: 1 repositories: @@ -31243,7 +31465,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 + - &251 name: repository_id description: The unique identifier of the repository. in: path @@ -31272,7 +31494,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 + - *251 responses: '204': description: Response @@ -31468,7 +31690,7 @@ paths: type: array items: *69 examples: - default: *250 + default: *252 '403': *29 '404': *6 x-github: @@ -31537,7 +31759,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 + - *251 responses: '204': description: No content @@ -31564,7 +31786,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 + - *251 responses: '204': description: No content @@ -31598,7 +31820,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *253 examples: default: *60 x-github: @@ -31632,7 +31854,7 @@ paths: required: false content: application/json: - schema: *252 + schema: *254 examples: default: *60 x-github: @@ -31679,7 +31901,7 @@ paths: type: number runner_groups: type: array - items: &253 + items: &255 type: object properties: id: @@ -31867,9 +32089,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *255 examples: - default: &254 + default: &256 value: id: 2 name: octo-runner-group @@ -31911,7 +32133,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *255 examples: default: value: @@ -32002,9 +32224,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *255 examples: - default: *254 + default: *256 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -32068,7 +32290,7 @@ paths: type: array items: *44 examples: - default: *236 + default: *238 headers: Link: *43 x-github: @@ -32109,7 +32331,7 @@ paths: type: number repositories: type: array - items: *255 + items: *257 examples: default: &792 value: @@ -32410,7 +32632,7 @@ paths: parameters: - *78 - *63 - - *249 + - *251 responses: '204': description: Response @@ -32434,7 +32656,7 @@ paths: parameters: - *78 - *63 - - *249 + - *251 responses: '204': description: Response @@ -32652,9 +32874,9 @@ paths: application/json: schema: type: array - items: *256 + items: *258 examples: - default: *257 + default: *259 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32719,7 +32941,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *258 + '201': *260 '404': *6 '422': *7 '409': *109 @@ -32758,7 +32980,7 @@ paths: application/json: schema: *70 examples: - default: *259 + default: *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32794,7 +33016,7 @@ paths: application/json: schema: *70 examples: - default: *260 + default: *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32825,7 +33047,7 @@ paths: application/json: schema: *67 examples: - default: *261 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33000,7 +33222,7 @@ paths: - *78 - *66 responses: - '200': *262 + '200': *264 '404': *6 x-github: githubCloudOnly: false @@ -33029,7 +33251,7 @@ paths: parameters: - *78 - *66 - - *263 + - *265 responses: '200': *72 '404': *6 @@ -33074,7 +33296,7 @@ paths: type: integer secrets: type: array - items: &264 + items: &266 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -33208,7 +33430,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *78 - - &265 + - &267 name: secret_name description: The name of the secret. in: path @@ -33220,7 +33442,7 @@ paths: description: Response content: application/json: - schema: *264 + schema: *266 examples: default: value: @@ -33251,7 +33473,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *78 - - *265 + - *267 requestBody: required: true content: @@ -33308,7 +33530,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -33335,7 +33557,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *78 - - *265 + - *267 responses: '204': description: Response @@ -33362,7 +33584,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *78 - - *265 + - *267 - *19 - *17 responses: @@ -33380,9 +33602,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *257 examples: - default: &269 + default: &271 value: total_count: 1 repositories: @@ -33475,7 +33697,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *78 - - *265 + - *267 requestBody: required: true content: @@ -33528,7 +33750,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *78 - - *265 + - *267 - name: repository_id in: path required: true @@ -33562,7 +33784,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *78 - - *265 + - *267 - name: repository_id in: path required: true @@ -33619,7 +33841,7 @@ paths: type: integer variables: type: array - items: &267 + items: &269 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -33752,7 +33974,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -33778,7 +34000,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *78 - - &268 + - &270 name: name description: The name of the variable. in: path @@ -33790,7 +34012,7 @@ paths: description: Response content: application/json: - schema: *267 + schema: *269 examples: default: value: @@ -33821,7 +34043,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *78 - - *268 + - *270 requestBody: required: true content: @@ -33884,7 +34106,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *78 - - *268 + - *270 responses: '204': description: Response @@ -33911,7 +34133,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *78 - - *268 + - *270 - *19 - *17 responses: @@ -33929,9 +34151,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *257 examples: - default: *269 + default: *271 '409': description: Response when the visibility of the variable is not set to `selected` @@ -33958,7 +34180,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *78 - - *268 + - *270 requestBody: required: true content: @@ -34008,7 +34230,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *78 - - *268 + - *270 - name: repository_id in: path required: true @@ -34043,7 +34265,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *78 - - *268 + - *270 - name: repository_id in: path required: true @@ -34101,7 +34323,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *272 examples: default: *76 parameters: @@ -34392,12 +34614,12 @@ paths: required: - subject_digests examples: - default: &821 + default: &820 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &822 + withPredicateType: &821 value: subject_digests: - sha256:abc123 @@ -34455,7 +34677,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &823 + default: &822 value: attestations_subject_digests: - sha256:abc: @@ -34648,6 +34870,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 @@ -34877,10 +35150,10 @@ paths: required: false schema: type: string - - *271 - - *272 - *273 - *274 + - *275 + - *276 - *17 responses: '200': @@ -34889,9 +35162,9 @@ paths: application/json: schema: type: array - items: *275 + items: *277 examples: - default: *276 + default: *278 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -35014,7 +35287,7 @@ paths: subcategory: bypass-requests parameters: - *78 - - &279 + - &281 name: repository_name description: The name of the repository to filter on. in: query @@ -35033,9 +35306,9 @@ paths: application/json: schema: type: array - items: *277 + items: *279 examples: - default: *278 + default: *280 '404': *6 '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": @@ -35059,7 +35332,7 @@ paths: subcategory: delegated-bypass parameters: - *78 - - *279 + - *281 - *94 - *95 - *96 @@ -35073,9 +35346,9 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: - default: *281 + default: *283 '404': *6 '500': *40 "/orgs/{org}/campaigns": @@ -35102,7 +35375,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &283 + schema: &285 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -35128,7 +35401,7 @@ paths: application/json: schema: type: array - items: &284 + items: &286 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -35159,7 +35432,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *282 + items: *284 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -35177,7 +35450,7 @@ paths: type: string format: date-time nullable: true - state: *283 + state: *285 contact_link: description: The contact link of the campaign. type: string @@ -35392,9 +35665,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: - default: &285 + default: &287 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -35477,9 +35750,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: - default: *285 + default: *287 '404': *6 '422': description: Unprocessable Entity @@ -35556,7 +35829,7 @@ paths: type: string format: uri nullable: true - state: *283 + state: *285 examples: default: value: @@ -35566,9 +35839,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: - default: *285 + default: *287 '400': description: Bad Request content: @@ -35635,8 +35908,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 + - *288 + - *289 - *99 - *100 - *19 @@ -35647,7 +35920,7 @@ paths: be returned. in: query required: false - schema: *288 + schema: *290 - name: sort description: The property by which to sort the results. in: query @@ -35681,9 +35954,9 @@ paths: application/json: schema: type: array - items: *289 + items: *291 examples: - default: *290 + default: *292 headers: Link: *43 '404': *6 @@ -35898,7 +36171,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *291 + code_scanning_options: *293 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -36041,7 +36314,7 @@ paths: application/json: schema: *105 examples: - default: *292 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36069,9 +36342,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *295 examples: - default: *294 + default: *296 '304': *37 '403': *29 '404': *6 @@ -36158,7 +36431,7 @@ paths: application/json: schema: *105 examples: - default: *292 + default: *294 '304': *37 '403': *29 '404': *6 @@ -36580,7 +36853,7 @@ paths: default: value: default_for_new_repos: all - configuration: *292 + configuration: *294 '403': *29 '404': *6 x-github: @@ -36633,13 +36906,13 @@ paths: application/json: schema: type: array - items: *295 + items: *297 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *296 + repository: *298 '403': *29 '404': *6 x-github: @@ -36704,7 +36977,7 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *255 + repository: *257 machine: type: object title: Codespace machine @@ -37580,7 +37853,7 @@ paths: type: integer secrets: type: array - items: &297 + items: &299 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -37710,13 +37983,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *78 - - *265 + - *267 responses: '200': description: Response content: application/json: - schema: *297 + schema: *299 examples: default: &560 value: @@ -37746,7 +38019,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *78 - - *265 + - *267 requestBody: required: true content: @@ -37801,7 +38074,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -37828,7 +38101,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *78 - - *265 + - *267 responses: '204': description: Response @@ -37854,7 +38127,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *78 - - *265 + - *267 - *19 - *17 responses: @@ -37872,9 +38145,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *257 examples: - default: *269 + default: *271 '404': *6 x-github: githubCloudOnly: false @@ -37897,7 +38170,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *78 - - *265 + - *267 requestBody: required: true content: @@ -37948,7 +38221,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *78 - - *265 + - *267 - name: repository_id in: path required: true @@ -37982,7 +38255,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *78 - - *265 + - *267 - name: repository_id in: path required: true @@ -38789,7 +39062,7 @@ paths: type: integer custom_roles: type: array - items: *298 + items: *300 examples: default: value: @@ -38881,7 +39154,7 @@ paths: required: true content: application/json: - schema: &301 + schema: &303 type: object properties: name: @@ -38922,9 +39195,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: - default: *299 + default: *301 '422': *15 '404': *6 x-github: @@ -38949,7 +39222,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *78 - - &300 + - &302 name: role_id description: The unique identifier of the role. in: path @@ -38961,9 +39234,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: - default: *299 + default: *301 '404': *6 x-github: githubCloudOnly: true @@ -38986,12 +39259,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *78 - - *300 + - *302 requestBody: required: true content: application/json: - schema: &302 + schema: &304 type: object properties: name: @@ -39029,9 +39302,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: - default: *299 + default: *301 '422': *15 '404': *6 x-github: @@ -39056,7 +39329,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *78 - - *300 + - *302 responses: '204': description: Response @@ -39089,7 +39362,7 @@ paths: required: true content: application/json: - schema: *301 + schema: *303 examples: default: value: @@ -39103,9 +39376,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: - default: *299 + default: *301 '422': *15 '404': *6 x-github: @@ -39136,15 +39409,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *78 - - *300 + - *302 responses: '200': description: Response content: application/json: - schema: *298 + schema: *300 examples: - default: *299 + default: *301 '404': *6 x-github: githubCloudOnly: true @@ -39173,12 +39446,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *78 - - *300 + - *302 requestBody: required: true content: application/json: - schema: *302 + schema: *304 examples: default: value: @@ -39193,9 +39466,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: - default: *299 + default: *301 '422': *15 '404': *6 x-github: @@ -39226,7 +39499,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *78 - - *300 + - *302 responses: '204': description: Response @@ -39255,11 +39528,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 + - *308 + - *309 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -39297,13 +39570,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *308 - - *309 + - *310 + - *311 - *101 - *99 - *100 - - *310 - - *311 - *17 responses: '200': @@ -39476,7 +39747,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *78 - - *265 + - *267 responses: '200': description: Response @@ -39511,7 +39782,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *78 - - *265 + - *267 requestBody: required: true content: @@ -39570,7 +39841,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -39595,7 +39866,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *78 - - *265 + - *267 responses: '204': description: Response @@ -39620,7 +39891,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *78 - - *265 + - *267 - *19 - *17 responses: @@ -39638,9 +39909,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *257 examples: - default: *269 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39662,7 +39933,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *78 - - *265 + - *267 requestBody: required: true content: @@ -39713,7 +39984,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *78 - - *265 + - *267 - name: repository_id in: path required: true @@ -39745,7 +40016,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *78 - - *265 + - *267 - name: repository_id in: path required: true @@ -39829,7 +40100,7 @@ paths: - denied - all default: all - - *279 + - *281 - *17 - *19 responses: @@ -40082,7 +40353,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *78 - - *279 + - *281 - *94 - *95 - *96 @@ -40479,7 +40750,7 @@ paths: application/json: schema: type: array - items: *215 + items: *216 examples: 200-response: value: @@ -42569,7 +42840,7 @@ paths: application/json: schema: type: array - items: *282 + items: *284 examples: default: &357 value: @@ -42896,7 +43167,7 @@ paths: - comments default: created - *101 - - *196 + - *197 - *17 - *19 responses: @@ -42906,7 +43177,7 @@ paths: application/json: schema: type: array - items: *189 + items: *190 examples: default: *346 headers: @@ -44422,7 +44693,7 @@ paths: application/json: schema: type: array - items: *255 + items: *257 examples: default: &364 value: @@ -44892,7 +45163,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *78 - - *184 + - *185 responses: '204': description: Response @@ -44918,8 +45189,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 + - *185 + - *302 responses: '204': description: Response @@ -44949,8 +45220,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 + - *185 + - *302 responses: '204': description: Response @@ -45003,7 +45274,7 @@ paths: parameters: - *78 - *182 - - *300 + - *302 responses: '204': description: Response @@ -45035,7 +45306,7 @@ paths: parameters: - *78 - *182 - - *300 + - *302 responses: '204': description: Response @@ -45064,7 +45335,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *78 - - *300 + - *302 responses: '200': description: Response @@ -45128,7 +45399,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *78 - - *300 + - *302 requestBody: required: true content: @@ -45221,7 +45492,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *78 - - *300 + - *302 responses: '204': description: Response @@ -45247,7 +45518,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 + - *302 - *17 - *19 responses: @@ -45388,7 +45659,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 + - *302 - *17 - *19 responses: @@ -45710,7 +45981,7 @@ paths: - nuget - container - *78 - - &807 + - &806 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -45751,7 +46022,7 @@ paths: default: *359 '403': *29 '401': *25 - '400': &809 + '400': &808 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -46559,7 +46830,7 @@ paths: application/json: schema: type: array - items: *255 + items: *257 examples: default: *364 headers: @@ -46874,7 +47145,7 @@ paths: application/json: schema: type: array - items: *255 + items: *257 examples: default: *364 headers: @@ -47261,7 +47532,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *78 - - *265 + - *267 responses: '200': description: The specified private registry configuration for the organization @@ -47291,7 +47562,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 + - *267 requestBody: required: true content: @@ -47387,7 +47658,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 + - *267 responses: '204': description: Response @@ -47757,7 +48028,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &885 + properties: &884 id: type: number description: The unique identifier of the status update. @@ -47805,7 +48076,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &886 + required: &885 - id - node_id - created_at @@ -48173,7 +48444,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - *377 - - &826 + - &825 name: field_id description: The unique identifier of the field. in: path @@ -48221,16 +48492,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 @@ -49039,7 +49313,7 @@ paths: description: Response content: application/json: - schema: &827 + schema: &826 title: Projects v2 Item description: An item belonging to a project type: object @@ -49052,7 +49326,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *189 + - *190 - &568 title: Pull Request Simple description: Pull Request Simple @@ -49205,7 +49479,7 @@ paths: nullable: true requested_teams: type: array - items: *282 + items: *284 nullable: true head: type: object @@ -49281,7 +49555,7 @@ paths: - review_comments - review_comment - self - author_association: *190 + author_association: *191 auto_merge: &679 title: Auto merge description: The status of auto merging a pull request. @@ -49502,16 +49776,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 @@ -50184,7 +50461,7 @@ paths: application/json: schema: type: array - items: *255 + items: *257 examples: default: *364 headers: @@ -50754,8 +51031,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *193 + required: *194 nullable: true organization: title: Simple User @@ -51664,7 +51941,7 @@ paths: schema: type: string x-multi-segment: true - - *279 + - *281 - *96 - &705 name: actor_name @@ -52715,7 +52992,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *282 + items: *284 private_fork: readOnly: true nullable: true @@ -53165,7 +53442,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *78 - - *184 + - *185 responses: '204': description: Response @@ -53191,7 +53468,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *78 - - *184 + - *185 responses: '204': description: Response @@ -53467,9 +53744,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *257 examples: - default: *269 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53538,7 +53815,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 + - *251 responses: '204': description: Response @@ -53561,7 +53838,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 + - *251 responses: '204': description: Response @@ -53943,7 +54220,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *78 - - *184 + - *185 - 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`). @@ -54009,7 +54286,7 @@ paths: application/json: schema: type: array - items: *282 + items: *284 examples: default: *357 headers: @@ -54503,7 +54780,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *78 - - *184 + - *185 responses: '200': description: Response @@ -54533,7 +54810,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *78 - - *184 + - *185 requestBody: required: false content: @@ -54630,7 +54907,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *78 - - *184 + - *185 responses: '204': description: Response @@ -54657,7 +54934,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *78 - - *184 + - *185 - *101 - *17 - *19 @@ -54753,7 +55030,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *191 + reactions: *192 required: - author - body @@ -54848,7 +55125,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *78 - - *184 + - *185 requestBody: required: true content: @@ -54957,7 +55234,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *78 - - *184 + - *185 - &431 name: discussion_number description: The number that identifies the discussion. @@ -54995,7 +55272,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *78 - - *184 + - *185 - *431 requestBody: required: false @@ -55092,7 +55369,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *78 - - *184 + - *185 - *431 responses: '204': @@ -55120,7 +55397,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *78 - - *184 + - *185 - *431 - *101 - *17 @@ -55189,7 +55466,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *191 + reactions: *192 required: - author - body @@ -55273,7 +55550,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *78 - - *184 + - *185 - *431 requestBody: required: true @@ -55365,7 +55642,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *78 - - *184 + - *185 - *431 - &434 name: comment_number @@ -55404,7 +55681,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *78 - - *184 + - *185 - *431 - *434 requestBody: @@ -55495,7 +55772,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *78 - - *184 + - *185 - *431 - *434 responses: @@ -55524,7 +55801,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *78 - - *184 + - *185 - *431 - *434 - name: content @@ -55646,7 +55923,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *78 - - *184 + - *185 - *431 - *434 requestBody: @@ -55738,7 +56015,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *78 - - *184 + - *185 - *431 - *434 - &438 @@ -55774,7 +56051,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *78 - - *184 + - *185 - *431 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -55830,7 +56107,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *78 - - *184 + - *185 - *431 requestBody: required: true @@ -55896,7 +56173,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *78 - - *184 + - *185 - *431 - *438 responses: @@ -55922,7 +56199,7 @@ 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 + - *185 responses: '200': description: Response @@ -55950,7 +56227,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 + - *185 requestBody: required: true content: @@ -55995,7 +56272,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 + - *185 responses: '204': description: Response @@ -56020,7 +56297,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *78 - - *184 + - *185 - *17 - *19 responses: @@ -56055,7 +56332,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *78 - - *184 + - *185 - name: role description: Filters members returned by their role in the team. in: query @@ -56109,7 +56386,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *78 - - *184 + - *185 - *182 responses: '200': @@ -56180,7 +56457,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *78 - - *184 + - *185 - *182 requestBody: required: false @@ -56244,7 +56521,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *78 - - *184 + - *185 - *182 responses: '204': @@ -56271,7 +56548,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *78 - - *184 + - *185 - *17 - *19 responses: @@ -56413,7 +56690,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *78 - - *184 + - *185 - &445 name: project_id description: The unique identifier of the project. @@ -56491,7 +56768,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *78 - - *184 + - *185 - *445 requestBody: required: false @@ -56559,7 +56836,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *78 - - *184 + - *185 - *445 responses: '204': @@ -56588,7 +56865,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *78 - - *184 + - *185 - *17 - *19 responses: @@ -56598,7 +56875,7 @@ paths: application/json: schema: type: array - items: *255 + items: *257 examples: default: *364 headers: @@ -56630,7 +56907,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *78 - - *184 + - *185 - *446 - *447 responses: @@ -56661,8 +56938,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *193 + required: *194 nullable: true forks: type: integer @@ -57208,7 +57485,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *78 - - *184 + - *185 - *446 - *447 requestBody: @@ -57256,7 +57533,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *78 - - *184 + - *185 - *446 - *447 responses: @@ -57285,7 +57562,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *78 - - *184 + - *185 responses: '200': description: Response @@ -57316,7 +57593,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *78 - - *184 + - *185 requestBody: required: true content: @@ -57392,7 +57669,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *78 - - *184 + - *185 - *17 - *19 responses: @@ -57402,7 +57679,7 @@ paths: application/json: schema: type: array - items: *282 + items: *284 examples: response-if-child-teams-exist: &788 value: @@ -58182,8 +58459,8 @@ paths: application/json: schema: oneOf: - - *232 - - *233 + - *234 + - *235 '503': description: Response content: @@ -60715,7 +60992,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -60825,7 +61102,7 @@ paths: description: Empty response content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -61022,7 +61299,7 @@ paths: type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *51 - selected_actions_url: *242 + selected_actions_url: *244 sha_pinning_required: *52 required: - enabled @@ -61187,7 +61464,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: default: value: @@ -61222,7 +61499,7 @@ paths: required: true content: application/json: - schema: *245 + schema: *247 examples: default: summary: Set retention days @@ -61255,7 +61532,7 @@ paths: application/json: schema: *53 examples: - default: *246 + default: *248 '404': *6 x-github: enabledForGitHubApps: true @@ -61316,7 +61593,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *249 examples: default: *54 '403': *29 @@ -61344,7 +61621,7 @@ paths: required: true content: application/json: - schema: *248 + schema: *250 examples: default: *54 responses: @@ -61442,7 +61719,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *253 examples: default: *60 x-github: @@ -61477,7 +61754,7 @@ paths: required: true content: application/json: - schema: *252 + schema: *254 examples: default: *60 x-github: @@ -61560,9 +61837,9 @@ paths: application/json: schema: type: array - items: *256 + items: *258 examples: - default: *257 + default: *259 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61628,7 +61905,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *258 + '201': *260 '404': *6 '422': *7 '409': *109 @@ -61668,7 +61945,7 @@ paths: application/json: schema: *70 examples: - default: *259 + default: *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61705,7 +61982,7 @@ paths: application/json: schema: *70 examples: - default: *260 + default: *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61737,7 +62014,7 @@ paths: application/json: schema: *67 examples: - default: *261 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61917,7 +62194,7 @@ paths: - *447 - *66 responses: - '200': *262 + '200': *264 '404': *6 x-github: githubCloudOnly: false @@ -61947,7 +62224,7 @@ paths: - *446 - *447 - *66 - - *263 + - *265 responses: '200': *72 '404': *6 @@ -62171,7 +62448,7 @@ paths: that triggered the run. type: array nullable: true - items: *194 + items: *195 created_at: type: string format: date-time @@ -62283,8 +62560,8 @@ paths: - author - committer nullable: true - repository: *255 - head_repository: *255 + repository: *257 + head_repository: *257 head_repository_id: type: integer example: 5 @@ -62970,7 +63247,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -63260,7 +63537,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -63364,7 +63641,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -63580,7 +63857,7 @@ paths: reviewer: anyOf: - *4 - - *282 + - *284 required: - environment - wait_timer @@ -63792,8 +64069,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 required: - id - node_id @@ -63889,7 +64166,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -63935,7 +64212,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -64186,7 +64463,7 @@ paths: parameters: - *446 - *447 - - *265 + - *267 responses: '200': description: Response @@ -64222,7 +64499,7 @@ paths: parameters: - *446 - *447 - - *265 + - *267 requestBody: required: true content: @@ -64253,7 +64530,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -64281,7 +64558,7 @@ paths: parameters: - *446 - *447 - - *265 + - *267 responses: '204': description: Response @@ -64378,7 +64655,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -64405,7 +64682,7 @@ paths: parameters: - *446 - *447 - - *268 + - *270 responses: '200': description: Response @@ -64441,7 +64718,7 @@ paths: parameters: - *446 - *447 - - *268 + - *270 requestBody: required: true content: @@ -64485,7 +64762,7 @@ paths: parameters: - *446 - *447 - - *268 + - *270 responses: '204': description: Response @@ -65758,7 +66035,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *282 + items: *284 apps: description: The list of apps with review dismissal access. @@ -65787,7 +66064,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *282 + items: *284 apps: description: The list of apps allowed to bypass pull request requirements. @@ -65876,7 +66153,7 @@ paths: type: string teams: type: array - items: *282 + items: *284 apps: type: array items: @@ -66217,12 +66494,12 @@ paths: nullable: true oneOf: - *4 - - *266 + - *268 committer: nullable: true oneOf: - *4 - - *266 + - *268 parents: type: array items: @@ -67001,7 +67278,7 @@ paths: items: *4 teams: type: array - items: *282 + items: *284 apps: type: array items: *5 @@ -67019,7 +67296,7 @@ paths: items: *4 teams: type: array - items: *282 + items: *284 apps: type: array items: *5 @@ -68406,7 +68683,7 @@ paths: application/json: schema: type: array - items: *282 + items: *284 examples: default: *357 '404': *6 @@ -68466,7 +68743,7 @@ paths: application/json: schema: type: array - items: *282 + items: *284 examples: default: *357 '422': *15 @@ -68527,7 +68804,7 @@ paths: application/json: schema: type: array - items: *282 + items: *284 examples: default: *357 '422': *15 @@ -68587,7 +68864,7 @@ paths: application/json: schema: type: array - items: *282 + items: *284 examples: default: *357 '422': *15 @@ -68982,9 +69259,9 @@ paths: application/json: schema: type: array - items: *277 + items: *279 examples: - default: *278 + default: *280 '404': *6 '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -69019,7 +69296,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *279 examples: default: value: @@ -69093,9 +69370,9 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: - default: *281 + default: *283 '404': *6 '403': *29 '500': *40 @@ -69132,7 +69409,7 @@ paths: description: A single bypass request. content: application/json: - schema: *280 + schema: *282 examples: default: value: @@ -69687,16 +69964,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 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: *195 + deployment: &842 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -69763,8 +70040,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 required: - id - node_id @@ -70461,7 +70738,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -70586,7 +70863,7 @@ paths: nullable: true pull_requests: type: array - items: *194 + items: *195 nullable: true app: title: GitHub app @@ -70597,9 +70874,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 - repository: *255 + properties: *187 + required: *188 + repository: *257 created_at: type: string format: date-time @@ -70608,7 +70885,7 @@ paths: type: string format: date-time nullable: true - head_commit: &869 + head_commit: &868 title: Simple Commit description: A commit. type: object @@ -71015,7 +71292,7 @@ paths: required: - app_id - setting - repository: *255 + repository: *257 examples: default: value: @@ -71463,7 +71740,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -71492,8 +71769,8 @@ paths: parameters: - *446 - *447 - - *286 - - *287 + - *288 + - *289 - *19 - *17 - &539 @@ -71529,7 +71806,7 @@ paths: be returned. in: query required: false - schema: *288 + schema: *290 - name: severity description: If specified, only code scanning alerts with this severity will be returned. @@ -72360,8 +72637,8 @@ paths: parameters: - *446 - *447 - - *286 - - *287 + - *288 + - *289 - *19 - *17 - *540 @@ -73846,7 +74123,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -75132,7 +75409,7 @@ paths: parameters: - *446 - *447 - - *265 + - *267 responses: '200': description: Response @@ -75162,7 +75439,7 @@ paths: parameters: - *446 - *447 - - *265 + - *267 requestBody: required: true content: @@ -75190,7 +75467,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -75216,7 +75493,7 @@ paths: parameters: - *446 - *447 - - *265 + - *267 responses: '204': description: Response @@ -75541,7 +75818,7 @@ paths: example: 42 type: integer format: int64 - repository: *255 + repository: *257 invitee: title: Simple User description: A GitHub user. @@ -75719,7 +75996,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: *234 '403': *29 x-github: triggersNotification: true @@ -75922,8 +76199,8 @@ paths: updated_at: type: string format: date-time - author_association: *190 - reactions: *191 + author_association: *191 + reactions: *192 required: - url - html_url @@ -76000,7 +76277,7 @@ paths: parameters: - *446 - *447 - - *205 + - *206 responses: '200': description: Response @@ -76067,7 +76344,7 @@ paths: parameters: - *446 - *447 - - *205 + - *206 requestBody: required: true content: @@ -76142,7 +76419,7 @@ paths: parameters: - *446 - *447 - - *205 + - *206 responses: '204': description: Response @@ -76165,7 +76442,7 @@ paths: parameters: - *446 - *447 - - *205 + - *206 - 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. @@ -76216,7 +76493,7 @@ paths: parameters: - *446 - *447 - - *205 + - *206 requestBody: required: true content: @@ -76281,7 +76558,7 @@ paths: parameters: - *446 - *447 - - *205 + - *206 - *438 responses: '204': @@ -77714,7 +77991,7 @@ paths: type: string total_count: type: integer - repository: *255 + repository: *257 commit_url: type: string format: uri @@ -78017,8 +78294,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *193 + required: *194 nullable: true contributing: title: Community Health File @@ -79688,29 +79965,21 @@ paths: parameters: - *446 - *447 - - *303 - - *304 - *305 - *306 + - *307 + - *308 - 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 + - *581 + - *310 + - *311 - *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 +79990,6 @@ paths: default: 30 - *99 - *100 - - *310 - - *311 responses: '200': description: Response @@ -80446,7 +80713,7 @@ paths: parameters: - *446 - *447 - - *265 + - *267 responses: '200': description: Response @@ -80480,7 +80747,7 @@ paths: parameters: - *446 - *447 - - *265 + - *267 requestBody: required: true content: @@ -80508,7 +80775,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -80534,7 +80801,7 @@ paths: parameters: - *446 - *447 - - *265 + - *267 responses: '204': description: Response @@ -81678,8 +81945,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 required: - id - node_id @@ -82447,7 +82714,7 @@ paths: reviewer: anyOf: - *4 - - *282 + - *284 required: - id - node_id @@ -83477,7 +83744,7 @@ paths: - *446 - *447 - *606 - - *265 + - *267 responses: '200': description: Response @@ -83510,7 +83777,7 @@ paths: - *446 - *447 - *606 - - *265 + - *267 requestBody: required: true content: @@ -83541,7 +83808,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -83570,7 +83837,7 @@ paths: - *446 - *447 - *606 - - *265 + - *267 responses: '204': description: Default response @@ -83669,7 +83936,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -83697,7 +83964,7 @@ paths: - *446 - *447 - *606 - - *268 + - *270 responses: '200': description: Response @@ -83728,7 +83995,7 @@ paths: parameters: - *446 - *447 - - *268 + - *270 - *606 requestBody: required: true @@ -83773,7 +84040,7 @@ paths: parameters: - *446 - *447 - - *268 + - *270 - *606 responses: '204': @@ -83807,7 +84074,7 @@ paths: application/json: schema: type: array - items: *215 + items: *216 examples: 200-response: value: @@ -83888,7 +84155,7 @@ paths: application/json: schema: type: array - items: *255 + items: *257 examples: default: value: @@ -84141,7 +84408,7 @@ paths: application/json: schema: oneOf: - - *232 + - *234 - *619 x-github: githubCloudOnly: false @@ -85512,7 +85779,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &877 + last_response: &876 title: Hook Response type: object properties: @@ -86563,7 +86830,7 @@ paths: parameters: - *446 - *447 - - &818 + - &817 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -86997,7 +87264,7 @@ paths: type: array items: *637 examples: - default: &811 + default: &810 value: - id: 1 repository: @@ -87385,7 +87652,7 @@ paths: - comments default: created - *101 - - *196 + - *197 - *17 - *19 responses: @@ -87395,7 +87662,7 @@ paths: application/json: schema: type: array - items: *189 + items: *190 examples: default: &646 value: @@ -87657,7 +87924,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *190 examples: default: &643 value: @@ -87845,7 +88112,7 @@ paths: parameters: - *446 - *447 - - *213 + - *214 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -87855,7 +88122,7 @@ paths: enum: - asc - desc - - *196 + - *197 - *17 - *19 responses: @@ -87927,7 +88194,7 @@ paths: parameters: - *446 - *447 - - *205 + - *206 responses: '200': description: Response @@ -87991,7 +88258,7 @@ paths: parameters: - *446 - *447 - - *205 + - *206 requestBody: required: true content: @@ -88035,7 +88302,7 @@ paths: parameters: - *446 - *447 - - *205 + - *206 responses: '204': description: Response @@ -88057,7 +88324,7 @@ paths: parameters: - *446 - *447 - - *205 + - *206 - 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. @@ -88108,7 +88375,7 @@ paths: parameters: - *446 - *447 - - *205 + - *206 requestBody: required: true content: @@ -88173,7 +88440,7 @@ paths: parameters: - *446 - *447 - - *205 + - *206 - *438 responses: '204': @@ -88293,7 +88560,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *282 + requested_team: *284 dismissed_review: title: Issue Event Dismissed Review type: object @@ -88358,7 +88625,7 @@ paths: required: - from - to - author_association: *190 + author_association: *191 lock_reason: type: string nullable: true @@ -88371,8 +88638,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 required: - id - node_id @@ -88809,7 +89076,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *190 examples: default: *643 '301': *460 @@ -88945,7 +89212,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *190 examples: default: *643 '422': *15 @@ -88999,7 +89266,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *190 examples: default: *643 x-github: @@ -89044,7 +89311,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *190 examples: default: *643 x-github: @@ -89113,7 +89380,7 @@ paths: - *446 - *447 - *644 - - *196 + - *197 - *17 - *19 responses: @@ -89231,7 +89498,7 @@ paths: application/json: schema: type: array - items: *189 + items: *190 examples: default: *646 headers: @@ -89290,7 +89557,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *190 examples: default: *643 headers: @@ -89345,7 +89612,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *190 examples: default: *643 '301': *460 @@ -89391,7 +89658,7 @@ paths: application/json: schema: type: array - items: *189 + items: *190 examples: default: *646 headers: @@ -89462,8 +89729,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 label: type: object properties: @@ -89516,8 +89783,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 label: type: object properties: @@ -89605,8 +89872,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 assignee: *4 assigner: *4 required: @@ -89652,8 +89919,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 milestone: type: object properties: @@ -89703,8 +89970,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 milestone: type: object properties: @@ -89754,8 +90021,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 rename: type: object properties: @@ -89808,10 +90075,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 review_requester: *4 - requested_team: *282 + requested_team: *284 requested_reviewer: *4 required: - review_requester @@ -89855,10 +90122,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 review_requester: *4 - requested_team: *282 + requested_team: *284 requested_reviewer: *4 required: - review_requester @@ -89902,8 +90169,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 dismissed_review: type: object properties: @@ -89962,8 +90229,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 lock_reason: type: string example: '"off-topic"' @@ -90010,8 +90277,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 project_card: type: object properties: @@ -90076,8 +90343,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 project_card: type: object properties: @@ -90142,8 +90409,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 project_card: type: object properties: @@ -90297,7 +90564,7 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: default: &647 value: @@ -90397,7 +90664,7 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: default: *647 '301': *460 @@ -90481,7 +90748,7 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: default: *647 '301': *460 @@ -90545,7 +90812,7 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: default: value: @@ -90666,7 +90933,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *190 examples: default: *643 '301': *460 @@ -90861,7 +91128,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *190 examples: default: *643 headers: @@ -90908,7 +91175,7 @@ paths: application/json: schema: type: array - items: *189 + items: *190 examples: default: *646 headers: @@ -90971,7 +91238,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *190 examples: default: *643 headers: @@ -91033,7 +91300,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *190 examples: default: *643 '403': *29 @@ -91129,7 +91396,7 @@ paths: issue_url: type: string format: uri - author_association: *190 + author_association: *191 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -91139,9 +91406,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 - reactions: *191 + properties: *187 + required: *188 + reactions: *192 required: - event - actor @@ -91172,7 +91439,7 @@ paths: properties: type: type: string - issue: *189 + issue: *190 required: - event - created_at @@ -91372,7 +91639,7 @@ paths: type: string body_text: type: string - author_association: *190 + author_association: *191 required: - event - id @@ -91484,7 +91751,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *190 + author_association: *191 _links: type: object properties: @@ -91568,7 +91835,7 @@ paths: enum: - line - file - reactions: *191 + reactions: *192 body_html: type: string example: '"

comment body

"' @@ -91635,8 +91902,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 assignee: *4 required: - id @@ -91679,8 +91946,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 assignee: *4 required: - id @@ -91723,8 +91990,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 state_reason: type: string nullable: true @@ -92127,7 +92394,7 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: default: *647 headers: @@ -92187,7 +92454,7 @@ paths: description: Response content: application/json: - schema: *188 + schema: *189 examples: default: &664 value: @@ -92233,7 +92500,7 @@ paths: description: Response content: application/json: - schema: *188 + schema: *189 examples: default: *664 '404': *6 @@ -92292,7 +92559,7 @@ paths: description: Response content: application/json: - schema: *188 + schema: *189 examples: default: value: @@ -92502,8 +92769,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *193 + required: *194 nullable: true required: - _links @@ -93044,7 +93311,7 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: default: *647 headers: @@ -93069,7 +93336,7 @@ paths: - *447 - *669 - *670 - - *196 + - *197 - *671 - *17 - *19 @@ -93080,7 +93347,7 @@ paths: application/json: schema: type: array - items: *216 + items: *217 examples: default: *672 headers: @@ -94222,7 +94489,7 @@ paths: description: Empty response content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -94951,7 +95218,7 @@ paths: - review_comments - review_comment - self - author_association: *190 + author_association: *191 auto_merge: *679 draft: description: Indicates whether or not the pull request is a draft. @@ -95591,7 +95858,7 @@ paths: enum: - asc - desc - - *196 + - *197 - *17 - *19 responses: @@ -95682,7 +95949,7 @@ paths: parameters: - *446 - *447 - - *205 + - *206 responses: '200': description: Response @@ -95767,7 +96034,7 @@ paths: parameters: - *446 - *447 - - *205 + - *206 requestBody: required: true content: @@ -95809,7 +96076,7 @@ paths: parameters: - *446 - *447 - - *205 + - *206 responses: '204': description: Response @@ -95832,7 +96099,7 @@ paths: parameters: - *446 - *447 - - *205 + - *206 - 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. @@ -95883,7 +96150,7 @@ paths: parameters: - *446 - *447 - - *205 + - *206 requestBody: required: true content: @@ -95948,7 +96215,7 @@ paths: parameters: - *446 - *447 - - *205 + - *206 - *438 responses: '204': @@ -96217,7 +96484,7 @@ paths: - *446 - *447 - *684 - - *213 + - *214 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -96227,7 +96494,7 @@ paths: enum: - asc - desc - - *196 + - *197 - *17 - *19 responses: @@ -96470,7 +96737,7 @@ paths: - *446 - *447 - *684 - - *205 + - *206 requestBody: required: true content: @@ -96828,7 +97095,7 @@ paths: items: *4 teams: type: array - items: *282 + items: *284 required: - users - teams @@ -98084,7 +98351,7 @@ paths: type: string body_text: type: string - author_association: *190 + author_association: *191 required: - id - node_id @@ -98603,7 +98870,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *190 + author_association: *191 _links: type: object properties: @@ -98618,7 +98885,7 @@ paths: type: string body_html: type: string - reactions: *191 + reactions: *192 side: description: The side of the first line of the range for a multi-line comment. @@ -101241,7 +101508,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &899 + items: &898 type: object properties: type: @@ -101433,6 +101700,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 @@ -102484,7 +102754,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *232 + schema: *234 examples: invalid_state_transition: value: @@ -103670,7 +103940,7 @@ paths: application/json: schema: type: array - items: *282 + items: *284 examples: default: *357 headers: @@ -104196,7 +104466,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: default: value: @@ -104644,7 +104914,7 @@ paths: application/json: schema: type: array - items: *255 + items: *257 examples: default: value: @@ -106823,7 +107093,7 @@ paths: html_url: type: string format: uri - repository: *255 + repository: *257 score: type: number file_size: @@ -107127,7 +107397,7 @@ paths: type: string sha: type: string - repository: *255 + repository: *257 score: type: number node_id: @@ -107491,7 +107761,7 @@ paths: type: string score: type: number - author_association: *190 + author_association: *191 draft: type: boolean repository: *69 @@ -107512,9 +107782,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 - reactions: *191 + properties: *187 + required: *188 + reactions: *192 required: - assignee - closed_at @@ -108032,8 +108302,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *193 + required: *194 nullable: true permissions: type: object @@ -110084,7 +110354,7 @@ paths: application/json: schema: type: array - items: *255 + items: *257 examples: default: *364 headers: @@ -110491,7 +110761,7 @@ paths: application/json: schema: type: array - items: *282 + items: *284 examples: response-if-child-teams-exist: *788 headers: @@ -111390,7 +111660,7 @@ 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 + - *267 responses: '200': description: Response @@ -111426,7 +111696,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 + - *267 requestBody: required: true content: @@ -111471,7 +111741,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -111499,7 +111769,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 + - *267 responses: '204': description: Response @@ -111524,7 +111794,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 + - *267 responses: '200': description: Response @@ -111540,7 +111810,7 @@ paths: type: integer repositories: type: array - items: *255 + items: *257 examples: default: *792 '401': *25 @@ -111567,7 +111837,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 + - *267 requestBody: required: true content: @@ -111621,7 +111891,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 + - *267 - name: repository_id in: path required: true @@ -111654,7 +111924,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 + - *267 - name: repository_id in: path required: true @@ -112875,7 +113145,7 @@ paths: type: array items: *358 examples: - default: &808 + default: &807 value: - id: 197 name: hello_docker @@ -113043,7 +113313,7 @@ paths: type: array items: *797 examples: - default: &810 + default: &809 value: - email: octocat@github.com verified: true @@ -113505,7 +113775,7 @@ paths: - subkeys - revoked examples: - default: &824 + default: &823 value: - id: 3 name: Octocat's GPG Key @@ -113877,7 +114147,7 @@ paths: type: array items: *69 examples: - default: *250 + default: *252 headers: Link: *43 '404': *6 @@ -113902,7 +114172,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *249 + - *251 responses: '204': description: Response @@ -113928,7 +114198,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *249 + - *251 responses: '204': description: Response @@ -114096,7 +114366,7 @@ paths: - comments default: created - *101 - - *196 + - *197 - *17 - *19 responses: @@ -114106,7 +114376,7 @@ paths: application/json: schema: type: array - items: *189 + items: *190 examples: default: *346 headers: @@ -114398,7 +114668,7 @@ paths: - id - type - login - plan: *207 + plan: *208 required: - billing_cycle - next_billing_date @@ -115502,7 +115772,7 @@ paths: application/json: schema: type: array - items: *255 + items: *257 examples: default: *364 headers: @@ -115541,7 +115811,7 @@ paths: type: array items: *64 examples: - default: *806 + default: *221 headers: Link: *43 '304': *37 @@ -115583,7 +115853,7 @@ paths: - docker - nuget - container - - *807 + - *806 - *19 - *17 responses: @@ -115595,8 +115865,8 @@ paths: type: array items: *358 examples: - default: *808 - '400': *809 + default: *807 + '400': *808 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115625,7 +115895,7 @@ paths: application/json: schema: *358 examples: - default: &825 + default: &824 value: id: 40201 name: octo-name @@ -116080,7 +116350,7 @@ paths: type: array items: *797 examples: - default: *810 + default: *809 headers: Link: *43 '304': *37 @@ -116193,7 +116463,7 @@ paths: type: array items: *69 examples: - default: &817 + default: &816 summary: Default response value: - id: 1296269 @@ -116539,7 +116809,7 @@ paths: type: array items: *637 examples: - default: *811 + default: *810 headers: Link: *43 '304': *37 @@ -116618,7 +116888,7 @@ paths: application/json: schema: type: array - items: &812 + items: &811 title: Social account description: Social media account type: object @@ -116633,7 +116903,7 @@ paths: - provider - url examples: - default: &813 + default: &812 value: - provider: twitter url: https://twitter.com/github @@ -116695,9 +116965,9 @@ paths: application/json: schema: type: array - items: *812 + items: *811 examples: - default: *813 + default: *812 '422': *15 '304': *37 '404': *6 @@ -116784,7 +117054,7 @@ paths: application/json: schema: type: array - items: &814 + items: &813 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -116804,7 +117074,7 @@ paths: - title - created_at examples: - default: &828 + default: &827 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116870,9 +117140,9 @@ paths: description: Response content: application/json: - schema: *814 + schema: *813 examples: - default: &815 + default: &814 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116903,7 +117173,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 + - &815 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -116915,9 +117185,9 @@ paths: description: Response content: application/json: - schema: *814 + schema: *813 examples: - default: *815 + default: *814 '404': *6 '304': *37 '403': *29 @@ -116940,7 +117210,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 + - *815 responses: '204': description: Response @@ -116969,7 +117239,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 + - &828 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 +117264,11 @@ paths: type: array items: *69 examples: - default-response: *817 + default-response: *816 application/vnd.github.v3.star+json: schema: type: array - items: &830 + items: &829 title: Starred Repository description: Starred Repository type: object @@ -117242,7 +117512,7 @@ paths: application/json: schema: type: array - items: *255 + items: *257 examples: default: *364 headers: @@ -117359,7 +117629,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 + - *210 responses: '200': description: Response @@ -117370,7 +117640,7 @@ paths: - *790 - *789 examples: - default-response: &819 + default-response: &818 summary: Default response value: login: octocat @@ -117405,7 +117675,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: &819 summary: Response with GitHub plan information value: login: octocat @@ -117465,7 +117735,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *818 + - *817 - *17 responses: '200': @@ -117517,8 +117787,8 @@ paths: - *790 - *789 examples: - default-response: *819 - response-with-git-hub-plan-information: *820 + default-response: *818 + response-with-git-hub-plan-information: *819 '404': *6 x-github: githubCloudOnly: false @@ -117567,8 +117837,8 @@ paths: required: - subject_digests examples: - default: *821 - withPredicateType: *822 + default: *820 + withPredicateType: *821 responses: '200': description: Response @@ -117621,7 +117891,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *823 + default: *822 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117830,7 +118100,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -117866,7 +118136,7 @@ paths: type: array items: *358 examples: - default: *808 + default: *807 '403': *29 '401': *25 x-github: @@ -117899,7 +118169,7 @@ paths: application/json: schema: type: array - items: *215 + items: *216 examples: default: value: @@ -117972,7 +118242,7 @@ paths: application/json: schema: type: array - items: *215 + items: *216 examples: default: value: @@ -118059,7 +118329,7 @@ paths: application/json: schema: type: array - items: *215 + items: *216 examples: default: value: @@ -118207,7 +118477,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - *182 - - *196 + - *197 - *17 - *19 responses: @@ -118217,9 +118487,9 @@ paths: application/json: schema: type: array - items: *197 + items: *198 examples: - default: *198 + default: *199 headers: Link: *43 '422': *15 @@ -118252,7 +118522,7 @@ paths: type: array items: *798 examples: - default: *824 + default: *823 headers: Link: *43 x-github: @@ -118441,7 +118711,7 @@ paths: type: array items: *64 examples: - default: *806 + default: *221 headers: Link: *43 x-github: @@ -118480,7 +118750,7 @@ paths: - docker - nuget - container - - *807 + - *806 - *182 - *19 - *17 @@ -118493,10 +118763,10 @@ paths: type: array items: *358 examples: - default: *808 + default: *807 '403': *29 '401': *25 - '400': *809 + '400': *808 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118526,7 +118796,7 @@ paths: application/json: schema: *358 examples: - default: *825 + default: *824 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118979,7 +119249,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - *377 - - *826 + - *825 - *182 responses: '200': @@ -119024,16 +119294,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 @@ -119102,7 +119375,7 @@ paths: description: Response content: application/json: - schema: *827 + schema: *826 examples: issue: *384 pull_request: *384 @@ -119129,16 +119402,19 @@ paths: - *182 - *387 - 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 @@ -119304,7 +119580,7 @@ paths: application/json: schema: type: array - items: *215 + items: *216 examples: default: value: @@ -119379,7 +119655,7 @@ paths: application/json: schema: type: array - items: *215 + items: *216 examples: default: value: @@ -119485,7 +119761,7 @@ paths: application/json: schema: type: array - items: *255 + items: *257 examples: default: *364 headers: @@ -119558,7 +119834,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 @@ -119568,10 +119847,10 @@ paths: parameters: - *182 - *173 - - *222 - - *174 - *224 - - *225 + - *174 + - *226 + - *227 responses: '200': description: Response when getting a billing premium request usage report @@ -119624,19 +119903,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 @@ -119731,9 +120010,9 @@ paths: parameters: - *182 - *173 - - *226 + - *228 - *174 - - *227 + - *229 responses: '200': description: Response when getting a billing usage report @@ -119832,9 +120111,9 @@ paths: application/json: schema: type: array - items: *812 + items: *811 examples: - default: *813 + default: *812 headers: Link: *43 x-github: @@ -119864,9 +120143,9 @@ paths: application/json: schema: type: array - items: *814 + items: *813 examples: - default: *828 + default: *827 headers: Link: *43 x-github: @@ -119891,7 +120170,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *182 - - *829 + - *828 - *101 - *17 - *19 @@ -119903,11 +120182,11 @@ paths: schema: anyOf: - type: array - items: *830 + items: *829 - type: array items: *69 examples: - default-response: *817 + default-response: *816 headers: Link: *43 x-github: @@ -119936,7 +120215,7 @@ paths: application/json: schema: type: array - items: *255 + items: *257 examples: default: *364 headers: @@ -120066,7 +120345,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &831 + enterprise: &830 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -120124,7 +120403,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &832 + installation: &831 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -120143,7 +120422,7 @@ x-webhooks: required: - id - node_id - organization: &833 + organization: &832 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -120203,13 +120482,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &834 + repository: &833 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: &870 id: description: Unique identifier of the repository example: 42 @@ -120229,8 +120508,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *193 + required: *194 nullable: true organization: title: Simple User @@ -120892,7 +121171,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &872 + required: &871 - archive_url - assignees_url - blobs_url @@ -121043,10 +121322,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -121122,11 +121401,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - rule: &835 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + rule: &834 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 +121628,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - rule: *835 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + rule: *834 sender: *4 required: - action @@ -121536,11 +121815,11 @@ x-webhooks: - everyone required: - from - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - rule: *835 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + rule: *834 sender: *4 required: - action @@ -121611,7 +121890,7 @@ x-webhooks: required: true content: application/json: - schema: &838 + schema: &837 title: Exemption request cancellation event type: object properties: @@ -121619,11 +121898,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: &836 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + exemption_request: &835 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -121856,7 +122135,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &837 + items: &836 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -121964,7 +122243,7 @@ x-webhooks: required: true content: application/json: - schema: &839 + schema: &838 title: Exemption request completed event type: object properties: @@ -121972,11 +122251,11 @@ x-webhooks: type: string enum: - completed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: *836 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + exemption_request: *835 sender: *4 required: - action @@ -122046,7 +122325,7 @@ x-webhooks: required: true content: application/json: - schema: &840 + schema: &839 title: Exemption request created event type: object properties: @@ -122054,11 +122333,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: *836 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + exemption_request: *835 sender: *4 required: - action @@ -122128,7 +122407,7 @@ x-webhooks: required: true content: application/json: - schema: &841 + schema: &840 title: Exemption response dismissed event type: object properties: @@ -122136,12 +122415,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: *836 - exemption_response: *837 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + exemption_request: *835 + exemption_response: *836 sender: *4 required: - action @@ -122213,7 +122492,7 @@ x-webhooks: required: true content: application/json: - schema: &842 + schema: &841 title: Exemption response submitted event type: object properties: @@ -122221,12 +122500,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: *836 - exemption_response: *837 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + exemption_request: *835 + exemption_response: *836 sender: *4 required: - action @@ -122299,7 +122578,7 @@ x-webhooks: required: true content: application/json: - schema: *838 + schema: *837 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122366,7 +122645,7 @@ x-webhooks: required: true content: application/json: - schema: *839 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122433,7 +122712,7 @@ x-webhooks: required: true content: application/json: - schema: *840 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122500,7 +122779,7 @@ x-webhooks: required: true content: application/json: - schema: *841 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122568,7 +122847,7 @@ x-webhooks: required: true content: application/json: - schema: *842 + schema: *841 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122646,7 +122925,7 @@ x-webhooks: type: string enum: - completed - check_run: &844 + check_run: &843 title: CheckRun description: A check performed on the code of a given code change type: object @@ -122699,8 +122978,8 @@ x-webhooks: type: string pull_requests: type: array - items: *194 - repository: *255 + items: *195 + repository: *257 status: example: completed type: string @@ -122737,7 +123016,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *843 + deployment: *842 details_url: example: https://example.com type: string @@ -122787,7 +123066,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *194 + items: *195 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -122822,10 +123101,10 @@ x-webhooks: - output - app - pull_requests - installation: *832 - enterprise: *831 - organization: *833 - repository: *834 + installation: *831 + enterprise: *830 + organization: *832 + repository: *833 sender: *4 required: - check_run @@ -123218,11 +123497,11 @@ x-webhooks: type: string enum: - created - check_run: *844 - installation: *832 - enterprise: *831 - organization: *833 - repository: *834 + check_run: *843 + installation: *831 + enterprise: *830 + organization: *832 + repository: *833 sender: *4 required: - check_run @@ -123618,11 +123897,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *844 - installation: *832 - enterprise: *831 - organization: *833 - repository: *834 + check_run: *843 + installation: *831 + enterprise: *830 + organization: *832 + repository: *833 requested_action: description: The action requested by the user. type: object @@ -124027,11 +124306,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *844 - installation: *832 - enterprise: *831 - organization: *833 - repository: *834 + check_run: *843 + installation: *831 + enterprise: *830 + organization: *832 + repository: *833 sender: *4 required: - check_run @@ -125008,10 +125287,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -125681,10 +125960,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -126348,10 +126627,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -126662,20 +126941,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &845 + commit_oid: &844 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: *830 + installation: *831 + organization: *832 + ref: &845 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: *833 sender: *4 required: - action @@ -127070,12 +127349,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *845 - enterprise: *831 - installation: *832 - organization: *833 - ref: *846 - repository: *834 + commit_oid: *844 + enterprise: *830 + installation: *831 + organization: *832 + ref: *845 + repository: *833 sender: *4 required: - action @@ -127341,12 +127620,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *845 - enterprise: *831 - installation: *832 - organization: *833 - ref: *846 - repository: *834 + commit_oid: *844 + enterprise: *830 + installation: *831 + organization: *832 + ref: *845 + repository: *833 sender: *4 required: - action @@ -127678,12 +127957,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *845 - enterprise: *831 - installation: *832 - organization: *833 - ref: *846 - repository: *834 + commit_oid: *844 + enterprise: *830 + installation: *831 + organization: *832 + ref: *845 + repository: *833 sender: *4 required: - action @@ -127951,16 +128230,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 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: *833 sender: *4 required: - action @@ -128197,12 +128476,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *845 - enterprise: *831 - installation: *832 - organization: *833 - ref: *846 - repository: *834 + commit_oid: *844 + enterprise: *830 + installation: *831 + organization: *832 + ref: *845 + repository: *833 sender: *4 required: - action @@ -128459,10 +128738,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -128542,18 +128821,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *833 - pusher_type: &847 + organization: *832 + pusher_type: &846 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &848 + ref: &847 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -128563,7 +128842,7 @@ x-webhooks: enum: - tag - branch - repository: *834 + repository: *833 sender: *4 required: - ref @@ -128646,9 +128925,9 @@ x-webhooks: enum: - created definition: *129 - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 sender: *4 required: - action @@ -128733,9 +129012,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 sender: *4 required: - action @@ -128813,9 +129092,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *129 - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 sender: *4 required: - action @@ -128893,9 +129172,9 @@ x-webhooks: enum: - updated definition: *129 - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 sender: *4 required: - action @@ -128972,10 +129251,10 @@ x-webhooks: type: string enum: - updated - enterprise: *831 - installation: *832 - repository: *834 - organization: *833 + enterprise: *830 + installation: *831 + repository: *833 + organization: *832 sender: *4 new_property_values: type: array @@ -129060,18 +129339,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 - pusher_type: *847 - ref: *848 + enterprise: *830 + installation: *831 + organization: *832 + pusher_type: *846 + ref: *847 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *834 + repository: *833 sender: *4 required: - ref @@ -129156,10 +129435,10 @@ x-webhooks: enum: - auto_dismissed alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -129244,10 +129523,10 @@ x-webhooks: enum: - auto_reopened alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -129332,10 +129611,10 @@ x-webhooks: enum: - created alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -129418,10 +129697,10 @@ x-webhooks: enum: - dismissed alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -129504,10 +129783,10 @@ x-webhooks: enum: - fixed alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -129591,10 +129870,10 @@ x-webhooks: enum: - reintroduced alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -129677,10 +129956,10 @@ x-webhooks: enum: - reopened alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + installation: *831 + organization: *832 + enterprise: *830 + repository: *833 sender: *4 required: - action @@ -129757,9 +130036,9 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - key: &849 + enterprise: *830 + installation: *831 + key: &848 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 +130074,8 @@ x-webhooks: - verified - created_at - read_only - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 required: - action @@ -129873,11 +130152,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - key: *849 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + key: *848 + organization: *832 + repository: *833 sender: *4 required: - action @@ -130438,12 +130717,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - workflow: &853 + workflow: &852 title: Workflow type: object nullable: true @@ -131173,9 +131452,9 @@ x-webhooks: pull_requests: type: array items: *682 - repository: *834 - organization: *833 - installation: *832 + repository: *833 + organization: *832 + installation: *831 sender: *4 responses: '200': @@ -131246,7 +131525,7 @@ x-webhooks: type: string enum: - approved - approver: &850 + approver: &849 type: object properties: avatar_url: @@ -131289,11 +131568,11 @@ x-webhooks: type: string comment: type: string - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - reviewers: &851 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + reviewers: &850 type: array items: type: object @@ -131372,7 +131651,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &852 + workflow_job_run: &851 type: object properties: conclusion: @@ -132103,18 +132382,18 @@ x-webhooks: type: string enum: - rejected - approver: *850 + approver: *849 comment: type: string - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - reviewers: *851 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + reviewers: *850 sender: *4 since: type: string - workflow_job_run: *852 + workflow_job_run: *851 workflow_job_runs: type: array items: @@ -132818,13 +133097,13 @@ x-webhooks: type: string enum: - requested - enterprise: *831 + enterprise: *830 environment: type: string - installation: *832 - organization: *833 - repository: *834 - requestor: &858 + installation: *831 + organization: *832 + repository: *833 + requestor: &857 title: User type: object nullable: true @@ -134723,12 +135002,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - workflow: *853 + workflow: *852 workflow_run: title: Deployment Workflow Run type: object @@ -135408,7 +135687,7 @@ x-webhooks: type: string enum: - answered - answer: &856 + answer: &855 type: object properties: author_association: @@ -135565,11 +135844,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *853 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -135696,11 +135975,11 @@ x-webhooks: - from required: - category - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *853 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -135783,11 +136062,11 @@ x-webhooks: type: string enum: - closed - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *853 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -135869,7 +136148,7 @@ x-webhooks: type: string enum: - created - comment: &855 + comment: &854 type: object properties: author_association: @@ -136026,11 +136305,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *853 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -136113,12 +136392,12 @@ x-webhooks: type: string enum: - deleted - comment: *855 - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + comment: *854 + discussion: *853 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -136213,12 +136492,12 @@ x-webhooks: - from required: - body - comment: *855 - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + comment: *854 + discussion: *853 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -136302,11 +136581,11 @@ x-webhooks: type: string enum: - created - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *853 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -136388,11 +136667,11 @@ x-webhooks: type: string enum: - deleted - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *853 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -136492,11 +136771,11 @@ x-webhooks: type: string required: - from - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *853 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -136578,10 +136857,10 @@ x-webhooks: type: string enum: - labeled - discussion: *854 - enterprise: *831 - installation: *832 - label: &857 + discussion: *853 + enterprise: *830 + installation: *831 + label: &856 title: Label type: object properties: @@ -136613,8 +136892,8 @@ x-webhooks: - color - default - description - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 required: - action @@ -136697,11 +136976,11 @@ x-webhooks: type: string enum: - locked - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *853 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -136783,11 +137062,11 @@ x-webhooks: type: string enum: - pinned - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *853 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -136869,11 +137148,11 @@ x-webhooks: type: string enum: - reopened - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *853 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -136958,16 +137237,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *854 - new_repository: *834 + new_discussion: *853 + new_repository: *833 required: - new_discussion - new_repository - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *853 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -137050,10 +137329,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *854 - old_answer: *856 - organization: *833 - repository: *834 + discussion: *853 + old_answer: *855 + organization: *832 + repository: *833 sender: *4 required: - action @@ -137135,12 +137414,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *854 - enterprise: *831 - installation: *832 - label: *857 - organization: *833 - repository: *834 + discussion: *853 + enterprise: *830 + installation: *831 + label: *856 + organization: *832 + repository: *833 sender: *4 required: - action @@ -137223,11 +137502,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *853 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -137309,11 +137588,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *853 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -137382,7 +137661,7 @@ x-webhooks: required: true content: application/json: - schema: *840 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137445,7 +137724,7 @@ x-webhooks: required: true content: application/json: - schema: *842 + schema: *841 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137511,7 +137790,7 @@ x-webhooks: required: true content: application/json: - schema: *838 + schema: *837 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137577,7 +137856,7 @@ x-webhooks: required: true content: application/json: - schema: *839 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137643,7 +137922,7 @@ x-webhooks: required: true content: application/json: - schema: *840 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137709,7 +137988,7 @@ x-webhooks: required: true content: application/json: - schema: *841 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137775,7 +138054,7 @@ x-webhooks: required: true content: application/json: - schema: *842 + schema: *841 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137842,7 +138121,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *831 + enterprise: *830 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -138502,9 +138781,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *832 - organization: *833 - repository: *834 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - forkee @@ -138650,9 +138929,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 pages: description: The pages that were updated. type: array @@ -138689,7 +138968,7 @@ x-webhooks: - action - sha - html_url - repository: *834 + repository: *833 sender: *4 required: - pages @@ -138765,10 +139044,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 + enterprise: *830 installation: *22 - organization: *833 - repositories: &859 + organization: *832 + repositories: &858 description: An array of repository objects that the installation can access. type: array @@ -138794,8 +139073,8 @@ x-webhooks: - name - full_name - private - repository: *834 - requester: *858 + repository: *833 + requester: *857 sender: *4 required: - action @@ -138870,11 +139149,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 + enterprise: *830 installation: *22 - organization: *833 - repositories: *859 - repository: *834 + organization: *832 + repositories: *858 + repository: *833 requester: nullable: true sender: *4 @@ -138950,11 +139229,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *831 + enterprise: *830 installation: *22 - organization: *833 - repositories: *859 - repository: *834 + organization: *832 + repositories: *858 + repository: *833 requester: nullable: true sender: *4 @@ -139030,10 +139309,10 @@ x-webhooks: type: string enum: - added - enterprise: *831 + enterprise: *830 installation: *22 - organization: *833 - repositories_added: &860 + organization: *832 + repositories_added: &859 description: An array of repository objects, which were added to the installation. type: array @@ -139079,15 +139358,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *834 - repository_selection: &861 + repository: *833 + repository_selection: &860 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *858 + requester: *857 sender: *4 required: - action @@ -139166,10 +139445,10 @@ x-webhooks: type: string enum: - removed - enterprise: *831 + enterprise: *830 installation: *22 - organization: *833 - repositories_added: *860 + organization: *832 + repositories_added: *859 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -139196,9 +139475,9 @@ x-webhooks: - name - full_name - private - repository: *834 - repository_selection: *861 - requester: *858 + repository: *833 + repository_selection: *860 + requester: *857 sender: *4 required: - action @@ -139277,11 +139556,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *831 + enterprise: *830 installation: *22 - organization: *833 - repositories: *859 - repository: *834 + organization: *832 + repositories: *858 + repository: *833 requester: nullable: true sender: *4 @@ -139460,10 +139739,10 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 target_type: type: string @@ -139542,11 +139821,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *831 + enterprise: *830 installation: *22 - organization: *833 - repositories: *859 - repository: *834 + organization: *832 + repositories: *858 + repository: *833 requester: nullable: true sender: *4 @@ -139670,8 +139949,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *187 + required: *188 reactions: title: Reactions type: object @@ -139798,8 +140077,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -140943,8 +141222,8 @@ x-webhooks: - state - locked - assignee - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 required: - action @@ -141024,7 +141303,7 @@ x-webhooks: type: string enum: - deleted - comment: &862 + comment: &861 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -141189,8 +141468,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -142332,8 +142611,8 @@ x-webhooks: - state - locked - assignee - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 required: - action @@ -142413,7 +142692,7 @@ x-webhooks: type: string enum: - edited - changes: &891 + changes: &890 description: The changes to the comment. type: object properties: @@ -142425,9 +142704,9 @@ x-webhooks: type: string required: - from - comment: *862 - enterprise: *831 - installation: *832 + comment: *861 + enterprise: *830 + installation: *831 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143570,8 +143849,8 @@ x-webhooks: - state - locked - assignee - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 required: - action @@ -143655,15 +143934,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *189 + blocked_issue: *190 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *189 + blocking_issue: *190 blocking_issue_repo: *69 - installation: *832 - organization: *833 - repository: *834 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -143751,15 +144030,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *189 + blocked_issue: *190 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *189 + blocking_issue: *190 blocking_issue_repo: *69 - installation: *832 - organization: *833 - repository: *834 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -143846,15 +144125,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *189 + blocked_issue: *190 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: *190 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -143942,15 +144221,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *189 + blocked_issue: *190 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: *190 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -144035,10 +144314,10 @@ x-webhooks: type: string enum: - assigned - assignee: *858 - enterprise: *831 - installation: *832 - issue: &865 + assignee: *857 + enterprise: *830 + installation: *831 + issue: &864 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -144948,8 +145227,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 required: - action @@ -145029,8 +145308,8 @@ x-webhooks: type: string enum: - closed - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -146080,8 +146359,8 @@ x-webhooks: required: - state - closed_at - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 required: - action @@ -146160,8 +146439,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147066,8 +147345,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 required: - action @@ -147146,8 +147425,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148053,7 +148332,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &863 + milestone: &862 title: Milestone description: A collection of related issues and pull requests. type: object @@ -148191,8 +148470,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 required: - action @@ -148291,8 +148570,8 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149202,9 +149481,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *857 - organization: *833 - repository: *834 + label: *856 + organization: *832 + repository: *833 sender: *4 required: - action @@ -149284,8 +149563,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150194,9 +150473,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *857 - organization: *833 - repository: *834 + label: *856 + organization: *832 + repository: *833 sender: *4 required: - action @@ -150276,8 +150555,8 @@ x-webhooks: type: string enum: - locked - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151187,8 +151466,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 required: - action @@ -151267,8 +151546,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152172,9 +152451,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *863 - organization: *833 - repository: *834 + milestone: *862 + organization: *832 + repository: *833 sender: *4 required: - action @@ -153608,8 +153887,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154518,8 +154797,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 required: - action @@ -154599,9 +154878,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *831 - installation: *832 - issue: &864 + enterprise: *830 + installation: *831 + issue: &863 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -155504,8 +155783,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 required: - action @@ -155584,8 +155863,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156494,8 +156773,8 @@ x-webhooks: user_view_type: type: string type: *342 - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 required: - action @@ -157949,11 +158228,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *831 - installation: *832 - issue: *864 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + issue: *863 + organization: *832 + repository: *833 sender: *4 required: - action @@ -158033,12 +158312,12 @@ x-webhooks: type: string enum: - typed - enterprise: *831 - installation: *832 - issue: *865 + enterprise: *830 + installation: *831 + issue: *864 type: *342 - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 required: - action @@ -158119,7 +158398,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &894 + assignee: &893 title: User type: object nullable: true @@ -158189,11 +158468,11 @@ x-webhooks: required: - login - id - enterprise: *831 - installation: *832 - issue: *865 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + issue: *864 + organization: *832 + repository: *833 sender: *4 required: - action @@ -158272,12 +158551,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *831 - installation: *832 - issue: *865 - label: *857 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + issue: *864 + label: *856 + organization: *832 + repository: *833 sender: *4 required: - action @@ -158357,8 +158636,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159266,8 +159545,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 required: - action @@ -159347,11 +159626,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *831 - installation: *832 - issue: *864 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + issue: *863 + organization: *832 + repository: *833 sender: *4 required: - action @@ -159430,12 +159709,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *831 - installation: *832 - issue: *865 + enterprise: *830 + installation: *831 + issue: *864 type: *342 - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 required: - action @@ -159515,11 +159794,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - label: *857 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + label: *856 + organization: *832 + repository: *833 sender: *4 required: - action @@ -159597,11 +159876,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - label: *857 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + label: *856 + organization: *832 + repository: *833 sender: *4 required: - action @@ -159711,11 +159990,11 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - label: *857 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + label: *856 + organization: *832 + repository: *833 sender: *4 required: - action @@ -159797,9 +160076,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *831 - installation: *832 - marketplace_purchase: &866 + enterprise: *830 + installation: *831 + marketplace_purchase: &865 title: Marketplace Purchase type: object required: @@ -159882,8 +160161,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *833 - previous_marketplace_purchase: &867 + organization: *832 + previous_marketplace_purchase: &866 title: Marketplace Purchase type: object properties: @@ -159963,7 +160242,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *834 + repository: *833 sender: *4 required: - action @@ -160043,10 +160322,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *831 - installation: *832 - marketplace_purchase: *866 - organization: *833 + enterprise: *830 + installation: *831 + marketplace_purchase: *865 + organization: *832 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -160129,7 +160408,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *834 + repository: *833 sender: *4 required: - action @@ -160211,10 +160490,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *831 - installation: *832 - marketplace_purchase: *866 - organization: *833 + enterprise: *830 + installation: *831 + marketplace_purchase: *865 + organization: *832 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -160296,7 +160575,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *834 + repository: *833 sender: *4 required: - action @@ -160377,8 +160656,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 marketplace_purchase: title: Marketplace Purchase type: object @@ -160460,9 +160739,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *833 - previous_marketplace_purchase: *867 - repository: *834 + organization: *832 + previous_marketplace_purchase: *866 + repository: *833 sender: *4 required: - action @@ -160542,12 +160821,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *831 - installation: *832 - marketplace_purchase: *866 - organization: *833 - previous_marketplace_purchase: *867 - repository: *834 + enterprise: *830 + installation: *831 + marketplace_purchase: *865 + organization: *832 + previous_marketplace_purchase: *866 + repository: *833 sender: *4 required: - action @@ -160649,11 +160928,11 @@ x-webhooks: type: string required: - to - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + member: *857 + organization: *832 + repository: *833 sender: *4 required: - action @@ -160753,11 +161032,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + member: *857 + organization: *832 + repository: *833 sender: *4 required: - action @@ -160836,11 +161115,11 @@ x-webhooks: type: string enum: - removed - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + member: *857 + organization: *832 + repository: *833 sender: *4 required: - action @@ -160918,11 +161197,11 @@ x-webhooks: type: string enum: - added - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + member: *857 + organization: *832 + repository: *833 scope: description: The scope of the membership. Currently, can only be `team`. @@ -160998,7 +161277,7 @@ x-webhooks: required: - login - id - team: &868 + team: &867 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -161221,11 +161500,11 @@ x-webhooks: type: string enum: - removed - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + member: *857 + organization: *832 + repository: *833 scope: description: The scope of the membership. Currently, can only be `team`. @@ -161302,7 +161581,7 @@ x-webhooks: required: - login - id - team: *868 + team: *867 required: - action - scope @@ -161384,8 +161663,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *832 - merge_group: &870 + installation: *831 + merge_group: &869 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -161404,15 +161683,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *869 + head_commit: *868 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 required: - action @@ -161498,10 +161777,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *832 - merge_group: *870 - organization: *833 - repository: *834 + installation: *831 + merge_group: *869 + organization: *832 + repository: *833 sender: *4 required: - action @@ -161574,7 +161853,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 + enterprise: *830 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -161683,16 +161962,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *832 - organization: *833 + installation: *831 + organization: *832 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: *870 + required: *871 nullable: true sender: *4 required: @@ -161773,11 +162052,11 @@ x-webhooks: type: string enum: - closed - enterprise: *831 - installation: *832 - milestone: *863 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + milestone: *862 + organization: *832 + repository: *833 sender: *4 required: - action @@ -161856,9 +162135,9 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - milestone: &873 + enterprise: *830 + installation: *831 + milestone: &872 title: Milestone description: A collection of related issues and pull requests. type: object @@ -161995,8 +162274,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 required: - action @@ -162075,11 +162354,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - milestone: *863 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + milestone: *862 + organization: *832 + repository: *833 sender: *4 required: - action @@ -162189,11 +162468,11 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - milestone: *863 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + milestone: *862 + organization: *832 + repository: *833 sender: *4 required: - action @@ -162273,11 +162552,11 @@ x-webhooks: type: string enum: - opened - enterprise: *831 - installation: *832 - milestone: *873 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + milestone: *872 + organization: *832 + repository: *833 sender: *4 required: - action @@ -162356,11 +162635,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *858 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + blocked_user: *857 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -162439,11 +162718,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *858 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + blocked_user: *857 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -162522,9 +162801,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - membership: &874 + enterprise: *830 + installation: *831 + membership: &873 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -162631,8 +162910,8 @@ x-webhooks: - role - organization_url - user - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 required: - action @@ -162710,11 +162989,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *831 - installation: *832 - membership: *874 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + membership: *873 + organization: *832 + repository: *833 sender: *4 required: - action @@ -162793,8 +163072,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -162910,10 +163189,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 - user: *858 + user: *857 required: - action - invitation @@ -162991,11 +163270,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *831 - installation: *832 - membership: *874 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + membership: *873 + organization: *832 + repository: *833 sender: *4 required: - action @@ -163082,11 +163361,11 @@ x-webhooks: properties: from: type: string - enterprise: *831 - installation: *832 - membership: *874 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + membership: *873 + organization: *832 + repository: *833 sender: *4 required: - action @@ -163162,9 +163441,9 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 package: description: Information about the package. type: object @@ -163663,7 +163942,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &875 + items: &874 title: Ruby Gems metadata type: object properties: @@ -163758,7 +164037,7 @@ x-webhooks: - owner - package_version - registry - repository: *834 + repository: *833 sender: *4 required: - action @@ -163834,9 +164113,9 @@ x-webhooks: type: string enum: - updated - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 package: description: Information about the package. type: object @@ -164189,7 +164468,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *875 + items: *874 source_url: type: string format: uri @@ -164259,7 +164538,7 @@ x-webhooks: - owner - package_version - registry - repository: *834 + repository: *833 sender: *4 required: - action @@ -164436,12 +164715,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *831 + enterprise: *830 id: type: integer - installation: *832 - organization: *833 - repository: *834 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - id @@ -164518,7 +164797,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &876 + personal_access_token_request: &875 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -164664,10 +164943,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *831 - organization: *833 + enterprise: *830 + organization: *832 sender: *4 - installation: *832 + installation: *831 required: - action - personal_access_token_request @@ -164744,11 +165023,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *876 - enterprise: *831 - organization: *833 + personal_access_token_request: *875 + enterprise: *830 + organization: *832 sender: *4 - installation: *832 + installation: *831 required: - action - personal_access_token_request @@ -164824,11 +165103,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *876 - enterprise: *831 - organization: *833 + personal_access_token_request: *875 + enterprise: *830 + organization: *832 sender: *4 - installation: *832 + installation: *831 required: - action - personal_access_token_request @@ -164903,11 +165182,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *876 - organization: *833 - enterprise: *831 + personal_access_token_request: *875 + organization: *832 + enterprise: *830 sender: *4 - installation: *832 + installation: *831 required: - action - personal_access_token_request @@ -165012,7 +165291,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *877 + last_response: *876 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -165044,8 +165323,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 zen: description: Random string of GitHub zen. @@ -165290,10 +165569,10 @@ x-webhooks: - from required: - note - enterprise: *831 - installation: *832 - organization: *833 - project_card: &878 + enterprise: *830 + installation: *831 + organization: *832 + project_card: &877 title: Project Card type: object properties: @@ -165412,7 +165691,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *834 + repository: *833 sender: *4 required: - action @@ -165493,11 +165772,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - project_card: *878 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + project_card: *877 + repository: *833 sender: *4 required: - action @@ -165577,9 +165856,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 project_card: title: Project Card type: object @@ -165707,8 +165986,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: *870 + required: *871 nullable: true sender: *4 required: @@ -165802,11 +166081,11 @@ x-webhooks: - from required: - note - enterprise: *831 - installation: *832 - organization: *833 - project_card: *878 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + project_card: *877 + repository: *833 sender: *4 required: - action @@ -165900,9 +166179,9 @@ x-webhooks: - from required: - column_id - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 project_card: allOf: - title: Project Card @@ -166092,7 +166371,7 @@ x-webhooks: type: string required: - after_id - repository: *834 + repository: *833 sender: *4 required: - action @@ -166172,10 +166451,10 @@ x-webhooks: type: string enum: - closed - enterprise: *831 - installation: *832 - organization: *833 - project: &880 + enterprise: *830 + installation: *831 + organization: *832 + project: &879 title: Project type: object properties: @@ -166299,7 +166578,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *834 + repository: *833 sender: *4 required: - action @@ -166379,10 +166658,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - project_column: &879 + enterprise: *830 + installation: *831 + organization: *832 + project_column: &878 title: Project Column type: object properties: @@ -166421,7 +166700,7 @@ x-webhooks: - name - created_at - updated_at - repository: *834 + repository: *833 sender: *4 required: - action @@ -166500,18 +166779,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - project_column: *879 + enterprise: *830 + installation: *831 + organization: *832 + project_column: *878 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *871 - required: *872 + properties: *870 + required: *871 nullable: true sender: *4 required: @@ -166601,11 +166880,11 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 - project_column: *879 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + project_column: *878 + repository: *833 sender: *4 required: - action @@ -166685,11 +166964,11 @@ x-webhooks: type: string enum: - moved - enterprise: *831 - installation: *832 - organization: *833 - project_column: *879 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + project_column: *878 + repository: *833 sender: *4 required: - action @@ -166769,11 +167048,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - project: *880 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + project: *879 + repository: *833 sender: *4 required: - action @@ -166853,18 +167132,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - project: *880 + enterprise: *830 + installation: *831 + organization: *832 + project: *879 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: *870 + required: *871 nullable: true sender: *4 required: @@ -166966,11 +167245,11 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 - project: *880 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + project: *879 + repository: *833 sender: *4 required: - action @@ -167049,11 +167328,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *831 - installation: *832 - organization: *833 - project: *880 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + project: *879 + repository: *833 sender: *4 required: - action @@ -167134,8 +167413,8 @@ x-webhooks: type: string enum: - closed - installation: *832 - organization: *833 + installation: *831 + organization: *832 projects_v2: *375 sender: *4 required: @@ -167217,8 +167496,8 @@ x-webhooks: type: string enum: - created - installation: *832 - organization: *833 + installation: *831 + organization: *832 projects_v2: *375 sender: *4 required: @@ -167300,8 +167579,8 @@ x-webhooks: type: string enum: - deleted - installation: *832 - organization: *833 + installation: *831 + organization: *832 projects_v2: *375 sender: *4 required: @@ -167419,8 +167698,8 @@ x-webhooks: type: string to: type: string - installation: *832 - organization: *833 + installation: *831 + organization: *832 projects_v2: *375 sender: *4 required: @@ -167504,7 +167783,7 @@ x-webhooks: type: string enum: - archived - changes: &884 + changes: &883 type: object properties: archived_at: @@ -167518,9 +167797,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *832 - organization: *833 - projects_v2_item: &881 + installation: *831 + organization: *832 + projects_v2_item: &880 title: Projects v2 Item description: An item belonging to a project type: object @@ -167655,9 +167934,9 @@ x-webhooks: nullable: true to: type: string - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *831 + organization: *832 + projects_v2_item: *880 sender: *4 required: - action @@ -167739,9 +168018,9 @@ x-webhooks: type: string enum: - created - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *831 + organization: *832 + projects_v2_item: *880 sender: *4 required: - action @@ -167822,9 +168101,9 @@ x-webhooks: type: string enum: - deleted - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *831 + organization: *832 + projects_v2_item: *880 sender: *4 required: - action @@ -167930,7 +168209,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &882 + - &881 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -167952,7 +168231,7 @@ x-webhooks: required: - id - name - - &883 + - &882 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -167986,8 +168265,8 @@ x-webhooks: oneOf: - type: string - type: integer + - *881 - *882 - - *883 required: - field_value - type: object @@ -168003,9 +168282,9 @@ x-webhooks: nullable: true required: - body - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *831 + organization: *832 + projects_v2_item: *880 sender: *4 required: - action @@ -168100,9 +168379,9 @@ x-webhooks: to: type: string nullable: true - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *831 + organization: *832 + projects_v2_item: *880 sender: *4 required: - action @@ -168185,10 +168464,10 @@ x-webhooks: type: string enum: - restored - changes: *884 - installation: *832 - organization: *833 - projects_v2_item: *881 + changes: *883 + installation: *831 + organization: *832 + projects_v2_item: *880 sender: *4 required: - action @@ -168270,8 +168549,8 @@ x-webhooks: type: string enum: - reopened - installation: *832 - organization: *833 + installation: *831 + organization: *832 projects_v2: *375 sender: *4 required: @@ -168353,14 +168632,14 @@ x-webhooks: type: string enum: - created - installation: *832 - organization: *833 - projects_v2_status_update: &887 + installation: *831 + organization: *832 + projects_v2_status_update: &886 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *885 - required: *886 + properties: *884 + required: *885 sender: *4 required: - action @@ -168441,9 +168720,9 @@ x-webhooks: type: string enum: - deleted - installation: *832 - organization: *833 - projects_v2_status_update: *887 + installation: *831 + organization: *832 + projects_v2_status_update: *886 sender: *4 required: - action @@ -168579,9 +168858,9 @@ x-webhooks: type: string format: date nullable: true - installation: *832 - organization: *833 - projects_v2_status_update: *887 + installation: *831 + organization: *832 + projects_v2_status_update: *886 sender: *4 required: - action @@ -168652,10 +168931,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - repository @@ -168732,13 +169011,13 @@ x-webhooks: type: string enum: - assigned - assignee: *858 - enterprise: *831 - installation: *832 - number: &888 + assignee: *857 + enterprise: *830 + installation: *831 + number: &887 description: The pull request number. type: integer - organization: *833 + organization: *832 pull_request: title: Pull Request type: object @@ -171021,7 +171300,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *833 sender: *4 required: - action @@ -171103,11 +171382,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 number: type: integer - organization: *833 + organization: *832 pull_request: title: Pull Request type: object @@ -173385,7 +173664,7 @@ x-webhooks: - draft reason: type: string - repository: *834 + repository: *833 sender: *4 required: - action @@ -173467,11 +173746,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 number: type: integer - organization: *833 + organization: *832 pull_request: title: Pull Request type: object @@ -175749,7 +176028,7 @@ x-webhooks: - draft reason: type: string - repository: *834 + repository: *833 sender: *4 required: - action @@ -175831,11 +176110,11 @@ x-webhooks: type: string enum: - closed - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: &889 + enterprise: *830 + installation: *831 + number: *887 + organization: *832 + pull_request: &888 allOf: - *682 - type: object @@ -175899,7 +176178,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *834 + repository: *833 sender: *4 required: - action @@ -175980,12 +176259,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *830 + installation: *831 + number: *887 + organization: *832 + pull_request: *888 + repository: *833 sender: *4 required: - action @@ -176065,11 +176344,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *831 + enterprise: *830 milestone: *666 - number: *888 - organization: *833 - pull_request: &890 + number: *887 + organization: *832 + pull_request: &889 title: Pull Request type: object properties: @@ -178332,7 +178611,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *833 sender: *4 required: - action @@ -178411,11 +178690,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 number: type: integer - organization: *833 + organization: *832 pull_request: title: Pull Request type: object @@ -180697,7 +180976,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *834 + repository: *833 sender: *4 required: - action @@ -180821,12 +181100,12 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *830 + installation: *831 + number: *887 + organization: *832 + pull_request: *888 + repository: *833 sender: *4 required: - action @@ -180906,11 +181185,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 number: type: integer - organization: *833 + organization: *832 pull_request: title: Pull Request type: object @@ -183177,7 +183456,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *833 sender: *4 required: - action @@ -183257,11 +183536,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *831 - installation: *832 - label: *857 - number: *888 - organization: *833 + enterprise: *830 + installation: *831 + label: *856 + number: *887 + organization: *832 pull_request: title: Pull Request type: object @@ -185543,7 +185822,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *833 sender: *4 required: - action @@ -185624,10 +185903,10 @@ x-webhooks: type: string enum: - locked - enterprise: *831 - installation: *832 - number: *888 - organization: *833 + enterprise: *830 + installation: *831 + number: *887 + organization: *832 pull_request: title: Pull Request type: object @@ -187907,7 +188186,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *833 sender: *4 required: - action @@ -187987,12 +188266,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *831 + enterprise: *830 milestone: *666 - number: *888 - organization: *833 - pull_request: *890 - repository: *834 + number: *887 + organization: *832 + pull_request: *889 + repository: *833 sender: *4 required: - action @@ -188071,12 +188350,12 @@ x-webhooks: type: string enum: - opened - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *830 + installation: *831 + number: *887 + organization: *832 + pull_request: *888 + repository: *833 sender: *4 required: - action @@ -188157,12 +188436,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *830 + installation: *831 + number: *887 + organization: *832 + pull_request: *888 + repository: *833 sender: *4 required: - action @@ -188242,12 +188521,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *830 + installation: *831 + number: *887 + organization: *832 + pull_request: *888 + repository: *833 sender: *4 required: - action @@ -188613,9 +188892,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 pull_request: type: object properties: @@ -190785,7 +191064,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *834 + repository: *833 sender: *4 required: - action @@ -190865,7 +191144,7 @@ x-webhooks: type: string enum: - deleted - comment: &892 + comment: &891 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 +191429,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 pull_request: type: object properties: @@ -193310,7 +193589,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *834 + repository: *833 sender: *4 required: - action @@ -193390,11 +193669,11 @@ x-webhooks: type: string enum: - edited - changes: *891 - comment: *892 - enterprise: *831 - installation: *832 - organization: *833 + changes: *890 + comment: *891 + enterprise: *830 + installation: *831 + organization: *832 pull_request: type: object properties: @@ -195555,7 +195834,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *834 + repository: *833 sender: *4 required: - action @@ -195636,9 +195915,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 pull_request: title: Simple Pull Request type: object @@ -197811,7 +198090,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 + repository: *833 review: description: The review that was affected. type: object @@ -198058,9 +198337,9 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 pull_request: title: Simple Pull Request type: object @@ -200114,8 +200393,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 - review: &893 + repository: *833 + review: &892 description: The review that was affected. type: object properties: @@ -200348,12 +200627,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 number: description: The pull request number. type: integer - organization: *833 + organization: *832 pull_request: title: Pull Request type: object @@ -202636,7 +202915,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *833 requested_reviewer: title: User type: object @@ -202720,12 +202999,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 number: description: The pull request number. type: integer - organization: *833 + organization: *832 pull_request: title: Pull Request type: object @@ -205015,7 +205294,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *833 requested_team: title: Team description: Groups of organization members that gives permissions @@ -205207,12 +205486,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 number: description: The pull request number. type: integer - organization: *833 + organization: *832 pull_request: title: Pull Request type: object @@ -207497,7 +207776,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *833 requested_reviewer: title: User type: object @@ -207582,12 +207861,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *831 - installation: *832 + enterprise: *830 + installation: *831 number: description: The pull request number. type: integer - organization: *833 + organization: *832 pull_request: title: Pull Request type: object @@ -209863,7 +210142,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *833 requested_team: title: Team description: Groups of organization members that gives permissions @@ -210044,9 +210323,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 pull_request: title: Simple Pull Request type: object @@ -212221,8 +212500,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 - review: *893 + repository: *833 + review: *892 sender: *4 required: - action @@ -212302,9 +212581,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 pull_request: title: Simple Pull Request type: object @@ -214374,7 +214653,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 + repository: *833 sender: *4 thread: type: object @@ -214761,9 +215040,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 pull_request: title: Simple Pull Request type: object @@ -216819,7 +217098,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 + repository: *833 sender: *4 thread: type: object @@ -217209,10 +217488,10 @@ x-webhooks: type: string before: type: string - enterprise: *831 - installation: *832 - number: *888 - organization: *833 + enterprise: *830 + installation: *831 + number: *887 + organization: *832 pull_request: title: Pull Request type: object @@ -219483,7 +219762,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *833 sender: *4 required: - action @@ -219565,11 +219844,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *894 - enterprise: *831 - installation: *832 - number: *888 - organization: *833 + assignee: *893 + enterprise: *830 + installation: *831 + number: *887 + organization: *832 pull_request: title: Pull Request type: object @@ -221852,7 +222131,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *833 sender: *4 required: - action @@ -221931,11 +222210,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *831 - installation: *832 - label: *857 - number: *888 - organization: *833 + enterprise: *830 + installation: *831 + label: *856 + number: *887 + organization: *832 pull_request: title: Pull Request type: object @@ -224208,7 +224487,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *833 sender: *4 required: - action @@ -224289,10 +224568,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *831 - installation: *832 - number: *888 - organization: *833 + enterprise: *830 + installation: *831 + number: *887 + organization: *832 pull_request: title: Pull Request type: object @@ -226557,7 +226836,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *833 sender: *4 required: - action @@ -226757,7 +227036,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *831 + enterprise: *830 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -226849,8 +227128,8 @@ x-webhooks: - url - author - committer - installation: *832 - organization: *833 + installation: *831 + organization: *832 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -227425,9 +227704,9 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 registry_package: type: object properties: @@ -227873,7 +228152,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *875 + items: *874 summary: type: string tag_name: @@ -227927,7 +228206,7 @@ x-webhooks: - owner - package_version - registry - repository: *834 + repository: *833 sender: *4 required: - action @@ -228005,9 +228284,9 @@ x-webhooks: type: string enum: - updated - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 registry_package: type: object properties: @@ -228315,7 +228594,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *875 + items: *874 summary: type: string tag_name: @@ -228364,7 +228643,7 @@ x-webhooks: - owner - package_version - registry - repository: *834 + repository: *833 sender: *4 required: - action @@ -228441,10 +228720,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - release: &895 + enterprise: *830 + installation: *831 + organization: *832 + release: &894 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -228762,7 +229041,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *834 + repository: *833 sender: *4 required: - action @@ -228839,11 +229118,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - release: *895 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + release: *894 + repository: *833 sender: *4 required: - action @@ -228960,11 +229239,11 @@ x-webhooks: type: boolean required: - to - enterprise: *831 - installation: *832 - organization: *833 - release: *895 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + release: *894 + repository: *833 sender: *4 required: - action @@ -229042,9 +229321,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -229366,7 +229645,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *834 + repository: *833 sender: *4 required: - action @@ -229442,10 +229721,10 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 - release: &896 + enterprise: *830 + installation: *831 + organization: *832 + release: &895 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -229764,7 +230043,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *834 + repository: *833 sender: *4 required: - action @@ -229840,11 +230119,11 @@ x-webhooks: type: string enum: - released - enterprise: *831 - installation: *832 - organization: *833 - release: *895 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + release: *894 + repository: *833 sender: *4 required: - action @@ -229920,11 +230199,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *831 - installation: *832 - organization: *833 - release: *896 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + release: *895 + repository: *833 sender: *4 required: - action @@ -230000,10 +230279,10 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 repository_advisory: *735 sender: *4 required: @@ -230080,10 +230359,10 @@ x-webhooks: type: string enum: - reported - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 repository_advisory: *735 sender: *4 required: @@ -230160,10 +230439,10 @@ x-webhooks: type: string enum: - archived - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -230240,10 +230519,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -230321,10 +230600,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -230408,10 +230687,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: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -230523,10 +230802,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -230598,10 +230877,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 status: type: string @@ -230682,10 +230961,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -230762,10 +231041,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -230859,10 +231138,10 @@ x-webhooks: - name required: - repository - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -230942,10 +231221,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 repository_ruleset: *162 sender: *4 required: @@ -231024,10 +231303,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 repository_ruleset: *162 sender: *4 required: @@ -231106,10 +231385,10 @@ x-webhooks: type: string enum: - edited - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 repository_ruleset: *162 changes: type: object @@ -231414,10 +231693,10 @@ x-webhooks: - from required: - owner - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -231495,10 +231774,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -231576,7 +231855,7 @@ x-webhooks: type: string enum: - create - alert: &897 + alert: &896 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -231697,10 +231976,10 @@ x-webhooks: type: string enum: - open - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -231906,10 +232185,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -231987,11 +232266,11 @@ x-webhooks: type: string enum: - reopen - alert: *897 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *896 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -232190,10 +232469,10 @@ x-webhooks: enum: - fixed - open - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -232271,7 +232550,7 @@ x-webhooks: type: string enum: - created - alert: &898 + alert: &897 type: object properties: number: *113 @@ -232389,10 +232668,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -232473,11 +232752,11 @@ x-webhooks: type: string enum: - created - alert: *898 - installation: *832 - location: *899 - organization: *833 - repository: *834 + alert: *897 + installation: *831 + location: *898 + organization: *832 + repository: *833 sender: *4 required: - location @@ -232715,11 +232994,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *898 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *897 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -232797,11 +233076,11 @@ x-webhooks: type: string enum: - reopened - alert: *898 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *897 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -232879,11 +233158,11 @@ x-webhooks: type: string enum: - resolved - alert: *898 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *897 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -232961,11 +233240,11 @@ x-webhooks: type: string enum: - validated - alert: *898 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *897 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -233091,10 +233370,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *834 - enterprise: *831 - installation: *832 - organization: *833 + repository: *833 + enterprise: *830 + installation: *831 + organization: *832 sender: *4 required: - action @@ -233172,11 +233451,11 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - security_advisory: &900 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + security_advisory: &899 description: The details of the security advisory, including summary, description, and severity. type: object @@ -233359,11 +233638,11 @@ x-webhooks: type: string enum: - updated - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - security_advisory: *900 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 + security_advisory: *899 sender: *4 required: - action @@ -233436,10 +233715,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -233624,9 +233903,9 @@ x-webhooks: type: object properties: security_and_analysis: *392 - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 repository: *459 sender: *4 required: @@ -233705,12 +233984,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - sponsorship: &901 + sponsorship: &900 type: object properties: created_at: @@ -234011,12 +234290,12 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - sponsorship: *901 + sponsorship: *900 required: - action - sponsorship @@ -234104,12 +234383,12 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - sponsorship: *901 + sponsorship: *900 required: - action - changes @@ -234186,17 +234465,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &902 + effective_date: &901 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: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - sponsorship: *901 + sponsorship: *900 required: - action - sponsorship @@ -234270,7 +234549,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &903 + changes: &902 type: object properties: tier: @@ -234314,13 +234593,13 @@ x-webhooks: - from required: - tier - effective_date: *902 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + effective_date: *901 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - sponsorship: *901 + sponsorship: *900 required: - action - changes @@ -234397,13 +234676,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *903 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + changes: *902 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - sponsorship: *901 + sponsorship: *900 required: - action - changes @@ -234477,10 +234756,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -234563,10 +234842,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -234986,15 +235265,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *831 + enterprise: *830 id: description: The unique identifier of the status. type: integer - installation: *832 + installation: *831 name: type: string - organization: *833 - repository: *834 + organization: *832 + repository: *833 sender: *4 sha: description: The Commit SHA. @@ -235103,15 +235382,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *189 + parent_issue: *190 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: *190 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -235195,15 +235474,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *189 + parent_issue: *190 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: *190 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -235287,15 +235566,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *189 + sub_issue: *190 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: *190 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -235379,15 +235658,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *189 + sub_issue: *190 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: *190 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -235464,12 +235743,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 - team: &904 + team: &903 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -235692,9 +235971,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 repository: title: Repository description: A git repository @@ -236152,7 +236431,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *903 required: - action - team @@ -236228,9 +236507,9 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 repository: title: Repository description: A git repository @@ -236688,7 +236967,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *903 required: - action - team @@ -236765,9 +237044,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 repository: title: Repository description: A git repository @@ -237225,7 +237504,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *903 required: - action - team @@ -237369,9 +237648,9 @@ x-webhooks: - from required: - permissions - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 repository: title: Repository description: A git repository @@ -237829,7 +238108,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *903 required: - action - changes @@ -237907,9 +238186,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *830 + installation: *831 + organization: *832 repository: title: Repository description: A git repository @@ -238367,7 +238646,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *903 required: - action - team @@ -238443,10 +238722,10 @@ x-webhooks: type: string enum: - started - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 required: - action @@ -238519,16 +238798,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *831 + enterprise: *830 inputs: type: object nullable: true additionalProperties: true - installation: *832 - organization: *833 + installation: *831 + organization: *832 ref: type: string - repository: *834 + repository: *833 sender: *4 workflow: type: string @@ -238610,10 +238889,10 @@ x-webhooks: type: string enum: - completed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 workflow_job: allOf: @@ -238929,10 +239208,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 workflow_job: allOf: @@ -239271,10 +239550,10 @@ x-webhooks: type: string enum: - queued - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 workflow_job: type: object @@ -239488,10 +239767,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *832 + repository: *833 sender: *4 workflow_job: type: object @@ -239707,12 +239986,12 @@ x-webhooks: type: string enum: - completed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *830 + installation: *831 + organization: *8{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}